I use prebuilt UBIFS images from TI official site--> http://processors.wiki.ti.com/index.php/TI-Android-ICS-4.0.3-DevKit-3.0.1_UserGuide#NAND_Booting
And I only replaced linux kernel with a customerized one. Looks like UBIFS rootfs successfully burnt into nand flash but I met a failure when kernel try to mount this UBIFS. You can find logs below and anybody can help with this issue?
U-Boot SPL 2011.09 (Feb 13 2012 - 17:28:14)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09 (Feb 11 2012 - 18:23:02)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
256 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
88 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading boot.scr
1522 bytes read
## Executing script at 81000000
Loading MLO from mmc ...
reading MLO
37487 bytes read
Erasing x-loader NAND partition ...
HW ECC BCH8 Selected
NAND erase: device 0 offset 0x0, size 0x20000
Erasing at 0x0 -- 100% complete.
OK
Writing MLO on NAND x-loader partition ...
NAND write: device 0 offset 0x0, size 0x20000
131072 bytes written: OK
Loading u-boot.img from mmc ...
reading u-boot.img
231396 bytes read
Erasing u-boot NAND partition ...
HW ECC BCH8 Selected
NAND erase: device 0 offset 0x80000, size 0x1e0000
Erasing at 0x240000 -- 100% complete.
OK
Writing u-boot.img on NAND bootloader partition ...
NAND write: device 0 offset 0x80000, size 0x1e0000
1966080 bytes written: OK
Loading uImage from mmc ...
reading uImage
3575384 bytes read
Erasing linux NAND partition ...
HW ECC BCH8 Selected
NAND erase: device 0 offset 0x280000, size 0x500000
Erasing at 0x760000 -- 100% complete.
OK
Writing uImage on NAND linux partition ...
NAND write: device 0 offset 0x280000, size 0x500000
5242880 bytes written: OK
Loading ubi.img from mmc ...
it will take some 10 minutes ... ... ... ...
reading ubi.img
122028032 bytes read
Erasing NAND rootfs partition ...
HW ECC BCH8 Selected
NAND erase: device 0 offset 0x780000, size 0x7460000
Erasing at 0x7bc0000 -- 100% complete.
OK
Writing ubi.img on NAND rootfs partition ...
NAND write: device 0 offset 0x780000, size 0x7460000
122028032 bytes written: OK
HW ECC Hamming Code selected
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
Booting from nand ...
HW ECC BCH8 Selected
NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-3.2.0-gb02ab39-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3575320 Bytes = 3.4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Linux version 3.2.0-gb02ab39-dirty (root@NX-W-3) (gcc version 4.4.3 (GCC) ) #21 Fri Jul 20 17:08:10 CST 2012
[ 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] 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: 65024
[ 0.000000] Kernel command line: console=ttyO1,115200 androidboot.console=ttyO1 mem=256M root=ubi0:rootfs rootfstype=ubifs ubi.mtd=7,2048 rw rootwait init=/init ip=off
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 251520k/251520k available, 10624k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0660000 (6496 kB)
[ 0.000000] .init : 0xc0660000 - 0xc069c000 ( 240 kB)
[ 0.000000] .data : 0xc069c000 - 0xc06f4220 ( 353 kB)
[ 0.000000] .bss : 0xc06f4244 - 0xc08239c8 (1214 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_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000198] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.057166] pid_max: default: 32768 minimum: 301
[ 0.057294] Security Framework initialized
[ 0.057359] Mount-cache hash table entries: 512
[ 0.057734] CPU: Testing write buffer coherency: ok
[ 0.077699] omap_hwmod: gfx: failed to hardreset
[ 0.093958] omap_hwmod: pruss: failed to hardreset
[ 0.094726] print_constraints: dummy:
[ 0.094955] NET: Registered protocol family 16
[ 0.096033] OMAP GPIO hardware version 0.1
[ 0.097064] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.098166] _omap_mux_get_by_name: Could not find signal gpmc_be1n.gpio1_28
[ 0.098372] omap_i2c.1: alias fck already exists
[ 0.098874] omap2_mcspi.1: alias fck already exists
[ 0.098978] omap2_mcspi.2: alias fck already exists
[ 0.099130] edma.0: alias fck already exists
[ 0.099149] edma.0: alias fck already exists
[ 0.099167] edma.0: alias fck already exists
[ 0.107933] bio: create slab <bio-0> at 0
[ 0.108911] SCSI subsystem initialized
[ 0.109722] usbcore: registered new interface driver usbfs
[ 0.109836] usbcore: registered new interface driver hub
[ 0.109979] usbcore: registered new device driver usb
[ 0.110107] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.110248] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.127236] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.128039] tps65910 1-002d: could not be detected
[ 0.128380] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.128932] Bluetooth: Core ver 2.16
[ 0.129007] NET: Registered protocol family 31
[ 0.129018] Bluetooth: HCI device and connection manager initialized
[ 0.129033] Bluetooth: HCI socket layer initialized
[ 0.129044] Bluetooth: L2CAP socket layer initialized
[ 0.129070] Bluetooth: SCO socket layer initialized
[ 0.129255] Switching to clocksource gp timer
[ 0.136962] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.137149] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.137890] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[ 0.138126] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.138392] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.138467] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.138599] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.138614] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 0.138627] usb usb1: Product: MUSB HDRC host driver
[ 0.138638] usb usb1: Manufacturer: Linux 3.2.0-gb02ab39-dirty musb-hcd
[ 0.138650] usb usb1: SerialNumber: musb-hdrc.1
[ 0.139187] hub 1-0:1.0: USB hub found
[ 0.139214] hub 1-0:1.0: 1 port detected
[ 0.139710] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[ 0.140048] NET: Registered protocol family 2
[ 0.140250] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.140628] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.140786] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.140880] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.140893] TCP reno registered
[ 0.140906] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.140929] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.141139] NET: Registered protocol family 1
[ 0.141409] RPC: Registered named UNIX socket transport module.
[ 0.141424] RPC: Registered udp transport module.
[ 0.141433] RPC: Registered tcp transport module.
[ 0.141442] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.141704] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.267474] ashmem: initialized
[ 0.267749] VFS: Disk quotas dquot_6.5.2
[ 0.267806] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.268687] msgmni has been set to 491
[ 0.269716] io scheduler noop registered
[ 0.269729] io scheduler deadline registered
[ 0.269802] io scheduler cfq registered (default)
[ 0.270377] Could not set LED4 to fully on
[ 0.271523] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.271837] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.876145] console [ttyO1] enabled
[ 0.880145] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.887761] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.895415] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.903050] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.916539] brd: module loaded
[ 0.923033] loop: module loaded
[ 0.926479] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.932986] i2c-core: driver [tsl2550] using legacy resume method
[ 0.939414] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.999299] No daughter card found on AM335x EVM
[ 1.004154] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.019342] Board name: A335BONE
[ 1.022703] Board version: 00A3
[ 1.025971] The board is a AM335x Beaglebone.
[ 1.031179] tps65217 1-0024: TPS65217 ID 0x7 version 1.0
[ 1.038526] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV
[ 1.046841] print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV
[ 1.055153] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[ 1.063406] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 1.071676] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 1.079839] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV
[ 1.088095] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 1.095036] da8xx_lcdc.0: alias fck already exists
[ 1.100386] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 1.120476] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.125482] Registering NAND on CS0
[ 1.129600] omap_hsmmc.0: alias fck already exists
[ 1.134848] omap_i2c.2: alias fck already exists
[ 1.159352] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 1.165554] tsl2550 2-0039: standard operating mode
[ 1.170826] tsl2550: probe of 2-0039 failed with error -121
[ 1.176889] davinci-mcasp.0: alias fck already exists
[ 1.183044] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[ 1.190689] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[ 1.218965] lis3lv02d: unknown sensor type 0x87
[ 1.223795] lis3lv02d_i2c: probe of 2-0018 failed with error -22
[ 1.230947] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.237931] omap2-nand driver initializing
[ 1.242616] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
[ 1.252073] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.257622] 0x000000000000-0x000000020000 : "SPL"
[ 1.263612] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.270195] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.276648] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.283100] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.289840] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.296214] 0x000000280000-0x000000780000 : "Kernel"
[ 1.304288] 0x000000780000-0x000010000000 : "File System"
[ 1.414509] OneNAND driver initializing
[ 1.418922] UBI: attaching mtd7 to ubi0
[ 1.422973] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.429521] UBI: logical eraseblock size: 126976 bytes
[ 1.435144] UBI: smallest flash I/O unit: 2048
[ 1.440051] UBI: sub-page size: 512
[ 1.444862] UBI: VID header offset: 2048 (aligned 2048)
[ 1.451128] UBI: data offset: 4096
[ 3.277850] UBI: max. sequence number: 2
[ 3.296534] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 13, need 19
[ 3.308528] UBI: attached mtd7 to ubi0
[ 3.312484] UBI: MTD device name: "File System"
[ 3.318197] UBI: MTD device size: 248 MiB
[ 3.323378] UBI: number of good PEBs: 1980
[ 3.328278] UBI: number of bad PEBs: 8
[ 3.332914] UBI: number of corrupted PEBs: 0
[ 3.337539] UBI: max. allowed volumes: 128
[ 3.342356] UBI: wear-leveling threshold: 4096
[ 3.347256] UBI: number of internal volumes: 1
[ 3.351891] UBI: number of user volumes: 1
[ 3.356516] UBI: available PEBs: 0
[ 3.361154] UBI: total number of reserved PEBs: 1980
[ 3.366322] UBI: number of PEBs reserved for bad PEB handling: 13
[ 3.372679] UBI: max/mean erase counter: 1/0
[ 3.377126] UBI: image sequence number: 1080923749
[ 3.382471] CAN device driver interface
[ 3.386465] CAN bus driver for Bosch D_CAN controller 1.0
[ 3.392652] UBI: background thread "ubi_bgt0d" started, PID 49
[ 3.439307] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 3.445755] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 3.469481] davinci_mdio.0: probed
[ 3.473033] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 3.481625] PPP generic driver version 2.4.2
[ 3.486257] PPP BSD Compression module registered
[ 3.491183] PPP Deflate Compression module registered
[ 3.496568] usbcore: registered new interface driver cdc_ether
[ 3.502720] usbcore: registered new interface driver cdc_eem
[ 3.508683] usbcore: registered new interface driver dm9601
[ 3.514560] usbcore: registered new interface driver cdc_subset
[ 3.520789] cdc_ncm: 04-Aug-2011
[ 3.524209] usbcore: registered new interface driver cdc_ncm
[ 3.530207] usbcore: registered new interface driver cdc_acm
[ 3.536101] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 3.544459] Initializing USB Mass Storage driver...
[ 3.549673] usbcore: registered new interface driver usb-storage
[ 3.555934] USB Mass Storage support registered.
[ 3.560924] usbcore: registered new interface driver usbserial
[ 3.567056] USB Serial support registered for generic
[ 3.572404] usbcore: registered new interface driver usbserial_generic
[ 3.579205] usbserial: USB Serial Driver core
[ 3.583801] USB Serial support registered for GSM modem (1-port)
[ 3.590226] usbcore: registered new interface driver option
[ 3.596031] option: v0.7.2:USB Driver for GSM modems
[ 3.602515] UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB1483:0, written 0 bytes
[ 3.612083] UBI error: erase_worker: failed to erase PEB 1483, error -5
[ 3.618976] UBI: mark PEB 1483 as bad
[ 3.623408] UBI: 12 PEBs left in the reserve
[ 3.739317] gadget: Mass Storage Function, version: 2009/09/11
[ 3.745492] gadget: Number of LUNs=1
[ 3.749323] lun0: LUN: removable file: (no medium)
[ 3.754650] gadget: android_usb ready
[ 3.758600] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 3.764201] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 3.772036] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.779112] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 3.786658] usb usb2: Product: MUSB HDRC host driver
[ 3.791840] usb usb2: Manufacturer: Linux 3.2.0-gb02ab39-dirty musb-hcd
[ 3.798732] usb usb2: SerialNumber: musb-hdrc.0
[ 3.803943] hub 2-0:1.0: USB hub found
[ 3.807863] hub 2-0:1.0: 1 port detected
[ 3.812584] mousedev: PS/2 mouse device common for all mice
[ 3.818960] input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
[ 3.840037] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input1
[ 3.848668] using rtc device, ds1302, for alarms
[ 3.853402] rtc-ds1302 rtc-ds1302: rtc core: registered ds1302 as rtc0
[ 3.860558] i2c /dev entries driver
[ 3.864522] Linux video capture interface: v2.00
[ 3.869507] usbcore: registered new interface driver uvcvideo
[ 3.875492] USB Video Class driver (1.1.1)
[ 3.879959] UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB1631:0, written 0 bytes
[ 3.889517] UBI error: erase_worker: failed to erase PEB 1631, error -5
[ 3.896413] UBI: mark PEB 1631 as bad
[ 3.900409] lm75: probe of 2-0048 failed with error -121
[ 3.906319] UBI: 11 PEBs left in the reserve
[ 4.139979] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 4.146505] device-mapper: uevent: version 1.0.3
[ 4.151539] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 4.160363] Bluetooth: HCI UART driver ver 2.2
[ 4.164994] Bluetooth: HCI H4 protocol initialized
[ 4.169995] Bluetooth: HCILL protocol initialized
[ 4.174897] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
[ 4.181790] UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB1903:0, written 0 bytes
[ 4.191352] UBI error: erase_worker: failed to erase PEB 1903, error -5
[ 4.198246] UBI: mark PEB 1903 as bad
[ 4.202625] UBI: 10 PEBs left in the reserve
[ 4.230153] cpuidle: using governor ladder
[ 4.234566] cpuidle: using governor menu
[ 4.240697] usbcore: registered new interface driver usbhid
[ 4.246512] usbhid: USB HID core driver
[ 4.259989] logger: created 256K log 'log_main'
[ 4.264821] logger: created 256K log 'log_events'
[ 4.269860] logger: created 256K log 'log_radio'
[ 4.274772] logger: created 256K log 'log_system'
[ 4.280202] usbcore: registered new interface driver snd-usb-audio
[ 4.287726] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[ 4.295547] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[ 4.303227] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[ 4.310910] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[ 4.321083] UBI error: ubi_io_write: error -5 while writing 512 bytes to PEB1941:0, written 0 bytes
[ 4.330655] UBI error: erase_worker: failed to erase PEB 1941, error -5
[ 4.337554] UBI: mark PEB 1941 as bad
[ 4.342449] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
[ 4.349658] ALSA device list:
[ 4.352762] #0: AM335X EVM
[ 4.355759] oprofile: hardware counters not available
[ 4.361039] oprofile: using timer interrupt.
[ 4.365676] nf_conntrack version 0.5.0 (3930 buckets, 15720 max)
[ 4.372402] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.378100] TCP cubic registered
[ 4.381653] NET: Registered protocol family 10
[ 4.386998] IPv6 over IPv4 tunneling driver
[ 4.392014] NET: Registered protocol family 17
[ 4.396670] can: controller area network core (rev 20090105 abi 8)
[ 4.403264] NET: Registered protocol family 29
[ 4.407896] can: raw protocol (rev 20090105)
[ 4.412361] can: broadcast manager protocol (rev 20090105 t)
[ 4.419455] UBI error: ubi_io_mark_bad: cannot mark PEB 1941 bad, error -5
[ 4.426637] UBI warning: ubi_ro_mode: switch to read-only mode
[ 4.432731] UBI error: do_work: work failed with error code -5
[ 4.438810] UBI error: ubi_thread: ubi_bgt0d: work failed with error code -5
[ 4.448249] Bluetooth: RFCOMM TTY layer initialized
[ 4.453368] Bluetooth: RFCOMM socket layer initialized
[ 4.458719] Bluetooth: RFCOMM ver 1.11
[ 4.462638] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.468173] Bluetooth: BNEP filters: protocol multicast
[ 4.473627] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 4.479961] Registering the dns_resolver key type
[ 4.484937] VFP support v0.3: implementor 41 architecture 3 part 30 variant crev 3
[ 4.492952] ThumbEE CPU extension supported.
[ 4.497463] mux: Failed to setup hwmod io irq -22
[ 4.503076] Power Management for AM33XX family
[ 4.507907] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 4.514590] Copied the M3 firmware to UMEM
[ 4.518873] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
[ 4.532661] clock: disabling unused clocks to save power
[ 4.539802] Detected MACID=40:5f:c2:76:89:d4
[ 4.545769] rtc-ds1302 rtc-ds1302: setting system clock to 2012-07-22 18:13:48 UTC (1342980828)
[ 4.555634] UBIFS: read-only UBI device
[ 4.559687] UBIFS error (pid 1): mount_ubifs: cannot mount read-write - read-only media
[ 4.568357] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 4.575767] Please append a correct "root=" boot option; here are the available partitions:
[ 4.584525] 1f00 128 mtdblock0 (driver?)
[ 4.589810] 1f01 128 mtdblock1 (driver?)
[ 4.595083] 1f02 128 mtdblock2 (driver?)
[ 4.600362] 1f03 128 mtdblock3 (driver?)
[ 4.605632] 1f04 1920 mtdblock4 (driver?)
[ 4.610915] 1f05 128 mtdblock5 (driver?)
[ 4.616183] 1f06 5120 mtdblock6 (driver?)
[ 4.621463] 1f07 254464 mtdblock7 (driver?)
[ 4.626730] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.635352] Backtrace:
[ 4.637940] [<c001803c>] (dump_backtrace+0x0/0x10c) from [<c04d57f0>] (dump_stack+0x18/0x1c)
[ 4.646747] r7:c068d0a0 r6:00008000 r5:c06f5290 r4:c06f5290
[ 4.652680] [<c04d57d8>] (dump_stack+0x0/0x1c) from [<c04d5858>] (panic+0x64/0x198)
[ 4.660691] [<c04d57f4>] (panic+0x0/0x198) from [<c0660d80>] (mount_block_root+0x174/0x228)
[ 4.669404] r3:00000000 r2:00000000 r1:cf81df78 r0:c05c3778
[ 4.675325] [<c0660c0c>] (mount_block_root+0x0/0x228) from [<c0660f94>] (prep are_namespace+0x94/0x1c0)
[ 4.685046] [<c0660f00>] (prepare_namespace+0x0/0x1c0) from [<c06602f8>] (kernel_init+0xf0/0x124)
[ 4.694304] r5:c069aed0 r4:c06f4280
[ 4.698052] [<c0660208>] (kernel_init+0x0/0x124) from [<c0040854>] (do_exit+0x0/0x6ac)
[ 4.706311] r5:c0660208 r4:00000000