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.

AM3357 custom board rootfs load failure.......

Other Parts Discussed in Thread: AM3357

Hi,

i have custom board am3357 when i try to boot the board it is booting fine till the kernel load after that i couldn't able to get the rootfs...........here is my log file

U-Boot SPL 2014.07-00107-gd28f2b9-dirty (Apr 16 2016 - 15:25:43)
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus 0 are properly configured
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.07-00107-gd28f2b9-dirty (Apr 16 2016 - 15:25:43)

I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  1  0 
U-Boot# 
U-Boot# 
U-Boot# 
U-Boot# 
U-Boot# 
U-Boot# 
U-Boot# fatload mmc 0 0x80F80000 am335x-evm.dtb
reading am335x-evm.dtb
39851 bytes read in 19 ms (2 MiB/s)
U-Boot# fatload mmc 0 0x80007FC0 uImage
reading uImage
3467936 bytes read in 468 ms (7.1 MiB/s)
U-Boot# setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
U-Boot# setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait                                                                                      bootm 0x80007FC0 - 0x80F80000
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-4.1.6-g52c4aa7
   Created:      2016-04-07   8:15:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3467872 Bytes = 3.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   XIP Kernel Image ... OK
   Loading Device Tree to 8fff3000, end 8ffffbaa ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.6-g52c4aa7 (atl@diversense) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #2 SMP Thu Apr 7 13:44:51 IST 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x EVM
[    0.000000] cma: Reserved 16 MiB at 0x9e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon )
[    0.000000] PERCPU: Embedded 13 pages/cpu @df911000 s22976 r8192 d22080 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 482500K/522240K available (6233K kernel code, 759K rwdata, 2192K rodata, 444K init, 8221K bss, 23356K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0842738   (8426 kB)
[    0.000000]       .init : 0xc0843000 - 0xc08b2000   ( 444 kB)
[    0.000000]       .data : 0xc08b2000 - 0xc096fe80   ( 760 kB)
[    0.000000]        .bss : 0xc0972000 - 0xc1179448   (8222 kB)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	Additional per-CPU info printed with stalls.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    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] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000037] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000098] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000217] OMAP clocksource: timer1 at 24000000 Hz
[    0.002661] Console: colour dummy device 80x30
[    0.002820] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.002849] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.002873] ... MAX_LOCK_DEPTH:          48
[    0.002899] ... MAX_LOCKDEP_KEYS:        8191
[    0.002924] ... CLASSHASH_SIZE:          4096
[    0.002948] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.002972] ... MAX_LOCKDEP_CHAINS:      65536
[    0.002996] ... CHAINHASH_SIZE:          32768
[    0.003020]  memory used by lock dependency info: 5167 kB
[    0.003045]  per task-struct memory footprint: 1152 bytes
[    0.003111] Calibrating delay loop... 297.36 BogoMIPS (lpj=1486848)
[    0.115951] pid_max: default: 32768 minimum: 301
[    0.116950] Security Framework initialized
[    0.117420] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.117467] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.126782] Initializing cgroup subsys blkio
[    0.126895] Initializing cgroup subsys memory
[    0.127163] Initializing cgroup subsys devices
[    0.127427] Initializing cgroup subsys freezer
[    0.127809] Initializing cgroup subsys perf_event
[    0.127992] CPU: Testing write buffer coherency: ok
[    0.132131] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.132425] Setting up static identity map for 0x80008280 - 0x800082f0
[    0.144946] Brought up 1 CPUs
[    0.145011] SMP: Total of 1 processors activated (297.36 BogoMIPS).
[    0.145043] CPU: All CPU(s) started in SVC mode.
[    0.155670] devtmpfs: initialized
[    0.275140] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.425348] omap_hwmod: tptc0 using broken dt data from edma
[    0.427154] omap_hwmod: tptc1 using broken dt data from edma
[    0.428739] omap_hwmod: tptc2 using broken dt data from edma
[    0.452685] omap_hwmod: debugss: _wait_target_disable failed
[    0.525340] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.532001] pinctrl core: initialized pinctrl subsystem
[    0.548223] NET: Registered protocol family 16
[    0.567108] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.573397] cpuidle: using governor ladder
[    0.573481] cpuidle: using governor menu
[    0.605509] OMAP GPIO hardware version 0.1
[    0.672989] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
[    0.696276] No ATAGs?
[    0.696362] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.704648] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.704708] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.828181] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.848049] SCSI subsystem initialized
[    0.853291] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.853565] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
[    0.854513] pps_core: LinuxPPS API ver. 1 registered
[    0.854548] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.854718] PTP clock support registered
[    0.867088] Switched to clocksource timer1
[    1.329733] NET: Registered protocol family 2
[    1.335326] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.335903] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)
[    1.340503] TCP: Hash tables configured (established 4096 bind 4096)
[    1.341196] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    1.341813] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    1.344670] NET: Registered protocol family 1
[    1.349766] RPC: Registered named UNIX socket transport module.
[    1.349829] RPC: Registered udp transport module.
[    1.349861] RPC: Registered tcp transport module.
[    1.349892] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.355971] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    1.356231] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.370678] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.371596] audit: initializing netlink subsys (disabled)
[    1.372298] audit: type=2000 audit(1.370:1): initialized
[    1.385730] VFS: Disk quotas dquot_6.6.0
[    1.386142] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.393581] NFS: Registering the id_resolver key type
[    1.394835] Key type id_resolver registered
[    1.394883] Key type id_legacy registered
[    1.395428] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.410974] io scheduler noop registered
[    1.411069] io scheduler deadline registered
[    1.411223] io scheduler cfq registered (default)
[    1.418180] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.431918] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.451142] omap_uart 44e09000.serial: no wakeirq for uart0
[    1.452960] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a OMAP UART0
[    2.223680] console [ttyO0] enabled
[    2.234349] omap_uart 48022000.serial: no wakeirq for uart1
[    2.241500] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a OMAP UART1
[    2.342254] brd: module loaded
[    2.398861] loop: module loaded
[    2.410259] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.437941] mousedev: PS/2 mouse device common for all mice
[    2.443907] i2c /dev entries driver
[    2.453066] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.588580] ledtrig-cpu: registered to indicate activity on CPUs
[    2.598859] oprofile: using arm/armv7
[    2.605026] Initializing XFRM netlink socket
[    2.610288] NET: Registered protocol family 17
[    2.615213] NET: Registered protocol family 15
[    2.621085] Key type dns_resolver registered
[    2.627332] omap_voltage_late_init: Voltage driver support not added
[    2.634097] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
[    2.642753] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
[    2.655501] ThumbEE CPU extension supported.
[    2.660315] Registering SWP/SWPB emulation handler
[    2.665417] SmartReflex Class3 initialized
[    2.699812] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    2.705764] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    2.721235] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    2.728166] nand: Micron MT29F2G08ABAEAWP
[    2.732434] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.740740] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    2.747208] 10 ofpart partitions found on MTD device 8000000.nand
[    2.753654] Creating 10 MTD partitions on "8000000.nand":
[    2.759461] 0x000000000000-0x000000020000 : "NAND.SPL"
[    2.785489] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    2.802610] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    2.818938] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    2.834999] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    2.851822] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    2.868092] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    2.884204] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    2.901745] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    2.922025] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    3.110057] tps65910 0-002d: No interrupt support, no core IRQ
[    3.123340] tps65910 0-002d: Error in configuring external control EN1
[    3.130422] tps65910 0-002d: Failed to initialise ext control config
[    3.140924] vrtc: failed to enable
[    3.154674] tps65910 0-002d: failed to register tps65910-pmic regulator
[    3.162101] tps65910-pmic: probe of tps65910-pmic failed with error -121
[    3.172148] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.190448] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    3.199462] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.286930] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    3.293414] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    3.312915] libphy: 4a101000.mdio: probed
[    3.317464] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8035 ethernet
[    3.331328] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:e8:51:22
[    3.347182] hctosys: unable to open rtc device (rtc0)
[    3.352570] sr_init: No PMIC hook to init smartreflex
[    3.358849] sr_init: platform driver register failed for SR
[    3.423823] wlan-en-regulator: disabling
[    3.428201] lis3_reg: disabling
[    3.431540] vbat: disabling
[    3.441187] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.455835] Waiting for root device /dev/mmcblk0p2...