Hi,
I'm booting my AM3354 based device from sd card. The device is able to read dtb and zImage from sd card boot partition, u-boot is successful, kernel boots and hangs while loading rootfs, not loading rootfs from root partition. Hangs after the log "Waiting for root device /dev/mmcblk0p2...".
Could you please guide me to resolve the issue. I've attached the logs and uEnv.txt for your reference.
Thanks,
Shanti
uEnv.txt:
displaylogo=if fatload mmc 0 80008000 logo.bmp; then bmp display 80008000; fi;
uenvcmd=run displaylogo; \
setenv bootargs 'console=ttyS0,115200 mem=511M fbcon=logo-pos:center fbcon=rotate:1 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait'; \
fatload mmc 0:1 80100000 zImage; \
fatload mmc 0:1 81000000 am335x-boneblack.dtb; \
bootz 80100000 - 81000000
-------------------------------------------
Boot logs:
switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... reading uEnv.txt 354 bytes read in 8 ms (43 KiB/s) gpio: pin 55 (gpio 55) value is 1 Loaded environment from uEnv.txt Importing environment from mmc ... Checking if uenvcmd is set ... gpio: pin 56 (gpio 56) value is 1 Running uenvcmd ... reading logo.bmp 202854 bytes read in 28 ms (6.9 MiB/s) reading zImage 9286600 bytes read in 1062 ms (8.3 MiB/s) reading am335x-boneblack.dtb 71138 bytes read in 16 ms (4.2 MiB/s) Kernel image @ 0x80100000 [ 0x000000 - 0x8db3c8 ] ## Flattened Device Tree blob at 81000000 Booting using the fdt blob at 0x81000000 Loading Device Tree to 8ffeb000, end 8ffff5e1 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.1.119+ (admin1@admin1-Precision-3650-Tower) (arm-none-linux-gnueabihf-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #2 SMP PREEMPT Fri Dec 12 16:14:36 IST 2025 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 24 MiB at 0x9e000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000080000000-0x000000009fefffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009fcfffff] [ 0.000000] node 0: [mem 0x000000009fe00000-0x000000009fefffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fefffff] [ 0.000000] On node 0, zone Normal: 256 pages in unavailable ranges [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] percpu: Embedded 13 pages/cpu s24148 r8192 d20908 u53248 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129410 [ 0.000000] Kernel command line: console=ttyS0,115200 mem=511M fbcon=logo-pos:center fbcon=rotate:1 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 475076K/522240K available (9216K kernel code, 1298K rwdata, 4224K rodata, 1024K init, 515K bss, 22588K reserved, 24576K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000 [ 0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000022] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000363] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000 [ 0.001608] Console: colour dummy device 80x30 [ 0.001672] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.048423] CPU: Testing write buffer coherency: ok [ 0.048489] CPU0: Spectre v2: using BPIALL workaround [ 0.048498] pid_max: default: 32768 minimum: 301 [ 0.048607] LSM: Security Framework initializing [ 0.048637] Yama: becoming mindful. [ 0.048795] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.048813] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.050123] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.051161] cblist_init_generic: Setting adjustable number of callback queues. [ 0.051172] cblist_init_generic: Setting shift to 0 and lim to 1. [ 0.051309] cblist_init_generic: Setting adjustable number of callback queues. [ 0.051316] cblist_init_generic: Setting shift to 0 and lim to 1. [ 0.051478] Setting up static identity map for 0x80100000 - 0x80100054 [ 0.051675] rcu: Hierarchical SRCU implementation. [ 0.051683] rcu: Max phase no-delay instances is 1000. [ 0.053366] smp: Bringing up secondary CPUs ... [ 0.053382] smp: Brought up 1 node, 1 CPU [ 0.053392] SMP: Total of 1 processors activated (995.32 BogoMIPS). [ 0.053403] CPU: All CPU(s) started in SVC mode. [ 0.054121] devtmpfs: initialized [ 0.068317] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.068779] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.068809] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.071046] pinctrl core: initialized pinctrl subsystem [ 0.072900] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.075600] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.076053] audit: initializing netlink subsys (disabled) [ 0.077124] thermal_sys: Registered thermal governor 'fair_share' [ 0.077138] thermal_sys: Registered thermal governor 'bang_bang' [ 0.077144] thermal_sys: Registered thermal governor 'step_wise' [ 0.077238] cpuidle: using governor ladder [ 0.077271] cpuidle: using governor menu [ 0.080509] audit: type=2000 audit(0.072:1): state=initialized audit_enabled=0 res=1 [ 0.089602] OF: /ocp/target-module@47400000/usb@1400: could not get #interrupt-cells for /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/tps@24 [ 0.089721] OF: /ocp/target-module@47400000/usb@1400: could not get #interrupt-cells for /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/tps@24 [ 0.093000] No ATAGs? [ 0.093015] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.110391] iommu: Default domain type: Translated [ 0.110407] iommu: DMA domain TLB invalidation policy: strict mode [ 0.111909] SCSI subsystem initialized [ 0.112188] usbcore: registered new interface driver usbfs [ 0.112243] usbcore: registered new interface driver hub [ 0.112291] usbcore: registered new device driver usb [ 0.112967] pps_core: LinuxPPS API ver. 1 registered [ 0.112977] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.112999] PTP clock support registered [ 0.114410] Bluetooth: Core ver 2.22 [ 0.114475] NET: Registered PF_BLUETOOTH protocol family [ 0.114482] Bluetooth: HCI device and connection manager initialized [ 0.114496] Bluetooth: HCI socket layer initialized [ 0.114505] Bluetooth: L2CAP socket layer initialized [ 0.114526] Bluetooth: SCO socket layer initialized [ 0.114549] NetLabel: Initializing [ 0.114554] NetLabel: domain hash size = 128 [ 0.114559] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.114633] NetLabel: unlabeled traffic allowed by default [ 0.115548] clocksource: Switched to clocksource dmtimer [ 0.115898] VFS: Disk quotas dquot_6.6.0 [ 0.115958] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.126462] NET: Registered PF_INET protocol family [ 0.126786] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.128497] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.128540] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.128557] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.128603] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.128704] TCP: Hash tables configured (established 4096 bind 4096) [ 0.128801] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.128827] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.129027] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.129748] RPC: Registered named UNIX socket transport module. [ 0.129761] RPC: Registered udp transport module. [ 0.129766] RPC: Registered tcp transport module. [ 0.129771] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.131458] Initialise system trusted keyrings [ 0.131866] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.138750] zbud: loaded [ 0.142202] NFS: Registering the id_resolver key type [ 0.142263] Key type id_resolver registered [ 0.142270] Key type id_legacy registered [ 0.142371] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.142381] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.143283] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.144040] fuse: init (API version 7.38) [ 0.145979] gfs2: GFS2 installed [ 0.146428] ceph: loaded (mds proto 32) [ 0.237476] Key type asymmetric registered [ 0.237494] Asymmetric key parser 'x509' registered [ 0.237686] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.237943] io scheduler mq-deadline registered [ 0.237956] io scheduler kyber registered [ 0.242954] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 0.246497] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0 [ 0.246621] usbcore: registered new interface driver udl [ 0.248735] brd: module loaded [ 0.256301] loop: module loaded [ 0.281849] rbd: loaded (major 253) [ 0.282839] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.285297] eql: Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com) [ 0.286988] tun: Universal TUN/TAP device driver, 1.6 [ 0.288070] PPP generic driver version 2.4.2 [ 0.288306] PPP BSD Compression module registered [ 0.288323] PPP Deflate Compression module registered [ 0.288659] PPP MPPE Compression module registered [ 0.288672] NET: Registered PF_PPPOX protocol family [ 0.290182] aoe: AoE v85 initialised. [ 0.291103] usbcore: registered new interface driver usb-storage [ 0.291818] mousedev: PS/2 mouse device common for all mice [ 0.292832] i2c_dev: i2c /dev entries driver [ 0.293210] Bluetooth: HCI UART driver ver 2.3 [ 0.293221] Bluetooth: HCI UART protocol H4 registered [ 0.293229] Bluetooth: HCI UART protocol BCSP registered [ 0.293234] Bluetooth: HCI UART protocol ATH3K registered [ 0.293289] usbcore: registered new interface driver btusb [ 0.294125] cpuidle: enable-method property 'ti,am3352' found operations [ 0.294980] hid: raw HID events driver (C) Jiri Kosina [ 0.295731] usbcore: registered new interface driver usbhid [ 0.295744] usbhid: USB HID core driver [ 0.298071] NET: Registered PF_INET6 protocol family [ 0.299995] Segment Routing with IPv6 [ 0.300054] In-situ OAM (IOAM) with IPv6 [ 0.300154] mip6: Mobile IPv6 [ 0.300178] NET: Registered PF_PACKET protocol family [ 0.300449] Bluetooth: RFCOMM TTY layer initialized [ 0.300471] Bluetooth: RFCOMM socket layer initialized [ 0.300513] Bluetooth: RFCOMM ver 1.11 [ 0.300531] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 0.300538] Bluetooth: BNEP filters: protocol multicast [ 0.300549] Bluetooth: BNEP socket layer initialized [ 0.300556] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 0.300567] Bluetooth: HIDP socket layer initialized [ 0.300679] Key type dns_resolver registered [ 0.300705] Key type ceph registered [ 0.301270] libceph: loaded (mon/osd proto 15/24) [ 0.301288] mpls_gso: MPLS GSO support [ 0.301454] ThumbEE CPU extension supported. [ 0.301475] Registering SWP/SWPB emulation handler [ 0.301483] omap_voltage_late_init: Voltage driver support not added [ 0.301739] PM: Cannot get wkup_m3_ipc handle [ 0.302598] registered taskstats version 1 [ 0.302639] Loading compiled-in X.509 certificates [ 0.303141] zswap: loaded using pool lzo/zbud [ 0.305617] Key type encrypted registered [ 0.330355] remoteproc remoteproc0: wkup_m3 is available [ 0.340192] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified [ 0.340608] input: ti-tsc as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0d000.target-module/44e0d000.tscadc/TI-am335x-tsc.0.auto/input/input0 [ 0.345871] platform 44e10800.pinmux: Fixed dependency cycle(s) with /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/pinmux@800/pinmux_clkout2_pin [ 0.346475] pinctrl-single 44e10800.pinmux: 142 pins, size 568 [ 0.351256] ti-sysc: probe of 44e31000.target-module failed with error -16 [ 0.354511] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 0.361319] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz [ 0.367691] ti-sysc: probe of 48040000.target-module failed with error -16 [ 0.378101] gpio-29 (EMMC ResetN): hogged as output/high [ 0.378175] gpio gpiochip0: (gpio-0-31): not an immutable chip, please consider fixing it! [ 0.378647] OMAP GPIO hardware version 0.1 [ 0.383338] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.391854] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 27, base_baud = 3000000) is a 8250 [ 0.394773] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 28, base_baud = 3000000) is a 8250 [ 0.397349] gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it! [ 0.399849] gpio gpiochip2: (gpio-64-95): not an immutable chip, please consider fixing it! [ 0.410666] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 0.410838] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 0.411294] tilcdc 4830e000.lcdc: no encoders/connectors found [ 0.432328] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present! [ 0.432360] edma 49000000.dma: TI EDMA DMA engine driver [ 0.438352] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator [ 0.438601] am335x-phy-driver 47401300.usb-phy: dummy supplies not allowed for exclusive requests [ 0.443058] OF: /ocp/target-module@47400000/usb@1400: could not get #interrupt-cells for /ocp/interconnect@44c00000/segment@200000/target-module@b000/i2c@0/tps@24 [ 0.443133] musb-dsps 47401400.usb: error -ENXIO: IRQ vbus not found [ 0.445115] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator [ 0.445364] am335x-phy-driver 47401b00.usb-phy: dummy supplies not allowed for exclusive requests [ 0.454435] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.454485] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.454756] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 0.454771] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.454781] usb usb1: Product: MUSB HDRC host driver [ 0.454788] usb usb1: Manufacturer: Linux 6.1.119+ musb-hcd [ 0.454796] usb usb1: SerialNumber: musb-hdrc.1 [ 0.455696] hub 1-0:1.0: USB hub found [ 0.455750] hub 1-0:1.0: 1 port detected [ 0.477078] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 0.482205] l3-aon-clkctrl:0000:0: failed to disable [ 0.485657] PM: Cannot get wkup_m3_ipc handle [ 0.486157] gpio gpiochip3: (gpio-96-127): not an immutable chip, please consider fixing it! [ 0.488157] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 37, base_baud = 3000000) is a 8250 [ 1.859295] printk: console [ttyS0] enabled [ 1.888208] tps65217-pmic: Failed to locate of_node [id: -1] [ 1.903412] tps65217-bl tps65217-bl: DMA mask not set [ 1.909943] tps65217-charger: Failed to locate of_node [id: -1] [ 1.916822] tps65217-pwrbutton: Failed to locate of_node [id: -1] [ 1.923982] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 1.929803] at24 0-0050: supply vcc not found, using dummy regulator [ 1.936875] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.946227] rtc-pcf8523 0-0068: registered as rtc0 [ 1.951423] rtc-pcf8523 0-0068: setting system clock to 2017-01-10T14:01:17 UTC (1484056877) [ 1.966159] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.976509] remoteproc remoteproc0: powering up wkup_m3 [ 1.988651] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 1.999115] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 230328 [ 2.007689] OF: graph: no port node found in /ocp/interconnect@48000000/segment@300000/target-module@e000/lcdc@0 [ 2.018460] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 2.025029] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 [ 2.042510] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 1 [ 2.098880] Console: switching to colour frame buffer device 60x50 [ 2.121622] tilcdc 4830e000.lcdc: [drm] fb0: tilcdcdrmfb frame buffer device [ 2.130735] cpu cpu0: _opp_add_static_v2: opp key field not found [ 2.137048] cpu cpu0: _of_add_opp_table_v2: Failed to add OPP, -19 [ 2.144051] cpu cpu0: OPP table can't be empty [ 2.149870] pm33xx: probe of pm33xx failed with error -22 [ 2.156462] pinctrl-single 44e10800.pinmux: pin PIN109 already requested by 44e10800.pinmux; cannot claim for user_keys [ 2.167491] pinctrl-single 44e10800.pinmux: pin-109 (user_keys) status -22 [ 2.174451] pinctrl-single 44e10800.pinmux: could not request pin 109 (PIN109) from group pinmux_key_pins on device pinctrl-single [ 2.186404] gpio-keys user_keys: Error applying setting, reverse things back [ 2.194560] clk: Disabling unused clocks [ 2.199430] Waiting for root device /dev/mmcblk0p2... [ 57.487558] random: crng init done