Customer report some boards can't launch up, got return boards from filed from time to time. the issue is on UBIFS mount. log as attachment:
U-Boot 2013.01.01-svn29730 (Mar 20 2017 - 17:08:42) I2C: ready DRAM: 128 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment set_default_env::8105 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 cpsw Hit any key to stop autoboot mmc_send_cmd : timeout: No status update Card did not respond to voltage select! (Re)start USB... USB0: lowlevel init failed USB error: all controllers failed lowlevel init Download Linux from USB to Nandflash... ** Bad device usb 0 ** ** Bad device usb 0 ** ** Bad device usb 0 ** ** Bad device usb 0 ** ** Bad device usb 0 ** Booting from nand ... NAND read: device 0 offset 0x3080000, size 0x300000 3145728 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: 2667232 Bytes = 2.5 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+ (ding@ding-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #26 Thu Jan 7 12:05:10 ULAT 2016 [ 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] Ignoring tag cmdline (using the default kernel command line) [ 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: 32512 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs ro ubi.mtd=7,2048 rootfstype=ubifs rootwait=1t ip=none [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 123784k/123784k available, 7288k 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 : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc04d7084 (4925 kB) [ 0.000000] .init : 0xc04d8000 - 0xc0518000 ( 256 kB) [ 0.000000] .data : 0xc0518000 - 0xc05b3e68 ( 624 kB) [ 0.000000] .bss : 0xc05b3e8c - 0xc05fabb0 ( 284 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 25000000 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 25000000 Hz [ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000215] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144) [ 0.057102] pid_max: default: 32768 minimum: 301 [ 0.057281] Mount-cache hash table entries: 512 [ 0.057671] CPU: Testing write buffer coherency: ok [ 0.057749] ftrace: allocating 13708 entries in 41 pages [ 0.107871] omap_hwmod: gfx: failed to hardreset [ 0.124017] omap_hwmod: pruss: failed to hardreset [ 0.125151] print_constraints: dummy: [ 0.125590] NET: Registered protocol family 16 [ 0.127799] OMAP GPIO hardware version 0.1 [ 0.130226] am335x_evm_init()++ [ 0.130446] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.132625] am335x_evm_i2c_init()++ [ 0.132864] omap_i2c.1: alias fck already exists [ 0.133060] am335x_evm_i2c_init()-- [ 0.133189] da8xx_panel_power_ctrl()++ [ 0.133227] back light switch = 1 [ 0.133249] da8xx_panel_power_ctrl()-- [ 0.133557] am335x_evm_init()-- [ 0.133846] omap2_mcspi.1: alias fck already exists [ 0.134060] omap2_mcspi.2: alias fck already exists [ 0.134312] edma.0: alias fck already exists [ 0.134333] edma.0: alias fck already exists [ 0.134352] edma.0: alias fck already exists [ 0.150288] bio: create slab <bio-0> at 0 [ 0.152436] SCSI subsystem initialized [ 0.154168] usbcore: registered new interface driver usbfs [ 0.154481] usbcore: registered new interface driver hub [ 0.154685] usbcore: registered new device driver usb [ 0.167171] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.169205] tps65910 1-002d: JTAGREVNUM 0x0 [ 0.171894] print_constraints: VRTC: [ 0.173533] print_constraints: VIO: at 1500 mV [ 0.176197] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal [ 0.178868] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal [ 0.180015] print_constraints: VDD3: 5000 mV [ 0.181619] print_constraints: VDIG1: at 1800 mV [ 0.183242] print_constraints: VDIG2: at 1800 mV [ 0.184854] print_constraints: VPLL: at 1800 mV [ 0.186467] print_constraints: VDAC: at 1800 mV [ 0.188087] print_constraints: VAUX1: at 1800 mV [ 0.189702] print_constraints: VAUX2: at 3300 mV [ 0.191331] print_constraints: VAUX33: at 3300 mV [ 0.192948] print_constraints: VMMC: at 3300 mV [ 0.193428] tps65910 1-002d: No interrupt support, no core IRQ [ 0.194510] Switching to clocksource gp timer [ 0.214824] NET: Registered protocol family 2 [ 0.215031] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.215336] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.215423] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.215477] TCP: Hash tables configured (established 4096 bind 4096) [ 0.215490] TCP reno registered [ 0.215503] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.215527] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.215700] NET: Registered protocol family 1 [ 0.215982] RPC: Registered named UNIX socket transport module. [ 0.215995] RPC: Registered udp transport module. [ 0.216004] RPC: Registered tcp transport module. [ 0.216014] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.216775] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver [ 0.224079] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.224412] msgmni has been set to 241 [ 0.225103] io scheduler noop registered [ 0.225119] io scheduler deadline registered [ 0.225200] io scheduler cfq registered (default) [ 0.226234] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.770005] console [ttyO0] enabled [ 0.774190] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.781984] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.789728] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.797463] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.805194] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.821922] brd: module loaded [ 0.829955] loop: module loaded [ 0.833328] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.894553] No daughter card found [ 0.898155] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.905427] am335x_evm_setup()++ [ 0.964553] AM335X: EVM Config read fail: -110 [ 0.969185] No board detected, using GPBoard 1.1A as default [ 0.975306] The board is general purpose EVM in profile 0 [ 0.980935] Found invalid GP EVM revision, falling back to Rev1.1A [ 0.987392] -------siglent_fpga_init++ [ 0.991417] -------siglent_fpga_init-- [ 0.996130] da8xx_lcdc.0: alias fck already exists [ 1.001644] evm_nand_init()++ [ 1.005365] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 1.010369] Registering NAND on CS0 [ 1.014651] evm_nand_init()-- [ 1.017832] omap_i2c.2: alias fck already exists [ 1.034619] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz [ 1.042826] haptics_init()++ [ 1.046884] haptics_init()-- [ 1.049893] out_triger_gpio_init()++ [ 1.053658] out_triger_gpio_init()-- [ 1.057888] am335x_evm_setup()-- [ 1.062731] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.069986] omap2-nand driver initializing [ 1.074618] ONFI flash detected [ 1.078028] ONFI param page 0 valid [ 1.081676] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP) [ 1.090267] Creating 12 MTD partitions on "omap2-nand.0": [ 1.095932] 0x000000000000-0x000000020000 : "SPL" [ 1.102217] 0x000000020000-0x000000040000 : "SPL.backup1" [ 1.109127] 0x000000040000-0x000000060000 : "SPL.backup2" [ 1.116022] 0x000000060000-0x000000080000 : "SPL.backup3" [ 1.122856] 0x000000080000-0x000000260000 : "U-Boot" [ 1.130067] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.136883] 0x000000280000-0x000000580000 : "Manufacturedata" [ 1.145369] 0x000000580000-0x000003080000 : "rootfs" [ 1.169601] 0x000003080000-0x000003680000 : "kerneldata" [ 1.178782] 0x000003680000-0x000006880000 : "firmdata0" [ 1.206188] 0x000006880000-0x000009a80000 : "firmdata1" [ 1.233576] 0x000009a80000-0x000010000000 : "datafs" [ 1.282266] OneNAND driver initializing [ 1.287013] UBI: attaching mtd7 to ubi0 [ 1.291028] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 1.297592] UBI: logical eraseblock size: 126976 bytes [ 1.303220] UBI: smallest flash I/O unit: 2048 [ 1.308131] UBI: sub-page size: 512 [ 1.312942] UBI: VID header offset: 2048 (aligned 2048) [ 1.319212] UBI: data offset: 4096 [ 1.734139] UBI: max. sequence number: 4 [ 1.752489] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 9, need 15 [ 1.764161] UBI: attached mtd7 to ubi0 [ 1.768111] UBI: MTD device name: "rootfs" [ 1.773376] UBI: MTD device size: 43 MiB [ 1.778470] UBI: number of good PEBs: 344 [ 1.783281] UBI: number of bad PEBs: 0 [ 1.787919] UBI: number of corrupted PEBs: 0 [ 1.792549] UBI: max. allowed volumes: 128 [ 1.797369] UBI: wear-leveling threshold: 4096 [ 1.802270] UBI: number of internal volumes: 1 [ 1.806908] UBI: number of user volumes: 1 [ 1.811538] UBI: available PEBs: 0 [ 1.816178] UBI: total number of reserved PEBs: 344 [ 1.821260] UBI: number of PEBs reserved for bad PEB handling: 9 [ 1.827530] UBI: max/mean erase counter: 2/0 [ 1.831978] UBI: image sequence number: 631718590 [ 1.837097] UBI: background thread "ubi_bgt0d" started, PID 482 [ 1.994189] da8xx_lcdc da8xx_lcdc.0: GLCD: Found HANSTAR_HSD070IDW1_A panel [ 2.009673] Console: switching to colour frame buffer device 60x34 [ 2.021530] sdg800:Logo image from nandflash, color_addr=[0xc88cb034], color_len=[0x7f800]! [ 2.084583] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 2.091044] davinci_mdio davinci_mdio.0: detected phy mask bfffffff [ 2.097827] bus->id = 0, addr= 30 [ 2.101485] 11-- [ 2.103613] davinci_mdio.0: probed [ 2.107199] davinci_mdio davinci_mdio.0: phy[30]: device 0:1e, driver unknown [ 2.114982] usbcore: registered new interface driver cdc_ether [ 2.121225] usbcore: registered new interface driver dm9601 [ 2.127100] cdc_ncm: 04-Aug-2011 [ 2.130633] usbcore: registered new interface driver cdc_ncm [ 2.136555] Initializing USB Mass Storage driver... [ 2.141829] usbcore: registered new interface driver usb-storage [ 2.148109] USB Mass Storage support registered. [ 2.153352] mousedev: PS/2 mouse device common for all mice [ 2.159639] i2c /dev entries driver [ 2.164709] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 2.171719] TCP cubic registered [ 2.175128] NET: Registered protocol family 17 [ 2.179913] NET: Registered protocol family 33 [ 2.184589] Registering the dns_resolver key type [ 2.189551] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 2.197572] ThumbEE CPU extension supported. [ 2.202087] mux: Failed to setup hwmod io irq -22 [ 2.207620] Power Management for AM33XX family [ 2.212317] clock: disabling unused clocks to save power [ 2.219513] Detected MACID=f8:36:9b:fe:49:39 [ 2.371302] UBIFS error (pid 1): ubifs_recover_master_node: failed to recover master node [ 2.380474] List of all partitions: [ 2.384162] 1f00 128 mtdblock0 (driver?) [ 2.389482] 1f01 128 mtdblock1 (driver?) [ 2.394767] 1f02 128 mtdblock2 (driver?) [ 2.400046] 1f03 128 mtdblock3 (driver?) [ 2.405345] 1f04 1920 mtdblock4 (driver?) [ 2.410618] 1f05 128 mtdblock5 (driver?) [ 2.415905] 1f06 3072 mtdblock6 (driver?) [ 2.421183] 1f07 44032 mtdblock7 (driver?) [ 2.426467] 1f08 6144 mtdblock8 (driver?) [ 2.431740] 1f09 51200 mtdblock9 (driver?) [ 2.437027] 1f0a 51200 mtdblock10 (driver?) [ 2.442390] 1f0b 103936 mtdblock11 (driver?) [ 2.447759] No filesystem could mount root, tried: ubifs [ 2.453399] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.462088] [<c001535c>] (unwind_backtrace+0x0/0x144) from [<c0368868>] (dump_stack+0x20/0x24) [ 2.471098] [<c0368868>] (dump_stack+0x20/0x24) from [<c03688e0>] (panic+0x74/0x1a8) [ 2.479213] [<c03688e0>] (panic+0x74/0x1a8) from [<c04d8d0c>] (mount_block_root+0x29c/0x2b8) [ 2.488035] [<c04d8d0c>] (mount_block_root+0x29c/0x2b8) from [<c04d8f28>] (prepare_namespace+0xac/0x1d4) [ 2.497942] [<c04d8f28>] (prepare_namespace+0xac/0x1d4) from [<c04d8908>] (kernel_init+0x124/0x130) [ 2.507403] [<c04d8908>] (kernel_init+0x124/0x130) from [<c000fdfc>] (kernel_thread_exit+0x0/0x8)
U-Boot SPL 2011.09 (Aug 24 2013 - 14:02:12) Texas Instruments Revision detection unimplemented gpio_request()++ gpio_request()-- gpio_direction_output()++ gpio_direction_output()-- config ddr_pll_config()++ ddr_pll_config()++ ddr_pll_config()-- is_ddr3 = 1 config ddr_pll_config()-- spl_board_init()++ U-Boot 2011.09 (Mar 22 2014 - 19:55:59) I2C: ready DRAM: 128 MiB WARNING: Caches not enabled board_init()++ No daughter card present board_id = 1, header.version = 87f3ae04 profile = 1, daughter_board_connected = 0 board_init()-include gpmc- NAND: HW ECC Hamming Code selected test-nand_get_flash_type()++ uboot reset nand uboot reset nand NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Toshiba <NULL>) NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit) NAND bus width 8 instead 8 bit chip->badblockpos = 0x0 test-nand_get_flash_type()--256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 create_bbt()++ create_bbt()-- *** Warning - bad CRC, using default environment Lcd_Init()++ SetUpLCD()++ SetUpLCD()-- HW ECC BCH8 Selected HW ECC BCH8 Selected Logo from nanndflash: base=0x81000000; end=0x8107f81f; end-base=0x7f81f; rwsize=0x7f820; r=0x0 RasterDMAFBConfig()++ RasterDMAFBConfig()-- RasterDMAFBConfig()++ RasterDMAFBConfig()-- Lcd_Init()-- Net: u-boot set rmii mode cpsw Hit any key to stop autoboot: 0 Card did not respond to voltage select! Booting from nand ... HW ECC BCH8 Selected NAND read: device 0 offset 0x3080000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.2.0+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2706112 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK kernel loaded at 0x80008000, end = 0x8029cac0 Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 3.2.0+ (ding@ding-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #338 Wed Jul 9 14:17:15 ULAT 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: 32512 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=8,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 123696k/123696k available, 7376k 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 : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc04e9bc4 (4999 kB) [ 0.000000] .init : 0xc04ea000 - 0xc052b000 ( 260 kB) [ 0.000000] .data : 0xc052c000 - 0xc05c94c8 ( 630 kB) [ 0.000000] .bss : 0xc05c94ec - 0xc0610230 ( 284 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 25000000 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 25000000 Hz [ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000206] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144) [ 0.057096] pid_max: default: 32768 minimum: 301 [ 0.057275] Mount-cache hash table entries: 512 [ 0.057669] CPU: Testing write buffer coherency: ok [ 0.057747] ftrace: allocating 13840 entries in 41 pages [ 0.108161] omap_hwmod: gfx: failed to hardreset [ 0.124214] omap_hwmod: pruss: failed to hardreset [ 0.125369] print_constraints: dummy: [ 0.125821] NET: Registered protocol family 16 [ 0.128053] OMAP GPIO hardware version 0.1 [ 0.130490] am335x_evm_init()++ [ 0.130715] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.132836] am335x_evm_i2c_init()++ [ 0.133082] omap_i2c.1: alias fck already exists [ 0.133280] am335x_evm_i2c_init()-- [ 0.133407] da8xx_panel_power_ctrl()++ [ 0.133446] back light switch = 1 [ 0.133468] da8xx_panel_power_ctrl()-- [ 0.133788] am335x_evm_init()-- [ 0.134100] omap2_mcspi.1: alias fck already exists [ 0.134328] omap2_mcspi.2: alias fck already exists [ 0.134583] edma.0: alias fck already exists [ 0.134604] edma.0: alias fck already exists [ 0.134623] edma.0: alias fck already exists [ 0.150805] bio: create slab <bio-0> at 0 [ 0.152978] SCSI subsystem initialized [ 0.154750] usbcore: registered new interface driver usbfs [ 0.155064] usbcore: registered new interface driver hub [ 0.155266] usbcore: registered new device driver usb [ 0.155413] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.155674] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.167164] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.169194] tps65910 1-002d: JTAGREVNUM 0x0 [ 0.171908] print_constraints: VRTC: [ 0.173579] print_constraints: VIO: at 1500 mV [ 0.176242] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal [ 0.178908] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal [ 0.180059] print_constraints: VDD3: 5000 mV [ 0.181676] print_constraints: VDIG1: at 1800 mV [ 0.183293] print_constraints: VDIG2: at 1800 mV [ 0.184918] print_constraints: VPLL: at 1800 mV [ 0.186533] print_constraints: VDAC: at 1800 mV [ 0.188173] print_constraints: VAUX1: at 1800 mV [ 0.189795] print_constraints: VAUX2: at 3300 mV [ 0.191414] print_constraints: VAUX33: at 3300 mV [ 0.193042] print_constraints: VMMC: at 3300 mV [ 0.193512] tps65910 1-002d: No interrupt support, no core IRQ [ 0.194620] Switching to clocksource gp timer [ 0.214989] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.215173] musb-hdrc musb-hdrc.0: dma type: pio [ 0.216049] musb-hdrc musb-hdrc.0: USB OTG mode controller at c881c000 using PIO, IRQ 18 [ 0.216218] musb-hdrc musb-hdrc.1: dma type: pio [ 0.216632] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.216702] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.216833] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.216849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.216863] usb usb1: Product: MUSB HDRC host driver [ 0.216875] usb usb1: Manufacturer: Linux 3.2.0+ musb-hcd [ 0.216886] usb usb1: SerialNumber: musb-hdrc.1 [ 0.217652] hub 1-0:1.0: USB hub found [ 0.217682] hub 1-0:1.0: 1 port detected [ 0.218185] musb-hdrc musb-hdrc.1: USB Host mode controller at c881e800 using PIO, IRQ 19 [ 0.218628] NET: Registered protocol family 2 [ 0.218821] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.219109] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.219198] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.219253] TCP: Hash tables configured (established 4096 bind 4096) [ 0.219266] TCP reno registered [ 0.219282] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.219307] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.219478] NET: Registered protocol family 1 [ 0.219746] RPC: Registered named UNIX socket transport module. [ 0.219759] RPC: Registered udp transport module. [ 0.219768] RPC: Registered tcp transport module. [ 0.219777] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.220509] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver [ 0.227915] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.228259] msgmni has been set to 241 [ 0.228861] io scheduler noop registered [ 0.228875] io scheduler deadline registered [ 0.228954] io scheduler cfq registered (default) [ 0.230017] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.866066] console [ttyO0] enabled [ 0.870336] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.878150] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.885933] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.893647] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.901383] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.918198] brd: module loaded [ 0.926273] loop: module loaded [ 0.929638] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.994662] No daughter card found [ 0.998259] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 1.005531] am335x_evm_setup()++ [ 1.064763] AM335X: EVM Config read fail: -110 [ 1.069397] No board detected, using GPBoard 1.1A as default [ 1.075534] The board is general purpose EVM in profile 0 [ 1.081164] Found invalid GP EVM revision, falling back to Rev1.1A [ 1.088500] da8xx_lcdc.0: alias fck already exists [ 1.094413] evm_nand_init()++ [ 1.098101] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 1.103105] Registering NAND on CS0 [ 1.107319] evm_nand_init()-- [ 1.110497] omap_i2c.2: alias fck already exists [ 1.134730] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz [ 1.142978] haptics_init()++ [ 1.147042] haptics_init()-- [ 1.150047] out_triger_gpio_init()++ [ 1.153811] out_triger_gpio_init()-- [ 1.158035] am335x_evm_setup()-- [ 1.162879] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.170023] omap2-nand driver initializing [ 1.174617] ONFI flash detected [ 1.178059] ONFI param page 0 valid [ 1.181704] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP) [ 1.190281] Creating 9 MTD partitions on "omap2-nand.0": [ 1.195858] 0x000000000000-0x000000020000 : "SPL" [ 1.202171] 0x000000020000-0x000000040000 : "SPL.backup1" [ 1.209093] 0x000000040000-0x000000060000 : "SPL.backup2" [ 1.215995] 0x000000060000-0x000000080000 : "SPL.backup3" [ 1.222875] 0x000000080000-0x000000260000 : "U-Boot" [ 1.230102] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.236864] 0x000000280000-0x000003080000 : "Manufacture data" [ 1.263197] 0x000003080000-0x000003680000 : "kernel data" [ 1.272490] 0x000003680000-0x000010000000 : "File system" [ 1.363152] OneNAND driver initializing [ 1.367914] UBI: attaching mtd8 to ubi0 [ 1.371928] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 1.378495] UBI: logical eraseblock size: 126976 bytes [ 1.384123] UBI: smallest flash I/O unit: 2048 [ 1.389036] UBI: sub-page size: 512 [ 1.393848] UBI: VID header offset: 2048 (aligned 2048) [ 1.400117] UBI: data offset: 4096 [ 3.318811] UBI: max. sequence number: 2140 [ 3.338677] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 15, need 16 [ 3.350868] UBI: attached mtd8 to ubi0 [ 3.354826] UBI: MTD device name: "File system" [ 3.360544] UBI: MTD device size: 201 MiB [ 3.365729] UBI: number of good PEBs: 1605 [ 3.370629] UBI: number of bad PEBs: 7 [ 3.375268] UBI: number of corrupted PEBs: 0 [ 3.379896] UBI: max. allowed volumes: 128 [ 3.384715] UBI: wear-leveling threshold: 4096 [ 3.389616] UBI: number of internal volumes: 1 [ 3.394244] UBI: number of user volumes: 1 [ 3.398880] UBI: available PEBs: 0 [ 3.403509] UBI: total number of reserved PEBs: 1605 [ 3.408691] UBI: number of PEBs reserved for bad PEB handling: 15 [ 3.415050] UBI: max/mean erase counter: 5/2 [ 3.419498] UBI: image sequence number: 1955965245 [ 3.424711] UBI: background thread "ubi_bgt0d" started, PID 481 [ 3.582010] da8xx_lcdc da8xx_lcdc.0: GLCD: Found HANSTAR_HSD070IDW1_A panel [ 3.597534] Console: switching to colour frame buffer device 60x34 [ 3.609374] sdg800:Logo image from nandflash, color_addr=[0xc88cb034], color_len=[0x7f800]! [ 3.664704] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 3.671170] davinci_mdio davinci_mdio.0: detected phy mask bfffffff [ 3.677940] bus->id = 0, addr= 30 [ 3.681593] 11-- [ 3.683716] davinci_mdio.0: probed [ 3.687308] davinci_mdio davinci_mdio.0: phy[30]: device 0:1e, driver unknown [ 3.695100] usbcore: registered new interface driver cdc_ether [ 3.701336] usbcore: registered new interface driver dm9601 [ 3.707213] cdc_ncm: 04-Aug-2011 [ 3.710749] usbcore: registered new interface driver cdc_ncm [ 3.716669] Initializing USB Mass Storage driver... [ 3.721999] usbcore: registered new interface driver usb-storage [ 3.728281] USB Mass Storage support registered. [ 3.733536] mousedev: PS/2 mouse device common for all mice [ 3.739853] i2c /dev entries driver [ 3.744933] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 3.751965] TCP cubic registered [ 3.755370] NET: Registered protocol family 17 [ 3.760155] NET: Registered protocol family 33 [ 3.764825] Registering the dns_resolver key type [ 3.769789] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 3.777801] ThumbEE CPU extension supported. [ 3.782317] mux: Failed to setup hwmod io irq -22 [ 3.787842] Power Management for AM33XX family [ 3.792533] clock: disabling unused clocks to save power [ 3.799740] Detected MACID=88:33:14:ff:ca:8e [ 3.878974] UBIFS: recovery needed [ 4.184328] UBI: scrubbed PEB 573 (LEB 0:206), data moved to PEB 632 [ 4.428231] UBI: scrubbed PEB 576 (LEB 0:314), data moved to PEB 890 [ 4.571908] UBIFS error (pid 1): ubifs_check_node: bad CRC: calculated 0xd16d2326, read 0xfad91fad [ 4.581308] UBIFS error (pid 1): ubifs_check_node: bad node at LEB 309:76248 [ 4.588681] UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 309:76248 [ 4.603567] UBIFS error (pid 1): ubifs_scan: LEB 309 scanning failed [ 4.631739] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) [ 4.639144] Please append a correct "root=" boot option; here are the available partitions: [ 4.647915] 1f00 128 mtdblock0 (driver?) [ 4.653191] 1f01 128 mtdblock1 (driver?) [ 4.658480] 1f02 128 mtdblock2 (driver?) [ 4.663757] 1f03 128 mtdblock3 (driver?) [ 4.669042] 1f04 1920 mtdblock4 (driver?) [ 4.674314] 1f05 128 mtdblock5 (driver?) [ 4.679601] 1f06 47104 mtdblock6 (driver?) [ 4.684888] 1f07 6144 mtdblock7 (driver?) [ 4.690162] 1f08 206336 mtdblock8 (driver?) [ 4.695444] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.704120] [<c001535c>] (unwind_backtrace+0x0/0x144) from [<c0376bb0>] (dump_stack+0x20/0x24) [ 4.713129] [<c0376bb0>] (dump_stack+0x20/0x24) from [<c0376c28>] (panic+0x74/0x1a8) [ 4.721237] [<c0376c28>] (panic+0x74/0x1a8) from [<c04eac84>] (mount_block_root+0x214/0x2b8) [ 4.730061] [<c04eac84>] (mount_block_root+0x214/0x2b8) from [<c04eaf28>] (prepare_namespace+0xac/0x1d4) [ 4.739971] [<c04eaf28>] (prepare_namespace+0xac/0x1d4) from [<c04ea908>] (kernel_init+0x124/0x130) [ 4.749436] [<c04ea908>] (kernel_init+0x124/0x130) from [<c000fdfc>] (kernel_thread_exit+0x0/0x8)
Customer did further experiments: move the NAND from failure board to knew good board, it can launch up on new board, the issue did not follow the NAND flash.
dump out NAND flash content, only found single bit error:
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/boot_5F00_bad.bin
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/boot_5F00_fine.bin
And customer did further test with nandtest on AM3352, sometimes got error:
/ # nandtest -k /dev/mtd11 [ 24.676487] mtd_open++ [ 24.678993] mtd_open-- ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 01d20000: writing... write: Input/output error 02960000: reading... ECC corrected at 02960000 06560000: checking... Finished[ 212.962710] mtd_close++ pass 1 successf[ 212.966406] mtd_close-- ully / # nandtest -k /dev/mtd11 -l 0x3000000 [ 239.722362] mtd_open++ [ 239.724927] mtd_open-- ECC corrections: 19 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 01d20000: writing... write: Input/output error 01d40000: reading... ECC corrected at 01d40000 02960000: reading... ECC corrected at 02960000 02fe0000: checking... Finished[ 328.794125] mtd_close++ pass 1 successf[ 328.797844] mtd_close--