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: SBL Boot App with Linux hlos, Linux rootfs not found boot error

Part Number: TDA4VM

Tool/software:

Hi,

First of all, I know that there are some hazard things in my problem, but until this point everything worked well on my SK-TDA4VM board, I mean the PSL boot worked well using the EdgeAI linux and installing above this the RTOS linux with command: make linux_fs_install_sd. 

I want to boot my board using the SBL Boot App method. The PSDKLA is: ti-processor-sdk-linux-edgeai-j721e-evm-09_02_00_05, and the PSDKRA is: ti-processor-sdk-rtos-j721e-evm-09_02_00_05/sdk_builder. I have made modifications in the PSDKLA using this thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210640/faq-tda4vm-run-vision_apps-in-sbl-boot-flow-with-combined_appimage. The SBL boot works well when initializing all the remote cores except the A72 core. When the A72 linux tries to initialize occurs the following error:

NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
I/TC: 
I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 6.1.80-ti-g2e423244f8c0 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Mar 20 14:43:33 UTC 2024
[    0.000000] Machine model: Texas Instruments J721e EVM
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    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] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
[    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    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.4
[    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 3303328K/4194304K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 366688K 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 event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    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: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000880030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008391] Console: colour dummy device 80x25
[    0.012957] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023628] pid_max: default: 32768 minimum: 301
[    0.028362] LSM: Security Framework initializing
[    0.033135] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.040705] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.049465] cblist_init_generic: Setting adjustable number of callback queues.
[    0.056863] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.063124] cblist_init_generic: Setting adjustable number of callback queues.
[    0.070510] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.076812] rcu: Hierarchical SRCU implementation.
[    0.081710] rcu:     Max phase no-delay instances is 1000.
[    0.087216] Platform MSI: msi-controller@1820000 domain created
[    0.093451] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.102866] EFI services will not be available.
[    0.107596] smp: Bringing up secondary CPUs ...
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[    0.126568] Detected PIPT I-cache on CPU1
[    0.126627] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.126639] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.126668] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.126716] smp: Brought up 1 node, 2 CPUs
[    0.156058] SMP: Total of 2 processors activated.
[    0.160862] CPU features: detected: 32-bit EL0 Support
[    0.166116] CPU features: detected: CRC32 instructions
[    0.171390] CPU: All CPU(s) started at EL2
[    0.175571] alternatives: applying system-wide alternatives
[    0.182063] devtmpfs: initialized
[    0.191941] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.201923] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.216257] pinctrl core: initialized pinctrl subsystem
[    0.221914] DMI not present or invalid.
[    0.226161] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.232755] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.240058] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.248055] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.256175] audit: initializing netlink subsys (disabled)
[    0.261785] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
[    0.262000] thermal_sys: Registered thermal governor 'step_wise'
[    0.269705] thermal_sys: Registered thermal governor 'power_allocator'
[    0.275910] cpuidle: using governor menu
[    0.286647] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.293608] ASID allocator initialised with 32768 entries
[    0.308760] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
[    0.320456] KASLR enabled
[    0.325909] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.332852] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.339254] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.346187] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.352588] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.359521] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.365922] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.372855] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.379940] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.389220] iommu: Default domain type: Translated 
[    0.394207] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.400721] SCSI subsystem initialized
[    0.404703] usbcore: registered new interface driver usbfs
[    0.410324] usbcore: registered new interface driver hub
[    0.415761] usbcore: registered new device driver usb
[    0.421145] pps_core: LinuxPPS API ver. 1 registered
[    0.426215] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.435552] PTP clock support registered
[    0.439633] EDAC MC: Ver: 3.0.0
[    0.443333] FPGA manager framework
[    0.446840] Advanced Linux Sound Architecture Driver Initialized.
[    0.453430] clocksource: Switched to clocksource arch_sys_counter
[    0.459766] VFS: Disk quotas dquot_6.6.0
[    0.463797] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.473671] NET: Registered PF_INET protocol family
[    0.478866] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.487888] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.496649] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.504571] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.512777] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.521307] TCP: Hash tables configured (established 32768 bind 32768)
[    0.528078] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.534988] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.542417] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.548479] RPC: Registered named UNIX socket transport module.
[    0.554540] RPC: Registered udp transport module.
[    0.559342] RPC: Registered tcp transport module.
[    0.564145] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.570735] NET: Registered PF_XDP protocol family
[    0.575636] PCI: CLS 0 bytes, default 64
[    0.580000] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.589155] Initialise system trusted keyrings
[    0.593795] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.602299] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.608516] NFS: Registering the id_resolver key type
[    0.613700] Key type id_resolver registered
[    0.617971] Key type id_legacy registered
[    0.622086] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.628935] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.656209] Key type asymmetric registered
[    0.660393] Asymmetric key parser 'x509' registered
[    0.665398] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.673024] io scheduler mq-deadline registered
[    0.677656] io scheduler kyber registered
[    0.683950] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.690366] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.696995] pinctrl-single a40000.pinctrl: 512 pins, size 2048
[    0.706449] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
[    0.714844] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.723002] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.730087] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.737845] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.748708] loop: module loaded
[    0.752548] megasas: 07.719.03.00-rc1
[    0.757849] tun: Universal TUN/TAP device driver, 1.6
[    0.763410] VFIO - User Level meta-driver version: 0.3
[    0.769052] usbcore: registered new interface driver usb-storage
[    0.775510] i2c_dev: i2c /dev entries driver
[    0.780445] sdhci: Secure Digital Host Controller Interface driver
[    0.786766] sdhci: Copyright(c) Pierre Ossman
[    0.791356] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.797488] ledtrig-cpu: registered to indicate activity on CPUs
[    0.803720] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.810462] usbcore: registered new interface driver usbhid
[    0.816155] usbhid: USB HID core driver
[    0.820567] optee: probing for conduit method.
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
[    0.825125] optee: revision 4.1 (012cdca4)
[    0.841543] optee: dynamic shared memory is enabled
[    0.850924] optee: initialized driver
[    0.855854] Initializing XFRM netlink socket
[    0.860240] NET: Registered PF_PACKET protocol family
[    0.865444] Key type dns_resolver registered
[    0.869962] registered taskstats version 1
[    0.874162] Loading compiled-in X.509 certificates
[    0.884577] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
[    0.945858] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
[    0.952150] pca953x 1-0020: supply vcc not found, using dummy regulator
[    0.958972] pca953x 1-0020: using no AI
[    0.985476] pca953x 1-0020: failed writing register
[    0.990526] pca953x: probe of 1-0020 failed with error -121
[    0.996385] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.003188] pca953x 1-0022: using AI
[    1.006891] pca953x 1-0022: failed writing register
[    1.011926] pca953x: probe of 1-0022 failed with error -121
[    1.017653] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
[    1.023768] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
[    1.030526] omap_i2c 2020000.i2c: bus 3 rev0.12 at 400 kHz
[    1.036637] pca953x 4-0020: supply vcc not found, using dummy regulator
[    1.043463] pca953x 4-0020: using no AI
[    1.069475] pca953x 4-0020: failed writing register
[    1.074523] pca953x: probe of 4-0020 failed with error -121
[    1.080395] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz
[    1.086523] pca953x 5-0020: supply vcc not found, using dummy regulator
[    1.093341] pca953x 5-0020: using no AI
[    1.117476] pca953x 5-0020: failed writing register
[    1.122521] pca953x: probe of 5-0020 failed with error -121
[    1.128250] omap_i2c 2060000.i2c: bus 5 rev0.12 at 400 kHz
[    1.134022] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
[    1.142554] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
[    1.151879] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
[    1.160463] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.175855] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    1.185749] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    1.192508] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.201568] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    1.211711] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    1.218469] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.226375] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 194, base_baud = 6000000) is a 8250
[    1.235806] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 195, base_baud = 3000000) is a 8250
[    1.244653] printk: console [ttyS2] enabled
[    1.244653] printk: console [ttyS2] enabled
[    1.253096] printk: bootconsole [ns16550a0] disabled
[    1.253096] printk: bootconsole [ns16550a0] disabled
[    1.263479] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 196, base_baud = 3000000) is a 8250
[    1.272431] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 197, base_baud = 3000000) is a 8250
[    1.281388] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 198, base_baud = 3000000) is a 8250
[    1.291390] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    1.337436] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.346081] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    1.354352] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    1.367206] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    1.374414] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    1.380574] pps pps0: new PPS source ptp0
[    1.384694] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
[    1.394937] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    1.403688] mmc0: CQHCI version 5.10
[    1.448017] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    1.478776] vdd_ddr_1v1: Bringing 850000uV into 1100000-1100000uV
[    1.709068] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
[    1.715033] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
[    1.985681] pca953x 2-0020: supply vcc not found, using dummy regulator
[    1.992360] pca953x 2-0020: using no AI
[    2.017477] pca953x 2-0020: failed writing register
[    2.022414] pca953x: probe of 2-0020 failed with error -121
[    2.028308] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.035082] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.041856] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    2.048626] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    2.055377] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    2.068609] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.079196] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    2.092948] spi-nor: probe of spi0.0 failed with error -22
[    2.100395] spi-nor spi1.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.107612] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    2.153443] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.162115] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    2.170386] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    2.183245] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    2.190454] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    2.196592] pps pps0: new PPS source ptp1
[    2.200704] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
[    2.210872] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    2.222363] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.238027] ALSA device list:
[    2.240988]   No soundcards found.
[    2.244788] /dev/root: Can't open blockdev
[    2.248881] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    2.256346] Please append a correct "root=" boot option; here are the available partitions:
[    2.264686] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.272928] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.80-ti-g2e423244f8c0 #1
[    2.280304] Hardware name: Texas Instruments J721e EVM (DT)
[    2.285859] Call trace:
[    2.288293]  dump_backtrace.part.0+0xdc/0xf0
[    2.292557]  show_stack+0x18/0x30
[    2.295859]  dump_stack_lvl+0x68/0x84
[    2.299511]  dump_stack+0x18/0x34
[    2.302813]  panic+0x188/0x348
[    2.305854]  mount_block_root+0x188/0x23c
[    2.309851]  mount_root+0x208/0x248
[    2.313325]  prepare_namespace+0x130/0x170
[    2.317406]  kernel_init_freeable+0x258/0x284
[    2.321747]  kernel_init+0x24/0x130
[    2.325225]  ret_from_fork+0x10/0x20
[    2.328788] SMP: stopping secondary CPUs
[    2.332698] Kernel Offset: 0x80000 from 0xffff800008000000
[    2.338166] PHYS_OFFSET: 0x80000000
[    2.341640] CPU features: 0x40000,20128084,0000420b
[    2.346502] Memory Limit: none
[    2.349544] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
I/TC: 
I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 6.1.80-ti-g2e423244f8c0 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Mar 20 14:43:33 UTC 2024
[    0.000000] Machine model: Texas Instruments J721e EVM
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    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] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
[    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    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.4
[    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 3303328K/4194304K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 366688K 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 event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    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: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000880030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.008398] Console: colour dummy device 80x25
[    0.012964] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023634] pid_max: default: 32768 minimum: 301
[    0.028369] LSM: Security Framework initializing
[    0.033140] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.040711] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.049483] cblist_init_generic: Setting adjustable number of callback queues.
[    0.056881] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.063141] cblist_init_generic: Setting adjustable number of callback queues.
[    0.070527] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.076831] rcu: Hierarchical SRCU implementation.
[    0.081728] rcu:     Max phase no-delay instances is 1000.
[    0.087233] Platform MSI: msi-controller@1820000 domain created
[    0.093468] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.102881] EFI services will not be available.
[    0.107611] smp: Bringing up secondary CPUs ...
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[    0.126587] Detected PIPT I-cache on CPU1
[    0.126646] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.126658] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.126686] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.126735] smp: Brought up 1 node, 2 CPUs
[    0.156080] SMP: Total of 2 processors activated.
[    0.160884] CPU features: detected: 32-bit EL0 Support
[    0.166137] CPU features: detected: CRC32 instructions
[    0.171412] CPU: All CPU(s) started at EL2
[    0.175593] alternatives: applying system-wide alternatives
[    0.182095] devtmpfs: initialized
[    0.192022] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.202002] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.215806] pinctrl core: initialized pinctrl subsystem
[    0.221461] DMI not present or invalid.
[    0.225708] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.232311] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.239613] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.247609] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.255733] audit: initializing netlink subsys (disabled)
[    0.261345] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
[    0.261565] thermal_sys: Registered thermal governor 'step_wise'
[    0.269264] thermal_sys: Registered thermal governor 'power_allocator'
[    0.275473] cpuidle: using governor menu
[    0.286209] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.293172] ASID allocator initialised with 32768 entries
[    0.308322] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
[    0.320016] KASLR enabled
[    0.325463] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.332405] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.338806] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.345740] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.352141] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.359074] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.365475] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.372408] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.379494] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.388767] iommu: Default domain type: Translated 
[    0.393753] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.400268] SCSI subsystem initialized
[    0.404249] usbcore: registered new interface driver usbfs
[    0.409869] usbcore: registered new interface driver hub
[    0.415307] usbcore: registered new device driver usb
[    0.420684] pps_core: LinuxPPS API ver. 1 registered
[    0.425755] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.435092] PTP clock support registered
[    0.439174] EDAC MC: Ver: 3.0.0
[    0.442871] FPGA manager framework
[    0.446378] Advanced Linux Sound Architecture Driver Initialized.
[    0.452963] clocksource: Switched to clocksource arch_sys_counter
[    0.459300] VFS: Disk quotas dquot_6.6.0
[    0.463329] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.473195] NET: Registered PF_INET protocol family
[    0.478350] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.487362] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.496126] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.504047] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.512252] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.520786] TCP: Hash tables configured (established 32768 bind 32768)
[    0.527556] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.534467] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.541895] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.547956] RPC: Registered named UNIX socket transport module.
[    0.554017] RPC: Registered udp transport module.
[    0.558820] RPC: Registered tcp transport module.
[    0.563623] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.570213] NET: Registered PF_XDP protocol family
[    0.575114] PCI: CLS 0 bytes, default 64
[    0.579475] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.588602] Initialise system trusted keyrings
[    0.593242] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.601751] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.607971] NFS: Registering the id_resolver key type
[    0.613151] Key type id_resolver registered
[    0.617423] Key type id_legacy registered
[    0.621537] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.628386] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.655548] Key type asymmetric registered
[    0.659732] Asymmetric key parser 'x509' registered
[    0.664737] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.672362] io scheduler mq-deadline registered
[    0.676994] io scheduler kyber registered
[    0.683255] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.689670] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.696298] pinctrl-single a40000.pinctrl: 512 pins, size 2048
[    0.705704] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
[    0.714033] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.722190] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.729286] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.737059] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.747914] loop: module loaded
[    0.751748] megasas: 07.719.03.00-rc1
[    0.757049] tun: Universal TUN/TAP device driver, 1.6
[    0.762614] VFIO - User Level meta-driver version: 0.3
[    0.768256] usbcore: registered new interface driver usb-storage
[    0.774707] i2c_dev: i2c /dev entries driver
[    0.779629] sdhci: Secure Digital Host Controller Interface driver
[    0.785948] sdhci: Copyright(c) Pierre Ossman
[    0.790534] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.796643] ledtrig-cpu: registered to indicate activity on CPUs
[    0.802879] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.809622] usbcore: registered new interface driver usbhid
[    0.815316] usbhid: USB HID core driver
[    0.819724] optee: probing for conduit method.
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are disabled
[    0.824281] optee: revision 4.1 (012cdca4)
[    0.840697] optee: dynamic shared memory is enabled
[    0.850077] optee: initialized driver
[    0.855009] Initializing XFRM netlink socket
[    0.859394] NET: Registered PF_PACKET protocol family
[    0.864592] Key type dns_resolver registered
[    0.869121] registered taskstats version 1
[    0.873320] Loading compiled-in X.509 certificates
[    0.883752] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
[    0.945298] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
[    0.951591] pca953x 1-0020: supply vcc not found, using dummy regulator
[    0.958413] pca953x 1-0020: using no AI
[    0.985010] pca953x 1-0020: failed writing register
[    0.990059] pca953x: probe of 1-0020 failed with error -121
[    0.995916] pca953x 1-0022: supply vcc not found, using dummy regulator
[    1.002723] pca953x 1-0022: using AI
[    1.006426] pca953x 1-0022: failed writing register
[    1.011460] pca953x: probe of 1-0022 failed with error -121
[    1.017185] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
[    1.023304] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
[    1.030045] omap_i2c 2020000.i2c: bus 3 rev0.12 at 400 kHz
[    1.036152] pca953x 4-0020: supply vcc not found, using dummy regulator
[    1.042978] pca953x 4-0020: using no AI
[    1.069009] pca953x 4-0020: failed writing register
[    1.074056] pca953x: probe of 4-0020 failed with error -121
[    1.079926] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz
[    1.086048] pca953x 5-0020: supply vcc not found, using dummy regulator
[    1.092865] pca953x 5-0020: using no AI
[    1.117010] pca953x 5-0020: failed writing register
[    1.122054] pca953x: probe of 5-0020 failed with error -121
[    1.127784] omap_i2c 2060000.i2c: bus 5 rev0.12 at 400 kHz
[    1.133559] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
[    1.142090] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
[    1.151414] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
[    1.159994] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.175376] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    1.185269] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    1.192028] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.201067] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    1.211211] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    1.217969] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.225877] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 194, base_baud = 6000000) is a 8250
[    1.235312] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 195, base_baud = 3000000) is a 8250
[    1.244159] printk: console [ttyS2] enabled
[    1.244159] printk: console [ttyS2] enabled
[    1.252602] printk: bootconsole [ns16550a0] disabled
[    1.252602] printk: bootconsole [ns16550a0] disabled
[    1.262984] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 196, base_baud = 3000000) is a 8250
[    1.271932] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 197, base_baud = 3000000) is a 8250
[    1.280880] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 198, base_baud = 3000000) is a 8250
[    1.290876] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    1.336970] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.345615] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    1.353887] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    1.366740] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    1.373948] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    1.380111] pps pps0: new PPS source ptp0
[    1.384231] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
[    1.394462] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    1.403213] mmc0: CQHCI version 5.10
[    1.447528] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    1.470870] vdd_ddr_1v1: Bringing 850000uV into 1100000-1100000uV
[    1.701129] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
[    1.707093] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
[    1.977910] pca953x 2-0020: supply vcc not found, using dummy regulator
[    1.984583] pca953x 2-0020: using no AI
[    2.009012] pca953x 2-0020: failed writing register
[    2.013947] pca953x: probe of 2-0020 failed with error -121
[    2.019847] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.026628] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.033405] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    2.040177] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    2.046927] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    2.060155] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.070728] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    2.084439] spi-nor: probe of spi0.0 failed with error -22
[    2.091919] spi-nor spi1.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.099151] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    2.144970] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.153632] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    2.161903] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    2.174762] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    2.181968] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    2.188109] pps pps0: new PPS source ptp1
[    2.192219] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
[    2.202386] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    2.213901] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.229574] ALSA device list:
[    2.232536]   No soundcards found.
[    2.236345] /dev/root: Can't open blockdev
[    2.240438] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    2.247901] Please append a correct "root=" boot option; here are the available partitions:
[    2.256240] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.264483] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.80-ti-g2e423244f8c0 #1
[    2.271859] Hardware name: Texas Instruments J721e EVM (DT)
[    2.277414] Call trace:
[    2.279847]  dump_backtrace.part.0+0xdc/0xf0
[    2.284114]  show_stack+0x18/0x30
[    2.287417]  dump_stack_lvl+0x68/0x84
[    2.291069]  dump_stack+0x18/0x34
[    2.294370]  panic+0x188/0x348
[    2.297413]  mount_block_root+0x188/0x23c
[    2.301410]  mount_root+0x208/0x248
[    2.304885]  prepare_namespace+0x130/0x170
[    2.308966]  kernel_init_freeable+0x258/0x284
[    2.313307]  kernel_init+0x24/0x130
[    2.316783]  ret_from_fork+0x10/0x20
[    2.320346] SMP: stopping secondary CPUs
[    2.324256] Kernel Offset: 0x80000 from 0xffff800008000000
[    2.329723] PHYS_OFFSET: 0x80000000
[    2.333198] CPU features: 0x40000,20128084,0000420b
[    2.338060] Memory Limit: none
[    2.341102] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Please don't take into consideration the fact that I am trying to merge the two packages only, just can we focus on the problem that the A72 linux boot doesn't find the rootfs path.

Regards,
Tamas

  • Hi Tamas,

    The error says "Please append a correct "root=" boot option"

    May I know which device tree are you using as tidtb.appimage?

    Regards,

    Nikhil

  • Hi Nikhil,

    I am using the k3-j721e-common-proc-board.dts, where I have made the following modifications:

    bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";

    , and now the error is:

    [    2.574317] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.582266] /dev/root: Can't open blockdev
    [    2.586363] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [    2.593827] Please append a correct "root=" boot option; here are the available partitions:
    [    2.602168] 1f00             512 mtdblock0 
    [    2.602171]  (driver?)
    [    2.608690] 1f01            2048 mtdblock1 
    [    2.608693]  (driver?)
    [    2.615208] 1f02            4096 mtdblock2 
    [    2.615211]  (driver?)
    [    2.621727] 1f03             256 mtdblock3 
    [    2.621729]  (driver?)
    [    2.628246] 1f04            1024 mtdblock4 
    [    2.628248]  (driver?)
    [    2.629503] sdhci-am654 4fb0000.mmc: No passing ITAPDLY, return 0
    [    2.632418] 1f05             256 mtdblock5 
    [    2.632420]  (driver?)
    [    2.632422] 1f06           57088 mtdblock6 
    [    2.634801] mmc1: new ultra high speed DDR50 SDHC card at address 0001
    [    2.640844]  (driver?)
    [    2.640847] 1f07             256 mtdblock7 
    [    2.645377] mmcblk1: mmc1:0001 SD16G 14.5 GiB 
    [    2.647360]  (driver?)
    [    2.647364] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    2.647369] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.80-gce17f0e2e45a #2
    

    Regards,
    Tamas

  • Hi Tamas,

    If you have added "root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait" in the device tree, then it should not have failed here. 
    Could you let me know how did you create the tidtb_linux.appimage from this device tree?

    Which tool did you use?

    Regards,

    Nikhil

  • Hi Nikhil,

    I am using the ./constructappimageshlos.sh under the path: ti-processor-sdk-rtos-j721e-evm-09_02_00_05/mcusw/mcuss_demos/boot_app_mcu_rtos/main_domain_apps/scripts/hlos. The appimages are created here: ti-processor-sdk-rtos-j721e-evm-09_02_00_05/mcusw/mcuss_demos/boot_app_mcu_rtos/main_domain_apps/binary/bin/j721e_evm/ . After this the generated atf_optee, tidtb_linux and tikernelimage_linux are copied to the SD card.

    Regards,
    Tamas

  • Hi Tamas,

    The constructappimageshlos.sh by defaults takes the dtb as base-board.dtb from the Linux prebuilds. 

    Could you please confirm if you have changed the path for it to take your built .dtb or atleast copy your built .dtb to the prebuild path and rename the same as base-board.dtb before executing the script?

    Regards,

    Nikhil

  • Hi Nikhil,

    I forgot to wrote down, yes I had changed  the path: 

    LINUX_BUILD_DIR_PATH=/home/${USER}/ti/ti-processor-sdk-linux-edgeai-j721e-evm-09_02_00_05/board-support/prebuilt-images.
    And before constructing the app images with ./constructappimageshlos.sh I copy manually the Image and k3-j721e-common-proc-board.dtb to prebuilt-images directory. (k3-j721e-common-proc-board.dtb is renamed to base-board.dtb)
    Regards,
    Tamas
  • Hi Tamas,

    We have prebuild appimages in the filepath pdk/packages/ti/boot/sbl/tools/BootApp_binaries/linux

    Could you please try using this and check if you are facing the same issue?

    Regards,

    Nikhil

  • Hi Nikhil,

    I have tried with these appimages, but unfortunatelly after this code the board is constantly rebooting. 

    [    2.036800] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    2.045634] mmc0: CQHCI version 5.10
    [    2.087267] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.101121] vdd_mcu_0v85: Bringing 3300000uV into 850000-850000uV
    

    Previously I had this problem. 

    Regards,
    Tamas

  • Hi, 

    I think that I found some issue here. Even though I made modifications and built the device tree, when the kernel initializes the following prompt is printed: Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 

    My question: What should I rebuild after my modifications in the device tree?

    Regards,
    Tamas

  • Hi,

    I have new updates. I have found that the newely builded Image and .dtb were only builded under the ti-linux kernel directory. After copying it and passing throught the pipeline the following errors appeared:

    [    2.563961] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.571554] Waiting for root device /dev/mmcblk1p2...
    [    2.624692] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    2.631571] mmcblk1: mmc1:aaaa SL32G 29.7 GiB 
    [    2.640449]  mmcblk1: p1 p2
    [    2.655402] VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,2): error -2
    [    2.663310] Please append a correct "root=" boot option; here are the available partitions:
    [    2.671648] 1f00             512 mtdblock0 
    [    2.671653]  (driver?)
    [    2.678168] 1f01            2048 mtdblock1 
    [    2.678171]  (driver?)
    [    2.684692] 1f02            4096 mtdblock2 
    [    2.684695]  (driver?)
    [    2.691209] 1f03             256 mtdblock3 
    [    2.691211]  (driver?)
    [    2.697728] 1f04            1024 mtdblock4 
    [    2.697730]  (driver?)
    [    2.704246] 1f05             256 mtdblock5 
    [    2.704249]  (driver?)
    [    2.710762] 1f06           57088 mtdblock6 
    [    2.710765]  (driver?)
    [    2.717284] 1f07             256 mtdblock7 
    [    2.717286]  (driver?)
    [    2.723804] b300        31166976 mmcblk1 
    [    2.723807]  driver: mmcblk
    [    2.730582]   b301          131072 mmcblk1p1 265a7b9c-01
    [    2.730585] 
    [    2.737359]   b302        31034880 mmcblk1p2 265a7b9c-02
    [    2.737362] 
    [    2.744140] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
    [    2.752557] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.80-g4b05e9f83998-dirty #1
    

    I have guaranteed full access inside the rootfs directory (chmod 777 *) but this error still exists.

    Any advice on this?

    Regards,
    Tamas

  • Hi Tamas,

    It seems that it has still not able to get the root from the device tree from the below error 

    Please append a correct "root="

    Could you please provide the full logs in this case?

    Regards,

    Nikhil

  • Hi Nikhil,

    I found my problem: I made modifications in the do_mounts.c file and because of this It couldn't load the root directory.

    New updates: Now works! The problem was, that I didn't check if the newely builded images and files are correctly copied in the build directories. 

    I see that I will have other problems in the future, but at the moment I reached my goal: Booting the linux using the SBL Boot App on SK-TAD4VM

    Thanks for help!

    Regards,
    Tamas