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.

PROCESSOR-SDK-AM335X: AM335x Kernel stuck at "Starting kernel ..." during booting

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: TPS65217

Hi Expert,

We have one custom board with processor id AM3352BZCZA80 which is based on AM335x processor.

We trying to boot 2020.01 with 5.10.184 kernel using SDcard. we are facing below issues. 

One issue like

1)  Not able to stop the console at u-boot Prompt, even we press any key during autoboot timeout delay of 3sec

Second issue like

2)  During booting, Kernel hangs at "Starting Kernel ..." , no logs are coming after that.

Please find below boot logs for your reference.

U-Boot SPL 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
Trying to boot from MMC1

U-Boot 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)

CPU : AM335X-GP rev 2.1
Model: Kidde-MB
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: error: phy_id read failed
Could not get PHY for ethernet@4a100000: addr 7564131
eth0: ethernet@4a100000
Autoboot in 3 seconds
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
5427712 bytes read in 471 ms (11 MiB/s)
92888 bytes read in 11 ms (8.1 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe6000, end 8ffffad7 ... OK

Starting kernel ...

JTAG support not there for debugging using  JTAG.

Can you please us regarding this, when this issue will come and where I need to look to debug this issue. ??

Thanks,

Mallikarjuna Reddy Ambati.

  • Hello,
    1/. Is the issue reproducible on one board or multiple boards?
    2/. Have we booted the same booting files (u-boot/kernel...) on any working board?
    Best,
    -Hong

  • Hi Hong,

    Sorry for late reply, I am out of office last 4 days.

    current Update is :-

    We proceeded further, Starting Kernel ... issue not coming now but booting hangs while loading Roof filesystem with "Waiting for root device PARTUUID = 12fd6b2a-02 ..."

    please find below boot logs for your reference

    Boot Logs
    ---------
    U-Boot SPL 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: Kidde-MB
    DRAM:  512 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    5427712 bytes read in 471 ms (11 MiB/s)
    92944 bytes read in 13 ms (6.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe6000, end 8ffffb0f ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.184-rt90-gcfc102d877 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binuti3
    [    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] OF: fdt: Machine model: Kidde-MB
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Failed to reserve 512 MiB
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=12fd6b2a-02 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: 501508K/522240K available (10016K kernel code, 804K rwdata, 3644K rodata, 356K init, 295K bss, 20732K reserve)
    [    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 event tracing is enabled.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    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 10 jiffies.
    [    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] 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.000030] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000595] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.002713] Console: colour dummy device 80x30
    [    0.002768] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002777] This ensures that you still see kernel messages. Please
    [    0.002781] update your kernel commandline.
    [    0.002824] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.060646] pid_max: default: 32768 minimum: 301
    [    0.060872] LSM: Security Framework initializing
    [    0.061084] AppArmor: AppArmor initialized
    [    0.061171] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.061194] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.062519] CPU: Testing write buffer coherency: ok
    [    0.062604] CPU0: Spectre v2: using BPIALL workaround
    [    0.064293] Setting up static identity map for 0x80008200 - 0x80008278
    [    0.064533] rcu: Hierarchical SRCU implementation.
    [    0.065166] EFI services will not be available.
    [    0.065780] devtmpfs: initialized
    [    0.088986] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.089299] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.089342] futex hash table entries: 256 (order: 1, 8192 bytes, linear)
    [    0.089703] pinctrl core: initialized pinctrl subsystem
    [    0.090799] DMI not present or invalid.
    [    0.091851] NET: Registered protocol family 16
    [    0.092684] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.113870] l3-aon-clkctrl:0000:0: failed to disable
    [    0.114670] audit: initializing netlink subsys (disabled)
    [    0.116413] thermal_sys: Registered thermal governor 'fair_share'
    [    0.116429] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.116435] thermal_sys: Registered thermal governor 'step_wise'
    [    0.116441] thermal_sys: Registered thermal governor 'user_space'
    [    0.120791] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
    [    1.750853] No ATAGs?
    [    1.750876] hw-breakpoint: debug architecture 0x4 unsupported.
    [    1.793715] iommu: Default domain type: Translated 
    [    1.796991] SCSI subsystem initialized
    [    1.797693] mc: Linux media interface: v0.10
    [    1.797754] videodev: Linux video capture interface: v2.00
    [    1.797930] pps_core: LinuxPPS API ver. 1 registered
    [    1.797939] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.797989] PTP clock support registered
    [    1.799457] Advanced Linux Sound Architecture Driver Initialized.
    [    1.801916] clocksource: Switched to clocksource dmtimer
    [    1.803162] AppArmor: AppArmor Filesystem Enabled
    [    1.816470] NET: Registered protocol family 2
    [    1.816848] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    1.818669] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 7168 bytes, linear)
    [    1.818762] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
    [    1.818850] TCP bind hash table entries: 4096 (order: 4, 98304 bytes, linear)
    [    1.819033] TCP: Hash tables configured (established 4096 bind 4096)
    [    1.819196] UDP hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    1.819248] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    1.819526] NET: Registered protocol family 1
    [    1.820476] RPC: Registered named UNIX socket transport module.
    [    1.820493] RPC: Registered udp transport module.
    [    1.820499] RPC: Registered tcp transport module.
    [    1.820505] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.820521] NET: Registered protocol family 44
    [    1.820548] PCI: CLS 0 bytes, default 64
    [    1.822525] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    1.824560] Initialise system trusted keyrings
    [    1.825036] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    1.833298] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.834580] NFS: Registering the id_resolver key type
    [    1.834661] Key type id_resolver registered
    [    1.834670] Key type id_legacy registered
    [    1.834830] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.834845] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.834901] ntfs: driver 2.1.32 [Flags: R/O].
    [    1.835914] NET: Registered protocol family 38
    [    1.835944] Key type asymmetric registered
    [    1.835962] Asymmetric key parser 'x509' registered
    [    1.836038] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    1.836050] io scheduler mq-deadline registered
    [    1.836059] io scheduler kyber registered
    [    2.203019] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    2.292731] ti-sysc: probe of 48040000.target-module failed with error -16
    [    2.427759] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    2.562212] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    2.562258] edma 49000000.dma: TI EDMA DMA engine driver
    [    2.573945] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    2.660317] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    2.666916] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a 8250
    [    2.667122] printk: console [ttyS0] enabled
    [    2.669607] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250
    [    2.671853] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 28, base_baud = 3000000) is a 8250
    [    2.674421] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 38, base_baud = 3000000) is a 8250
    [    2.679483] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    2.692507] random: crng init done
    [    2.710597] brd: module loaded
    [    2.723833] loop: module loaded
    [    2.733759] CAN device driver interface
    [    2.735644] c_can_platform 481cc000.can: c_can_platform device registered (regs=f9c9a564, irq=41)
    [    2.740377] i2c /dev entries driver
    [    2.743845] sdhci: Secure Digital Host Controller Interface driver
    [    2.743860] sdhci: Copyright(c) Pierre Ossman
    [    2.745368] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.756105] NET: Registered protocol family 10
    [    2.757831] Segment Routing with IPv6
    [    2.758002] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.759046] NET: Registered protocol family 17
    [    2.759085] can: controller area network core
    [    2.759206] NET: Registered protocol family 29
    [    2.759652] Key type dns_resolver registered
    [    2.760451] omap_voltage_late_init: Voltage driver support not added
    [    2.761364] printk: console [ttyS0]: printing thread started
    [    2.761436] Loading compiled-in X.509 certificates
    [    2.798616] Loaded X.509 cert 'Build time autogenerated kernel key: 221dad2f1c21b32db6125d3e3398ceb1b77b996b'
    [    2.801488] AppArmor: AppArmor sha1 policy hashing enabled
    [    2.837690] OMAP GPIO hardware version 0.1
    [    2.840940] tps65217-pmic: Failed to locate of_node [id: -1]
    [    3.852100] vdds_dpr: failed to get the current voltage: -EBUSY
    [    3.852155] tps65217 0-0024: failed to register tps65217-pmic regulator
    [    3.852204] tps65217-pmic: probe of tps65217-pmic failed with error -16
    [    3.852422] tps65217-bl: Failed to locate of_node [id: -1]
    [    4.872101] tps65217 0-0024: Failed to read revision register: -16
    [    4.872491] tps65217: probe of 0-0024 failed with error -16
    [    4.872730] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    4.877821] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 200 kHz
    [    4.904291] omap_reset_deassert: timedout waiting for gfx:0
    [    4.904409] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    4.909214] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.909229] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.909573] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.940728] ALSA device list:
    [    4.940751]   No soundcards found.
    [    5.054950] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
    [    5.062320] Waiting for root device PARTUUID=12fd6b2a-02...

    Can you help us to fix above issue and reason behind above error to debug further ??

    Thanks, 

    Mallikarjuna Reddy Ambati.

  • Hello,
    It is good to know kernel started booting on your board.
    Yes, there's issue for kernel to get access to MMC "sdhci-omap 48060000.mmc"
    Let me pass the e2e to my colleague to follow-up.
    Best,
    -Hong

  • Hi Hong, 

    Thank you for the reply and passing it to your colleague and early waiting for your colleague response to resolve this issue.

    Regards,
    Mallikarjuna

  • Hi Mallikarjuna,

    Please add the following uboot patch:

    diff --git a/arch/arm/dts/am33xx.dtsi b/arch/arm/dts/am33xx.dtsi
    index d3dd6a16e70a..d4477f856ca1 100644
    --- a/arch/arm/dts/am33xx.dtsi
    +++ b/arch/arm/dts/am33xx.dtsi
    @@ -434,7 +434,7 @@
                    mmc1: mmc@48060000 {
                            compatible = "ti,omap4-hsmmc";
                            ti,hwmods = "mmc1";
    -                       ti,dual-volt;
    +                       no-1-8-v;
                            ti,needs-special-reset;
                            ti,needs-special-hs-handling;
                            dmas = <&edma_xbar 24 0 0

    and the follow patch to your kernel board dts:

    &mm1 {
        no-1-8-v;
    };

    to see if you can boot from the SD card.

  • Hi Liu,

    Thanks for the reply. 

    I tried above changes suggested by you, applied patch in uboot and added mmc1 node in kernel dts file as mentioned above

    but still same issue is coming with "[    4.943911] Waiting for root device PARTUUID=e15bf23d-02..."

    Please find below mmc1 related dts changes in kernel that I am using and please go through changes and let me know if anything is missing 

    MMC1 related DTS changes in kernel dts.

    In uboot dts also, using same changes expect one change that you suggested above removing "ti,dual-volt" and add "no-1-8-v" in am33xx.dtsi file

    vmmcsd_fixed: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vmmcsd_fixed";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
    };
    
    mmc1_pins: pinmux_mmc1_pins {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
    AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
    AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
    AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
    AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
    AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
    >;
    };
    
    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmcsd_fixed>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc1_pins>;
    cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
    
    &mmc1 {
    no-1-8-v;
    };

    Also find attached file for entire boot logs for your reference 

    GS8000_Boot_Logs.txt
    U-Boot SPL 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-g2781231a33 (Mar 26 2021 - 17:56:23 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: Kidde-MB
    DRAM:  512 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    5427712 bytes read in 453 ms (11.4 MiB/s)
    92727 bytes read in 12 ms (7.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe6000, end 8ffffa36 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.184-rt90-gcfc102d877 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 PREEMPT_RT Mon Jul 3 04:59:47 UTC 2023
    [    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] OF: fdt: Machine model: Kidde-MB
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Failed to reserve 512 MiB
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fdfffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=e15bf23d-02 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: 501508K/522240K available (10016K kernel code, 804K rwdata, 3644K rodata, 356K init, 295K bss, 20732K reserved, 0K 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 event tracing is enabled.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    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 10 jiffies.
    [    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] 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.000030] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000595] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [    0.002705] Console: colour dummy device 80x30
    [    0.002759] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002768] This ensures that you still see kernel messages. Please
    [    0.002772] update your kernel commandline.
    [    0.002814] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.060650] pid_max: default: 32768 minimum: 301
    [    0.060874] LSM: Security Framework initializing
    [    0.061091] AppArmor: AppArmor initialized
    [    0.061179] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.061201] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
    [    0.062525] CPU: Testing write buffer coherency: ok
    [    0.062610] CPU0: Spectre v2: using BPIALL workaround
    [    0.064299] Setting up static identity map for 0x80008200 - 0x80008278
    [    0.064537] rcu: Hierarchical SRCU implementation.
    [    0.065176] EFI services will not be available.
    [    0.065789] devtmpfs: initialized
    [    0.088943] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.089268] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.089311] futex hash table entries: 256 (order: 1, 8192 bytes, linear)
    [    0.089673] pinctrl core: initialized pinctrl subsystem
    [    0.090759] DMI not present or invalid.
    [    0.091819] NET: Registered protocol family 16
    [    0.092660] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.113630] l3-aon-clkctrl:0000:0: failed to disable
    [    0.114519] audit: initializing netlink subsys (disabled)
    [    0.116241] thermal_sys: Registered thermal governor 'fair_share'
    [    0.116258] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.116265] thermal_sys: Registered thermal governor 'step_wise'
    [    0.116270] thermal_sys: Registered thermal governor 'user_space'
    [    0.120793] audit: type=2000 audit(0.110:1): state=initialized audit_enabled=0 res=1
    [    1.726660] No ATAGs?
    [    1.726681] hw-breakpoint: debug architecture 0x4 unsupported.
    [    1.766613] reg-fixed-voltage fixedregulator@0: Fixed regulator specified with variable voltages
    [    1.766669] reg-fixed-voltage: probe of fixedregulator@0 failed with error -22
    [    1.768544] iommu: Default domain type: Translated 
    [    1.772170] SCSI subsystem initialized
    [    1.772874] mc: Linux media interface: v0.10
    [    1.772934] videodev: Linux video capture interface: v2.00
    [    1.773114] pps_core: LinuxPPS API ver. 1 registered
    [    1.773123] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.773173] PTP clock support registered
    [    1.774645] Advanced Linux Sound Architecture Driver Initialized.
    [    1.776745] clocksource: Switched to clocksource dmtimer
    [    1.778013] AppArmor: AppArmor Filesystem Enabled
    [    1.791505] NET: Registered protocol family 2
    [    1.791879] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    1.793715] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 7168 bytes, linear)
    [    1.793805] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
    [    1.793900] TCP bind hash table entries: 4096 (order: 4, 98304 bytes, linear)
    [    1.794083] TCP: Hash tables configured (established 4096 bind 4096)
    [    1.794242] UDP hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    1.794294] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    1.794570] NET: Registered protocol family 1
    [    1.795521] RPC: Registered named UNIX socket transport module.
    [    1.795537] RPC: Registered udp transport module.
    [    1.795543] RPC: Registered tcp transport module.
    [    1.795548] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.795564] NET: Registered protocol family 44
    [    1.795592] PCI: CLS 0 bytes, default 64
    [    1.797603] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    1.799602] Initialise system trusted keyrings
    [    1.800066] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    1.808308] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.809566] NFS: Registering the id_resolver key type
    [    1.809644] Key type id_resolver registered
    [    1.809653] Key type id_legacy registered
    [    1.809814] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.809828] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.809884] ntfs: driver 2.1.32 [Flags: R/O].
    [    1.810885] NET: Registered protocol family 38
    [    1.810913] Key type asymmetric registered
    [    1.810929] Asymmetric key parser 'x509' registered
    [    1.811009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    1.811022] io scheduler mq-deadline registered
    [    1.811030] io scheduler kyber registered
    [    2.177584] ti-sysc: probe of 44e31000.target-module failed with error -16
    [    2.266953] ti-sysc: probe of 48040000.target-module failed with error -16
    [    2.401856] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    2.535867] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
    [    2.535911] edma 49000000.dma: TI EDMA DMA engine driver
    [    2.547802] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    2.634311] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    2.640925] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a 8250
    [    2.641130] printk: console [ttyS0] enabled
    [    2.643578] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 27, base_baud = 3000000) is a 8250
    [    2.645856] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 28, base_baud = 3000000) is a 8250
    [    2.648458] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 38, base_baud = 3000000) is a 8250
    [    2.653479] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    2.657325] random: crng init done
    [    2.684425] brd: module loaded
    [    2.697603] loop: module loaded
    [    2.707470] CAN device driver interface
    [    2.709369] c_can_platform 481cc000.can: c_can_platform device registered (regs=5a39c0c4, irq=41)
    [    2.714034] i2c /dev entries driver
    [    2.717379] sdhci: Secure Digital Host Controller Interface driver
    [    2.717392] sdhci: Copyright(c) Pierre Ossman
    [    2.718928] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.729594] NET: Registered protocol family 10
    [    2.731319] Segment Routing with IPv6
    [    2.731459] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.732500] NET: Registered protocol family 17
    [    2.732541] can: controller area network core
    [    2.732668] NET: Registered protocol family 29
    [    2.733092] Key type dns_resolver registered
    [    2.733889] omap_voltage_late_init: Voltage driver support not added
    [    2.734820] printk: console [ttyS0]: printing thread started
    [    2.734892] Loading compiled-in X.509 certificates
    [    2.772243] Loaded X.509 cert 'Build time autogenerated kernel key: ff4115136ec53e326cbf6bf6fc2b27a489c75a76'
    [    2.775123] AppArmor: AppArmor sha1 policy hashing enabled
    [    2.821168] OMAP GPIO hardware version 0.1
    [    2.824401] tps65217-pmic: Failed to locate of_node [id: -1]
    [    3.836924] vdds_dpr: failed to get the current voltage: -EBUSY
    [    3.836975] tps65217 0-0024: failed to register tps65217-pmic regulator
    [    3.837020] tps65217-pmic: probe of tps65217-pmic failed with error -16
    [    3.837232] tps65217-bl: Failed to locate of_node [id: -1]
    [    4.856925] tps65217 0-0024: Failed to read revision register: -16
    [    4.857307] tps65217: probe of 0-0024 failed with error -16
    [    4.857547] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    4.862666] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 200 kHz
    [    4.889112] omap_reset_deassert: timedout waiting for gfx:0
    [    4.889235] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    4.890477] pwm-backlight backlight: supply power not found, using dummy regulator
    [    4.894005] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.894019] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.894355] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.909816] pwm-backlight backlight: supply power not found, using dummy regulator
    [    4.912837] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.912852] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.913192] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.914452] pwm-backlight backlight: supply power not found, using dummy regulator
    [    4.917609] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    4.917623] sdhci-omap 48060000.mmc: Got CD GPIO
    [    4.917952] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
    [    4.921178] ALSA device list:
    [    4.921203]   No soundcards found.
    [    4.943911] Waiting for root device PARTUUID=e15bf23d-02...
    

    Please once go through entire boot logs and confirm whether issue is coming only due to mmc1 or any other changes are needed and how to debug this ?

    Thanks and Regards,
    Mallikarjuna Reddy Ambati.

  • Hi Mallikarjuna,

    Your kernel DTS mmc1 node has property "mmc-suppy" and "cd-gpios". Are these properties the same as the mmc1 DT node in U-Boot? I am trying to understand why U-Boot can enumerate the SD card but kernel doesn't see the SD card at all.

  • Hi Liu,

    Yes Liu, properties of mmc1 DT node in both kernel and u-boot dts files are same.

    MMC1 DT node in u-boot dts fle 

    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmcsd_fixed>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc1_pins>;
    cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };

    Hope, there is no link/relation between rootfs loading and tps65217 PMIC probe failing, Right ?  because tps65217 failed logs are there.

    Thanks,

    Mallikarjuna Reddy Ambati

  • Does your u-boot dts enable the PMIC? If not, can you please try to remove the PMIC nodes from the kernel dts to see if it is related?