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: Custom TDA4VM board boot error using SDK 8.4

Part Number: TDA4VM


Hi TI Experts:

Our custom TDA4VM board boot error using SDK 8.4, the UART log is below:

boot flow:
SPL boot,Boot from SD Card,
R5 SPL-> A72 SPL -> A72 U-Boot -> RemoteProccesor -> A72 Linux

the UART log is below:
I will crash in a fixed position every time.

U-Boot SPL 2021.01 (May 15 2023 - 18:10:13 +0800)
Model: Texas Instruments K3 J721E SoC
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
Trying to boot from MMC2
Starting ATF on ARM64 core...

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

U-Boot SPL 2021.01 (May 15 2023 - 18:10:13 +0800)
Model: Texas Instruments K3 J721E SoC
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
Trying to boot from MMC2


U-Boot 2021.01 (May 15 2023 - 18:10:13 +0800)

SoC:   J721E SR1.1 GP
Model: Texas Instruments K3 J721E SoC
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from FAT... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Net:   Could not get PHY for ethernet@46000000port@1: addr 0
am65_cpsw_nuss_port ethernet@46000000port@1: phy_connect() failed
No ethernet found.

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
0 bytes read in 1 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@20: Error reading output register
GPIO: 'gpio@22_17' not found
Command 'gpio' failed: Error -121
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@20: Error reading output register
GPIO: 'gpio@22_16' not found
Command 'gpio' failed: Error -121
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
626036 bytes read in 37 ms (16.1 MiB/s)
Load Remote Processor 2 with data@addr=0x82000000 626036 bytes: Success!
98444 bytes read in 16 ms (5.9 MiB/s)
Load Remote Processor 3 with data@addr=0x82000000 98444 bytes: Success!
98444 bytes read in 16 ms (5.9 MiB/s)
Load Remote Processor 4 with data@addr=0x82000000 98444 bytes: Success!
98444 bytes read in 16 ms (5.9 MiB/s)
Load Remote Processor 5 with data@addr=0x82000000 98444 bytes: Success!
144540 bytes read in 18 ms (7.7 MiB/s)
Load Remote Processor 6 with data@addr=0x82000000 144540 bytes: Success!
144540 bytes read in 18 ms (7.7 MiB/s)
Load Remote Processor 7 with data@addr=0x82000000 144540 bytes: Success!
10489000 bytes read in 444 ms (22.5 MiB/s)
Load Remote Processor 8 with data@addr=0x82000000 10489000 bytes: Success!
18520576 bytes read in 773 ms (22.8 MiB/s)
98456 bytes read in 13 ms (7.2 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 000000008fee4000, end 000000008fffffff ... OK

Starting kernel ...

[    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 Mon May 15 18:12:35 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] 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] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, 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-0x00000000abffffff]
[    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
[    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
[    0.000000]   node   0: [mem 0x0000000880000000-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: 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 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=7dc8d891-02 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 0x00000000e3000000-0x00000000e7000000] (64MB)
[    0.000000] Memory: 3386640K/4194304K available (10880K kernel code, 1126K rwdata, 4188K rodata, 1792K init, 431K bss, 398064K 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 @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] 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.008375] Console: colour dummy device 80x25
[    0.012938] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023609] pid_max: default: 32768 minimum: 301
[    0.028362] LSM: Security Framework initializing
[    0.033117] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.040693] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.049463] rcu: Hierarchical SRCU implementation.
[    0.054508] Platform MSI: msi-controller@1820000 domain created
[    0.060706] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.069996] EFI services will not be available.
[    0.074721] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
[    0.087969] Detected PIPT I-cache on CPU1
[    0.087991] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.088002] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.088037] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.088088] smp: Brought up 1 node, 2 CPUs
[    0.117430] SMP: Total of 2 processors activated.
[    0.122235] CPU features: detected: 32-bit EL0 Support
[    0.127489] CPU features: detected: CRC32 instructions
[    0.141273] CPU: All CPU(s) started at EL2
[    0.145469] alternatives: patching kernel code
[    0.150470] devtmpfs: initialized
[    0.158616] KASLR disabled due to lack of seed
[    0.163252] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.173215] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.184859] pinctrl core: initialized pinctrl subsystem
[    0.190492] DMI not present or invalid.
[    0.194732] NET: Registered protocol family 16
[    0.199924] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.207232] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.215277] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.223571] thermal_sys: Registered thermal governor 'step_wise'
[    0.223574] thermal_sys: Registered thermal governor 'power_allocator'
[    0.230119] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.243750] ASID allocator initialised with 65536 entries
[    0.263260] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.270119] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.276966] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.283813] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.291262] cryptd: max_cpu_qlen set to 1000
[    0.297227] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.306020] vsys_3v3: supplied by evm_12v0
[    0.310380] vsys_5v0: supplied by evm_12v0
[    0.314910] iommu: Default domain type: Translated
[    0.320069] SCSI subsystem initialized
[    0.324170] mc: Linux media interface: v0.10
[    0.328545] videodev: Linux video capture interface: v2.00
[    0.334180] pps_core: LinuxPPS API ver. 1 registered
[    0.339251] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.348589] PTP clock support registered
[    0.352612] EDAC MC: Ver: 3.0.0
[    0.356347] FPGA manager framework
[    0.359858] Advanced Linux Sound Architecture Driver Initialized.
[    0.366456] clocksource: Switched to clocksource arch_sys_counter
[    0.372784] VFS: Disk quotas dquot_6.6.0
[    0.376815] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.386367] NET: Registered protocol family 2
[    0.391086] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.399670] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.408425] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.416624] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.424408] TCP: Hash tables configured (established 32768 bind 32768)
[    0.431195] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.438089] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.445487] NET: Registered protocol family 1
[    0.450210] RPC: Registered named UNIX socket transport module.
[    0.456274] RPC: Registered udp transport module.
[    0.461078] RPC: Registered tcp transport module.
[    0.465881] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.472464] PCI: CLS 0 bytes, default 64
[    0.476804] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.487091] Initialise system trusted keyrings
[    0.491712] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.499890] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.506098] NFS: Registering the id_resolver key type
[    0.511289] Key type id_resolver registered
[    0.515560] Key type id_legacy registered
[    0.519677] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.526525] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.534165] 9p: Installing v9fs 9p2000 file system support
[    0.559451] Key type asymmetric registered
[    0.563638] Asymmetric key parser 'x509' registered
[    0.568637] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.576196] io scheduler mq-deadline registered
[    0.580821] io scheduler kyber registered
[    0.586272] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.592458] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[    0.600721] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.606995] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.614773] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.622890] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    0.631080] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.638108] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
[    0.646524] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[    0.659060] brd: module loaded
[    0.665404] loop: module loaded
[    0.669226] megasas: 07.714.04.00-rc1
[    0.674602] tun: Universal TUN/TAP device driver, 1.6
[    0.679994] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.686400] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.692470] sky2: driver version 1.30
[    0.696704] VFIO - User Level meta-driver version: 0.3
[    0.702422] i2c /dev entries driver
[    0.706646] sdhci: Secure Digital Host Controller Interface driver
[    0.712965] sdhci: Copyright(c) Pierre Ossman
[    0.717579] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.723838] ledtrig-cpu: registered to indicate activity on CPUs
[    0.730136] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.737300] optee: probing for conduit method.
[    0.741858] optee: revision 3.17 (15a746d2)
[    0.741981] optee: dynamic shared memory is enabled
E/TC:0 0 std_entry_with_parg:234 Bad arg address 0x881030000
[    0.756782] optee: initialized driver
[    0.761648] NET: Registered protocol family 17
[    0.766263] 9pnet: Installing 9P2000 support
[    0.770661] Key type dns_resolver registered
[    0.775107] Loading compiled-in X.509 certificates
[    0.784697] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.791045] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.799133] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi')
[    0.853316] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.859450] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.865526] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.871635] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    0.877681] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[    0.883709] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
[    0.889733] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[    0.895716] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[    0.901692] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[    0.907674] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[    0.914107] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    0.924092] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[    0.932903] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
[    0.942774] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    0.965650] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    0.975535] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    0.982293] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    0.991355] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    1.001506] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    1.008266] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    1.016239] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
[    1.025647] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
[    1.034397] printk: console [ttyS2] enabled
[    1.034397] printk: console [ttyS2] enabled
[    1.042834] printk: bootconsole [ns16550a0] disabled
[    1.042834] printk: bootconsole [ns16550a0] disabled
[    1.053293] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 26, base_baud = 3000000) is a 8250
[    1.062236] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 27, base_baud = 3000000) is a 8250
[    1.072816] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
[    1.081652] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    1.126464] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.134442] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
[    1.141167] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[    1.155049] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    1.264889] mmc0: CQHCI version 5.10
[    1.265241] mmc1: CQHCI version 5.10
[    1.277449] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    1.284315] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    1.291155] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    1.297987] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    1.304798] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    1.309376] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    1.315329] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    1.329582] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[    1.343650] Unable to handle kernel paging request at virtual address ffff80086e883008
[    1.351568] Mem abort info:
[    1.354353]   ESR = 0x96000005
[    1.357399]   EC = 0x25: DABT (current EL), IL = 32 bits
[    1.362695]   SET = 0, FnV = 0
[    1.365735]   EA = 0, S1PTW = 0
[    1.368869] Data abort info:
[    1.371743]   ISV = 0, ISS = 0x00000005
[    1.375570]   CM = 0, WnR = 0
[    1.378529] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082ecc000
[    1.385211] [ffff80086e883008] pgd=00000008fffff003, p4d=00000008fffff003, pud=0000000000000000
[    1.393901] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[    1.399456] Modules linked in:
[    1.402501] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 5.10.120 #1
[    1.408834] Hardware name: Texas Instruments K3 J721E SoC (DT)
[    1.414662] Workqueue: events deferred_probe_work_func
[    1.419784] pstate: a0000005 (NzCv daif -PAN -UAO -TCO BTYPE=--)
[    1.425776] pc : __kmalloc_track_caller+0xac/0x608
[    1.430550] lr : __kmalloc_track_caller+0x48/0x608
[    1.435325] sp : ffff8000115ab5f0
[    1.438624] x29: ffff8000115ab5f0 x28: ffff0008019fd080
[    1.443921] x27: ffff000800148e00 x26: ffff000800148e00
[    1.449216] x25: ffff0008019fd218 x24: ffff000800148e00
[    1.454512] x23: ffff80001109a000 x22: ffff000800001800
[    1.459808] x21: 0000000000000000 x20: 0000000000000cc0
[    1.465103] x19: 0000000000000cc0 x18: 0000000000000001
[    1.470399] x17: 0000000000000000 x16: 00000000f5434f26
[    1.475694] x15: ffff000800149330 x14: ffffffffffffffff
[    1.480989] x13: ffff000801b6358f x12: ffff000801b6358d
[    1.486285] x11: 0000000000000006 x10: 0101010101010101
[    1.491580] x9 : fffffffffffffffb x8 : 7f7f7f7f7f7f7f7f
[    1.496876] x7 : fefefeff646c606d x6 : 02000f00ec808080
[    1.502172] x5 : 0000006c000f0002 x4 : 0000000000000000
[    1.507467] x3 : 0000000000000000 x2 : 000000000000000d
[    1.512762] x1 : ffff80086e883000 x0 : 0000000000000008
[    1.518058] Call trace:
[    1.520494]  __kmalloc_track_caller+0xac/0x608
[    1.524922]  devm_kmalloc+0x44/0xe8
[    1.528397]  spi_nor_scan+0x8c/0xa00
[    1.531957]  spi_nor_probe+0x94/0x260
[    1.535607]  spi_mem_probe+0x6c/0xa8
[    1.539167]  spi_drv_probe+0x84/0xe8
[    1.542727]  really_probe+0xec/0x3e0
[    1.546289]  driver_probe_device+0x58/0xb8
[    1.550369]  __device_attach_driver+0x84/0xc8
[    1.554710]  bus_for_each_drv+0x78/0xc8
[    1.558531]  __device_attach+0xf0/0x150
[    1.562352]  device_initial_probe+0x14/0x20
[    1.566519]  bus_probe_device+0x9c/0xa8
[    1.570340]  device_add+0x358/0x740
[    1.573813]  spi_add_device+0xbc/0x198
[    1.577548]  of_register_spi_device+0x208/0x358
[    1.582062]  spi_register_controller+0x598/0x7b0
[    1.586664]  cqspi_probe+0x634/0x9e0
[    1.590226]  platform_drv_probe+0x54/0xa8
[    1.594220]  really_probe+0xec/0x3e0
[    1.597780]  driver_probe_device+0x58/0xb8
[    1.601861]  __device_attach_driver+0x84/0xc8
[    1.606201]  bus_for_each_drv+0x78/0xc8
[    1.610023]  __device_attach+0xf0/0x150
[    1.613843]  device_initial_probe+0x14/0x20
[    1.618011]  bus_probe_device+0x9c/0xa8
[    1.621833]  deferred_probe_work_func+0x88/0xc0
[    1.626351]  process_one_work+0x1a0/0x328
[    1.630346]  worker_thread+0x1f8/0x420
[    1.634081]  kthread+0x140/0x160
[    1.637296]  ret_from_fork+0x10/0x34
[    1.640860] Code: b9001300 f94002c0 d538d081 91002000 (f8616819)
[    1.646936] ---[ end trace dc55b27d5428fc3f ]---
[    1.651553] note: kworker/0:1[21] exited with preempt_count 1
[    2.335332] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    2.342842] Unable to handle kernel paging request at virtual address ffff80086e883008
[    2.350741] Mem abort info:
[    2.353522]   ESR = 0x96000005
[    2.356566]   EC = 0x25: DABT (current EL), IL = 32 bits
[    2.361863]   SET = 0, FnV = 0
[    2.364905]   EA = 0, S1PTW = 0
[    2.368034] Data abort info:
[    2.370905]   ISV = 0, ISS = 0x00000005
[    2.374728]   CM = 0, WnR = 0
[    2.377683] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082ecc000
[    2.384365] [ffff80086e883008] pgd=00000008fffff003, p4d=00000008fffff003, pud=0000000000000000
[    2.393048] Internal error: Oops: 96000005 [#2] PREEMPT SMP
[    2.398603] Modules linked in:
[    2.401647] CPU: 0 PID: 67 Comm: kworker/u4:1 Tainted: G      D           5.10.120 #1
[    2.409454] Hardware name: Texas Instruments K3 J721E SoC (DT)
[    2.415274] Workqueue: events_unbound async_run_entry_fn
[    2.420570] pstate: a0000005 (NzCv daif -PAN -UAO -TCO BTYPE=--)
[    2.426558] pc : kmem_cache_alloc+0x98/0x5b8
[    2.430813] lr : kmem_cache_alloc+0x34/0x5b8
[    2.435066] sp : ffff80001200ba10
[    2.438366] x29: ffff80001200ba10 x28: ffff800010dc1030
[    2.443662] x27: ffff000800ca4600 x26: ffff000800ca4600
[    2.448958] x25: ffff800010b76408 x24: ffff000800ca4600
[    2.454253] x23: ffff80001109a000 x22: ffff000800001900
[    2.459549] x21: 0000000000000000 x20: 0000000000000dc0
[    2.464845] x19: 0000000000000dc0 x18: 0000000000000010
[    2.470141] x17: 00000000ff7c816d x16: 00000000d048c8e0
[    2.475436] x15: 0000000000000004 x14: 0000000000000159
[    2.480732] x13: 0000000000000000 x12: ffff000800464eb0
[    2.486027] x11: ffff000800464db0 x10: ffff000800062018
[    2.491323] x9 : ffff000800062010 x8 : ffff000800464dd8
[    2.496619] x7 : 0000000000000001 x6 : ffff000800ca4b30
[    2.501914] x5 : 0000000000000001 x4 : 0000000000000000
[    2.507209] x3 : ffff80001115d900 x2 : ffff8000106654c0
[    2.512505] x1 : ffff80086e883000 x0 : 0000000000000008
[    2.517800] Call trace:
[    2.520235]  kmem_cache_alloc+0x98/0x5b8
[    2.524145]  kobject_uevent_env+0xb4/0x560
[    2.528226]  kobject_uevent+0x14/0x20
[    2.531874]  device_del+0x29c/0x3d8
[    2.535347]  __device_link_del+0x60/0x80
[    2.539255]  device_links_driver_bound+0x220/0x250
[    2.544029]  driver_bound+0x68/0xc0
[    2.547503]  really_probe+0x164/0x3e0
[    2.551151]  driver_probe_device+0x58/0xb8
[    2.555232]  __device_attach_driver+0x84/0xc8
[    2.559572]  bus_for_each_drv+0x78/0xc8
[    2.563393]  __device_attach_async_helper+0xbc/0xe0
[    2.568253]  async_run_entry_fn+0x44/0x148
[    2.572335]  process_one_work+0x1a0/0x328
[    2.576330]  worker_thread+0x4c/0x420
[    2.579978]  kthread+0x140/0x160
[    2.583192]  ret_from_fork+0x10/0x34
[    2.586755] Code: b9001300 f94002c0 d538d081 91002000 (f8616819)
[    2.592830] ---[ end trace dc55b27d5428fc40 ]---
[    2.597439] note: kworker/u4:1[67] exited with preempt_count 1

The same SD Card can boot successfuly in our another type custom TDA4VM Board.
The DDR part of the two customized boards are the same.

I don't know what caused this problem.

Is this caused by DDR configuration?

We need help,Thank you!

BRs

Tiancheng

  • Hi,

    [ 1.524922] devm_kmalloc+0x44/0xe8
    [ 1.528397] spi_nor_scan+0x8c/0xa00
    [ 1.531957] spi_nor_probe+0x94/0x260
    [ 1.535607] spi_mem_probe+0x6c/0xa8
    [ 1.539167] spi_drv_probe+0x84/0xe8
    [ 1.542727] really_probe+0xec/0x3e0
    [ 1.546289] driver_probe_device+0x58/0x

    Can you disable the the OSPI node from the DTS for the non-working board. It seems like the OSPI driver is crashing.

    - Keerthy

  • Hi Keerthy

    Thank you.

    We solved it.
    The reason is that the DDR configuration is incorrect. After configuring the DDR correctly, the problem disappears.


    The same SD Card can boot successfuly in our another type custom TDA4VM Board.
    The DDR part of the two customized boards are the same.

    Actually, the DDR parts of the two boards are not the same, we made a mistake.

    BRs

    Tiancheng