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: TDA4VM Secure Startup

Part Number: TDA4VM

Tool/software:

Hi,

While I was performing a secure boot, the following error occurred.

 Subsequently, every time I reached this point, a restart was initiated. 

I would like to ask:
1. Is the continuous restarting related to the memory error mentioned above?
2. If there is no correlation, what could be the reason for the continuous restarts?
3. If there is a connection, how can the issue with the memory error be resolved?

Regards,

Yang

  •   Additional information, I am currently using SDK 10.0.

  • Hi Yang,

    Is same software working on GP device ?

    Regards
    Diwakar

  • Hi,

    I attempted to use the same software on the GP device, with the only difference in the software being the content shown in the image below.

    The result of the attempt is that it can successfully boot on the GP device.

    Regards,

    Yang

  • HI Yang,

    can you share the logs from both GP and HS board in text format, so that we can analyse.

    Regards
    Diwakar

  • Hi,

    The logs from the GP device and the HS device are saved in these two files, respectively.
    Thank you for helping with the analysis.

    GP.txt

    HS.txt
    U-Boot SPL 2024.04 (Mar 17 2025 - 18:18:22 +0800)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from nowhere... OK
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC:
    I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    I/TC: Secure Board Configuration Software: Rev 0
    I/TC: Secure Boot Keys: Count 1, Rev 1
    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 2024.04 (Mar 17 2025 - 18:17:41 +0800)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04 (Mar 17 2025 - 18:17:41 +0800)
    
    SoC:   J721E SR2.0 HS-SE
    Model: Texas Instruments J721e EVM
    Board: J721EX-PM2-SOM rev E8
    DRAM:  2 GiB (effective 4 GiB)
    Core:  116 devices, 34 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... 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
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Net:   Could not get PHY for mdio@f00: 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
    1292 bytes read in 28 ms (44.9 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 27 ms (0 Bytes/s)
    Already setup.
    GPIO: 'gpio@22_17' not found
    Command 'gpio' failed: Error -22
    GPIO: 'gpio@22_16' not found
    Command 'gpio' failed: Error -22
    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
    91624 bytes read in 95 ms (941.4 KiB/s)
    Authentication passed
    Load Remote Processor 2 with data@addr=0x82000000 91624 bytes: Success!
    91624 bytes read in 96 ms (931.6 KiB/s)
    Authentication passed
    Load Remote Processor 3 with data@addr=0x82000000 91624 bytes: Success!
    91624 bytes read in 96 ms (931.6 KiB/s)
    Authentication passed
    Load Remote Processor 4 with data@addr=0x82000000 91624 bytes: Success!
    91624 bytes read in 96 ms (931.6 KiB/s)
    Authentication passed
    Load Remote Processor 5 with data@addr=0x82000000 91624 bytes: Success!
    150268 bytes read in 97 ms (1.5 MiB/s)
    Authentication passed
    Load Remote Processor 6 with data@addr=0x82000000 150268 bytes: Success!
    150268 bytes read in 98 ms (1.5 MiB/s)
    Authentication passed
    Load Remote Processor 7 with data@addr=0x82000000 150268 bytes: Success!
    10490569 bytes read in 525 ms (19.1 MiB/s)
    Authentication passed
    Load Remote Processor 8 with data@addr=0x82000000 10490569 bytes: Success!
    9006802 bytes read in 402 ms (21.4 MiB/s)
    ## Loading kernel from FIT Image at 90000000 ...
       Using 'conf-ti_k3-j721e-common-proc-board.dtb' configuration
       Verifying Hash Integrity ... sha512,rsa4096:custMpk+ OK
       Trying 'kernel-1' kernel subimage
         Description:  Linux kernel
         Type:         Kernel Image
         Compression:  gzip compressed
         Data Start:   0x900000e0
         Data Size:    8496192 Bytes = 8.1 MiB
         Architecture: AArch64
         OS:           Linux
         Load Address: 0x81000000
         Entry Point:  0x81000000
         Hash algo:    sha512
         Hash value:   0dc31f5db0fe4fa1786e1e291304a0259d62706295fb0830088fc3e2be217d364269ef588f41fb163f6a37b0863a92e80458b1c41160b38d154ce8b3942bc506
       Verifying Hash Integrity ... sha512+ OK
    ## Loading fdt from FIT Image at 90000000 ...
       Using 'conf-ti_k3-j721e-common-proc-board.dtb' configuration
       Verifying Hash Integrity ... sha512,rsa4096:custMpk+ OK
       Trying 'fdt-ti_k3-j721e-common-proc-board.dtb' fdt subimage
         Description:  Flattened Device Tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x90837f4c
         Data Size:    123714 Bytes = 120.8 KiB
         Architecture: AArch64
         Load Address: 0x83000000
         Hash algo:    sha512
         Hash value:   3aa4c8257a33a64926cab20974cabbe57a731703c5ebcff86b26614cb1813004436640dd8eaa8dd7e968cd85823c2184399b0ebf34b07bce02b7c4b81a706602
       Verifying Hash Integrity ... sha512+ OK
       Loading fdt from 0x90837f4c to 0x83000000
    ## Loading fdt from FIT Image at 90000000 ...
       Using 'conf-ti_k3-j721e-evm-ethfw.dtbo' configuration
       Verifying Hash Integrity ... sha512,rsa4096:custMpk+ OK
       Trying 'fdt-ti_k3-j721e-evm-ethfw.dtbo' fdt subimage
         Description:  Flattened Device Tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x9087531c
         Data Size:    1783 Bytes = 1.7 KiB
         Architecture: AArch64
         Load Address: 0x83080000
         Hash algo:    sha512
         Hash value:   9623b751972387c042e5acbe8f0d5ad88a47b2b058c17ad1784c6bc5f6fb79904ff87c0cbf92d74234429c34c6222303c84dc3781852eef6226dbd880697e894
       Verifying Hash Integrity ... sha512+ OK
    ## Loading fdt from FIT Image at 90000000 ...
       Using 'conf-ti_k3-j721e-vision-apps.dtbo' configuration
       Verifying Hash Integrity ... sha512,rsa4096:custMpk+ OK
       Trying 'fdt-ti_k3-j721e-vision-apps.dtbo' fdt subimage
         Description:  Flattened Device Tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x90876780
         Data Size:    11541 Bytes = 11.3 KiB
         Architecture: AArch64
         Load Address: 0x83080000
         Hash algo:    sha512
         Hash value:   6bdad168a5b0cf78bc357faf5e640bcea94336fe7d2bac26c4cb7b4f3323dced0e037fc6eda388ac8115b5b56ac2cb07b97c791035ac12d0366423350b4a6627
       Verifying Hash Integrity ... sha512+ OK
       Booting using the fdt blob at 0x83000000
    Working FDT set to 83000000
       Uncompressing Kernel Image to 81000000
    ERROR: reserving fdt memory region failed (addr=880000000 size=27000000 flags=4)
       Loading Device Tree to 000000008ffdd000, end 000000008ffffe78 ... OK
    Working FDT set to 8ffdd000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32-ti-g774d6a7332d2-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #1 SMP PREEMPT Wed Jan 22 01:52:56 UTC 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J721e EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000008e0000000..0x00000008ffffffff (524288 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a1100000
    [    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] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a2000000
    [    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] OF: reserved mem: 0x00000000a2100000..0x00000000a3ffffff (31744 KiB) nomap non-reusable vision-apps-r5f-memory@a2100000
    [    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] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a4000000
    [    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] OF: reserved mem: 0x00000000a4100000..0x00000000a5ffffff (31744 KiB) nomap non-reusable vision-apps-r5f-memory@a4100000
    [    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] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a6000000
    [    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] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a6100000
    [    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] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a7000000
    [    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] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a7100000
    [    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] OF: reserved mem: 0x00000000a8000000..0x00000000a80fffff (1024 KiB) nomap non-reusable vision-apps-c66-dma-memory@a8000000
    [    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] OF: reserved mem: 0x00000000a8100000..0x00000000a8ffffff (15360 KiB) nomap non-reusable vision-apps-c66-memory@a8100000
    [    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] OF: reserved mem: 0x00000000a9000000..0x00000000a90fffff (1024 KiB) nomap non-reusable vision-apps-c66-dma-memory@a9000000
    [    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] OF: reserved mem: 0x00000000a9100000..0x00000000a9ffffff (15360 KiB) nomap non-reusable vision-apps-c66-memory@a9100000
    [    0.000000] OF: reserved mem: 0x00000000aa000000..0x00000000abffffff (32768 KiB) nomap non-reusable vision-apps-rtos-ipc-memory-region
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@ac000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ac000000..0x00000000b1ffffff (98304 KiB) nomap non-reusable vision-apps-dma-memory@ac000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b2000000..0x00000000b20fffff (1024 KiB) nomap non-reusable vision-apps-c71-dma-memory@b2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@b2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b2100000..0x00000000b7ffffff (97280 KiB) nomap non-reusable vision-apps-c71-memory@b2100000
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x00000000b8000000..0x00000000d7ffffff (524288 KiB) map non-reusable vision_apps_shared-memories
    [    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] OF: reserved mem: 0x00000000d8000000..0x00000000e3ffffff (196608 KiB) nomap non-reusable vision-apps-core-heap-memory-lo@d8000000
    [    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] OF: reserved mem: 0x00000000e4000000..0x00000000e47fffff (8192 KiB) nomap non-reusable vision-apps-r5f-virtual-eth-queues@e4000000
    [    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] OF: reserved mem: 0x00000000e4800000..0x00000000e5ffffff (24576 KiB) nomap non-reusable vision-apps-r5f-virtual-eth-buffers@e4800000
    [    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] OF: reserved mem: 0x0000000880000000..0x00000008a6ffffff (638976 KiB) nomap non-reusable vision-apps-core-heap-memory-hi@880000000
    [    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-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] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=01336836-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] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 1694676K/4194304K available (11968K kernel code, 1250K rwdata, 4036K rodata, 2432K init, 502K bss, 1975340K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8a7800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a7040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a7050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008425] Console: colour dummy device 80x25
    [    0.012995] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023665] pid_max: default: 32768 minimum: 301
    [    0.028420] LSM: initializing lsm=capability,integrity
    [    0.033728] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.041300] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050169] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.057432] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065283] rcu: Hierarchical SRCU implementation.
    [    0.070180] rcu:     Max phase no-delay instances is 1000.
    [    0.075709] Platform MSI: msi-controller@1820000 domain created
    [    0.081989] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.091434] EFI services will not be available.
    [    0.096179] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.109427] Detected PIPT I-cache on CPU1
    [    0.109471] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.109483] GICv3: CPU1: using allocated LPI pending table @0x00000008a7060000
    [    0.109514] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.109571] smp: Brought up 1 node, 2 CPUs
    [    0.138917] SMP: Total of 2 processors activated.
    [    0.143722] CPU features: detected: 32-bit EL0 Support
    [    0.148975] CPU features: detected: CRC32 instructions
    [    0.154251] CPU: All CPU(s) started at EL2
    [    0.158433] alternatives: applying system-wide alternatives
    [    0.164970] devtmpfs: initialized
    [    0.175419] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.185399] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.199018] pinctrl core: initialized pinctrl subsystem
    [    0.204700] DMI not present or invalid.
    [    0.208942] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.215472] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.222771] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.230766] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.238892] audit: initializing netlink subsys (disabled)
    [    0.244507] audit: type=2000 audit(0.156:1): state=initialized audit_enabled=0 res=1
    [    0.244712] thermal_sys: Registered thermal governor 'step_wise'
    [    0.252426] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.258643] cpuidle: using governor menu
    [    0.269395] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.276356] ASID allocator initialised with 65536 entries
    [    0.292816] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.304518] Modules: 27680 pages in range for non-PLT usage
    [    0.304524] Modules: 519200 pages in range for PLT usage
    [    0.310677] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.323044] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.329446] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.336380] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.342781] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.349715] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.356116] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.363053] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.370208] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x2bb6402f] Detected
    [    0.379216] iommu: Default domain type: Translated
    [    0.384118] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.390554] SCSI subsystem initialized
    [    0.394547] usbcore: registered new interface driver usbfs
    [    0.400169] usbcore: registered new interface driver hub
    [    0.405606] usbcore: registered new device driver usb
    [    0.411031] pps_core: LinuxPPS API ver. 1 registered
    [    0.416101] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.425438] PTP clock support registered
    [    0.429544] EDAC MC: Ver: 3.0.0
    [    0.432993] scmi_core: SCMI protocol bus registered
    [    0.438113] FPGA manager framework
    [    0.441626] Advanced Linux Sound Architecture Driver Initialized.
    [    0.448271] vgaarb: loaded
    [    0.451194] clocksource: Switched to clocksource arch_sys_counter
    [    0.457550] VFS: Disk quotas dquot_6.6.0
    [    0.461574] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.471677] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.477975] NET: Registered PF_INET protocol family
    [    0.483104] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.492131] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.500876] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.508797] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.516999] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.525565] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.532369] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.539281] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.546720] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.552834] RPC: Registered named UNIX socket transport module.
    [    0.558892] RPC: Registered udp transport module.
    [    0.563695] RPC: Registered tcp transport module.
    [    0.568498] RPC: Registered tcp-with-tls transport module.
    [    0.574101] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.580684] NET: Registered PF_XDP protocol family
    [    0.585586] PCI: CLS 0 bytes, default 64
    [    0.590227] Initialise system trusted keyrings
    [    0.594887] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.601645] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.607749] NFS: Registering the id_resolver key type
    [    0.612927] Key type id_resolver registered
    [    0.617198] Key type id_legacy registered
    [    0.621299] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.628148] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.649444] Key type asymmetric registered
    [    0.653629] Asymmetric key parser 'x509' registered
    [    0.658634] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.666194] io scheduler mq-deadline registered
    [    0.670824] io scheduler kyber registered
    [    0.674938] io scheduler bfq registered
    [    0.681027] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.687442] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.693682] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.699446] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.705438] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.715015] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.724070] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.732258] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.739390] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.747230] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.758071] loop: module loaded
    [    0.761890] megasas: 07.725.01.00-rc1
    [    0.767465] tun: Universal TUN/TAP device driver, 1.6
    [    0.773182] VFIO - User Level meta-driver version: 0.3
    [    0.779105] usbcore: registered new interface driver usb-storage
    [    0.785593] i2c_dev: i2c /dev entries driver
    [    0.790616] sdhci: Secure Digital Host Controller Interface driver
    [    0.796937] sdhci: Copyright(c) Pierre Ossman
    [    0.801508] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.807626] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.813934] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.820915] usbcore: registered new interface driver usbhid
    [    0.826610] usbhid: USB HID core driver
    [    0.831325] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.840034] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.844590] optee: revision 4.2 (12d7c4ee)
    [    0.861015] optee: dynamic shared memory is enabled
    [    0.870606] random: crng init done
    [    0.874139] optee: initialized driver
    [    0.879277] NET: Registered PF_PACKET protocol family
    [    0.884487] Key type dns_resolver registered
    [    0.892160] registered taskstats version 1
    [    0.896434] Loading compiled-in X.509 certificates
    [    0.908539] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.027598] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.033966] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    1.040798] pca953x 1-0020: using no AI
    [    1.059250] pca953x 1-0020: failed writing register
    [    1.064291] pca953x: probe of 1-0020 failed with error -121
    [    1.070183] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.076991] pca953x 1-0022: using AI
    [    1.080695] pca953x 1-0022: failed writing register
    [    1.085730] pca953x: probe of 1-0022 failed with error -121
    [    1.091466] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.097693] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.104513] pca953x 2-0020: using no AI
    [    1.123244] pca953x 2-0020: failed writing register
    [    1.128278] pca953x: probe of 2-0020 failed with error -121
    [    1.134191] omap_i2c 2030000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.140141] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.148702] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.158051] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.166673] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.182679] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.192574] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.199334] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.208987] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.219140] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.225899] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.234057] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 204, base_baud = 6000000) is a 8250
    [    1.243712] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 205, base_baud = 3000000) is a 8250
    [    1.252566] printk: console [ttyS2] enabled
    [    1.252566] printk: console [ttyS2] enabled
    [    1.261062] printk: bootconsole [ns16550a0] disabled
    [    1.261062] printk: bootconsole [ns16550a0] disabled
    [    1.283791] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 206, base_baud = 3000000) is a 8250
    [    1.293024] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 207, base_baud = 3000000) is a 8250
    [    1.302971] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.347200] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.358003] mv88e2111 46000f00.mdio:00: PHY failed to boot firmware, status=0101
    [    1.365426] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver mv88e2111
    [    1.373610] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.386479] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.393686] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.399930] pps pps0: new PPS source ptp0
    [    1.404080] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    1.414561] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.423374] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.430008] mmc0: CQHCI version 5.10
    [    1.430266] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.440478] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.447335] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.454152] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.471211] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.515689] vdd_mcu_0v85: Bringing 3300000uV into 850000-850000uV
    

    Regards,

    Yang

  • Hi Yang,

    Thanks for sharing the logs , allow us sometime to analyse the logs will respond you within two days.

    Regards
    Diwakar

  • Hi Yang,

    For what this GPIO multiplexer (pca953x) is used i am not seeing this on TI EVM?

    Regards
    Diwakar

  • Hi,Diwakar

    Indeed, no pca593x-related device was found in the hardware. Could this be the cause of the restart?

    Regards

    Yang

  • HI Yang,

    Can you disable that node and see .

    Regards
    Diwakar

  • Hi Diwakar,

    When I attempted to disable the code related to pca593x and replace the corresponding dtb folder and Image file, I found that the pca593x logs were still being printed. When I deleted the Image file, I noticed that the startup logs were no different from before. Therefore, I realized that the issue here might be related to fitImage. However, when I recompiled the fitImage, the following error was reported.

    I tried compressing the Image into Image.gz, renaming Image.gz back to Image, and then compiling it into fitImage. However, it gave me an error saying the file format was incorrect. Could you please advise on how to resolve this issue?

    Regards

    Yang

  • Hi Diwakar,

    After renaming the Image to linux.bin and modifying the Image in the fitImage.its configuration file to linux.bin, I was able to successfully boot. Thank you for your continued support.

    Regards

    Yang