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.

TDA4VM: We want setup SBL for our device , but while entry rootfs show kernel panic ?

Part Number: TDA4VM

We follow the spec to build up SBL image.

1.build tiboot3.bin

<PDK>/packages/ti/boot/sbl/build

make BOARD= j721e_evm

<PDK>/packages\ti\boot\sbl\binary\j721e_evm_hs\mmcsd\bin

change sbl_mmcsd_img_mcu1_0_release.tiimage to tiboot3.bin

2.build tifs.bin

<PDK>/packages/ti/boot/sbl/build

make sciclient_package

<PDK>/packages/ti/drv/sciclient/soc/V1/

get tifsi.bin

3.build app

<PDK>/packages/ti/boot/sbl/tools/combined_appimage/prebuilt/

modify config.mk and change image 

<PDK>/packages/ti/boot/sbl/tools/combined_appimage

make BOARD= j721e_evm

change combined.appimage to app

Change 3 file on BOOT

tiboot3.bin

tifs.bin

app

NOTICE: BL31: v2.4(release):07.03.00.005-dirty
NOTICE: BL31: Built : 00:15:40, Apr 10 2021
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[ 0.000000] Linux version 5.4.106 (minglu@dell-r540) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Mon Aug 29 14:36:58 CST 2022
[ 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: Reserved 512 MiB at 0x00000000e0000000
[ 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: 40192
[ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000
[ 0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
[ 0.000000] Memory: 3374464K/2576384K available (9662K kernel code, 854K rwdata, 3840K rodata, 1664K init, 681K bss, 18446744073708229248K 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 @8c0800000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x00000008c00c0000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
[ 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.008338] Console: colour dummy device 80x25
[ 0.012900] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.023569] pid_max: default: 32768 minimum: 301
[ 0.028318] LSM: Security Framework initializing
[ 0.033065] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[ 0.040636] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[ 0.049677] ASID allocator initialised with 32768 entries
[ 0.055262] rcu: Hierarchical SRCU implementation.
[ 0.060294] Platform MSI: gic-its@1820000 domain created
[ 0.065893] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
[ 0.074699] smp: Bringing up secondary CPUs ...
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
[ 0.085652] Detected PIPT I-cache on CPU1
[ 0.085673] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[ 0.085683] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
[ 0.085711] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[ 0.085757] smp: Brought up 1 node, 2 CPUs
[ 0.115100] SMP: Total of 2 processors activated.
[ 0.119904] CPU features: detected: 32-bit EL0 Support
[ 0.125157] CPU features: detected: CRC32 instructions
[ 0.136788] CPU: All CPU(s) started at EL2
[ 0.140981] alternatives: patching kernel code
[ 0.146037] devtmpfs: initialized
[ 0.153717] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.163682] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[ 0.171495] pinctrl core: initialized pinctrl subsystem
[ 0.177298] NET: Registered protocol family 16
[ 0.184757] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.191265] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.206348] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[ 0.213201] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[ 0.219961] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.227889] cryptd: max_cpu_qlen set to 1000
[ 0.234080] vsys_3v3: supplied by evm_12v0
[ 0.238361] vsys_5v0: supplied by evm_12v0
[ 0.242658] vdd_mmc1: supplied by vsys_3v3
[ 0.247155] iommu: Default domain type: Translated
[ 0.252291] SCSI subsystem initialized
[ 0.256421] mc: Linux media interface: v0.10
[ 0.260791] videodev: Linux video capture interface: v2.00
[ 0.266400] pps_core: LinuxPPS API ver. 1 registered
[ 0.271469] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.280805] PTP clock support registered
[ 0.284816] EDAC MC: Ver: 3.0.0
[ 0.288520] FPGA manager framework
[ 0.292024] Advanced Linux Sound Architecture Driver Initialized.
[ 0.298551] clocksource: Switched to clocksource arch_sys_counter
[ 0.304867] VFS: Disk quotas dquot_6.6.0
[ 0.308910] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[ 0.318243] thermal_sys: Registered thermal governor 'step_wise'
[ 0.318244] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.324624] NET: Registered protocol family 2
[ 0.336056] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[ 0.344821] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
[ 0.353014] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
[ 0.360768] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.367497] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[ 0.374388] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[ 0.381781] NET: Registered protocol family 1
[ 0.386466] RPC: Registered named UNIX socket transport module.
[ 0.392519] RPC: Registered udp transport module.
[ 0.397322] RPC: Registered tcp transport module.
[ 0.402124] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.408707] PCI: CLS 0 bytes, default 64
[ 0.413007] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.422861] Initialise system trusted keyrings
[ 0.427465] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 0.436030] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.442253] NFS: Registering the id_resolver key type
[ 0.447427] Key type id_resolver registered
[ 0.451697] Key type id_legacy registered
[ 0.455794] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.462720] 9p: Installing v9fs 9p2000 file system support
[ 0.475268] Key type asymmetric registered
[ 0.479454] Asymmetric key parser 'x509' registered
[ 0.484449] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 0.492007] io scheduler mq-deadline registered
[ 0.496632] io scheduler kyber registered
[ 0.501849] pinctrl-single 4301c000.pinmux: 94 pins, size 376
[ 0.507904] pinctrl-single 11c000.pinmux: 173 pins, size 692
[ 0.516129] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[ 0.522396] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[ 0.528734] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
[ 0.535152] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
[ 0.543137] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
[ 0.549549] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
[ 0.557462] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
[ 0.563875] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
[ 0.571789] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
[ 0.578114] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
[ 0.586024] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
[ 0.592346] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
[ 0.601673] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.613422] brd: module loaded
[ 0.619399] loop: module loaded
[ 0.624160] libphy: Fixed MDIO Bus: probed
[ 0.628521] tun: Universal TUN/TAP device driver, 1.6
[ 0.633929] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 0.641935] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.648001] sky2: driver version 1.30
[ 0.652239] VFIO - User Level meta-driver version: 0.3
[ 0.657830] i2c /dev entries driver
[ 0.661900] sdhci: Secure Digital Host Controller Interface driver
[ 0.668214] sdhci: Copyright(c) Pierre Ossman
[ 0.672879] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.679143] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.685887] optee: probing for conduit method from DT.
[ 0.691160] optee: revision 3.11 (c4def2a8)
[ 0.691459] optee: initialized driver
[ 0.700187] NET: Registered protocol family 17
[ 0.704804] 9pnet: Installing 9P2000 support
[ 0.709191] Key type dns_resolver registered
[ 0.713666] registered taskstats version 1
[ 0.717854] Loading compiled-in X.509 certificates
[ 0.726484] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[ 0.732813] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[ 0.740465] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
[ 0.759341] random: fast init done
[ 0.777695] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[ 0.783647] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[ 0.789581] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[ 0.795525] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[ 0.801384] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[ 0.807220] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
[ 0.813052] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[ 0.818899] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[ 0.824725] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[ 0.830566] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[ 0.836806] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[ 0.846755] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[ 0.855540] ti-sci-intr bus@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
[ 0.865699] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
[ 0.884615] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
[ 0.893333] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[ 0.903214] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[ 0.909973] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[ 0.918830] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[ 0.928968] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[ 0.935726] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[ 0.943350] omap8250 40a00000.serial: failed to get alias
[ 0.949255] printk: console [ttyS2] disabled
[ 0.953636] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 18, base_baud = 3000000) is a 8250
[ 0.962374] printk: console [ttyS2] enabled
[ 0.962374] printk: console [ttyS2] enabled
[ 0.970811] printk: bootconsole [ns16550a0] disabled
[ 0.970811] printk: bootconsole [ns16550a0] disabled
[ 0.981157] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 19, base_baud = 3000000) is a 8250
[ 0.989957] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 20, base_baud = 3000000) is a 8250
[ 0.998684] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
[ 1.007790] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
[ 1.017209] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
[ 1.024886] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
[ 1.034356] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[ 1.044875] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[ 1.055029] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[ 1.065267] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[ 1.075957] scsi host0: ufshcd
[ 1.118556] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 1.126201] libphy: 46000f00.mdio: probed
[ 1.131312] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[ 1.139576] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[ 1.152345] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[ 1.160806] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[ 1.169323] mmc0: CQHCI version 5.10
[ 1.211117] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
[ 1.219368] mmc1: CQHCI version 5.10
[ 1.306564] mmc0: Command Queue Engine enabled
[ 1.311000] mmc0: new HS200 MMC card at address 0001
[ 1.316194] mmcblk0: mmc0:0001 S0J57X 29.6 GiB
[ 1.320846] mmcblk0boot0: mmc0:0001 S0J57X partition 1 31.5 MiB
[ 1.326881] mmcblk0boot1: mmc0:0001 S0J57X partition 2 31.5 MiB
[ 1.332870] mmcblk0rpmb: mmc0:0001 S0J57X partition 3 4.00 MiB, chardev (240:0)
[ 1.341445] mmcblk0:
[ 1.486898] cdns-ufshcd 4e84000.ufs: link startup failed 1
[ 1.492377] cdns-ufshcd 4e84000.ufs: UFS Host state=0
[ 1.497415] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
[ 1.505052] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
[ 1.511478] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
[ 1.518335] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
[ 1.524931] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
[ 1.531269] cdns-ufshcd 4e84000.ufs: Clk gate=1
[ 1.535786] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
[ 1.543250] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
[ 1.550194] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
[ 1.556186] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
[ 1.568346] host_regs: 00000000: 1587031f 00000000 00000210 00000000
[ 1.574684] host_regs: 00000010: 00000000 00000000 00000000 00000000
[ 1.581023] host_regs: 00000020: 00000000 00000470 00000000 00000000
[ 1.587359] host_regs: 00000030: 00000008 00000001 00000000 00000000
[ 1.593698] host_regs: 00000040: 00000000 00000000 00000000 00000000
[ 1.600036] host_regs: 00000050: 00000000 00000000 00000000 00000000
[ 1.606374] host_regs: 00000060: 00000000 00000000 00000000 00000000
[ 1.612711] host_regs: 00000070: 00000000 00000000 00000000 00000000
[ 1.619050] host_regs: 00000080: 00000000 00000000 00000000 00000000
[ 1.625387] host_regs: 00000090: 00000000 00000000 00000000 00000000
[ 1.631725] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
[ 1.640230] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
[ 1.648820] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
[ 1.657151] cdns-ufshcd 4e84000.ufs: No record of pa_err errors
[ 1.663055] cdns-ufshcd 4e84000.ufs: No record of dl_err errors
[ 1.668958] cdns-ufshcd 4e84000.ufs: No record of nl_err errors
[ 1.674861] cdns-ufshcd 4e84000.ufs: No record of tl_err errors
[ 1.680765] cdns-ufshcd 4e84000.ufs: No record of dme_err errors
[ 1.686755] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err errors
[ 1.693527] cdns-ufshcd 4e84000.ufs: No record of fatal_err errors
[ 1.699693] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 1432350 us
[ 1.706810] cdns-ufshcd 4e84000.ufs: No record of resume_fail errors
[ 1.713148] cdns-ufshcd 4e84000.ufs: No record of suspend_fail errors
[ 1.719572] cdns-ufshcd 4e84000.ufs: No record of dev_reset errors
[ 1.725736] cdns-ufshcd 4e84000.ufs: No record of host_reset errors
[ 1.731987] cdns-ufshcd 4e84000.ufs: No record of task_abort errors
[ 1.738237] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
[ 1.744488] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
[ 1.750566] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
[ 2.288351] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit
[ 2.301165] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[ 2.307974] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[ 2.314824] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[ 2.321653] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[ 2.328461] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[ 2.361870] mmc1: new high speed SDHC card at address 59b4
[ 2.367710] mmcblk1: mmc1:59b4 SD32G 29.1 GiB
[ 2.376044] mmcblk1: p1 p2
[ 3.336578] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[ 3.344071] j721e-pcie 2900000.pcie: IO 0x10001000..0x10010fff -> 0x10001000
[ 3.351371] j721e-pcie 2900000.pcie: MEM 0x10011000..0x17ffffff -> 0x10011000
[ 3.358742] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[ 3.364997] pci_bus 0000:00: root bus resource [bus 00-0f]
[ 3.370470] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[ 3.379927] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[ 3.386799] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[ 3.392802] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 3.402435] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 3.412086] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
[ 3.421805] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[ 3.431532] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
[ 3.441253] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
[ 3.450999] pci 0000:00:00.0: supports D1
[ 3.454998] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 3.460730] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
[ 3.471937] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.479924] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[ 3.489643] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[ 3.499363] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[ 3.510388] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
[ 3.516996] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.522135] pcieport 0000:00:00.0: PME: Signaling with IRQ 483
[ 3.528090] pcieport 0000:00:00.0: AER: enabled with IRQ 483
[ 4.535379] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 4.542865] j721e-pcie 2910000.pcie: IO 0x18001000..0x18010fff -> 0x18001000
[ 4.550164] j721e-pcie 2910000.pcie: MEM 0x18011000..0x1fffffff -> 0x18011000
[ 4.557517] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[ 4.563771] pci_bus 0001:00: root bus resource [bus 00-0f]
[ 4.569244] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[ 4.578875] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[ 4.585743] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[ 4.591801] pci 0001:00:00.0: supports D1
[ 4.595799] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 4.602981] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.612267] pci_bus 0001:01: busn_res: [bus 01-0f] end is updated to 01
[ 4.618873] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 4.624009] pcieport 0001:00:00.0: PME: Signaling with IRQ 485
[ 4.629948] pcieport 0001:00:00.0: AER: enabled with IRQ 485
[ 5.637220] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
[ 5.644704] j721e-pcie 2920000.pcie: IO 0x4400001000..0x4400010fff -> 0x00001000
[ 5.652350] j721e-pcie 2920000.pcie: MEM 0x4400011000..0x4407ffffff -> 0x00011000
[ 5.660049] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
[ 5.666302] pci_bus 0002:00: root bus resource [bus 00-0f]
[ 5.671775] pci_bus 0002:00: root bus resource [io 0x20000-0x2ffff] (bus address [0x1000-0x10fff])
[ 5.680799] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
[ 5.691308] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
[ 5.697363] pci 0002:00:00.0: supports D1
[ 5.701361] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 5.708526] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 5.717831] pci_bus 0002:01: busn_res: [bus 01-0f] end is updated to 01
[ 5.724438] pci 0002:00:00.0: PCI bridge to [bus 01]
[ 5.729558] pcieport 0002:00:00.0: PME: Signaling with IRQ 487
[ 5.735496] pcieport 0002:00:00.0: AER: enabled with IRQ 487
[ 5.741749] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[ 5.751676] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
[ 5.764375] spi-nor spi0.0: mt35xu02g (262144 Kbytes)
[ 5.769432] 1 fixed-partitions partitions found on MTD device 47040000.spi.0
[ 5.776465] Creating 1 MTD partitions on "47040000.spi.0":
[ 5.781940] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
[ 5.826556] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 5.834202] libphy: 46000f00.mdio: probed
[ 5.839256] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[ 5.847518] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[ 5.861006] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[ 5.867876] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[ 5.875089] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[ 5.881382] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
[ 5.893012] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[ 5.900365] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[ 5.907679] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[ 5.915670] hctosys: unable to open rtc device (rtc0)
[ 5.927236] ALSA device list:
[ 5.930190] No soundcards found.
[ 5.933907] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 5.941406] Please append a correct "root=" boot option; here are the available partitions:
[ 5.949742] 0100 4096 ram0
[ 5.949742] (driver?)
[ 5.955829] 0101 4096 ram1
[ 5.955829] (driver?)
[ 5.961913] 0102 4096 ram2
[ 5.961914] (driver?)
[ 5.968002] 0103 4096 ram3
[ 5.968003] (driver?)
[ 5.974085] 0104 4096 ram4
[ 5.974086] (driver?)
[ 5.980171] 0105 4096 ram5
[ 5.980171] (driver?)
[ 5.986255] 0106 4096 ram6
[ 5.986256] (driver?)
[ 5.992341] 0107 4096 ram7
[ 5.992341] (driver?)
[ 5.998423] 0108 4096 ram8
[ 5.998423] (driver?)
[ 6.004510] 0109 4096 ram9
[ 6.004511] (driver?)
[ 6.010597] 010a 4096 ram10
[ 6.010597] (driver?)
[ 6.016768] 010b 4096 ram11
[ 6.016769] (driver?)
[ 6.022941] 010c 4096 ram12
[ 6.022941] (driver?)
[ 6.029110] 010d 4096 ram13
[ 6.029110] (driver?)
[ 6.035282] 010e 4096 ram14
[ 6.035282] (driver?)
[ 6.041452] 010f 4096 ram15
[ 6.041453] (driver?)
[ 6.047631] b300 31080448 mmcblk0
[ 6.047633] driver: mmcblk
[ 6.054413] b360 30534656 mmcblk1
[ 6.054414] driver: mmcblk
[ 6.061196] b361 131072 mmcblk1p1 af053970-01
[ 6.061197]
[ 6.067978] b362 15426048 mmcblk1p2 af053970-02
[ 6.067978]
[ 6.074759] 1f00 128 mtdblock0
[ 6.074760] (driver?)
[ 6.081276] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 6.089517] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.106 #1
[ 6.095504] Hardware name: Texas Instruments K3 J721E SoC (DT)
[ 6.101317] Call trace:
[ 6.103757] dump_backtrace+0x0/0x140
[ 6.107405] show_stack+0x14/0x20
[ 6.110707] dump_stack+0xb4/0x110
[ 6.114099] panic+0x158/0x324
[ 6.117141] mount_block_root+0x1d8/0x28c
[ 6.121134] mount_root+0x124/0x158
[ 6.124607] prepare_namespace+0x15c/0x1c0
[ 6.128688] kernel_init_freeable+0x210/0x23c
[ 6.133027] kernel_init+0x10/0xfc
[ 6.136415] ret_from_fork+0x10/0x1c
[ 6.139979] SMP: stopping secondary CPUs
[ 6.143888] Kernel Offset: disabled
[ 6.147362] CPU features: 0x0002,20006008
[ 6.151355] Memory Limit: none
[ 6.154400] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

  • Hi Pierre,

    Since you do not use U-Boot you will have to provide the bootargs in kernel dts. I am assuming you are having the rootfs in the MMC-SD card.

    So you will have the compile the Linux DTB with the below changes:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    index 56d987db4..85cf55820 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    @@ -14,7 +14,7 @@
    / {
    chosen {
    stdout-path = "serial2:115200n8";
    - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
    + bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
    };
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best Regards,
    Keerthy

  • Hi Keerthy:

    My SBL boot is ok now.

    Thanks for your help.