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.

DRA829V: Linux Booting hanged on DRA829 custom Board

Part Number: DRA829V

Hi,

In our Custom Board Linux booting is hanged please find the attached log could you help us to resolve this issue

U-Boot SPL 2020.01-00001-g2dbac40304-dirty (Jul 13 2021 - 17:16:43 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Starting ATF on ARM64 core...

NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
NOTICE:  BL31: Built : 00:15:40, Apr 10 2021

U-Boot SPL 2020.01-00001-g2dbac40304-dirty (Jul 13 2021 - 17:17:35 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Trying to boot from MMC2
pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2020.01-00001-g2dbac40304-dirty (Jul 13 2021 - 17:17:35 +0530)

SoC:   J721E SR1.0
Model: Texas Instruments K3 J721E SoC
DRAM:  1 GiB
not found for dev hbmc-mux
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
eth0: ethernet@46000000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
0 bytes read in 0 ms
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
dma-ring-reset-quirk: disabled
K3 CPSW: rflow_id_base: 2
ethernet@46000000 Waiting for PHY auto negotiation to complete... done
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.7.10 (1165 ms)
K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.7.10 (2 ms)
K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.7.1; our IP address is 192.168.7.10
Filename 'Image-j7-evm.bin'.
Load address: 0x82000000
Loading: #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     ################################
     11.3 MiB/s
done
Bytes transferred = 16799752 (1005808 hex)
K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
TFTP from server 192.168.7.1; our IP address is 192.168.7.10
Filename 'k3-j721e-common-proc-board.dtb'.
Load address: 0x88000000
Loading: ##################
     7.1 MiB/s
done
Bytes transferred = 89003 (15bab hex)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008fee7000, end 000000008fffffff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 5.4.106-g023faefa70 (bh@bh-OptiPlex-3060) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #5 SMP PREEMPT Wed Jun 23 18:55:46 IST 2021
[    0.000000] Machine model: Texas Instruments K3 J721E SoC
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
[    0.000000] cma: Failed to reserve 512 MiB
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 2 pages/cpu s48472 r8192 d74408 u131072
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: -8912
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.7.1:/home/bh/ti-processor-sdk-linux-j7-evm-07_03_00_05/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 ip=dhcp

  • DRAM:  1 GiB

    Divyanshu,

    Have you removed all the nodes under reserved memory? Can you try that?

    - Keerthy

  • Hi keerthy,

    Thanks for reply,

    By removing the reserve memory the above issue resolved but it is getting stuck at different place with error. please find the attached log.

    U-Boot SPL 2020.01-00001-g2dbac40304-dirty (Jul 16 2021 - 13:30:57 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment

    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.4(release):07.03.00.005-dirty
    NOTICE: BL31: Built : 00:15:40, Apr 10 2021

    U-Boot SPL 2020.01-00001-g2dbac40304-dirty (Jul 16 2021 - 13:58:34 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


    U-Boot 2020.01-00001-g2dbac40304-dirty (Jul 16 2021 - 13:58:34 +0530)

    SoC: J721E SR1.0
    Model: Texas Instruments K3 J721E SoC
    DRAM: 1 GiB
    not found for dev hbmc-mux
    Flash: 0 Bytes
    MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... OK
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    Net: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    eth0: ethernet@46000000
    Hit any key to stop autoboot: 2 1 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    dma-ring-reset-quirk: disabled
    K3 CPSW: rflow_id_base: 2
    ethernet@46000000 Waiting for PHY auto negotiation to complete... done
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address 192.168.7.10 (254 ms)
    K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 192.168.7.10 (2 ms)
    K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    Using ethernet@46000000 device
    TFTP from server 192.168.7.1; our IP address is 192.168.7.10
    Filename 'Image-j7-evm.bin'.
    Load address: 0x82000000
    Loading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ################################
    13.1 MiB/s
    done
    Bytes transferred = 16799752 (1005808 hex)
    K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    Using ethernet@46000000 device
    TFTP from server 192.168.7.1; our IP address is 192.168.7.10
    Filename 'k3-j721e-oncore-board.dtb'.
    Load address: 0x88000000
    Loading: *#################
    5.8 MiB/s
    done
    Bytes transferred = 84770 (14b22 hex)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 000000008fee8000, end 000000008fffffff ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [ 0.000000] Linux version 5.4.106-g023faefa70 (bh@bh-OptiPlex-3060) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #5 SMP PREEMPT Wed Jun 23 18:55:46 IST 2021
    [ 0.000000] Machine model: Texas Instruments K3 J721E SoC
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    [ 0.000000] cma: Reserved 512 MiB at 0x00000000a0000000
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: PSCIv1.1 detected in firmware.
    [ 0.000000] psci: Using standard PSCI v0.2 function IDs
    [ 0.000000] psci: Trusted OS migration not required
    [ 0.000000] psci: SMC Calling Convention v1.0
    [ 0.000000] percpu: Embedded 2 pages/cpu s48472 r8192 d74408 u131072
    [ 0.000000] Detected PIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: GIC system register CPU interface
    [ 0.000000] CPU features: detected: EL2 vector hardening
    [ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 16368
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.7.1:/home/bh/ti-processor-sdk-linux-j7-evm-07_03_00_05/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 4, 1048576 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 3, 524288 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] Memory: 503488K/1048576K available (9662K kernel code, 854K rwdata, 3840K rodata, 1664K init, 681K bss, 20800K reserved, 524288K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [ 0.000000] 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=2
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [ 0.000000] GICv3: 960 SPIs implemented
    [ 0.000000] GICv3: 0 Extended SPIs implemented
    [ 0.000000] GICv3: Distributor has no Range Selector support
    [ 0.000000] GICv3: 16 PPIs implemented
    [ 0.000000] GICv3: no VLPI support, no direct LPI support
    [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [ 0.000000] ITS [mem 0x01820000-0x0182ffff]
    [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [ 0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @9f000000 (flat, esz 8, psz 64K, shr 0)
    [ 0.000000] ITS: using cache flushing for cmd queue
    [ 0.000000] GICv3: using LPI property table @0x000000008fe90000
    [ 0.000000] GIC: using cache flushing for LPI property table
    [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x000000008fea0000
    [ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x42c with crng_init=0
    [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [ 0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [ 0.008353] Console: colour dummy device 80x25
    [ 0.012912] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [ 0.023580] pid_max: default: 32768 minimum: 301
    [ 0.028329] LSM: Security Framework initializing
    [ 0.033072] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [ 0.040637] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [ 0.049620] ASID allocator initialised with 32768 entries
    [ 0.055200] rcu: Hierarchical SRCU implementation.
    [ 0.060218] Platform MSI: gic-its@1820000 domain created
    [ 0.065804] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [ 0.074590] smp: Bringing up secondary CPUs ...
    [ 0.079759] Detected PIPT I-cache on CPU1
    [ 0.079779] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [ 0.079790] GICv3: CPU1: using allocated LPI pending table @0x000000008feb0000
    [ 0.079812] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [ 0.079859] smp: Brought up 1 node, 2 CPUs
    [ 0.109203] SMP: Total of 2 processors activated.
    [ 0.114007] CPU features: detected: 32-bit EL0 Support
    [ 0.119260] CPU features: detected: CRC32 instructions
    [ 0.130824] CPU: All CPU(s) started at EL2
    [ 0.135017] alternatives: patching kernel code
    [ 0.140048] devtmpfs: initialized
    [ 0.147443] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.157411] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [ 0.165158] pinctrl core: initialized pinctrl subsystem
    [ 0.170929] NET: Registered protocol family 16
    [ 0.178106] DMA: preallocated 256 KiB pool for atomic allocations
    [ 0.184615] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.200099] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [ 0.206957] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [ 0.213715] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.221183] cryptd: max_cpu_qlen set to 1000
    [ 0.227025] vsys_3v3: supplied by evm_12v0
    [ 0.231306] vsys_5v0: supplied by evm_12v0
    [ 0.235577] vdd_mmc1: supplied by vsys_3v3
    [ 0.240126] iommu: Default domain type: Translated
    [ 0.245248] SCSI subsystem initialized
    [ 0.249356] mc: Linux media interface: v0.10
    [ 0.253724] videodev: Linux video capture interface: v2.00
    [ 0.259334] pps_core: LinuxPPS API ver. 1 registered
    [ 0.264403] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.273739] PTP clock support registered
    [ 0.277749] EDAC MC: Ver: 3.0.0
    [ 0.281447] FPGA manager framework
    [ 0.284955] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.291544] clocksource: Switched to clocksource arch_sys_counter
    [ 0.297866] VFS: Disk quotas dquot_6.6.0
    [ 0.301916] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [ 0.311183] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.311184] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.317544] NET: Registered protocol family 2
    [ 0.328938] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [ 0.337700] TCP established hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [ 0.345641] TCP bind hash table entries: 8192 (order: 1, 131072 bytes, linear)
    [ 0.353130] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.359657] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [ 0.366544] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [ 0.373921] NET: Registered protocol family 1
    [ 0.378584] RPC: Registered named UNIX socket transport module.
    [ 0.384639] RPC: Registered udp transport module.
    [ 0.389442] RPC: Registered tcp transport module.
    [ 0.394243] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.400826] PCI: CLS 0 bytes, default 64
    [ 0.405140] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [ 0.414765] Initialise system trusted keyrings
    [ 0.419368] workingset: timestamp_bits=46 max_order=14 bucket_order=0
    [ 0.427896] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.434079] NFS: Registering the id_resolver key type
    [ 0.439252] Key type id_resolver registered
    [ 0.443522] Key type id_legacy registered
    [ 0.447619] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.454542] 9p: Installing v9fs 9p2000 file system support
    [ 0.467267] Key type asymmetric registered
    [ 0.471453] Asymmetric key parser 'x509' registered
    [ 0.476446] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [ 0.484004] io scheduler mq-deadline registered
    [ 0.488629] io scheduler kyber registered
    [ 0.493839] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [ 0.499913] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [ 0.508114] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [ 0.514371] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [ 0.520709] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [ 0.527121] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [ 0.535078] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [ 0.541492] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [ 0.549408] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [ 0.555819] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [ 0.563738] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [ 0.570065] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [ 0.577976] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [ 0.584298] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [ 0.593647] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.605656] brd: module loaded
    [ 0.611445] loop: module loaded
    [ 0.616161] libphy: Fixed MDIO Bus: probed
    [ 0.620530] tun: Universal TUN/TAP device driver, 1.6
    [ 0.625966] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [ 0.633972] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [ 0.640045] sky2: driver version 1.30
    [ 0.644293] VFIO - User Level meta-driver version: 0.3
    [ 0.649909] i2c /dev entries driver
    [ 0.653972] sdhci: Secure Digital Host Controller Interface driver
    [ 0.660286] sdhci: Copyright(c) Pierre Ossman
    [ 0.664929] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 0.671186] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.677921] optee: probing for conduit method from DT.
    [ 0.683191] optee: revision 3.11 (c4def2a8)
    [ 0.683474] optee: initialized driver
    [ 0.692226] NET: Registered protocol family 17
    [ 0.696857] 9pnet: Installing 9P2000 support
    [ 0.701242] Key type dns_resolver registered
    [ 0.705754] registered taskstats version 1
    [ 0.709941] Loading compiled-in X.509 certificates
    [ 0.718617] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [ 0.724952] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [ 0.732624] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [ 0.751207] random: fast init done
    [ 0.770851] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [ 0.776811] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [ 0.782742] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [ 0.788745] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [ 0.796159] pca953x 3-0020: using no AI
    [ 0.824051] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [ 0.831451] pca953x 3-0022: using AI
    [ 0.835707] GPIO line 480 (CTRL_PM_I2C_OE) hogged as output/high
    [ 0.842033] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
    [ 0.848624] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
    [ 0.855449] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [ 0.861297] omap_i2c 2010000.i2c: bus 4 rev0.12 at 100 kHz
    [ 0.867116] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [ 0.872953] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [ 0.878759] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [ 0.884570] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [ 0.890373] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [ 0.896615] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [ 0.906563] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [ 0.915343] ti-sci-intr bus@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [ 0.925499] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
    [ 0.944508] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [ 0.953430] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [ 0.963310] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [ 0.970068] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [ 0.978916] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [ 0.989068] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [ 0.995826] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [ 1.003675] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [ 1.012816] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
    [ 1.021557] printk: console [ttyS2] enabled
    [ 1.021557] printk: console [ttyS2] enabled
    [ 1.029996] printk: bootconsole [ns16550a0] disabled
    [ 1.029996] printk: bootconsole [ns16550a0] disabled
    [ 1.040298] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
    [ 1.049088] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 24, base_baud = 3000000) is a 8250
    [ 1.057805] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [ 1.066537] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [ 1.075084] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [ 1.082542] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [ 1.091343] OF: graph: no port node found in /bus@100000/dss@04a00000/ports
    [ 1.098301] OF: graph: no port node found in /bus@100000/dss@04a00000/ports
    [ 1.105246] OF: graph: no port node found in /bus@100000/dss@04a00000/ports
    [ 1.112190] OF: graph: no port node found in /bus@100000/dss@04a00000/ports
    [ 1.119159] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.125757] [drm] No driver support for vblank timestamp query.
    [ 1.132286] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    [ 1.139924] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [ 1.150427] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [ 1.160580] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [ 1.170819] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [ 1.181483] scsi host0: ufshcd
    [ 1.185770] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
    [ 1.194531] Mem abort info:
    [ 1.197310] ESR = 0x96000005
    [ 1.200350] EC = 0x25: DABT (current EL), IL = 32 bits
    [ 1.205643] SET = 0, FnV = 0
    [ 1.208683] EA = 0, S1PTW = 0
    [ 1.211809] Data abort info:
    [ 1.214675] ISV = 0, ISS = 0x00000005
    [ 1.218494] CM = 0, WnR = 0
    [ 1.221448] [0000000000000000] user address but active_mm is swapper
    [ 1.227782] Internal error: Oops: 96000005 [#1] PREEMPT SMP
    [ 1.233336] Modules linked in:
    [ 1.236379] CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.4.106-g023faefa70 #5
    [ 1.243666] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [ 1.249490] Workqueue: events deferred_probe_work_func
    [ 1.254612] pstate: 60000085 (nZCv daIf -PAN -UAO)
    [ 1.259389] pc : _raw_read_lock_irqsave+0x1a4/0x304
    [ 1.264252] lr : __queue_work+0x9c/0x380
    [ 1.268157] sp : ffff80001178f5c0
    [ 1.271457] x29: ffff80001178f5c0 x28: ffff00000f6945a0
    [ 1.276751] x27: 0000000000000100 x26: ffff800010e90018
    [ 1.282045] x25: ffff800010ff3b58 x24: ffff800010e90018
    [ 1.287339] x23: 0000000000000036 x22: 0000000000000001
    [ 1.292633] x21: ffff00000fec0600 x20: 0000000000000000
    [ 1.297927] x19: ffff00001fc00000 x18: 0000000000000000
    [ 1.303221] x17: 00000000000003e0 x16: 000000008f6e03e0
    [ 1.308515] x15: ffff0000033d0528 x14: ffffffffffffffff
    [ 1.313808] x13: 0000000000000000 x12: 0000000000000001
    [ 1.319102] x11: 0000000000000000 x10: 00000000000009e0
    [ 1.324396] x9 : 0000000000000000 x8 : ffff00000f694600
    [ 1.329689] x7 : 0000000000000000 x6 : 000000000000003f
    [ 1.334983] x5 : 0000000000000040 x4 : 0000000000000000
    [ 1.340277] x3 : 0000000000000000 x2 : 0000000000000001
    [ 1.345570] x1 : 0000000000000000 x0 : 0000000000000000
    [ 1.350864] Call trace:
    [ 1.353299] _raw_read_lock_irqsave+0x1a4/0x304
    [ 1.357813] queue_work_node+0x7c/0xa8
    [ 1.361548] async_schedule_node_domain+0x178/0x1a8
    [ 1.366408] async_schedule_node+0x18/0x20
    [ 1.370490] ufshcd_init+0x9d8/0xdc0
    [ 1.374051] ufshcd_pltfrm_init+0x35c/0x4b0
    [ 1.378220] cdns_ufs_pltfrm_probe+0x38/0x68
    [ 1.382475] platform_drv_probe+0x50/0xa0
    [ 1.386468] really_probe+0xd4/0x318
    [ 1.390028] driver_probe_device+0x54/0xe8
    [ 1.394108] __device_attach_driver+0x80/0xb8
    [ 1.398449] bus_for_each_drv+0x74/0xc0
    [ 1.402269] __device_attach+0xe8/0x148
    [ 1.406090] device_initial_probe+0x10/0x18
    [ 1.410256] bus_probe_device+0x90/0x98
    [ 1.414078] device_add+0x334/0x600
    [ 1.417554] of_device_add+0x4c/0x58
    [ 1.421114] of_platform_device_create_pdata+0xdc/0x130
    [ 1.426322] of_platform_bus_create+0x178/0x3a8
    [ 1.430835] of_platform_populate+0x50/0xd8
    [ 1.435002] ti_j721e_ufs_probe+0xa8/0x168
    [ 1.439083] platform_drv_probe+0x50/0xa0
    [ 1.443077] really_probe+0xd4/0x318
    [ 1.446637] driver_probe_device+0x54/0xe8
    [ 1.450718] __device_attach_driver+0x80/0xb8
    [ 1.455058] bus_for_each_drv+0x74/0xc0
    [ 1.458878] __device_attach+0xe8/0x148
    [ 1.462699] device_initial_probe+0x10/0x18
    [ 1.466865] bus_probe_device+0x90/0x98
    [ 1.470686] deferred_probe_work_func+0x6c/0xa0
    [ 1.475199] process_one_work+0x198/0x320
    [ 1.479192] worker_thread+0x1f0/0x420
    [ 1.482925] kthread+0x138/0x158
    [ 1.486141] ret_from_fork+0x10/0x1c
    [ 1.489703] Code: 88047c62 35ffff84 17fffe5c f9800071 (885ffc60)
    [ 1.495778] ---[ end trace 8d0b43bea90d5d5a ]---
    [ 1.500381] note: kworker/1:1[21] exited with preempt_count 1

     

  • Hi Divyanshu,

    Remove the UFS node as well from the device tree. That is crashing on your board.

    - Keerthy

  • Hi keerthy,

    Now we able to boot till linux. Thanks for help for pointing out the problem.