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: Failed to boot TDA4VM from eMMC UDA partition using SBL in SDK 8.4

Part Number: TDA4VM


Hi TI Expert
I am trying to boot from eMMC UDA partition using SBL.

Boot Flow:tiboot3(SBL)-> can_boot_app_mcu_rtos(MCU1_0) -> lateapp1
                                                                                                 -> lateapp2
                                                                                                 -> atf_optee.appimage
                                                                                                 -> tikernelimage_linux.appimage
                                                                                                 -> tidtb_linux.appimage

When booting to the Linux kernel, kernel dump occurred:

NOTICE:  BL31: v2.6(release):v2.7-rc0-dirty
NOTICE:  BL31: Built : 09:18:58, Aug 30 2022
I/TC:
I/TC: OP-TEE version: 3.17.0-125-g15a746d28 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue Aug 30 09:19:19 UTC 2022 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: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
I/TC: HUK Initialized
I/TC: Activated SA2UL 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 5.10.120 (db2@TDA4) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Jun 30 16:31:40 CST 2023
[    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] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, 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 vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, 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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-c66-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 vision-apps-c66-memory@a8100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a9000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a9100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 79 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 96 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b2000000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 192 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 624 MiB
[    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, 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-0x00000000aeffffff]
[    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]
[    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]
[    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
[    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000e5ffffff]
[    0.000000]   node   0: [mem 0x00000000e6000000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-0x00000008a6ffffff]
[    0.000000]   node   0: [mem 0x00000008a7000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[    0.000000] cma: Reserved 400 MiB at 0x00000000e7000000
[    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.2
[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
[    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] 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 errata 1165522, 1319367, or 1530923
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
[    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: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB)
[    0.000000] Memory: 1828072K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 1956632K reserved, 409600K 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] 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: 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 @8a7800000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000008a7030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7040000
[    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.000003] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[    0.010478] Console: colour dummy device 80x25
[    0.016184] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.029522] pid_max: default: 32768 minimum: 301
[    0.035469] LSM: Security Framework initializing
[    0.041417] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.050890] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.061886] rcu: Hierarchical SRCU implementation.
[    0.068198] Platform MSI: msi-controller@1820000 domain created
[    0.075975] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.087593] EFI services will not be available.
[    0.093502] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[    0.109995] Detected PIPT I-cache on CPU1
[    0.110024] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.110038] GICv3: CPU1: using allocated LPI pending table @0x00000008a7050000
[    0.110080] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.110142] smp: Brought up 1 node, 2 CPUs
[    0.146823] SMP: Total of 2 processors activated.
[    0.152830] CPU features: detected: 32-bit EL0 Support
[    0.159398] CPU features: detected: CRC32 instructions
[    0.176697] CPU: All CPU(s) started at EL2
[    0.181943] alternatives: patching kernel code
[    0.188296] devtmpfs: initialized
[    0.198702] KASLR disabled due to lack of seed
[    0.204515] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.216970] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.232106] pinctrl core: initialized pinctrl subsystem
[    0.239174] DMI not present or invalid.
[    0.244488] NET: Registered protocol family 16
[    0.251030] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.260175] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.270248] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.280621] thermal_sys: Registered thermal governor 'step_wise'
[    0.280624] thermal_sys: Registered thermal governor 'power_allocator'
[    0.288805] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.305849] ASID allocator initialised with 32768 entries
[    0.328001] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.336572] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.345130] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.353690] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.363021] cryptd: max_cpu_qlen set to 1000
[    0.370514] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.381495] vsys_3v3: supplied by evm_12v0
[    0.386953] vsys_5v0: supplied by evm_12v0
[    0.392607] iommu: Default domain type: Translated
[    0.399066] SCSI subsystem initialized
[    0.404168] mc: Linux media interface: v0.10
[    0.409638] videodev: Linux video capture interface: v2.00
[    0.416686] pps_core: LinuxPPS API ver. 1 registered
[    0.423024] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.434700] PTP clock support registered
[    0.439725] EDAC MC: Ver: 3.0.0
[    0.444392] FPGA manager framework
[    0.448776] Advanced Linux Sound Architecture Driver Initialized.
[    0.457023] clocksource: Switched to clocksource arch_sys_counter
[    0.464931] VFS: Disk quotas dquot_6.6.0
[    0.469973] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.481964] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
[    0.489824] NET: Registered protocol family 2
[    0.495745] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.506448] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.517411] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.527662] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.537431] TCP: Hash tables configured (established 32768 bind 32768)
[    0.545913] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.554526] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.563783] NET: Registered protocol family 1
[    0.569695] RPC: Registered named UNIX socket transport module.
[    0.577279] RPC: Registered udp transport module.
[    0.583284] RPC: Registered tcp transport module.
[    0.589288] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.597518] PCI: CLS 0 bytes, default 64
[    0.602946] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.615819] Initialise system trusted keyrings
[    0.621640] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.631799] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.639565] NFS: Registering the id_resolver key type
[    0.646058] Key type id_resolver registered
[    0.651397] Key type id_legacy registered
[    0.656543] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.665103] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.674661] 9p: Installing v9fs 9p2000 file system support
[    0.705779] Key type asymmetric registered
[    0.711012] Asymmetric key parser 'x509' registered
[    0.717267] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.726716] io scheduler mq-deadline registered
[    0.732498] io scheduler kyber registered
[    0.739166] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.746886] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.755262] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
[    0.764854] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
[    0.775206] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
[    0.785552] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    0.796159] j721e-pcie 2930000.pcie: Failed to init phy
[    0.804814] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.812662] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.822391] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.832407] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.842763] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.851627] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.862391] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.877980] brd: module loaded
[    0.886117] loop: module loaded
[    0.890851] megasas: 07.714.04.00-rc1
[    0.897535] tun: Universal TUN/TAP device driver, 1.6
[    0.904262] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.912270] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.919856] sky2: driver version 1.30
[    0.925105] VFIO - User Level meta-driver version: 0.3
[    0.932244] i2c /dev entries driver
[    0.937459] sdhci: Secure Digital Host Controller Interface driver
[    0.945355] sdhci: Copyright(c) Pierre Ossman
[    0.951105] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.958900] ledtrig-cpu: registered to indicate activity on CPUs
[    0.966771] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.975723] optee: probing for conduit method.
[    0.981447] optee: revision 3.17 (15a746d2)
[    0.981608] optee: dynamic shared memory is enabled
E/TC:0 0 std_entry_with_parg:234 Bad arg address 0x8a8523000
[    1.000116] optee: initialized driver
[    1.006073] NET: Registered protocol family 17
[    1.011848] 9pnet: Installing 9P2000 support
[    1.017340] Key type dns_resolver registered
[    1.022900] Loading compiled-in X.509 certificates
[    1.034137] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
[    1.043725] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
[    1.054077] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
[    1.064423] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    1.075014] j721e-pcie 2930000.pcie: Failed to init phy
[    1.082228] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    1.090136] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    1.099781] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
[    1.142276] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    1.149882] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    1.157460] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    1.165036] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    1.172525] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
[    1.180012] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
[    1.187456] omap_i2c 2040000.i2c: bus 6 rev0.12 at 100 kHz
[    1.194876] omap_i2c 2050000.i2c: bus 7 rev0.12 at 100 kHz
[    1.202879] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    1.215319] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[    1.226303] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
[    1.238592] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.257091] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
[    1.266675] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
[    1.277032] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
[    1.287378] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    2.300428] j721e-pcie 2930000.pcie: PCI host bridge to bus 0000:00
[    2.308449] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.315456] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1000-0x10fff])
[    2.326792] pci_bus 0000:00: root bus resource [mem 0x4410011000-0x4417ffffff] (bus address [0x00011000-0x07ffffff])
[    2.340267] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[    2.347940] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.360354] pci 0000:00:00.0: supports D1
[    2.365474] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.375008] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.387165] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.395626] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.402244] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
[    2.410723] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    2.423076] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    2.431533] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    2.442760] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    2.455443] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    2.463891] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    2.473772] printk: console [ttyS2] disabled
[    2.479267] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
[    2.490199] printk: console [ttyS2] enabled
[    2.490199] printk: console [ttyS2] enabled
[    2.500745] printk: bootconsole [ns16550a0] disabled
[    2.500745] printk: bootconsole [ns16550a0] disabled
[    2.513859] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 26, base_baud = 3000000) is a 8250
[    2.525039] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 27, base_baud = 3000000) is a 8250
[    2.536966] am65-cpsw-nuss: probe of 46000000.ethernet failed with error -2
[    2.546497] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:250000000, add_val:3 pps:0
[    2.658270] mmc0: CQHCI version 5.10
[    2.658345] mmc1: CQHCI version 5.10
[    2.673631] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.682135] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.690623] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    2.698738] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    2.699111] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    2.716643] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    2.725589] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    2.738747] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    2.755813] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
[    2.772293] ALSA device list:
[    2.775998]   No soundcards found.
[    2.826222] mmc0: Command Queue Engine enabled
[    2.831772] mmc0: new HS200 MMC card at address 0001
[    2.838348] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
[    2.844102] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
[    2.851578] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
[    2.859058] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
[    2.868944]  mmcblk0: p1 p2
[    4.183084] sdhci-am654 4fb0000.mmc: Power on failed
[    4.219921] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    4.231699] mmc0: running CQE recovery
[    4.236607] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040
[    4.247574] Mem abort info:
[    4.251060]   ESR = 0x96000004
[    4.254871]   EC = 0x25: DABT (current EL), IL = 32 bits
[    4.261499]   SET = 0, FnV = 0
[    4.265308]   EA = 0, S1PTW = 0
[    4.269223] Data abort info:
[    4.272807]   ISV = 0, ISS = 0x00000004
[    4.277587]   CM = 0, WnR = 0
[    4.281284] [0000000000000040] user address but active_mm is swapper
[    4.289209] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[    4.296151] Modules linked in:
[    4.299958] CPU: 0 PID: 68 Comm: kworker/0:1H Not tainted 5.10.120 #1
[    4.307983] Hardware name: Texas Instruments K3 J721E SoC (DT)
[    4.315267] Workqueue: kblockd blk_mq_run_work_fn
[    4.321130] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
[    4.328617] pc : __blk_rq_map_sg+0x80/0x500
[    4.333830] lr : mmc_queue_map_sg+0x3c/0x60
[    4.339039] sp : ffff8000120239e0
[    4.343163] x29: ffff8000120239e0 x28: ffff000828b62000
[    4.349783] x27: 0000000000000000 x26: ffff800012023ab0
[    4.356402] x25: 0000000000000001 x24: ffff000828b82000
[    4.363023] x23: ffff000828b4b700 x22: 000000000000f30a
[    4.369642] x21: 0000000000000004 x20: ffff0008280e3dc0
[    4.376262] x19: 0000000000001000 x18: 0000000000000010
[    4.382880] x17: 00000000a914a777 x16: 00000000cf586d9b
[    4.389499] x15: 0000000000000000 x14: 00000000ffffffff
[    4.396118] x13: 00000008ffffffff x12: 0000000000000001
[    4.402738] x11: fffffe002082e000 x10: 0000000000010000
[    4.409357] x9 : 0000000000000004 x8 : ffff000828b4b980
[    4.415975] x7 : 0000000000000001 x6 : 0000000000000000
[    4.422594] x5 : 0000000000000200 x4 : 0000000000000000
[    4.429213] x3 : ffff800012023ab0 x2 : 0000000000000040
[    4.435832] x1 : fffffe002082e000 x0 : 0000000000000040
[    4.442451] Call trace:
[    4.445495]  __blk_rq_map_sg+0x80/0x500
[    4.450270]  mmc_queue_map_sg+0x3c/0x60
[    4.455050]  mmc_blk_data_prep+0x1a0/0x338
[    4.460151]  mmc_blk_mq_issue_rq+0x470/0x898
[    4.465468]  mmc_mq_queue_rq+0x118/0x2b0
[    4.470353]  blk_mq_dispatch_rq_list+0x104/0x750
[    4.476105]  __blk_mq_sched_dispatch_requests+0xd4/0x1a0
[    4.482725]  blk_mq_sched_dispatch_requests+0x38/0x78
[    4.489018]  __blk_mq_run_hw_queue+0xac/0x128
[    4.494444]  blk_mq_run_work_fn+0x20/0x30
[    4.499441]  process_one_work+0x1a0/0x328
[    4.504433]  worker_thread+0x4c/0x420
[    4.508992]  kthread+0x140/0x160
[    4.513011]  ret_from_fork+0x10/0x34
[    4.517466] Code: f9403704 d37c7ea0 2a1503e9 8b000082 (f860688b)
[    4.525060] ---[ end trace cf493a1534176124 ]---

SDK version:
    ti-processor-sdk-rtos-j721e-evm-08_04_00_06
    ti-processor-sdk-linux-j7-evm-08_04_00_11
System:Linux + RTOS
Hardware: custom board

My Steps:
Build SBL image:
cd $PSDKRA/pdk_jacinto_08_04_00_21/packages/ti/build/
make BOARD=j721e_evm SOC=j721e CORE=mcu1_0 BUILD_PROFILE=release pdk_libs_clean
make BOARD=j721e_evm SOC=j721e CORE=mcu1_0 BUILD_PROFILE=release DISABLE_RECURSE_DEPS=no sbl_emmc_img_clean
make BOARD=j721e_evm SOC=j721e CORE=mcu1_0 BUILD_PROFILE=release pdk_libs
make BOARD=j721e_evm SOC=j721e CORE=mcu1_0 BUILD_PROFILE=release DISABLE_RECURSE_DEPS=no sbl_emmc_img
Images:
    $(PSDKRA)/pdk_jacinto_08_04_00_21/packages/ti/boot/sbl/binary/j721e_evm/emmc/bin/sbl_emmc_img_mcu1_0_release.tiimage

Build Can Boot app:
Modify $PSDKRA/mcusw/mcuss_demos/boot_app_mcu_rtos/makefile(mark in red)
ifeq ($(BOOTMODE), mmcsd)
    ifeq ($(DEVICETYPE), GP)
        COMP_LIST_COMMON += mmcsd sbl_lib_emmc fatfs_indp udma
    endif
    ifeq ($(DEVICETYPE), HS)
        COMP_LIST_COMMON += mmcsd sbl_lib_mmcsd_hs fatfs_indp udma
    endif

    EXT_LIB_LIST_COMMON += $(udma_LIBPATH)/$(SOC)/$(CORE)/$(BUILD_PROFILE)/$(udma_LIBNAME).$(LIBEXT)

    # Required for sbl
    ifeq ($(DEVICETYPE), GP)
        EXT_LIB_LIST_COMMON += $(sbl_lib_emmc_LIBPATH)/$(BOARD)/$(ISA_EXT)/$(BUILD_PROFILE_$(CORE))/$(sbl_lib_emmc_LIBNAME).$(LIBEXT)
    endif
    ifeq ($(DEVICETYPE), HS)
        EXT_LIB_LIST_COMMON += $(sbl_lib_mmcsd_hs_LIBPATH)/$(BOARD)/$(ISA_EXT)/$(BUILD_PROFILE_$(CORE))/$(sbl_lib_mmcsd_hs_LIBNAME).$(LIBEXT)
    endif
    EXT_LIB_LIST_COMMON += $(fatfs_indp_LIBPATH)/$(ISA_EXT)/$(BUILD_PROFILE_$(CORE))/$(fatfs_indp_LIBNAME).$(LIBEXT)
    EXT_LIB_LIST_COMMON += $(mmcsd_LIBPATH)/$(SOC)/$(ISA_EXT)/$(BUILD_PROFILE_$(CORE))/$(mmcsd_LIBNAME).$(LIBEXT)
endif

cd $PSDKRA/vision_apps
make sbl_mcusw_bootimage_sd
Images:
    $(PSDKRA/vision_apps/out/sbl_bootfiles/app

Convert images format for A72:
    cd $PSDKRA/mcusw/mcuss_demos/boot_app_mcu_rtos/main_domain_apps/scripts/hlos/
    ./constructappimageshlos.sh j721e_evm
Images:
    atf_optee.appimage
    tidtb_linux.appimage
    tikernelimage_linux.appimage

Packaging images for MCU2_0/1 C66_0/1 and C71:
make -C $PSDKRA/vision_apps sbl_vision_apps_bootimage
Images:
$PSDKRA/vision_apps/out/sbl_bootfiles/lateapp1
$PSDKRA/vision_apps/out/sbl_bootfiles/lateapp2

Booting from SD card, copy and rename above image to the eMMC UDA FAT boot partition(/dev/mmcblk0p1):
tiboot3.bin
tifs.bin
app
lateapp1
lateapp2
atf_optee.appimage
tikernelimage_linux.appimage
tidtb_linux.appimage

Change the boot mode to emmc(user): Compared to SD boot, only BOOTMODE[6] 1 -> 0 has been changed.
and unplug SD card.




  • Hi,

    Looks like you are running vision apps, please checkout the FAQ https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210640/faq-tda4vm-run-vision_apps-in-sbl-boot-flow-with-combined_appimage and make sure all the Linux side changes are taken care of.

    Regards,
    Parth

  • Hi Parth
    Thank you for your reply.

    I followed this FAQ, I have booted Linux from eMMC UDA using the SBL combined app.
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210640/faq-tda4vm-run-vision_apps-in-sbl-boot-flow-with-combined_appimage

    But can_boot_app boot flow still has the same problem,and error log is same:
    Boot Flow:tiboot3(SBL)-> can_boot_app_mcu_rtos(MCU1_0) -> lateapp1
                                                                                                     -> lateapp2
                                                                                                     -> atf_optee.appimage
                                                                                                     -> tikernelimage_linux.appimage
                                                                                                     -> tidtb_linux.appimage

    1.In can_boot_app boot flow, using the same dtb in SBL combined app boot flow
    So I think all changes on the Linux side have been taken care of.

    2.I can successfully boot from OSPI using can_boot_app boot flow(using same custom board)

    From the log, eMMC has been detected in Linux, dump occurred after the this log "[    3.006957] mmc0: running CQE recovery"

    [    1.572846] mmc0: Command Queue Engine enabled
    [    1.578397] mmc0: new HS200 MMC card at address 0001
    [    1.584968] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    1.590726] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    1.598204] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    1.605680] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
    [    1.615542]  mmcblk0: p1 p2
    [    2.930503] sdhci-am654 4fb0000.mmc: Power on failed
    [    2.967343] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.981493] EXT4-fs (mmcblk0p2): recovery complete
    [    2.987517] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.997652] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.006957] mmc0: running CQE recovery
    [    3.011861] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040
    [    3.022824] Mem abort info:
    [    3.026305]   ESR = 0x96000004
    [    3.030113]   EC = 0x25: DABT (current EL), IL = 32 bits
    [    3.036736]   SET = 0, FnV = 0
    [    3.040541]   EA = 0, S1PTW = 0
    [    3.044454] Data abort info:
    [    3.048038]   ISV = 0, ISS = 0x00000004
    [    3.052818]   CM = 0, WnR = 0
    [    3.056515] [0000000000000040] user address but active_mm is swapper
    [    3.064441] Internal error: Oops: 96000004 [#1] PREEMPT SMP
    [    3.071384] Modules linked in:
    [    3.075192] CPU: 0 PID: 68 Comm: kworker/0:1H Not tainted 5.10.120 #1
    [    3.083218] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [    3.090502] Workqueue: kblockd blk_mq_run_work_fn
    [    3.096365] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
    [    3.103850] pc : __blk_rq_map_sg+0x80/0x500
    [    3.109060] lr : __blk_rq_map_sg+0xd4/0x500
    [    3.114268] sp : ffff8000120239e0
    [    3.118393] x29: ffff8000120239e0 x28: ffff000828b2f000
    [    3.125014] x27: 0000000000000000 x26: ffff800012023ab0
    [    3.131635] x25: 0000000000000002 x24: ffff000828bee000
    [    3.138255] x23: ffff000828b382c0 x22: 000000000001f30a
    [    3.144875] x21: 0000000000000004 x20: ffff0008280e3dc0
    [    3.151495] x19: 0000000000001000 x18: 0000000000000010
    [    3.158115] x17: 00000000447b6cd7 x16: 000000002cface5b
    [    3.164735] x15: 0000112fa8f514a0 x14: 00000000ffffffff
    [    3.171354] x13: 00000008ffffffff x12: 0000000000000001
    [    3.177974] x11: fffffe002082fb00 x10: 000000000000f000
    [    3.184594] x9 : 0000000000000004 x8 : ffff000828b38540
    [    3.191214] x7 : 0000000000000001 x6 : 0000000000000000
    [    3.197834] x5 : 0000000000000200 x4 : 0000000000000000
    [    3.204452] x3 : ffff800012023ab0 x2 : 0000000000000040
    [    3.211072] x1 : fffffe002082fb00 x0 : 0000000000000040
    [    3.217693] Call trace:
    [    3.220736]  __blk_rq_map_sg+0x80/0x500
    [    3.225516]  mmc_queue_map_sg+0x3c/0x60
    [    3.230296]  mmc_blk_data_prep+0x1a0/0x338
    [    3.235396]  mmc_blk_mq_issue_rq+0x470/0x898
    [    3.240713]  mmc_mq_queue_rq+0x118/0x2b0
    [    3.245600]  blk_mq_dispatch_rq_list+0x104/0x750
    [    3.251352]  __blk_mq_sched_dispatch_requests+0xd4/0x1a0
    [    3.257971]  blk_mq_sched_dispatch_requests+0x38/0x78
    [    3.264264]  __blk_mq_run_hw_queue+0xac/0x128
    [    3.269690]  blk_mq_run_work_fn+0x20/0x30
    [    3.274686]  process_one_work+0x1a0/0x328
    [    3.279679]  worker_thread+0x4c/0x420
    [    3.284240]  kthread+0x140/0x160
    [    3.288259]  ret_from_fork+0x10/0x34
    [    3.292713] Code: f9403704 d37c7ea0 2a1503e9 8b000082 (f860688b)
    [    3.300308] ---[ end trace c2cd070818f34b17 ]---

    Here is the complete error log of can_boot_app boot flow, using the same dts as the sbl combined app:

    NOTICE:  BL31: v2.6(release):v2.7-rc0-dirty
    NOTICE:  BL31: Built : 09:18:58, Aug 30 2022
    I/TC:
    I/TC: OP-TEE version: 3.17.0-125-g15a746d28 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue Aug 30 09:19:19 UTC 2022 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: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL 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 5.10.120 (db2@TDA4) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Jun 30 16:31:40 CST 2023
    [    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] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, 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 vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, 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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-c66-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 vision-apps-c66-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 79 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 192 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 624 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, 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-0x00000000aeffffff]
    [    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000e5ffffff]
    [    0.000000]   node   0: [mem 0x00000000e6000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008a6ffffff]
    [    0.000000]   node   0: [mem 0x00000008a7000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 400 MiB at 0x00000000e7000000
    [    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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
    [    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] 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 errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    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: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB)
    [    0.000000] Memory: 1828072K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 1956632K reserved, 409600K 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] 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: 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 @8a7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a7030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7040000
    [    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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.010471] Console: colour dummy device 80x25
    [    0.016177] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.029515] pid_max: default: 32768 minimum: 301
    [    0.035457] LSM: Security Framework initializing
    [    0.041403] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050877] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.061864] rcu: Hierarchical SRCU implementation.
    [    0.068173] Platform MSI: msi-controller@1820000 domain created
    [    0.075943] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.087559] EFI services will not be available.
    [    0.093472] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.109961] Detected PIPT I-cache on CPU1
    [    0.109992] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110005] GICv3: CPU1: using allocated LPI pending table @0x00000008a7050000
    [    0.110049] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.110112] smp: Brought up 1 node, 2 CPUs
    [    0.146794] SMP: Total of 2 processors activated.
    [    0.152800] CPU features: detected: 32-bit EL0 Support
    [    0.159368] CPU features: detected: CRC32 instructions
    [    0.176686] CPU: All CPU(s) started at EL2
    [    0.181934] alternatives: patching kernel code
    [    0.188283] devtmpfs: initialized
    [    0.198848] KASLR disabled due to lack of seed
    [    0.204660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.217115] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.232270] pinctrl core: initialized pinctrl subsystem
    [    0.239338] DMI not present or invalid.
    [    0.244643] NET: Registered protocol family 16
    [    0.251200] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.260343] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.270418] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.280786] thermal_sys: Registered thermal governor 'step_wise'
    [    0.280790] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.288980] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.306022] ASID allocator initialised with 32768 entries
    [    0.327214] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.335787] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.344346] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.352906] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.362228] cryptd: max_cpu_qlen set to 1000
    [    0.369716] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.380688] vsys_3v3: supplied by evm_12v0
    [    0.386139] vsys_5v0: supplied by evm_12v0
    [    0.391803] iommu: Default domain type: Translated
    [    0.398258] SCSI subsystem initialized
    [    0.403353] mc: Linux media interface: v0.10
    [    0.408827] videodev: Linux video capture interface: v2.00
    [    0.415873] pps_core: LinuxPPS API ver. 1 registered
    [    0.422212] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.433889] PTP clock support registered
    [    0.438910] EDAC MC: Ver: 3.0.0
    [    0.443588] FPGA manager framework
    [    0.447979] Advanced Linux Sound Architecture Driver Initialized.
    [    0.456214] clocksource: Switched to clocksource arch_sys_counter
    [    0.464124] VFS: Disk quotas dquot_6.6.0
    [    0.469166] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.481152] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.489014] NET: Registered protocol family 2
    [    0.494946] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.505665] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.516627] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.526876] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.536654] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.545150] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.553766] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.563015] NET: Registered protocol family 1
    [    0.568933] RPC: Registered named UNIX socket transport module.
    [    0.576512] RPC: Registered udp transport module.
    [    0.582517] RPC: Registered tcp transport module.
    [    0.588521] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.596752] PCI: CLS 0 bytes, default 64
    [    0.602181] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.615010] Initialise system trusted keyrings
    [    0.620818] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.631009] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.638780] NFS: Registering the id_resolver key type
    [    0.645267] Key type id_resolver registered
    [    0.650607] Key type id_legacy registered
    [    0.655760] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.664320] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.673879] 9p: Installing v9fs 9p2000 file system support
    [    0.705695] Key type asymmetric registered
    [    0.710928] Asymmetric key parser 'x509' registered
    [    0.717182] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.726631] io scheduler mq-deadline registered
    [    0.732412] io scheduler kyber registered
    [    0.739062] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.746773] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.756910] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.764734] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.774430] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.784457] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.794775] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.803631] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.814418] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.829937] brd: module loaded
    [    0.838110] loop: module loaded
    [    0.842838] megasas: 07.714.04.00-rc1
    [    0.849479] tun: Universal TUN/TAP device driver, 1.6
    [    0.856237] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.864248] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.871839] sky2: driver version 1.30
    [    0.877057] VFIO - User Level meta-driver version: 0.3
    [    0.884194] i2c /dev entries driver
    [    0.889382] sdhci: Secure Digital Host Controller Interface driver
    [    0.897278] sdhci: Copyright(c) Pierre Ossman
    [    0.903035] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.910803] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.918665] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.927610] optee: probing for conduit method.
    [    0.933312] optee: revision 3.17 (15a746d2)
    [    0.933474] optee: dynamic shared memory is enabled
    E/TC:0 0 std_entry_with_parg:234 Bad arg address 0x8a84e7000
    [    0.951981] optee: initialized driver
    [    0.957927] NET: Registered protocol family 17
    [    0.963698] 9pnet: Installing 9P2000 support
    [    0.969194] Key type dns_resolver registered
    [    0.974766] Loading compiled-in X.509 certificates
    [    0.986291] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.994216] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    1.003908] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
    [    1.045485] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.053089] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.060651] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.068228] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.075707] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.083166] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.090600] omap_i2c 2040000.i2c: bus 6 rev0.12 at 100 kHz
    [    1.098012] omap_i2c 2050000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.106016] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.118453] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.129437] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.141730] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.157331] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.169685] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.178139] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.189409] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.202089] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.210538] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.220446] printk: console [ttyS2] disabled
    [    1.225934] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 24, base_baud = 3000000) is a 8250
    [    1.236862] printk: console [ttyS2] enabled
    [    1.236862] printk: console [ttyS2] enabled
    [    1.247412] printk: bootconsole [ns16550a0] disabled
    [    1.247412] printk: bootconsole [ns16550a0] disabled
    [    1.260540] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 25, base_baud = 3000000) is a 8250
    [    1.271695] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 26, base_baud = 3000000) is a 8250
    [    1.283649] am65-cpsw-nuss: probe of 46000000.ethernet failed with error -2
    [    1.293160] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:250000000, add_val:3 pps:0
    [    1.404923] mmc0: CQHCI version 5.10
    [    1.405079] mmc1: CQHCI version 5.10
    [    1.420189] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.428702] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.437195] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.445420] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.445683] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.463317] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.472250] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.485394] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    1.502518] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
    [    1.518978] ALSA device list:
    [    1.522685]   No soundcards found.
    [    1.572846] mmc0: Command Queue Engine enabled
    [    1.578397] mmc0: new HS200 MMC card at address 0001
    [    1.584968] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    1.590726] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB
    [    1.598204] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB
    [    1.605680] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0)
    [    1.615542]  mmcblk0: p1 p2
    [    2.930503] sdhci-am654 4fb0000.mmc: Power on failed
    [    2.967343] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.981493] EXT4-fs (mmcblk0p2): recovery complete
    [    2.987517] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.997652] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.006957] mmc0: running CQE recovery
    [    3.011861] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040
    [    3.022824] Mem abort info:
    [    3.026305]   ESR = 0x96000004
    [    3.030113]   EC = 0x25: DABT (current EL), IL = 32 bits
    [    3.036736]   SET = 0, FnV = 0
    [    3.040541]   EA = 0, S1PTW = 0
    [    3.044454] Data abort info:
    [    3.048038]   ISV = 0, ISS = 0x00000004
    [    3.052818]   CM = 0, WnR = 0
    [    3.056515] [0000000000000040] user address but active_mm is swapper
    [    3.064441] Internal error: Oops: 96000004 [#1] PREEMPT SMP
    [    3.071384] Modules linked in:
    [    3.075192] CPU: 0 PID: 68 Comm: kworker/0:1H Not tainted 5.10.120 #1
    [    3.083218] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [    3.090502] Workqueue: kblockd blk_mq_run_work_fn
    [    3.096365] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
    [    3.103850] pc : __blk_rq_map_sg+0x80/0x500
    [    3.109060] lr : __blk_rq_map_sg+0xd4/0x500
    [    3.114268] sp : ffff8000120239e0
    [    3.118393] x29: ffff8000120239e0 x28: ffff000828b2f000
    [    3.125014] x27: 0000000000000000 x26: ffff800012023ab0
    [    3.131635] x25: 0000000000000002 x24: ffff000828bee000
    [    3.138255] x23: ffff000828b382c0 x22: 000000000001f30a
    [    3.144875] x21: 0000000000000004 x20: ffff0008280e3dc0
    [    3.151495] x19: 0000000000001000 x18: 0000000000000010
    [    3.158115] x17: 00000000447b6cd7 x16: 000000002cface5b
    [    3.164735] x15: 0000112fa8f514a0 x14: 00000000ffffffff
    [    3.171354] x13: 00000008ffffffff x12: 0000000000000001
    [    3.177974] x11: fffffe002082fb00 x10: 000000000000f000
    [    3.184594] x9 : 0000000000000004 x8 : ffff000828b38540
    [    3.191214] x7 : 0000000000000001 x6 : 0000000000000000
    [    3.197834] x5 : 0000000000000200 x4 : 0000000000000000
    [    3.204452] x3 : ffff800012023ab0 x2 : 0000000000000040
    [    3.211072] x1 : fffffe002082fb00 x0 : 0000000000000040
    [    3.217693] Call trace:
    [    3.220736]  __blk_rq_map_sg+0x80/0x500
    [    3.225516]  mmc_queue_map_sg+0x3c/0x60
    [    3.230296]  mmc_blk_data_prep+0x1a0/0x338
    [    3.235396]  mmc_blk_mq_issue_rq+0x470/0x898
    [    3.240713]  mmc_mq_queue_rq+0x118/0x2b0
    [    3.245600]  blk_mq_dispatch_rq_list+0x104/0x750
    [    3.251352]  __blk_mq_sched_dispatch_requests+0xd4/0x1a0
    [    3.257971]  blk_mq_sched_dispatch_requests+0x38/0x78
    [    3.264264]  __blk_mq_run_hw_queue+0xac/0x128
    [    3.269690]  blk_mq_run_work_fn+0x20/0x30
    [    3.274686]  process_one_work+0x1a0/0x328
    [    3.279679]  worker_thread+0x4c/0x420
    [    3.284240]  kthread+0x140/0x160
    [    3.288259]  ret_from_fork+0x10/0x34
    [    3.292713] Code: f9403704 d37c7ea0 2a1503e9 8b000082 (f860688b)
    [    3.300308] ---[ end trace c2cd070818f34b17 ]---

  • Hi,

    I'll try and reproduce this issue on my end and get back to you by Thursday.
    Meanwhile, can you please share a patch of changes that you have done on Linux and RTOS side?

    Regards,
    Parth

  • Hi Parth
    Thank you!

    I think the following changes is needed. If anything is missing, please let me know.

    Linux side changes:
    Integrate k3-j721e-vision-apps.dtbo into k3-j721e-common-proc-board.dtb
    this patch vision_apps_integrated.patch from [FAQ] TDA4VM: Run vision_apps in SBL boot flow with combined_appImage can be used
    and I change "root=PARTUUID=9eb35a3b-02" to "root=/dev/mmcblk0p2" in bootargs.

    RTOS side changes:
    1.Change makefile of boot_app_mcu_rtos, make it link sbl_lib_emmc instead of sbl_lib_mmcsd
        diff file: boot_app_mcu_rtos.diff
    2.fix error "ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader"  
        diff file: sbl_gtc_error_fix.diff
    Note: directory level of diff file may different from yours:
    --- a/psdkra/mcusw/mcuss_demos/boot_app_mcu_rtos/makefile
    +++ b/psdkra/mcusw/mcuss_demos/boot_app_mcu_rtos/makefile

  • Hi,

    Thanks for the details.
    I'll check this and get back to you .

    Regards,
    Parth

  • Hi,

       diff file: boot_app_mcu_rtos.diff

    Are there any other changes that you have done in boot app apart from this?
    Boot App is crashing on my end after these changes on my end.

    Regards,
    Parth

  • Hi Parth

    I rechecked and there are no other changes.

    Could you please share the crash log?

    And could you please tell me:
    Are your steps and SDK version the same as mine?
    Is your end EVM?

    BRs
    Tiancheng

  • Hi Xu

    Thank you for your reply.

    From the log, it can be seen that the HS200 mode is already used:
    [1.578397] mmc0: new HS200 MMC card at address 0001

    And using an oscilloscope to measure the clock is also 200MHz.

  • Hello Tiancheng,

    I have encountered the same problem as you. Have you solved this problem? Can you share some information
    Thank you.
    My email:wangzi0715@thundersoft.com

    If you are willing to provide assistance

    Thanks.

  • Hello Zi
    We have not yet resolved this problem, no further progress.
    We can reproduce this problem using EVM.

    I hope that we can share information with each other if there is progress.

    Thank you.

  • Hi Parth

    Looking forward to your reply!
    We can reproduce this problem using EVM.
    Have you reproduced this problem?

    Thank you.

    BRs
    Tiancheng

  • Hi,

    Apologies for delay in response.
    I have been able to reproduce this issue on my end. Investigating this further. Will get back with details.

    Regards,
    Parth

  • Hi Parth

    Thank you and look forward to your reply!

  • Hi,

    This feature has been taken up as a requirement and will be available in SDK 10.0

    Regards,
    Parth