基本情况:板子是参考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)
请版上各位帮分析分析,该从哪方面入手查这个问题呢