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.

关于AM335x Nand 启动UBI出错的问题

Other Parts Discussed in Thread: TPS65217, AM3352, TPS65910

基本情况:板子是参考beaglebone做的,NAND采用MT29F2G08ABAEAWP;启动到ubi的时候提示如下错误信息;

BSP是采用最新的:AM335xSDK_07_00_00_00,u-boot-2013.10-ti2013.12.01, linux-3.12.10-ti2013.12.01(这个版本相较于linux3.2.0版本好像变动挺大的);

UBI用的是也是SDK提供的arago-base-tisdk-image-am335x-evm.ubi

启动过程信息如下:

U-Boot 2013.10-00189-g78d8ebd-dirty (Jul 09 2014 - 16:40:56)

I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc0(part 0) is current device
Scanning mmc 0...
Card did not respond to voltage select!
** Bad device mmc 0 **
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
Card did not respond to voltage select!
mmc1(part 0) is current device
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x80000, size 0x40000
262144 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x800000
8388608 bytes read: OK
Kernel image @ 0x80200000 [ 0x000000 - 0x3eba48 ]
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Loading Device Tree to 8f321000, end 8f32c5d0 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.12.10-ti2013.12.01 (root@vansharp-virtual-machine) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #2 Thu Jul 10 16:20:34 CST 2014
[ 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: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] cma: CMA: reserved 24 MiB at 8d800000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64256
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[ 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: 223468K/259072K available (5547K kernel code, 557K rwdata, 1872K rodata, 345K init, 225K bss, 35604K 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] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc074704c (7421 kB)
[ 0.000000] .init : 0xc0748000 - 0xc079e4e8 ( 346 kB)
[ 0.000000] .data : 0xc07a0000 - 0xc082b718 ( 558 kB)
[ 0.000000] .bss : 0xc082b718 - 0xc0863d40 ( 226 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 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: timer2 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000326] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160)
[ 0.119757] pid_max: default: 32768 minimum: 301
[ 0.119861] Security Framework initialized
[ 0.119913] Mount-cache hash table entries: 512
[ 0.127665] CPU: Testing write buffer coherency: ok
[ 0.128099] Setting up static identity map for 0xc0570f68 - 0xc0570fd8
[ 0.129010] devtmpfs: initialized
[ 0.130988] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.193102] omap_hwmod: debugss: _wait_target_disable failed
[ 0.193843] pinctrl core: initialized pinctrl subsystem
[ 0.194749] regulator-dummy: no parameters
[ 0.197304] NET: Registered protocol family 16
[ 0.199589] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.202422] cpuidle: using governor ladder
[ 0.202438] cpuidle: using governor menu
[ 0.211202] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.212322] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.213580] OMAP GPIO hardware version 0.1
[ 0.221629] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_s0, deferring probe
[ 0.221661] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[ 0.222047] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.223513] DSS not supported on this SoC
[ 0.223529] No ATAGs?
[ 0.223540] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.247662] bio: create slab <bio-0> at 0
[ 0.262725] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.263575] vmmcsd_fixed: 3300 mV
[ 0.266400] vgaarb: loaded
[ 0.267721] SCSI subsystem initialized
[ 0.269095] usbcore: registered new interface driver usbfs
[ 0.269292] usbcore: registered new interface driver hub
[ 0.269503] usbcore: registered new device driver usb
[ 0.270540] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.270570] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.270784] media: Linux media interface: v0.10
[ 0.270961] Linux video capture interface: v2.00
[ 0.271224] pps_core: LinuxPPS API ver. 1 registered
[ 0.271234] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.271368] PTP clock support registered
[ 0.273973] Switched to clocksource timer1
[ 0.293196] NET: Registered protocol family 2
[ 0.293856] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.293911] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.293944] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.294097] TCP: reno registered
[ 0.294114] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.294144] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.294354] NET: Registered protocol family 1
[ 0.294760] RPC: Registered named UNIX socket transport module.
[ 0.294771] RPC: Registered udp transport module.
[ 0.294778] RPC: Registered tcp transport module.
[ 0.294785] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.295714] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.296324] PM: Loading am335x-pm-firmware.bin
[ 0.452152] VFS: Disk quotas dquot_6.5.2
[ 0.452233] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.452868] NFS: Registering the id_resolver key type
[ 0.452973] Key type id_resolver registered
[ 0.452982] Key type id_legacy registered
[ 0.453026] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.453220] msgmni has been set to 484
[ 0.454963] NET: Registered protocol family 38
[ 0.455010] io scheduler noop registered
[ 0.455019] io scheduler deadline registered
[ 0.455057] io scheduler cfq registered (default)
[ 0.457051] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.463474] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.466429] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[ 1.085210] console [ttyO0] enabled
[ 1.090343] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.107497] brd: module loaded
[ 1.116023] loop: module loaded
[ 1.122566] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.132080] usbcore: registered new interface driver asix
[ 1.138038] usbcore: registered new interface driver ax88179_178a
[ 1.144678] usbcore: registered new interface driver cdc_ether
[ 1.151046] usbcore: registered new interface driver r815x
[ 1.157016] usbcore: registered new interface driver smsc95xx
[ 1.163270] usbcore: registered new interface driver net1080
[ 1.169399] usbcore: registered new interface driver cdc_subset
[ 1.175833] usbcore: registered new interface driver zaurus
[ 1.181970] usbcore: registered new interface driver cdc_ncm
[ 1.188449] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.195378] ehci-pci: EHCI PCI platform driver
[ 1.200292] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.206680] usbcore: registered new interface driver cdc_wdm
[ 1.212875] usbcore: registered new interface driver usb-storage
[ 1.220261] mousedev: PS/2 mouse device common for all mice
[ 1.229115] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.237429] i2c /dev entries driver
[ 1.243390] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.252495] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.259826] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.267078] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[ 1.274024] edma-dma-engine edma-dma-engine.0: freeing channel for 24
[ 1.280837] edma-dma-engine edma-dma-engine.0: freeing channel for 25
[ 1.287770] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[ 1.295848] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.302502] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 1.309828] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.317077] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.323185] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 1.330376] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 1.338820] usbcore: registered new interface driver usbhid
[ 1.344749] usbhid: USB HID core driver
[ 1.350973] oprofile: no performance counters
[ 1.356030] oprofile: using timer interrupt.
[ 1.360853] TCP: cubic registered
[ 1.364388] Initializing XFRM netlink socket
[ 1.372073] omap_hwmod: gpio1: _wait_target_disable failed
[ 1.377928] NET: Registered protocol family 17
[ 1.382671] NET: Registered protocol family 15
[ 1.387442] 8021q: 802.1Q VLAN Support v1.8
[ 1.391944] Key type dns_resolver registered
[ 1.397115] cpu cpu0: cpu0 regulator not ready, retry
[ 1.402476] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 1.410933] ThumbEE CPU extension supported.
[ 1.417428] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.422873] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.430532] ONFI param page 0 valid
[ 1.434275] ONFI flash detected
[ 1.437603] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), 256MiB, page size: 2048, OOB size: 64
[ 1.449652] omap2-nand: detected x8 NAND flash
[ 1.454354] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.459996] nand: error: ELM device not found
[ 1.464608] nand: error: could not initialize ELM
[ 1.472737] DCDC1: at 1800 mV
[ 1.477033] vdd_mpu: 925 <--> 1375 mV at 1275 mV
[ 1.482949] vdd_core: 925 <--> 1150 mV at 1125 mV
[ 1.488947] LDO1: at 1800 mV
[ 1.492993] LDO2: at 3300 mV
[ 1.497039] LDO3: 1800 <--> 3300 mV at 3300 mV
[ 1.502685] LDO4: at 3300 mV
[ 1.506530] tps65217 0-0024: TPS65217 ID 0xf version 1.2
[ 1.512183] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.518975] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.526222] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.576479] UBI error: ubi_init: cannot open mtd NAND.file-system, error -2
[ 1.644033] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.650488] davinci_mdio 4a101000.mdio: detected phy mask fffffffa
[ 1.658384] libphy: 4a101000.mdio: probed
[ 1.662635] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
[ 1.672782] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver RTL8211E Gigabit Ethernet
[ 1.683720] Detected MACID = bc:6a:29:93:75:ec
[ 1.690257] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.702926] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 1.711023] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 1.719491] Please append a correct "root=" boot option; here are the available partitions:
[ 1.728357] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

请版上各位帮分析分析,该从哪方面入手查这个问题呢


  • 根据错误提示,好像是和nand ecc校验有关

  • 根据提示做了验证,u-boot中都是采用nandecc hw bch8校验了,同时查了在am335x-bone.dts文件中的参数信息也是bch8

    am335x-bone.dts

    //////////////////////////////////////

    ocp {

    gpmc: gpmc@50000000 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&nandflash_pins_s0>;
    ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
    nand@0,0 {
    reg = <0 0 0>; /* CS0, offset 0 */
    nand-bus-width = <8>;
    ti,nand-ecc-opt = "bch8";
    gpmc,device-nand = "true";
    gpmc,device-width = <1>;
    gpmc,sync-clk-ps = <0>;
    gpmc,cs-on-ns = <0>;
    gpmc,cs-rd-off-ns = <30>;
    gpmc,cs-wr-off-ns = <30>;
    gpmc,adv-on-ns = <0>;
    gpmc,adv-rd-off-ns = <30>;
    gpmc,adv-wr-off-ns = <30>;
    gpmc,we-on-ns = <0>;
    gpmc,we-off-ns = <20>;
    gpmc,oe-on-ns = <10>;
    gpmc,oe-off-ns = <30>;
    gpmc,access-ns = <30>;
    gpmc,rd-cycle-ns = <30>;
    gpmc,wr-cycle-ns = <30>;
    gpmc,wait-on-read = "true";
    gpmc,wait-on-write = "true";
    gpmc,bus-turnaround-ns = <0>;
    gpmc,cycle2cycle-delay-ns = <50>;
    gpmc,clk-activation-ns = <0>;
    gpmc,wait-monitoring-ns = <0>;
    gpmc,wr-access-ns = <30>;
    gpmc,wr-data-mux-bus-ns = <0>;

    #address-cells = <1>;
    #size-cells = <1>;
    elm_id = <&elm>;

    /* MTD partition table */
    partition@0 {
    label = "SPL";
    reg = <0x00000000 0x000020000>;
    };

    partition@1 {
    label = "SPL_backup1";
    reg = <0x00020000 0x00020000>;
    };

    partition@2 {
    label = "SPL_backup2";
    reg = <0x00040000 0x00020000>;
    };

    partition@3 {
    label = "SPL_backup3";
    reg = <0x00060000 0x00020000>;
    };
    partition@4 {
    label = "dtb";
    reg = <0x00080000 0x00040000>;
    };

    partition@5 {
    label = "U-boot";
    reg = <0x000c0000 0x00100000>;
    };

    partition@6 {
    label = "env";
    reg = <0x001c0000 0x00020000>;
    };
    partition@7 {
    label = "env_backup1";
    reg = <0x001e0000 0x00020000>;
    };

    partition@8 {
    label = "Kernel";
    reg = <0x00200000 0x00800000>;
    };

    partition@9 {
    label = "File-System";
    reg = <0x00a00000 0x0f600000>;
    };
    };
    };
    };

    可是结果还是类似的,超级终端最后输出的是

    [ 1.430651] ONFI param page 0 valid
    [ 1.434395] ONFI flash detected
    [ 1.437724] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), 256MiB, page size: 2048, OOB size: 64
    [ 1.449772] omap2-nand: detected x8 NAND flash
    [ 1.454477] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 1.460119] nand: error: ELM device not found
    [ 1.464730] nand: error: could not initialize ELM
    [ 1.472853] DCDC1: at 1800 mV
    [ 1.477139] vdd_mpu: 925 <--> 1375 mV at 1275 mV
    [ 1.483055] vdd_core: 925 <--> 1150 mV at 1125 mV
    [ 1.489042] LDO1: at 1800 mV
    [ 1.493096] LDO2: at 3300 mV
    [ 1.497154] LDO3: 1800 <--> 3300 mV at 3300 mV
    [ 1.502805] LDO4: at 3300 mV
    [ 1.506655] tps65217 0-0024: TPS65217 ID 0xf version 1.2
    [ 1.512308] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.519108] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [ 1.526350] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [ 1.576641] UBI error: ubi_init: cannot open mtd NAND.file-system, error -2
    [ 1.644202] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.650659] davinci_mdio 4a101000.mdio: detected phy mask fffffffa
    [ 1.658576] libphy: 4a101000.mdio: probed
    [ 1.662829] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
    [ 1.672980] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver RTL8211E Gigabit Ethernet
    [ 1.683926] Detected MACID = bc:6a:29:93:75:ec
    [ 1.690473] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.703140] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
    [ 1.711241] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
    [ 1.719707] Please append a correct "root=" boot option; here are the available partitions:
    [ 1.728574] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

  • 另外如果将am335x-bone.dts中的nand ecc 改成none 

    nand-bus-width = <8>;
    ti,nand-ecc-opt = "none";
    gpmc,device-nand = "true";

    则超级终端的输出有所变化:

    [ 1.411460] ThumbEE CPU extension supported.
    [ 1.417954] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.423397] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.430036] gpmc_probe_nand_child: ti,nand-ecc-opt: invalid property val
    [ 1.438161] ONFI param page 0 valid
    [ 1.441858] ONFI flash detected
    [ 1.445229] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), 256MiB, page size: 2048, OOB size: 64
    [ 1.457282] omap2-nand: detected x8 NAND flash
    [ 1.461974] nand: using OMAP_ECC_HAMMING_CODE_HW
    [ 1.466862] omap2-nand: using custom ecc layout
    [ 1.471795] 10 ofpart partitions found on MTD device omap2-nand.0
    [ 1.478257] Creating 10 MTD partitions on "omap2-nand.0":
    [ 1.483978] 0x000000000000-0x000000020000 : "SPL"
    [ 1.490662] 0x000000020000-0x000000040000 : "SPL_backup1"
    [ 1.497870] 0x000000040000-0x000000060000 : "SPL_backup2"
    [ 1.505012] 0x000000060000-0x000000080000 : "SPL_backup3"
    [ 1.512090] 0x000000080000-0x0000000c0000 : "dtb"
    [ 1.518625] 0x0000000c0000-0x0000001c0000 : "U-boot"
    [ 1.526057] 0x0000001c0000-0x0000001e0000 : "env"
    [ 1.532427] 0x0000001e0000-0x000000200000 : "env_backup1"
    [ 1.539630] 0x000000200000-0x000000a00000 : "Kernel"
    [ 1.552860] 0x000000a00000-0x000010000000 : "File-System"
    [ 1.766512] DCDC1: at 1800 mV
    [ 1.770726] vdd_mpu: 925 <--> 1375 mV at 1275 mV
    [ 1.776640] vdd_core: 925 <--> 1150 mV at 1125 mV
    [ 1.782595] LDO1: at 1800 mV
    [ 1.786647] LDO2: at 3300 mV
    [ 1.790661] LDO3: 1800 <--> 3300 mV at 3300 mV
    [ 1.796371] LDO4: at 3300 mV
    [ 1.800222] tps65217 0-0024: TPS65217 ID 0xf version 1.2
    [ 1.805908] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.812658] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [ 1.819906] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [ 1.866707] UBI error: ubi_init: cannot open mtd NAND.file-system, error -2
    [ 1.934218] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.940674] davinci_mdio 4a101000.mdio: detected phy mask fffffffa
    [ 1.948615] libphy: 4a101000.mdio: probed
    [ 1.952869] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
    [ 1.963017] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver RTL8211E Gigabit Ethernet
    [ 1.973957] Detected MACID = bc:6a:29:93:75:ec
    [ 1.980473] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.993159] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
    [ 2.001253] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
    [ 2.009727] Please append a correct "root=" boot option; here are the available partitions:
    [ 2.018604] 1f00 128 mtdblock0 (driver?)
    [ 2.023953] 1f01 128 mtdblock1 (driver?)
    [ 2.029308] 1f02 128 mtdblock2 (driver?)
    [ 2.034663] 1f03 128 mtdblock3 (driver?)
    [ 2.040005] 1f04 256 mtdblock4 (driver?)
    [ 2.045368] 1f05 1024 mtdblock5 (driver?)
    [ 2.050709] 1f06 128 mtdblock6 (driver?)
    [ 2.056067] 1f07 128 mtdblock7 (driver?)
    [ 2.061408] 1f08 8192 mtdblock8 (driver?)
    [ 2.066763] 1f09 251904 mtdblock9 (driver?)
    [ 2.072104] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

    该从哪几个方面去修改nand ecc呢,话说linux 3.12中升级成ARM_Device_Tree后还不大理解

  • 建议你照如下这个文档做一遍ubifs:http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/59921.aspx

    最好不使用SDK里面自带的.ubi文件

  • 感谢 Jian Zhou,按照提供的说明重新做了ubi文件,发现问题是在u-boot的启动参数设置,虽然还不知道为什么,但是

    将bootargs中的ubi.mtd=NAND.rootfs 直接改成mtd partition id了:ubi.mtd=9,UBI文件系统顺利加载起来了

  • 你好,我就是按着这个这篇文档做的,到最后依然没有能加载ubifs。

    简单描述一下我的情况:我们的板子是参考BBB做的,但没有eeprom,板子没有eMMC,而是用的nand flash,除此之外和BBB没多大区别了,现在用的这款主芯片是AM3352。在uboot中改了iic读取eeprom部分,改成BBB的信息,让内核以为是BBB,然后启动。用的SDK包是SDK6.0,内核是3.2,uboot是2013.01.01版本。目前做的SD卡启动,完全没有问题,uboot、kernel和文件系统都没有问题,能启动正常。

    遇到了两个问题:1. SD卡启动uboot后,把MLO, u-boot.img, uImage, ubi,img烧写到板子的nand里,然后上电后,串口打印一直是CCC,并没有从nand启动,板子的SYSBOOT[4:0]=10011b,按说启动顺序是NAND-NANDI2C-MMC-UART,应该从nand启动的,但是没有。

    2.从SD卡启动uboot后,烧写上面那些文件后,拔掉SD卡,输入boot命令,会从nand读取内核,并启动,但是到了要打开ubi0:rootfs的时候出错了,详细的启动打印信息在下面:

    请各位前辈和TI的工程师,帮忙分析一下问题可能出在哪里,试了很多方法都不行,这里先谢谢各位大牛了。

    U-Boot 2013.01.01 (Oct 24 2014 - 16:56:28)

    I2C: ready
    DRAM: 256 MiB
    WARNING: Caches not enabled
    SKW board, run without EEPROM!
    SKW board use default setting as BBB
    board header name: [A335BNLT0A5C3513BBBK2751]
    board header version: [0A5C3513BBBK2751]
    board header serial: [3513BBBK2751]
    NAND: 128 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment

    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: <ethaddr> not set. Validating first E-fuse MAC
    PHY reset timed out
    cpsw, usb_ether
    Hit any key to stop autoboot: 0

    U-Boot# boot
    Card did not respond to voltage select!
    mmc0(part 0) is current device
    Card did not respond to voltage select!
    Booting from nand ...

    NAND read: device 0 offset 0x280000, size 0x600000
    6291456 bytes read: OK
    ## Booting kernel from Legacy Image at 80200000 ...
    Image Name: Linux-3.2.0
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3249840 Bytes = 3.1 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0 (linux@ubuntu) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.03 - Linaro GCC 2014.03) ) #3 Mon Oct 27 14:31:32 CST 2014
    [ 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 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1
    [ 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: 252856k/252856k available, 9288k 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 - 0xc05a6000 (5752 kB)
    [ 0.000000] .init : 0xc05a6000 - 0xc063e000 ( 608 kB)
    [ 0.000000] .data : 0xc063e000 - 0xc06a7070 ( 421 kB)
    [ 0.000000] .bss : 0xc06a7094 - 0xc06d5e64 ( 188 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.000274] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [ 0.067657] pid_max: default: 32768 minimum: 301
    [ 0.067932] Security Framework initialized
    [ 0.068084] Mount-cache hash table entries: 512
    [ 0.068756] CPU: Testing write buffer coherency: ok
    [ 0.093780] omap_hwmod: gfx: failed to hardreset
    [ 0.111785] omap_hwmod: pruss: failed to hardreset
    [ 0.113708] print_constraints: dummy:
    [ 0.114440] NET: Registered protocol family 16
    [ 0.118713] OMAP GPIO hardware version 0.1
    [ 0.124237] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.127929] +++++++++yidaji++++++++++
    [ 0.128021] omap_i2c.1: alias fck already exists
    [ 0.128448] ---------yidaji----------
    [ 0.128570]
    [ 0.128570]
    [ 0.128570]
    [ 0.128601] i2c1_init_szr has been executed
    [ 0.128601]
    [ 0.128601]
    [ 0.128631]
    [ 0.128997] omap_i2c.2: alias fck already exists
    [ 0.129425]
    [ 0.129455]
    [ 0.129455] omap_register_i2c1_bus has succeed
    [ 0.129486]
    [ 0.129486]
    [ 0.130279] +++++++++++++naloudou+++++++++++++++++++
    [ 0.130950] omap2_mcspi.1: alias fck already exists
    [ 0.131439] omap2_mcspi.2: alias fck already exists
    [ 0.133453] edma.0: alias fck already exists
    [ 0.133483] edma.0: alias fck already exists
    [ 0.133544] edma.0: alias fck already exists
    [ 0.193817] bio: create slab <bio-0> at 0
    [ 0.198425] SCSI subsystem initialized
    [ 0.201690] usbcore: registered new interface driver usbfs
    [ 0.202362] usbcore: registered new interface driver hub
    [ 0.202758] usbcore: registered new device driver usb
    [ 0.203308] registerd cppi-dma Intr @ IRQ 17
    [ 0.203338] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)
    [ 0.203369] Cppi41 Init Done
    [ 0.203399] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [ 0.204010] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [ 0.206420] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.209411] tps65910 1-002d: could not be detected

    [ 0.227752] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz

    [ 0.231079] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.233337] Switching to clocksource gp timer
    [ 0.267974] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.268280] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [ 0.268890] MUSB0 controller's USBSS revision = 4ea20800
    [ 0.270874] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using DMA, IRQ 18
    [ 0.271179] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [ 0.271789] MUSB1 controller's USBSS revision = 4ea20800
    [ 0.272735] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.272888] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.273101] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.273162] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.273193] usb usb1: Product: MUSB HDRC host driver
    [ 0.273223] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [ 0.273223] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.275085] hub 1-0:1.0: USB hub found
    [ 0.275146] hub 1-0:1.0: 1 port detected
    [ 0.276214] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using DMA, IRQ 19
    [ 0.276977] NET: Registered protocol family 2
    [ 0.277313] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.277862] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.278228] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.278472] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.278503] TCP reno registered
    [ 0.278533] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.278564] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.278991] NET: Registered protocol family 1
    [ 0.279479] RPC: Registered named UNIX socket transport module.
    [ 0.279510] RPC: Registered udp transport module.
    [ 0.279510] RPC: Registered tcp transport module.
    [ 0.279541] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.279968] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.295532] VFS: Disk quotas dquot_6.5.2
    [ 0.295654] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.296691] msgmni has been set to 493
    [ 0.302795] alg: No test for stdrng (krng)
    [ 0.304016] io scheduler noop registered
    [ 0.304046] io scheduler deadline registered
    [ 0.304168] io scheduler cfq registered (default)
    [ 0.306274] Could not set LED4 to fully on
    [ 0.309295] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 0.932220] ti81xx_interrupt 1146: VBUS error workaround (delay coming)
    [ 0.939208] console [ttyO0] enabled
    [ 0.944030] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 0.952301] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 0.960510] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 0.968750] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 0.977020] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 0.986267] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [ 1.013610] brd: module loaded
    [ 1.027832] loop: module loaded
    [ 1.031494] i2c-core: driver [tsl2550] using legacy suspend method
    [ 1.038024] i2c-core: driver [tsl2550] using legacy resume method
    [ 1.044555] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 1.103942] No daughter card found
    [ 1.107604] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [ 1.114898] The board is a AM335x Beaglebone Black.
    [ 1.122955] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [ 1.131347] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
    [ 1.140716] print_constraints: DCDC2: 900 <--> 3300 mV at 1125 mV
    [ 1.149993] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
    [ 1.159271] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
    [ 1.168548] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
    [ 1.177734] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
    [ 1.187072] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
    [ 1.195007] omap_hsmmc.0: alias fck already exists
    [ 1.200805] omap_hsmmc.1: alias fck already exists
    [ 1.206573]
    [ 1.208129]
    [ 1.209686]
    [ 1.211273] i2c1_init has been executed
    [ 1.215332]
    [ 1.216888]
    [ 1.218444]
    [ 1.220123] omap_i2c.3: alias fck already exists
    [ 1.225738] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [ 1.232849] da8xx_lcdc.0: alias fck already exists
    [ 1.238739] da8xx_lcdc da8xx_lcdc.0: GLCD: Found INNOLUX_TN92 panel
    [ 1.265106] Console: switching to colour frame buffer device 100x30
    [ 1.295410] _omap_mux_get_by_name: Could not find signal ain0.ain0
    [ 1.301940] _omap_mux_get_by_name: Could not find signal ain1.ain1
    [ 1.308471] _omap_mux_get_by_name: Could not find signal ain2.ain2
    [ 1.314971] _omap_mux_get_by_name: Could not find signal ain3.ain3
    [ 1.321472] _omap_mux_get_by_name: Could not find signal vrefp.vrefp
    [ 1.328155] _omap_mux_get_by_name: Could not find signal vrefn.vrefn
    [ 1.337097] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 1.342132] Registering NAND on CS0
    [ 1.354309] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.362030] omap2-nand driver initializing
    [ 1.366821] ONFI flash detected
    [ 1.370269] ONFI param page 0 valid
    [ 1.373962] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
    [ 1.381805] Creating 8 MTD partitions on "omap2-nand.0":
    [ 1.387451] 0x000000000000-0x000000020000 : "SPL"
    [ 1.395416] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 1.403808] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 1.412048] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 1.420349] 0x000000080000-0x000000260000 : "U-Boot"
    [ 1.428924] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 1.437225] 0x000000280000-0x000000780000 : "Kernel"
    [ 1.447235] 0x000000780000-0x000008000000 : "File System"
    [ 1.507507] OneNAND driver initializing
    [ 1.512939] UBI: attaching mtd7 to ubi0
    [ 1.517059] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 1.523620] UBI: logical eraseblock size: 126976 bytes
    [ 1.529296] UBI: smallest flash I/O unit: 2048
    [ 1.534271] UBI: VID header offset: 2048 (aligned 2048)
    [ 1.540557] UBI: data offset: 4096
    [ 2.622680] UBI: max. sequence number: 0
    [ 2.639221] UBI error: vtbl_check: volume table check failed: record 0, error 9
    [ 2.647613] UBI error: ubi_init: cannot attach mtd7
    [ 2.654602] CAN device driver interface
    [ 2.658630] CAN bus driver for Bosch D_CAN controller 1.0
    [ 2.714080] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 2.720550] davinci_mdio davinci_mdio.0: detected phy mask fffffffb
    [ 2.728271] davinci_mdio.0: probed
    [ 2.731872] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver SMSC LAN8710/LAN8720
    [ 2.741210] usbcore: registered new interface driver zd1201
    [ 2.747467] usbcore: registered new interface driver cdc_ether
    [ 2.753936] usbcore: registered new interface driver cdc_eem
    [ 2.760253] usbcore: registered new interface driver dm9601
    [ 2.766204] cdc_ncm: 04-Aug-2011
    [ 2.769958] usbcore: registered new interface driver cdc_ncm
    [ 2.775939] Initializing USB Mass Storage driver...
    [ 2.781524] usbcore: registered new interface driver usb-storage
    [ 2.787841] USB Mass Storage support registered.
    [ 2.793670] mousedev: PS/2 mouse device common for all mice
    [ 2.801544] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
    [ 2.811279] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [ 2.818695] i2c /dev entries driver
    [ 2.824127] Linux video capture interface: v2.00
    [ 2.829681] usbcore: registered new interface driver uvcvideo
    [ 2.835723] USB Video Class driver (1.1.1)
    [ 2.924041] ti81xx_interrupt 1146: VBUS error workaround (delay coming)
    [ 3.864013] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 4.884033] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 5.904022] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 6.924041] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 7.944030] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 8.964019] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 9.984039] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 11.004028] omap_i2c omap_i2c.2: timeout waiting for bus ready
    [ 11.012695] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 11.096099] cpuidle: using governor ladder
    [ 11.101104] cpuidle: using governor menu
    [ 11.109466] omap4_aes_mod_init: loading AM33X AES driver
    [ 11.115234] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 11.121917] omap4_aes_probe: probe() done
    [ 11.126739] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 11.132934] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 11.149383] omap4_sham_probe: probe() done
    [ 11.158477] usbcore: registered new interface driver usbhid
    [ 11.164398] usbhid: USB HID core driver
    [ 11.169250] tiadc tiadc: attached adc driver
    [ 11.174682] usbcore: registered new interface driver snd-usb-audio
    [ 11.183349] ALSA device list:
    [ 11.186523] No soundcards found.
    [ 11.190093] oprofile: hardware counters not available
    [ 11.195434] oprofile: using timer interrupt.
    [ 11.199981] nf_conntrack version 0.5.0 (3950 buckets, 15800 max)
    [ 11.206909] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 11.212646] TCP cubic registered
    [ 11.216094] NET: Registered protocol family 17
    [ 11.220794] can: controller area network core (rev 20090105 abi 8)
    [ 11.227447] NET: Registered protocol family 29
    [ 11.232116] can: raw protocol (rev 20090105)
    [ 11.236633] can: broadcast manager protocol (rev 20090105 t)
    [ 11.242645] Registering the dns_resolver key type
    [ 11.247711] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 11.255828] ThumbEE CPU extension supported.
    [ 11.260406] mux: Failed to setup hwmod io irq -22
    [ 11.266204] Power Management for AM33XX family
    [ 11.271118] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 11.277893] Copied the M3 firmware to UMEM
    [ 11.282287] Cortex M3 Firmware Version = 0x181
    [ 11.287719] sr_init: platform driver register failed
    [ 11.297302] clock: disabling unused clocks to save power
    [ 11.319763] Detected MACID=34:b1:f7:1a:1d:93
    [ 11.325683] cpsw: Detected MACID = 34:b1:f7:1a:1d:94
    [ 11.332305] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:08 UTC (946684808)
    [ 11.341735] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
    [ 11.349212] Please append a correct "root=" boot option; here are the available partitions:
    [ 11.358062] 1f00 128 mtdblock0 (driver?)
    [ 11.363403] 1f01 128 mtdblock1 (driver?)
    [ 11.368774] 1f02 128 mtdblock2 (driver?)
    [ 11.374114] 1f03 128 mtdblock3 (driver?)
    [ 11.379455] 1f04 1920 mtdblock4 (driver?)
    [ 11.384796] 1f05 128 mtdblock5 (driver?)
    [ 11.390136] 1f06 5120 mtdblock6 (driver?)
    [ 11.395477] 1f07 123392 mtdblock7 (driver?)
    [ 11.400817] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 11.409545] Backtrace:
    [ 11.412139] [<c0017854>] (dump_backtrace+0x0/0x110) from [<c0422ca0>] (dump_stack+0x18/0x1c)
    [ 11.421051] r6:00008000 r5:c05056d0 r4:c06a9d48 r3:c0660d48
    [ 11.427062] [<c0422c88>] (dump_stack+0x0/0x1c) from [<c0422eb8>] (panic+0x74/0x190)
    [ 11.435180] [<c0422e44>] (panic+0x0/0x190) from [<c05a6cd0>] (mount_block_root+0x198/0x228)
    [ 11.443969] r3:c0660d48 r2:00000000 r1:cf01df60 r0:c05056d0
    [ 11.449981] r7:c05d4b34
    [ 11.452667] [<c05a6b38>] (mount_block_root+0x0/0x228) from [<c05a6fe4>] (prepare_namespace+0xb0/0x1d0)
    [ 11.462493] [<c05a6f34>] (prepare_namespace+0x0/0x1d0) from [<c05a6948>] (kernel_init+0x124/0x128)
    [ 11.471954] r6:c0041cdc r5:c063d164 r4:c063d164
    [ 11.476898] [<c05a6824>] (kernel_init+0x0/0x128) from [<c0041cdc>] (do_exit+0x0/0x678)
    [ 11.485229] r5:c05a6824 r4:00000000
    [ 11.662322] ti81xx_interrupt 1146: VBUS error workaround (delay coming)
    [ 13.654602] ti81xx_interrupt 1146: VBUS error workaround (delay coming)