This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mkimage multi and boot



hi, I created a multi-image (kernel+filesystem) saved it in flash, but the boot process stops when kernel tries mount filesystem, that is,  the multi-image is charged to ram; its checksum is ok, kernel starts but the process stops because filesystem is not mounted.

to create the multi-image, i changed the  file ../board-support/linux-3.2.0-psp05.06.00.00/arch/arm/boot/Makefile  as follow:

SOURCE:
#quiet_cmd_uimage = UIMAGE $@
# cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A arm -O linux -T kernel \
# -C none -a $(LOADADDR) -e $(STARTADDR) \
# -n 'Linux-$(KERNELRELEASE)' -d $< $@

MODIFIED TO:
quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A arm -O linux -T multi \
-C none -a $(LOADADDR) -e $(STARTADDR) \
-n 'Linux-$(KERNELRELEASE)' -d $<:/home/formolo/ti-sdk-am335x-evm-05.06.00.00/filesystem/ubi.img $@

* the filesystem is an UBI image.
* attached are: log of boot and environment variables.

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0 
U-Boot#  printenv
baudrate=115200
bootargs=console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=6,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=if mmc rescan ${mmcdev}; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};r
un importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimagefat; then run mmcboot;elif run loaduima
ge; then run mmcboot;else echo Cound not find ${bootfile} ;fi;else run nandboot;fi;
bootdelay=3
bootenv=uEnv.txt
bootfile=uMulti
console=ttyO0,115200n8
dfu_alt_info=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8
ethact=cpsw
ethaddr=00:18:31:e0:9a:d1
fdtaddr=0x80F80000
filesize=1B85C2C
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext3 rootwait
mtddevname=SPL
mtddevnum=0
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),124m(system1),12
4m(system2),-(safe_area)
nandargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${nandroot} noinitrd rootfstype=${nandrootfstype} ip=${ip_method}
nandboot=echo Booting from nand ...; run nandargs; nand read.i ${kloadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${kloadaddr}
nandimgsize=2000000
nandroot=ubi0:rootfs rw ubi.mtd=6,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0x00280000
netargs=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run netargs; bootm ${kloadaddr}
nfsopts=nolock
partition=nand0,0
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
spiargs=run bootargs_defaults;setenv bootargs ${bootargs} rootfstype=${spirootfstype} ip=${ip_method}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${kloadaddr} ${spisrcaddr} ${spiimgsize}; bootm ${kloadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0x80000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=00:18:31:e0:9a:d1
ver=U-Boot 2012.10 (Dec 16 2012 - 13:54:10)

U-Boot# bootm 820000
data abort
pc : [<9ff61270>]          lr : [<9ff50c50>]
sp : 9fe2ddc0  ip : 9fe32a9f     fp : 9ff9d240
r10: 00000000  r9 : 9ff9cc40     r8 : 9fe2df68
r7 : 00000003  r6 : 9fe32ab8     r5 : 00820000  r4 : 00820000
r3 : 00000000  r2 : 00000010     r1 : 00000000  r0 : 00820000
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2012.10 (Dec 16 2012 - 13:54:10)


U-Boot 2012.10 (Dec 16 2012 - 13:54:10)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0 
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x2000000
 33554432 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Multi-File Image (uncompressed)
   Data Size:    28859332 Bytes = 27.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Contents:
      Image 0: 3169208 Bytes = 3 MiB
      Image 1: 25690112 Bytes = 24.5 MiB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 80007fc0 ...
## Flattened Device Tree from multi component Image at 80007FC0
   Loading Multi-File Image ... OK
OK
WARNING: legacy format multi component image overwritten

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (formolo@formolo-OptiPlex-755) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #5 Mon Jun 17 10:04:38 BRT 
2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] INITRD: 0x8030dbc4+0x01880000 overlaps in-use memory region - disabling initrd
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=6,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 513144k/513144k available, 11144k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05a0000   (5728 kB)
[    0.000000]       .init : 0xc05a0000 - 0xc05de000   ( 248 kB)
[    0.000000]       .data : 0xc05de000 - 0xc0646488   ( 418 kB)
[    0.000000]        .bss : 0xc06464ac - 0xc0673364   ( 180 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.058929] pid_max: default: 32768 minimum: 301
[    0.059051] Security Framework initialized
[    0.059173] Mount-cache hash table entries: 512
[    0.059570] CPU: Testing write buffer coherency: ok
[    0.080078] omap_hwmod: pruss: failed to hardreset
[    0.081237] print_constraints: dummy: 
[    0.081604] NET: Registered protocol family 16
[    0.083740] OMAP GPIO hardware version 0.1
[    0.086364] omap_mux_init: Add partition: #1: core, flags: 0
[    0.088317]  omap_i2c.1: alias fck already exists
[    0.089233]  omap2_mcspi.1: alias fck already exists
[    0.089477]  omap2_mcspi.2: alias fck already exists
[    0.090423]  edma.0: alias fck already exists
[    0.090454]  edma.0: alias fck already exists
[    0.090454]  edma.0: alias fck already exists
[    0.117187] bio: create slab <bio-0> at 0
[    0.119445] SCSI subsystem initialized
[    0.121063] usbcore: registered new interface driver usbfs
[    0.121368] usbcore: registered new interface driver hub
[    0.121582] usbcore: registered new device driver usb
[    0.121734] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.122009] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.123107] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.125000] tps65910 1-002d: JTAGREVNUM 0x0
[    0.127410] print_constraints: VRTC: 
[    0.128906] print_constraints: VIO: at 1800 mV 
[    0.131286] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
[    0.133636] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
[    0.134674] print_constraints: VDD3: 5000 mV 
[    0.136108] print_constraints: VDIG1: at 1800 mV 
[    0.137542] print_constraints: VDIG2: at 1800 mV 
[    0.139007] print_constraints: VPLL: at 1800 mV 
[    0.140441] print_constraints: VDAC: at 1800 mV 
[    0.141876] print_constraints: VAUX1: at 1800 mV 
[    0.143341] print_constraints: VAUX2: at 3300 mV 
[    0.144805] print_constraints: VAUX33: at 3300 mV 
[    0.146240] print_constraints: VMMC: at 3300 mV 
[    0.146728] tps65910 1-002d: No interrupt support, no core IRQ
[    0.147979] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.149139] Switching to clocksource gp timer
[    0.164520] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.164703] musb-hdrc musb-hdrc.0: dma type: pio
[    0.165008] MUSB0 controller's USBSS revision = 4ea20800
[    0.165649] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using PIO, IRQ 18
[    0.165832] musb-hdrc musb-hdrc.1: dma type: pio
[    0.166137] MUSB1 controller's USBSS revision = 4ea20800
[    0.166290] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.166381] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.166503] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.166534] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.166534] usb usb1: Product: MUSB HDRC host driver
[    0.166564] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.166564] usb usb1: SerialNumber: musb-hdrc.1
[    0.167358] hub 1-0:1.0: USB hub found
[    0.167388] hub 1-0:1.0: 1 port detected
[    0.167938] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using PIO, IRQ 19
[    0.168365] NET: Registered protocol family 2
[    0.168548] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.168884] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.169158] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.169433] TCP: Hash tables configured (established 16384 bind 16384)
[    0.169433] TCP reno registered
[    0.169433] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.169464] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.169647] NET: Registered protocol family 1
[    0.169921] RPC: Registered named UNIX socket transport module.
[    0.169921] RPC: Registered udp transport module.
[    0.169952] RPC: Registered tcp transport module.
[    0.169952] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.170196] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.191436] VFS: Disk quotas dquot_6.5.2
[    0.191497] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.192077] msgmni has been set to 1002
[    0.195281] alg: No test for stdrng (krng)
[    0.195922] io scheduler noop registered
[    0.195953] io scheduler deadline registered
[    0.196014] io scheduler cfq registered (default)
[    0.197204] Could not set LED4 to fully on
[    0.198974] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.830841] console [ttyO0] enabled
[    0.835113] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.842956] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.850738] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.858489] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.866271] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.874542] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    0.890899] brd: module loaded
[    0.898864] loop: module loaded
[    0.902404] i2c-core: driver [tsl2550] using legacy suspend method
[    0.908843] i2c-core: driver [tsl2550] using legacy resume method
[    0.915283] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.929351] Detected a daughter card on AM335x EVM..
[    0.934356] CPLD version: CPLD1.0F
[    0.938140] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.953491] Board name: A33515BB
[    0.956848] Board version: 1.2A
[    0.960144] SKU: SKU#01
[    0.963226] The board is general purpose EVM in profile 0
[    0.969909]  da8xx_lcdc.0: alias fck already exists
[    0.975433] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[    0.999023] Console: switching to colour frame buffer device 100x30
[    1.015716] omap-gpmc omap-gpmc: GPMC revision 6.0
[    1.020782] Registering NAND on CS0
[    1.025115]  omap_i2c.2: alias fck already exists
[    1.030426] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    1.036865] tsl2550 2-0039: standard operating mode
[    1.042694] tsl2550 2-0039: support ver. 1.2 enabled
[    1.048583]  davinci-mcasp.1: alias fck already exists
[    1.054443]  omap_hsmmc.0: alias fck already exists
[    1.059844]  omap_hsmmc.2: alias fck already exists
[    1.065246] Configure Bluetooth Enable pin...
[    1.071228] registered am33xx_sr device
[    1.075469] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[    1.083129] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[    1.111572] lis3lv02d: 8 bits 3DLH sensor found
[    1.210174] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[    1.221984] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.229248] omap2-nand driver initializing
[    1.233886] ONFI flash detected
[    1.237304] ONFI param page 0 valid
[    1.240966] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[    1.249542] Creating 9 MTD partitions on "omap2-nand.0":
[    1.255096] 0x000000000000-0x000000020000 : "SPL"
[    1.261413] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.268280] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.275177] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.282135] 0x000000080000-0x000000260000 : "U-Boot"
[    1.289276] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.296142] 0x000000280000-0x000007e80000 : "system1"
[    1.354095] 0x000007e80000-0x00000fa80000 : "system2"
[    1.412139] 0x00000fa80000-0x000010000000 : "safe_area"
[    1.421264] OneNAND driver initializing
[    1.425994] UBI: attaching mtd6 to ubi0
[    1.430053] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.436584] UBI: logical eraseblock size:    126976 bytes
[    1.442199] UBI: smallest flash I/O unit:    2048
[    1.447113] UBI: VID header offset:          2048 (aligned 2048)
[    1.453369] UBI: data offset:                4096
[    2.505889] UBI: max. sequence number:       0
[    2.510559] UBI error: ubi_read_volume_table: the layout volume was not found
[    2.518371] UBI error: ubi_init: cannot attach mtd6
[    2.524291] CAN device driver interface
[    2.528289] CAN bus driver for Bosch D_CAN controller 1.0
[    2.579833] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    2.586303] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    2.593750] davinci_mdio.0: probed
[    2.597290] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    2.605010] usbcore: registered new interface driver zd1201
[    2.611022] usbcore: registered new interface driver cdc_ether
[    2.617248] usbcore: registered new interface driver cdc_eem
[    2.623321] usbcore: registered new interface driver dm9601
[    2.629150] cdc_ncm: 04-Aug-2011
[    2.632690] usbcore: registered new interface driver cdc_ncm
[    2.638610] Initializing USB Mass Storage driver...
[    2.643920] usbcore: registered new interface driver usb-storage
[    2.650207] USB Mass Storage support registered.
[    2.655456] mousedev: PS/2 mouse device common for all mice
[    2.662200] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
[    2.671234] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input2
[    2.679779] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[    2.686981] i2c /dev entries driver
[    2.691253] Linux video capture interface: v2.00
[    2.696411] usbcore: registered new interface driver uvcvideo
[    2.702423] USB Video Class driver (1.1.1)
[    2.707611] lm75 2-0048: hwmon0: sensor 'tmp275'
[    2.715393] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.724029] cpuidle: using governor ladder
[    2.728790] cpuidle: using governor menu
[    2.806762] omap4_aes_mod_init: loading AM33X AES driver
[    2.812438] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    2.818969] omap4_aes_probe: probe() done
[    2.823425] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    2.829559] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    2.841430] omap4_sham_probe: probe() done
[    2.848175] usbcore: registered new interface driver usbhid
[    2.854034] usbhid: USB HID core driver
[    2.858734] usbcore: registered new interface driver snd-usb-audio
[    2.869628] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    2.879730] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    2.887542] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    2.895233] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    2.902893] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    2.913452] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    2.921295] ALSA device list:
[    2.924407]   #0: AM335X EVM
[    2.927398] oprofile: hardware counters not available
[    2.932708] oprofile: using timer interrupt.
[    2.937194] nf_conntrack version 0.5.0 (8017 buckets, 32068 max)
[    2.944030] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.949676] TCP cubic registered
[    2.953094] NET: Registered protocol family 17
[    2.957733] can: controller area network core (rev 20090105 abi 8)
[    2.964263] NET: Registered protocol family 29
[    2.968902] can: raw protocol (rev 20090105)
[    2.973358] can: broadcast manager protocol (rev 20090105 t)
[    2.979309] Registering the dns_resolver key type
[    2.984313] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.992340] ThumbEE CPU extension supported.
[    2.996856] mux: Failed to setup hwmod io irq -22
[    3.002410] Power Management for AM33XX family
[    3.007263] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    3.013977] Copied the M3 firmware to UMEM
[    3.018463] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[    3.026306] smartreflex: probe of smartreflex failed with error -22
[    3.033447] sr_init: platform driver register failed
[    3.043975] clock: disabling unused clocks to save power
[    3.062866] Detected MACID=0:18:31:e0:9a:d1
[    3.068359] cpsw: Detected MACID = 00:18:31:e0:9a:d2
[    3.075317] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[    3.083129] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    3.092376] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[    3.099731] Please append a correct "root=" boot option; here are the available partitions:
[    3.108520] 1f00             128 mtdblock0  (driver?)
[    3.113800] 1f01             128 mtdblock1  (driver?)
[    3.119079] 1f02             128 mtdblock2  (driver?)
[    3.124359] 1f03             128 mtdblock3  (driver?)
[    3.129638] 1f04            1920 mtdblock4  (driver?)
[    3.134918] 1f05             128 mtdblock5  (driver?)
[    3.140197] 1f06          126976 mtdblock6  (driver?)
[    3.145477] 1f07          126976 mtdblock7  (driver?)
[    3.150756] 1f08            5632 mtdblock8  (driver?)
[    3.156005] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.164642] Backtrace: 
[    3.167205] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c0423c5c>] (dump_stack+0x18/0x1c)
[    3.176025]  r6:df924000 r5:c05cf3ac r4:c06474c8 r3:c06007c8
[    3.181976] [<c0423c44>] (dump_stack+0x0/0x1c) from [<c0423ccc>] (panic+0x6c/0x1a0)
[    3.189971] [<c0423c60>] (panic+0x0/0x1a0) from [<c05a0cb4>] (mount_block_root+0x184/0x228)
[    3.198669]  r3:c06007c8 r2:00000000 r1:df82df78 r0:c0500a10
[    3.204589]  r7:00008000
[    3.207244] [<c05a0b30>] (mount_block_root+0x0/0x228) from [<c05a0fd0>] (prepare_namespace+0xac/0x1d4)
[    3.216979] [<c05a0f24>] (prepare_namespace+0x0/0x1d4) from [<c05a090c>] (kernel_init+0x124/0x130)
[    3.226318]  r5:c05dd654 r4:c05dd654
[    3.230072] [<c05a07e8>] (kernel_init+0x0/0x130) from [<c0041724>] (do_exit+0x0/0x67c)
[    3.238342]  r5:c05a07e8 r4:00000000

Thanks in advanced for any help.

U-Boot# bootm 820000
data abort
pc : [<9ff61270>]          lr : [<9ff50c50>]
sp : 9fe2ddc0  ip : 9fe32a9f     fp : 9ff9d240
r10: 00000000  r9 : 9ff9cc40     r8 : 9fe2df68
r7 : 00000003  r6 : 9fe32ab8     r5 : 00820000  r4 : 00820000
r3 : 00000000  r2 : 00000010     r1 : 00000000  r0 : 00820000
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2012.10 (Dec 16 2012 - 13:54:10)


U-Boot 2012.10 (Dec 16 2012 - 13:54:10)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0 
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x2000000
 33554432 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Multi-File Image (uncompressed)
   Data Size:    28859332 Bytes = 27.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Contents:
      Image 0: 3169208 Bytes = 3 MiB
      Image 1: 25690112 Bytes = 24.5 MiB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 80007fc0 ...
## Flattened Device Tree from multi component Image at 80007FC0
   Loading Multi-File Image ... OK
OK
WARNING: legacy format multi component image overwritten

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (formolo@formolo-OptiPlex-755) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #5 Mon Jun 17 10:04:38 BRT 
2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] INITRD: 0x8030dbc4+0x01880000 overlaps in-use memory region - disabling initrd
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=6,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 513144k/513144k available, 11144k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05a0000   (5728 kB)
[    0.000000]       .init : 0xc05a0000 - 0xc05de000   ( 248 kB)
[    0.000000]       .data : 0xc05de000 - 0xc0646488   ( 418 kB)
[    0.000000]        .bss : 0xc06464ac - 0xc0673364   ( 180 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.058929] pid_max: default: 32768 minimum: 301
[    0.059051] Security Framework initialized
[    0.059173] Mount-cache hash table entries: 512
[    0.059570] CPU: Testing write buffer coherency: ok
[    0.080078] omap_hwmod: pruss: failed to hardreset
[    0.081237] print_constraints: dummy: 
[    0.081604] NET: Registered protocol family 16
[    0.083740] OMAP GPIO hardware version 0.1
[    0.086364] omap_mux_init: Add partition: #1: core, flags: 0
[    0.088317]  omap_i2c.1: alias fck already exists
[    0.089233]  omap2_mcspi.1: alias fck already exists
[    0.089477]  omap2_mcspi.2: alias fck already exists
[    0.090423]  edma.0: alias fck already exists
[    0.090454]  edma.0: alias fck already exists
[    0.090454]  edma.0: alias fck already exists
[    0.117187] bio: create slab <bio-0> at 0
[    0.119445] SCSI subsystem initialized
[    0.121063] usbcore: registered new interface driver usbfs
[    0.121368] usbcore: registered new interface driver hub
[    0.121582] usbcore: registered new device driver usb
[    0.121734] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.122009] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.123107] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.125000] tps65910 1-002d: JTAGREVNUM 0x0
[    0.127410] print_constraints: VRTC: 
[    0.128906] print_constraints: VIO: at 1800 mV 
[    0.131286] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
[    0.133636] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
[    0.134674] print_constraints: VDD3: 5000 mV 
[    0.136108] print_constraints: VDIG1: at 1800 mV 
[    0.137542] print_constraints: VDIG2: at 1800 mV 
[    0.139007] print_constraints: VPLL: at 1800 mV 
[    0.140441] print_constraints: VDAC: at 1800 mV 
[    0.141876] print_constraints: VAUX1: at 1800 mV 
[    0.143341] print_constraints: VAUX2: at 3300 mV 
[    0.144805] print_constraints: VAUX33: at 3300 mV 
[    0.146240] print_constraints: VMMC: at 3300 mV 
[    0.146728] tps65910 1-002d: No interrupt support, no core IRQ
[    0.147979] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.149139] Switching to clocksource gp timer
[    0.164520] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.164703] musb-hdrc musb-hdrc.0: dma type: pio
[    0.165008] MUSB0 controller's USBSS revision = 4ea20800
[    0.165649] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using PIO, IRQ 18
[    0.165832] musb-hdrc musb-hdrc.1: dma type: pio
[    0.166137] MUSB1 controller's USBSS revision = 4ea20800
[    0.166290] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.166381] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.166503] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.166534] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.166534] usb usb1: Product: MUSB HDRC host driver
[    0.166564] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.166564] usb usb1: SerialNumber: musb-hdrc.1
[    0.167358] hub 1-0:1.0: USB hub found
[    0.167388] hub 1-0:1.0: 1 port detected
[    0.167938] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using PIO, IRQ 19
[    0.168365] NET: Registered protocol family 2
[    0.168548] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.168884] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.169158] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.169433] TCP: Hash tables configured (established 16384 bind 16384)
[    0.169433] TCP reno registered
[    0.169433] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.169464] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.169647] NET: Registered protocol family 1
[    0.169921] RPC: Registered named UNIX socket transport module.
[    0.169921] RPC: Registered udp transport module.
[    0.169952] RPC: Registered tcp transport module.
[    0.169952] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.170196] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.191436] VFS: Disk quotas dquot_6.5.2
[    0.191497] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.192077] msgmni has been set to 1002
[    0.195281] alg: No test for stdrng (krng)
[    0.195922] io scheduler noop registered
[    0.195953] io scheduler deadline registered
[    0.196014] io scheduler cfq registered (default)
[    0.197204] Could not set LED4 to fully on
[    0.198974] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.830841] console [ttyO0] enabled
[    0.835113] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.842956] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.850738] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.858489] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.866271] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.874542] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    0.890899] brd: module loaded
[    0.898864] loop: module loaded
[    0.902404] i2c-core: driver [tsl2550] using legacy suspend method
[    0.908843] i2c-core: driver [tsl2550] using legacy resume method
[    0.915283] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.929351] Detected a daughter card on AM335x EVM..
[    0.934356] CPLD version: CPLD1.0F
[    0.938140] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.953491] Board name: A33515BB
[    0.956848] Board version: 1.2A
[    0.960144] SKU: SKU#01
[    0.963226] The board is general purpose EVM in profile 0
[    0.969909]  da8xx_lcdc.0: alias fck already exists
[    0.975433] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[    0.999023] Console: switching to colour frame buffer device 100x30
[    1.015716] omap-gpmc omap-gpmc: GPMC revision 6.0
[    1.020782] Registering NAND on CS0
[    1.025115]  omap_i2c.2: alias fck already exists
[    1.030426] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    1.036865] tsl2550 2-0039: standard operating mode
[    1.042694] tsl2550 2-0039: support ver. 1.2 enabled
[    1.048583]  davinci-mcasp.1: alias fck already exists
[    1.054443]  omap_hsmmc.0: alias fck already exists
[    1.059844]  omap_hsmmc.2: alias fck already exists
[    1.065246] Configure Bluetooth Enable pin...
[    1.071228] registered am33xx_sr device
[    1.075469] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[    1.083129] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[    1.111572] lis3lv02d: 8 bits 3DLH sensor found
[    1.210174] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[    1.221984] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.229248] omap2-nand driver initializing
[    1.233886] ONFI flash detected
[    1.237304] ONFI param page 0 valid
[    1.240966] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[    1.249542] Creating 9 MTD partitions on "omap2-nand.0":
[    1.255096] 0x000000000000-0x000000020000 : "SPL"
[    1.261413] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.268280] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.275177] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.282135] 0x000000080000-0x000000260000 : "U-Boot"
[    1.289276] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.296142] 0x000000280000-0x000007e80000 : "system1"
[    1.354095] 0x000007e80000-0x00000fa80000 : "system2"
[    1.412139] 0x00000fa80000-0x000010000000 : "safe_area"
[    1.421264] OneNAND driver initializing
[    1.425994] UBI: attaching mtd6 to ubi0
[    1.430053] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.436584] UBI: logical eraseblock size:    126976 bytes
[    1.442199] UBI: smallest flash I/O unit:    2048
[    1.447113] UBI: VID header offset:          2048 (aligned 2048)
[    1.453369] UBI: data offset:                4096
[    2.505889] UBI: max. sequence number:       0
[    2.510559] UBI error: ubi_read_volume_table: the layout volume was not found
[    2.518371] UBI error: ubi_init: cannot attach mtd6
[    2.524291] CAN device driver interface
[    2.528289] CAN bus driver for Bosch D_CAN controller 1.0
[    2.579833] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    2.586303] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    2.593750] davinci_mdio.0: probed
[    2.597290] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    2.605010] usbcore: registered new interface driver zd1201
[    2.611022] usbcore: registered new interface driver cdc_ether
[    2.617248] usbcore: registered new interface driver cdc_eem
[    2.623321] usbcore: registered new interface driver dm9601
[    2.629150] cdc_ncm: 04-Aug-2011
[    2.632690] usbcore: registered new interface driver cdc_ncm
[    2.638610] Initializing USB Mass Storage driver...
[    2.643920] usbcore: registered new interface driver usb-storage
[    2.650207] USB Mass Storage support registered.
[    2.655456] mousedev: PS/2 mouse device common for all mice
[    2.662200] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
[    2.671234] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input2
[    2.679779] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[    2.686981] i2c /dev entries driver
[    2.691253] Linux video capture interface: v2.00
[    2.696411] usbcore: registered new interface driver uvcvideo
[    2.702423] USB Video Class driver (1.1.1)
[    2.707611] lm75 2-0048: hwmon0: sensor 'tmp275'
[    2.715393] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.724029] cpuidle: using governor ladder
[    2.728790] cpuidle: using governor menu
[    2.806762] omap4_aes_mod_init: loading AM33X AES driver
[    2.812438] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    2.818969] omap4_aes_probe: probe() done
[    2.823425] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    2.829559] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    2.841430] omap4_sham_probe: probe() done
[    2.848175] usbcore: registered new interface driver usbhid
[    2.854034] usbhid: USB HID core driver
[    2.858734] usbcore: registered new interface driver snd-usb-audio
[    2.869628] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    2.879730] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    2.887542] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    2.895233] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    2.902893] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    2.913452] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    2.921295] ALSA device list:
[    2.924407]   #0: AM335X EVM
[    2.927398] oprofile: hardware counters not available
[    2.932708] oprofile: using timer interrupt.
[    2.937194] nf_conntrack version 0.5.0 (8017 buckets, 32068 max)
[    2.944030] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.949676] TCP cubic registered
[    2.953094] NET: Registered protocol family 17
[    2.957733] can: controller area network core (rev 20090105 abi 8)
[    2.964263] NET: Registered protocol family 29
[    2.968902] can: raw protocol (rev 20090105)
[    2.973358] can: broadcast manager protocol (rev 20090105 t)
[    2.979309] Registering the dns_resolver key type
[    2.984313] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.992340] ThumbEE CPU extension supported.
[    2.996856] mux: Failed to setup hwmod io irq -22
[    3.002410] Power Management for AM33XX family
[    3.007263] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    3.013977] Copied the M3 firmware to UMEM
[    3.018463] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[    3.026306] smartreflex: probe of smartreflex failed with error -22
[    3.033447] sr_init: platform driver register failed
[    3.043975] clock: disabling unused clocks to save power
[    3.062866] Detected MACID=0:18:31:e0:9a:d1
[    3.068359] cpsw: Detected MACID = 00:18:31:e0:9a:d2
[    3.075317] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[    3.083129] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    3.092376] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[    3.099731] Please append a correct "root=" boot option; here are the available partitions:
[    3.108520] 1f00             128 mtdblock0  (driver?)
[    3.113800] 1f01             128 mtdblock1  (driver?)
[    3.119079] 1f02             128 mtdblock2  (driver?)
[    3.124359] 1f03             128 mtdblock3  (driver?)
[    3.129638] 1f04            1920 mtdblock4  (driver?)
[    3.134918] 1f05             128 mtdblock5  (driver?)
[    3.140197] 1f06          126976 mtdblock6  (driver?)
[    3.145477] 1f07          126976 mtdblock7  (driver?)
[    3.150756] 1f08            5632 mtdblock8  (driver?)
[    3.156005] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.164642] Backtrace: 
[    3.167205] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c0423c5c>] (dump_stack+0x18/0x1c)
[    3.176025]  r6:df924000 r5:c05cf3ac r4:c06474c8 r3:c06007c8
[    3.181976] [<c0423c44>] (dump_stack+0x0/0x1c) from [<c0423ccc>] (panic+0x6c/0x1a0)
[    3.189971] [<c0423c60>] (panic+0x0/0x1a0) from [<c05a0cb4>] (mount_block_root+0x184/0x228)
[    3.198669]  r3:c06007c8 r2:00000000 r1:df82df78 r0:c0500a10
[    3.204589]  r7:00008000
[    3.207244] [<c05a0b30>] (mount_block_root+0x0/0x228) from [<c05a0fd0>] (prepare_namespace+0xac/0x1d4)
[    3.216979] [<c05a0f24>] (prepare_namespace+0x0/0x1d4) from [<c05a090c>] (kernel_init+0x124/0x130)
[    3.226318]  r5:c05dd654 r4:c05dd654
[    3.230072] [<c05a07e8>] (kernel_init+0x0/0x130) from [<c0041724>] (do_exit+0x0/0x67c)
[    3.238342]  r5:c05a07e8 r4:00000000

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0 
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0 
U-Boot#  printenv
baudrate=115200
bootargs=console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=6,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=if mmc rescan ${mmcdev}; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};r
un importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loaduimagefat; then run mmcboot;elif run loaduima
ge; then run mmcboot;else echo Cound not find ${bootfile} ;fi;else run nandboot;fi;
bootdelay=3
bootenv=uEnv.txt
bootfile=uMulti
console=ttyO0,115200n8
dfu_alt_info=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8
ethact=cpsw
ethaddr=00:18:31:e0:9a:d1
fdtaddr=0x80F80000
filesize=1B85C2C
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext3 rootwait
mtddevname=SPL
mtddevnum=0
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),124m(system1),12
4m(system2),-(safe_area)
nandargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${nandroot} noinitrd rootfstype=${nandrootfstype} ip=${ip_method}
nandboot=echo Booting from nand ...; run nandargs; nand read.i ${kloadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${kloadaddr}
nandimgsize=2000000
nandroot=ubi0:rootfs rw ubi.mtd=6,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0x00280000
netargs=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run netargs; bootm ${kloadaddr}
nfsopts=nolock
partition=nand0,0
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
spiargs=run bootargs_defaults;setenv bootargs ${bootargs} rootfstype=${spirootfstype} ip=${ip_method}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${kloadaddr} ${spisrcaddr} ${spiimgsize}; bootm ${kloadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0x80000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=00:18:31:e0:9a:d1
ver=U-Boot 2012.10 (Dec 16 2012 - 13:54:10)

  • Daniel,

    What is your end goal? Are you expecting the kernel to decompress the filesystem on-the-fly?

    How are you booting the board? You mentioned you saved the image into flash - is it a NAND? I don't see anything in your bootargs pointing to the ubi.img file you generated.

  • Hi Tim!

    What is your end goal?
    I intend to have 2 images (kernel+filesystem) in flash NAND to update/change between them.   

    Are you expecting the kernel to decompress the filesystem on-the-fly?  
    yes, decompress in ram kernel+filesystem.  The ubi.img is compressed into uMulti file.  If I decompress the filesystem in ram, must I have a ramdisk filesystem in this case?


    thank you.


  • Daniel,

    A UBIFS filesystem runs out of NAND - do you want to run your filesystem from NAND or RAM?

    What's your reason for wanting to compress the filesystem?

    Bear in mind that a ramdisk requires extra effort in case you create/modify anything within that filesystem. As it is running out of RAM, and RAM is by definition volatile, any changes will be lost. If you ran your uncompressed UBIFS filesystem out of NAND you wouldn't need to worry about this.

  • I see, but it is possible that 2 not compressed images of my rootfs will be bigger than my flash size, so I am thinking to compress (kernel+filesystem) in nand and use them decompressed in RAM.  A little part of nand will be used to persist  some important data.

    if UBI is ok to be mounted in RAM, do you have some tip for my problem?

    best regards.

  • I think you'd need to create a different filesystem such as ext3/4. UBIFS is meant to be placed and accessed in NAND flash, and I do not think it will work as a ramdisk.

    Directions for creating a ramdisk can be found here. Instead of making the blank file you can simply gzip an existing filesystem. I suggest trying to place the base fs in our SDK (found in SDK_ROOT/filesystem/arago-base-tisdk-image-am335x-evm.tar.gz) to make sure it works and meets your needs.

  • Ok Tim, that process I know. My doubt is about how to call the multi-image from u-boot, to start kernel and mount root file system. Please, look at the first message, were I talk about the problem.