Sorry Grant, a lot of time passed.
I gave up with 2.6.35 and followed with 2.6.31.
Nevertheless I'm trying to go to 2.6.35 again using the last LTIB for mx28 configured as mx233, but same results.
In the past I used an updater based on 2.631 to load 2.6.35 kernel+rootfs (the boot log above), and now I'm trying to build ad updater based on 2.6.35. in case this was the problem (don't think so but I try)
Initially I had a lot of problems with power supply configuration, (an infinite restart loop at updater boot), which I bypassed, to be solved later, using the 2.6.31 power_prep.c.
Now the updater boots but also stops on UBI problems (look at the end):
All seems to work, flash erased, ubi attached to mtd, ubi volumes created, but mount of ubifs over ubi volume 0 fails. There must be something wrong with UBI/UBIFS on ltib 2.6.35.3 build.
PowerPrep start initialize power...
Battery Voltage = 4.18V
5v source detected.Valid battery voltage detected.Booting from battery voltage source.
LLCOct 20 201319:13:24
EMI_CTRL 0x1C084040
FRAC 0x92926152
init_mddr_mt46h32m16lf_133Mhz
power 0x00820710
Frac 0x92926152
start change cpu freq
hbus 0x00000003
cpu 0x00010002
LLLLLLLFCLFLJUncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-670-g914558e (clc@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #4 PREEMPT Tue Oct 22 16:45:22 CEST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Freescale MX23EVK board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: -e console=ttyAM0,115200 rdinit=/linuxrc rw gpmi
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 55652k/55652k available, 9884k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfde00000 - 0xffe00000 ( 32 MB)
vmalloc : 0xc4800000 - 0xf0000000 ( 696 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0025000 ( 116 kB)
.text : 0xc0025000 - 0xc02e5000 (2816 kB)
.data : 0xc02e6000 - 0xc0308c00 ( 139 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:224
Console: colour dummy device 80x30
console [ttyAM0] enabled
Calibrating delay loop... 113.04 BogoMIPS (lpj=565248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
regulator: vddd: 800 <--> 1575 mV at 1550 mV fast normal
regulator: vdddbo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV at 1750 mV fast normal
regulator: vddio: 2800 <--> 3575 mV at 3300 mV fast normal
regulator: overall_current: fast normal
regulator: mxs-duart-1: fast normal
regulator: mxs-bl-1: fast normal
regulator: mxs-i2c-1: fast normal
regulator: mmc_ssp-1: fast normal
regulator: mmc_ssp-2: fast normal
regulator: charger-1: fast normal
regulator: power-test-1: fast normal
regulator: cpufreq-1: fast normal
i.MX IRAM pool: 28 KB@0xc4808000
usb: DR gadget (utmi) registered
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Switching to clocksource mxs clock source
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 6144K
Bus freq driver module loaded
mxs_cpu_init: cpufreq init finished
msgmni has been set to 120
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 60x34
mxs-duart.0: ttyAM0 at MMIO 0x80070000 (irq = 0) is a DebugUART
mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 24) is a mxs-auart.1
Found APPUART 3.0.0
brd: module loaded
loop: module loaded
i.MX GPMI NFC
NFC: Version 0, 4-chip GPMI and BCH
Boot ROM: Version 0, Single/dual-chip boot area, no block mark swapping
Scanning for NAND Flash chips...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
-----------------------------
NAND Flash Device Information
-----------------------------
Manufacturer : Samsung (0xec)
Device Code : 0xd3
Cell Technology : MLC
Chip Size : 1 GiB
Pages per Block : 128
Page Geometry : 2048+64
ECC Strength : 4 bits
ECC Size : 512 B
Data Setup Time : 20 ns
Data Hold Time : 15 ns
Address Setup Time: 20 ns
GPMI Sample Delay : 6 ns
tREA : Unknown
tRLOH : Unknown
tRHOH : Unknown
Description : K9G8G08U0M, K9HAG08U1M
-----------------
Physical Geometry
-----------------
Chip Count : 1
Page Data Size in Bytes: 2048 (0x800)
Page OOB Size in Bytes : 64
Block Size in Bytes : 262144 (0x40000)
Block Size in Pages : 128 (0x80)
Chip Size in Bytes : 1073741824 (0x40000000)
Chip Size in Pages : 524288 (0x80000)
Chip Size in Blocks : 4096 (0x1000)
Medium Size in Bytes : 1073741824 (0x40000000)
------------
NFC Geometry
------------
ECC Algorithm : BCH
ECC Strength : 8
Page Size in Bytes : 2112
Metadata Size in Bytes : 10
ECC Chunk Size in Bytes: 512
ECC Chunk Count : 4
Payload Size in Bytes : 2048
Auxiliary Size in Bytes: 16
Auxiliary Status Offset: 12
Block Mark Byte Offset : 0
Block Mark Bit Offset : 0
-----------------
Boot ROM Geometry
-----------------
Boot Area Count : 1
Boot Area Size in Bytes : 41943040 (0x2800000)
Stride Size in Pages : 64
Search Area Stride Exponent: 2
Scanning for an NCB fingerprint...
Looking for a fingerprint in page 0x0
Found a fingerprint
Scanning device for bad blocks
Boot area protection is enabled.
Creating 2 MTD partitions on "gpmi-nfc-main":
0x000000000000-0x000002800000 : "gpmi-nfc-0-boot"
0x000002800000-0x000040000000 : "gpmi-nfc-general-use"
ARC USBOTG Device Controller driver (1 August 2005)
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
fsl-usb2-udc: bind to driver g_file_storage
mice: PS/2 mouse device common for all mice
input: mxs-kbd as /class/input/input0
input: MXS touchscreen as /class/input/input1
MXS RTC driver v1.0 hardware v2.0.0
mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0
add mma i2c driver
mma7450 0-001d: read chip ID 0xffffff87 is not equal to 0x1d!
mma7450: probe of 0-001d failed with error -121
mxs-mmc: MXS SSP Controller MMC Interface driver
g_file_storage gadget: high speed config #1
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 14 ERRIRQ 15
dcp dcp.0: DCP crypto enabled.!
mxs-rtc mxs-rtc.0: setting system clock to 2012-01-01 03:18:26 UTC (1325387906)
Freeing init memory: 116K
Starting UTP
ln: /etc/mtab: File exists
disable turn off display
uuc 0.4 [built Oct 20 2013 19:38:06]
UTP: Waiting for device to appear
utp_mk_devnode: creating node '/dev/utp' with 10+222
cpu_id is 23
UTP: received command 'mknod class/mtd,mtd0,/dev/mtd0'
class = 'class/mtd'
item = 'mtd0'
node = /dev/mtd0
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd0,/dev/mtd0,0x2000)
utp_mk_devnode: creating node '/dev/mtd0' with 90+0
UTP: sending Success
UTP: received command 'mknod class/mtd,mtd1,/dev/mtd1'
class = 'class/mtd'
item = 'mtd1'
node = /dev/mtd1
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd1,/dev/mtd1,0x2000)
utp_mk_devnode: creating node '/dev/mtd1' with 90+2
UTP: sending Success
UTP: received command 'mknod class/misc,ubi_ctrl,/dev/ubi_ctrl'
class = 'class/misc'
item = 'ubi_ctrl'
node = /dev/ubi_ctrl
type = (null)
UTP: running utp_mk_devnode(class/misc,ubi_ctrl,/dev/ubi_ctrl,0x2000)
utp_mk_devnode: creating node '/dev/ubi_ctrl' with 10+61
UTP: sending Success
UTP: received command '$ flash_erase /dev/mtd0 0 0'
UTP: sending Busy
UTP: executing "flash_erase /dev/mtd0 0 0"
Erasing 256 Kibyte @ 1c8000utp_poll: pass returned.
Erasing 256 Kibyte @ 27c0000 -- 100 % complete
UTP: sending Success
UTP: received command '$ flash_erase /dev/mtd1 0 0'
UTP: sending Busy
UTP: executing "flash_erase /dev/mtd1 0 0"
Erasing 256 Kibyte @ 3d440000 -- 99 % completutp_poll: pass returned.
Erasing 256 Kibyte @ 3d7c0000 -- 100 % complete
UTP: sending Success
UTP: received command 'send'
UTP: sending Success
UTP: received command '$ kobs-ng init $FILE'
UTP: sending Busy
UTP: executing "kobs-ng init $FILE"
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ ubiattach /dev/ubi_ctrl -m 1 -d 0'
UTP: sending Busy
UTP: executing "ubiattach /dev/ubi_ctrl -m 1 -d 0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 262144 bytes (256 KiB)
UBI: logical eraseblock size: 258048 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: empty MTD device detected
UBI: create volume table (copy #1)
UBI: create volume table (copy #2)
UBI: attached mtd1 to ubi0
UBI: MTD device name: "gpmi-nfc-general-use"
UBI: MTD device size: 984 MiB
UBI: number of good PEBs: 3936
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 3893
UBI: total number of reserved PEBs: 43
UBI: number of PEBs reserved for bad PEB handling: 39
UBI: max/mean erase counter: 0/0
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 641
UTP: sending Success
utp_poll: pass returned.
UTP: received command 'mknod class/ubi,ubi0,/dev/ubi0'
class = 'class/ubi'
item = 'ubi0'
node = /dev/ubi0
type = (null)
UTP: running utp_mk_devnode(class/ubi,ubi0,/dev/ubi0,0x2000)
utp_mk_devnode: creating node '/dev/ubi0' with 253+0
UTP: sending Success
UTP: received command '$ ubimkvol /dev/ubi0 -n 0 -N rootfs0 -s 256000000'
UTP: sending Busy
UTP: executing "ubimkvol /dev/ubi0 -n 0 -N rootfs0 -s 256000000"
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ ubimkvol /dev/ubi0 -n 1 -N data -s 128000000'
UTP: sending Busy
UTP: executing "ubimkvol /dev/ubi0 -n 1 -N data -s 128000000"
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ ubinfo -a'
UTP: sending Busy
UTP: executing "ubinfo -a"
UBI version: 1
Count of UBI devices: 1
UBI control device major/minor: 10:61
Present UBI devices: ubi0
ubi0
Volumes count: 2
Logical eraseblock size: 258048 bytes, 252.0 KiB
Total amount of logical eraseblocks: 3936 (1015676928 bytes, 968.6 MiB)
Amount of available logical eraseblocks: 2403 (620089344 bytes, 591.4 MiB)
Maximum count of volumes 128
Count of bad physical eraseblocks: 0
Count of reserved physical eraseblocks: 39
Current maximum erase counter value: 3
Minimum input/output unit size: 2048 bytes
Character device major/minor: 253:0
Present volumes: 0, 1
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 993 LEBs (256241664 bytes, 244.4 MiB)
State: OK
Name: rootfs0
Character device major/minor: 253:1
-----------------------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 497 LEBs (128249856 bytes, 122.3 MiB)
State: OK
Name: data
Character device major/minor: 253:2
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ mount'
UTP: sending Busy
UTP: executing "mount"
none on /sys type sysfs (rw)
none on /proc type proc (rw)
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ mkdir -p /mnt/ubi; mount -t ubifs ubi0_0 /mnt/ubi'
UTP: sending Busy
UTP: executing "mkdir -p /mnt/ubi; mount -t ubifs ubi0_0 /mnt/ubi"
mount: ubi0_0 already mounted or /mnt/ubi busy
UTP: sending Non-success
utp_poll: exit with status 8192