J784S4XEVM: Using J721EXENETXPANEVM with PSDK Linux

Part Number: J784S4XEVM
Other Parts Discussed in Thread: J721EXENETXPANEVM, , TDA4VM, TDA4VH

Tool/software:

Our customer wants to combine J721EXENETXPANEVM on J784S4XEVM to test 4-port Ethernet over QSGMII. They followed the steps in the document below using the latest PSDK Linux (10.00.00.08) pre-built image.

software-dl.ti.com/.../CPSWng-Native-Ethernet.html

To enable QSGMII, the corresponding dtbo file was added in uEnv.txt.

name_overlays=ti/k3-j784s4-evm-ethfw.dtbo ti/k3-j784s4-vision-apps.dtbo ti/k3-j784s4-evm-quad-port-eth1-exp.dtbo

In the boot log, there are four network interfaces (eth0, eth1, eth2, eth3), but they do not seem to be configured as QSGMII. eth0 and efh1 appear to be configured for DP83867 with RGMII.

The boot log is attached here: J784S4XEVM linux boot.log

Could you please tell me how to configure the network interfaces as QSGMII?

Best regards,

Daisuke

  • Hi,

    I have additional information.

    In the boot log it can be seen that the dtbo file failed to load.

    Failed to load '/boot/dtb/ti/k3-j784s4-evm-quad-port-eth1-exp.dtbo'

    Is the following method incorrect?

    To enable QSGMII, the corresponding dtbo file was added in uEnv.txt.

    name_overlays=ti/k3-j784s4-evm-ethfw.dtbo ti/k3-j784s4-vision-apps.dtbo ti/k3-j784s4-evm-quad-port-eth1-exp.dtbo

    Could you please tell me how to configure the network interfaces as QSGMII?

    Best regards,

    Daisuke

  • Hi, 

    ti/k3-j784s4-evm-quad-port-eth1-exp.dtbo

    In overlay name no need to mention "ti/" Just fine mae also sufficient.

    In the boot log, there are four network interfaces (eth0, eth1, eth2, eth3), but they do not seem to be configured as QSGMII. eth0 and efh1 appear to be configured for DP83867 with RGMII.

    Default EthFw will be loaded on MCU2_0,  and due to proxy- client two interfaces eth2, eth3 were created. 

    Eth2 will be switch port interface and eth3 will Mac-only interface of port-1. 

    Please refer to Ethernet Firmware User guide for more details.

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/ethfw_c_ug_top.html#ethfw_j784s4_port_cfg

    And eth0, eth1 are cpsw2G interfaces, we have two cpsw instances on j784s4. 

    When you need Native Linux driver, make sure EthFw disabled from MCU2_0 (load ipc echo test application) 

    Best Regards, 

    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    When you need Native Linux driver, make sure EthFw disabled from MCU2_0 (load ipc echo test application) 

    Does "k3-j784s4-evm-ethfw.dtbo" need to be deleted in uEnv.txt?

    name_overlays=ti/k3-j784s4-evm-ethfw.dtbo ti/k3-j784s4-vision-apps.dtbo ti/k3-j784s4-evm-quad-port-eth1-exp.dtbo

    Best regards,

    Daisuke

  • Hi,

    When you need Native Linux driver, make sure EthFw disabled from MCU2_0 (load ipc echo test application) 

    Does "k3-j784s4-evm-ethfw.dtbo" need to be deleted in uEnv.txt?

    Yes, ethfw dtbo not needed in case of Native Linux Driver.

    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    Our customer checked the target path (/boot/dtb/ti) in the root filesystem and found that the filename of the target file was different.

    FALSE : k3-j784s4-evm-quad-port-eth1-exp.dtbo
    TRUE : k3-j784s4-evm-quad-port-eth-exp1.dtbo

    After correcting the file name in uEnv.txt, the target dtbo file is loaded, but Linux stops during boot.

    name_overlays=ti/k3-j784s4-evm-ethfw.dtbo ti/k3-j784s4-vision-apps.dtbo ti/k3-j784s4-evm-quad-port-eth-exp1.dtbo

    The boot log is attached here: 

    J784S4XEVM linux boot 2.log
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Initialized 4 DRAM controllers
    SPL initial stack usage: 13456 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    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: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    
    SoC:   J784S4 SR1.0 GP
    Model: Texas Instruments J784S4 EVM
    DRAM:  2 GiB (effective 32 GiB)
    Core:  143 devices, 35 uclasses, devicetree: separate
    Flash: spi_nand nand@0: Winbond SPI NAND was found.
    spi_nand nand@0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1232 bytes read in 40 ms (29.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    gpio: pin gpio@22_17 (gpio 188) value is 1
    gpio: pin gpio@22_16 (gpio 187) value is 0
    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
    1613384 bytes read in 175 ms (8.8 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 1613384 bytes: Success!
    322804 bytes read in 162 ms (1.9 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 322804 bytes: Success!
    146624 bytes read in 160 ms (894.5 KiB/s)
    Load Remote Processor 4 with data@addr=0x82000000 146624 bytes: Success!
    146624 bytes read in 160 ms (894.5 KiB/s)
    Load Remote Processor 5 with data@addr=0x82000000 146624 bytes: Success!
    486652 bytes read in 164 ms (2.8 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 486652 bytes: Success!
    146624 bytes read in 161 ms (888.7 KiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 146624 bytes: Success!
    15601992 bytes read in 319 ms (46.6 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 15601992 bytes: Success!
    15995096 bytes read in 323 ms (47.2 MiB/s)
    Load Remote Processor 9 with data@addr=0x82000000 15995096 bytes: Success!
    15470864 bytes read in 318 ms (46.4 MiB/s)
    Load Remote Processor 10 with data@addr=0x82000000 15470864 bytes: Success!
    15470864 bytes read in 319 ms (46.3 MiB/s)
    Load Remote Processor 11 with data@addr=0x82000000 15470864 bytes: Success!
    20285952 bytes read in 250 ms (77.4 MiB/s)
    130753 bytes read in 43 ms (2.9 MiB/s)
    Working FDT set to 88000000
    2176 bytes read in 41 ms (51.8 KiB/s)
    14601 bytes read in 42 ms (338.9 KiB/s)
    4349 bytes read in 42 ms (100.6 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=880000000 size=80000000 flags=4)
       Loading Device Tree to 000000008fedd000, end 000000008fffffff ... OK
    Working FDT set to 8fedd000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32-ti-gdb8871293143-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240620) #1 SMP PREEMPT Thu Aug  1 19:10:56 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J784S4 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a5100000
    [    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-r5f-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a80fffff (1024 KiB) nomap non-reusable vision-apps-r5f-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-r5f-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a8100000..0x00000000a8ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a8100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 48 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@ac000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ac000000..0x00000000aeffffff (49152 KiB) nomap non-reusable vision-apps-rtos-ipc-memory-region@ac000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000af000000, size 48 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@af000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000af000000..0x00000000b1ffffff (49152 KiB) nomap non-reusable vision-apps-dma-memory@af000000
    [    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 5 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@b2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b2100000..0x00000000b2603fff (5136 KiB) nomap non-reusable vision-apps-c71_0-memory@b2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b4000000..0x00000000b40fffff (1024 KiB) nomap non-reusable vision-apps-c71_1-dma-memory@b4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b4100000, size 5 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b4100000..0x00000000b4603fff (5136 KiB) nomap non-reusable vision-apps-c71_1-memory@b4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_2-dma-memory@b6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b6000000..0x00000000b60fffff (1024 KiB) nomap non-reusable vision-apps-c71_2-dma-memory@b6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6100000, size 5 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_2-memory@b6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b6100000..0x00000000b6603fff (5136 KiB) nomap non-reusable vision-apps-c71_2-memory@b6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_3-dma-memory@b8000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b8000000..0x00000000b80fffff (1024 KiB) nomap non-reusable vision-apps-c71_3-dma-memory@b8000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b8100000, size 5 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_3-memory@b8100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000b8100000..0x00000000b8603fff (5136 KiB) nomap non-reusable vision-apps-c71_3-memory@b8100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ba000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@ba000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ba000000..0x00000000bdffffff (65536 KiB) nomap non-reusable vision-apps-core-heap-memory-lo@ba000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000be000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@be000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000be000000..0x00000000be7fffff (8192 KiB) nomap non-reusable vision-apps-r5f-virtual-eth-queues@be000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000be800000, size 24 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@be800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000be800000..0x00000000bfffffff (24576 KiB) nomap non-reusable vision-apps-r5f-virtual-eth-buffers@be800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 2048 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..0x00000008ffffffff (2097152 KiB) nomap non-reusable vision-apps-core-heap-memory-hi@880000000
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x0000000900000000..0x000000093bffffff (983040 KiB) map non-reusable vision_apps_shared-memories
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000980000000, size 1792 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@980000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000980000000..0x00000009efffffff (1835008 KiB) map reusable linux-cma-buffers@980000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000fffffffff]
    [    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-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000b2603fff]
    [    0.000000]   node   0: [mem 0x00000000b2604000-0x00000000b3ffffff]
    [    0.000000]   node   0: [mem 0x00000000b4000000-0x00000000b4603fff]
    [    0.000000]   node   0: [mem 0x00000000b4604000-0x00000000b5ffffff]
    [    0.000000]   node   0: [mem 0x00000000b6000000-0x00000000b6603fff]
    [    0.000000]   node   0: [mem 0x00000000b6604000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000b8603fff]
    [    0.000000]   node   0: [mem 0x00000000b8604000-0x00000000b9ffffff]
    [    0.000000]   node   0: [mem 0x00000000ba000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000]   node   0: [mem 0x0000000900000000-0x0000000fffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000fffffffff]
    [    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,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=8c960a7e-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8257536
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 8.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 27523640K/33554432K available (11968K kernel code, 1250K rwdata, 4036K rodata, 2432K init, 502K bss, 4195784K reserved, 1835008K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, 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=8.
    [    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=8
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: [Firmware Bug]: GICR region 0x0000000001900000 has overlapping address
    [    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 @93c800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x000000093c060000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x000000093c070000
    [    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.008466] Console: colour dummy device 80x25
    [    0.013040] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023712] pid_max: default: 32768 minimum: 301
    [    0.028475] LSM: initializing lsm=capability,integrity
    [    0.033829] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.041629] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.050890] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058144] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065985] rcu: Hierarchical SRCU implementation.
    [    0.070883] rcu: 	Max phase no-delay instances is 1000.
    [    0.076389] Platform MSI: msi-controller@1820000 domain created
    [    0.082605] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092065] EFI services will not be available.
    [    0.096921] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    I/TC: Secondary CPU 2 initializing
    I/TC: Secondary CPU 2 switching to normal world boot
    I/TC: Secondary CPU 3 initializing
    I/TC: Secondary CPU 3 switching to normal world boot
    I/TC: Secondary CPU 4 initializing
    I/TC: Secondary CPU 4 switching to normal world boot
    I/TC: Secondary CPU 5 initializing
    I/TC: Secondary CPU 5 switching to normal world boot
    I/TC: Secondary CPU 6 initializing
    I/TC: Secondary CPU 6 switching to normal world boot
    I/TC: Secondary CPU 7 initializing
    I/TC: Secondary CPU 7 switching to normal world boot
    [    0.110019] Detected PIPT I-cache on CPU1
    [    0.110062] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110077] GICv3: CPU1: using allocated LPI pending table @0x000000093c080000
    [    0.110110] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.118575] Detected PIPT I-cache on CPU2
    [    0.118604] GICv3: CPU2: found redistributor 2 region 0:0x0000000001940000
    [    0.118617] GICv3: CPU2: using allocated LPI pending table @0x000000093c090000
    [    0.118641] CPU2: Booted secondary processor 0x0000000002 [0x411fd080]
    [    0.127098] Detected PIPT I-cache on CPU3
    [    0.127130] GICv3: CPU3: found redistributor 3 region 0:0x0000000001960000
    [    0.127143] GICv3: CPU3: using allocated LPI pending table @0x000000093c0a0000
    [    0.127167] CPU3: Booted secondary processor 0x0000000003 [0x411fd080]
    [    0.135657] Detected PIPT I-cache on CPU4
    [    0.135715] GICv3: CPU4: found redistributor 100 region 0:0x0000000001980000
    [    0.135728] GICv3: CPU4: using allocated LPI pending table @0x000000093c0b0000
    [    0.135759] CPU4: Booted secondary processor 0x0000000100 [0x411fd080]
    [    0.144235] Detected PIPT I-cache on CPU5
    [    0.144268] GICv3: CPU5: found redistributor 101 region 0:0x00000000019a0000
    [    0.144281] GICv3: CPU5: using allocated LPI pending table @0x000000093c0c0000
    [    0.144306] CPU5: Booted secondary processor 0x0000000101 [0x411fd080]
    [    0.152749] Detected PIPT I-cache on CPU6
    [    0.152786] GICv3: CPU6: found redistributor 102 region 0:0x00000000019c0000
    [    0.152799] GICv3: CPU6: using allocated LPI pending table @0x000000093c0d0000
    [    0.152824] CPU6: Booted secondary processor 0x0000000102 [0x411fd080]
    [    0.161282] Detected PIPT I-cache on CPU7
    [    0.161324] GICv3: CPU7: found redistributor 103 region 0:0x00000000019e0000
    [    0.161338] GICv3: CPU7: using allocated LPI pending table @0x000000093c0e0000
    [    0.161363] CPU7: Booted secondary processor 0x0000000103 [0x411fd080]
    [    0.161416] smp: Brought up 1 node, 8 CPUs
    [    0.342396] SMP: Total of 8 processors activated.
    [    0.347202] CPU features: detected: 32-bit EL0 Support
    [    0.352458] CPU features: detected: CRC32 instructions
    [    0.357753] CPU: All CPU(s) started at EL2
    [    0.361941] alternatives: applying system-wide alternatives
    [    0.368645] devtmpfs: initialized
    [    0.383451] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.393429] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.421548] pinctrl core: initialized pinctrl subsystem
    [    0.427179] DMI not present or invalid.
    [    0.431440] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.438647] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
    [    0.446650] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.455350] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.463565] audit: initializing netlink subsys (disabled)
    [    0.469178] audit: type=2000 audit(0.320:1): state=initialized audit_enabled=0 res=1
    [    0.469378] thermal_sys: Registered thermal governor 'step_wise'
    [    0.477106] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.483264] cpuidle: using governor menu
    [    0.494010] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.501034] ASID allocator initialised with 65536 entries
    [    0.518235] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.528990] platform a000000.bridge: Fixed dependency cycle(s) with /connector-dp0
    [    0.536757] platform connector-dp0: Fixed dependency cycle(s) with /bus@100000/bridge@a000000
    [    0.546215] Modules: 27680 pages in range for non-PLT usage
    [    0.546219] Modules: 519200 pages in range for PLT usage
    [    0.552329] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.564701] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.571106] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.578041] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.584443] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.591378] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.597780] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.604714] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.611862] k3-chipinfo 43000014.chipid: Family:J784S4 rev:SR1.0 JTAGID[0x0bb8002f] Detected
    [    0.620905] iommu: Default domain type: Translated
    [    0.625806] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.632248] SCSI subsystem initialized
    [    0.636231] usbcore: registered new interface driver usbfs
    [    0.641849] usbcore: registered new interface driver hub
    [    0.647289] usbcore: registered new device driver usb
    [    0.652693] pps_core: LinuxPPS API ver. 1 registered
    [    0.657765] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.667103] PTP clock support registered
    [    0.671227] EDAC MC: Ver: 3.0.0
    [    0.674644] scmi_core: SCMI protocol bus registered
    [    0.679775] FPGA manager framework
    [    0.683283] Advanced Linux Sound Architecture Driver Initialized.
    [    0.689922] vgaarb: loaded
    [    0.692838] clocksource: Switched to clocksource arch_sys_counter
    [    0.699194] VFS: Disk quotas dquot_6.6.0
    [    0.703220] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.713465] Carveout Heap: Exported 960 MiB at 0x0000000900000000
    [    0.719750] NET: Registered PF_INET protocol family
    [    0.725038] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.737876] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.746916] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.754853] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.763927] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.772368] TCP: Hash tables configured (established 262144 bind 65536)
    [    0.779241] UDP hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.786597] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.794477] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.800578] RPC: Registered named UNIX socket transport module.
    [    0.806637] RPC: Registered udp transport module.
    [    0.811441] RPC: Registered tcp transport module.
    [    0.816243] RPC: Registered tcp-with-tls transport module.
    [    0.821845] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.828429] NET: Registered PF_XDP protocol family
    [    0.833332] PCI: CLS 0 bytes, default 64
    [    0.838285] Initialise system trusted keyrings
    [    0.842919] workingset: timestamp_bits=46 max_order=23 bucket_order=0
    [    0.849673] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.855764] NFS: Registering the id_resolver key type
    [    0.860951] Key type id_resolver registered
    [    0.865226] Key type id_legacy registered
    [    0.869330] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.876179] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.897354] Key type asymmetric registered
    [    0.901538] Asymmetric key parser 'x509' registered
    [    0.906544] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.914104] io scheduler mq-deadline registered
    [    0.918730] io scheduler kyber registered
    [    0.922844] io scheduler bfq registered
    [    0.929211] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.935182] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.941212] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.947473] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.953298] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.959383] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.965134] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.971130] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.980968] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.993526] loop: module loaded
    [    0.997323] megasas: 07.725.01.00-rc1
    [    1.003024] tun: Universal TUN/TAP device driver, 1.6
    [    1.008754] VFIO - User Level meta-driver version: 0.3
    [    1.014709] usbcore: registered new interface driver usb-storage
    [    1.021228] i2c_dev: i2c /dev entries driver
    [    1.026281] sdhci: Secure Digital Host Controller Interface driver
    [    1.032600] sdhci: Copyright(c) Pierre Ossman
    [    1.037192] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.043443] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.049788] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.056777] usbcore: registered new interface driver usbhid
    [    1.062471] usbhid: USB HID core driver
    [    1.067298] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    1.075995] 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
    [    1.080551] optee: revision 4.2 (12d7c4ee)
    [    1.096964] optee: dynamic shared memory is enabled
    [    1.106519] random: crng init done
    [    1.110046] optee: initialized driver
    [    1.114971] NET: Registered PF_PACKET protocol family
    [    1.120183] Key type dns_resolver registered
    [    1.127940] registered taskstats version 1
    [    1.132377] Loading compiled-in X.509 certificates
    [    1.144478] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.190850] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.201519] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.212221] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.243185] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.249572] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    1.256399] pca953x 3-0020: using no AI
    [    1.273797] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    1.280603] pca953x 3-0022: using AI
    [    1.285683] requesting hog GPIO CANUART_MUX_SEL0 (chip 3-0022, offset 13) failed, -16
    [    1.293694] gpiochip_add_data_with_key: GPIOs 528..551 (3-0022) failed to register, -16
    [    1.301931] pca953x: probe of 3-0022 failed with error -16
    [    1.307596] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.313679] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    1.320488] pca953x 4-0020: using no AI
    [    1.345281] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.351105] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 177 domain created
    [    1.359637] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 10 domain created
    [    1.368900] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 283 domain created
    [    1.377568] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 321 created
    [    1.390469] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.397422] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.406713] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    [    1.416593] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.423354] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.432742] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:315
    [    1.442889] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.449648] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.457685] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 223, base_baud = 6000000) is a 8250
    [    1.467248] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 224, base_baud = 3000000) is a 8250
    [    1.476105] printk: console [ttyS2] enabled
    [    1.476105] printk: console [ttyS2] enabled
    [    1.484587] printk: bootconsole [ns16550a0] disabled
    [    1.484587] printk: bootconsole [ns16550a0] disabled
    [    1.544839] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.555813] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.564083] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.576902] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.584108] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.590266] pps pps0: new PPS source ptp0
    [    1.594396] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.604538] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA03102, cpsw version 0x6BA82902 Ports: 9 quirks:00000000
    [    1.656841] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.667575] davinci_mdio c200f00.mdio: phy[0]: device c200f00.mdio:00, driver TI DP83867
    [    1.675670] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.688426] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    1.694682] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    1.701802] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    1.707931] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:250000000, add_val:3 pps:0
    [    1.718211] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:250000000, add_val:3 pps:0
    [    1.726925] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.733546] mmc0: CQHCI version 5.10
    [    1.733767] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.743995] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.750814] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fca100
    [    1.757616] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.764410] omap-mailbox 31f85000.mailbox: omap mailbox rev 0x66fca100
    [    1.775416] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.868138] mmc0: Command Queue Engine enabled
    [    1.872584] mmc0: new HS400 MMC card at address 0001
    [    1.877865] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    1.883358] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    1.888843] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    1.894254] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    2.043990] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    2.049954] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    2.060200] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    2.067699] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    2.075793] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    2.083877] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.096436] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    3.102711] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    3.108187] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    3.117647] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    3.124532] pci 0000:00:00.0: [104c:b012] type 01 class 0x060400
    [    3.130527] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    3.140262] pci 0000:00:00.0: supports D1
    [    3.144261] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    3.152147] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.160259] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.166872] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    3.171890] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    3.178670] pcieport 0000:00:00.0: PME: Signaling with IRQ 492
    [    3.184656] pcieport 0000:00:00.0: AER: enabled with IRQ 492
    [    3.190557] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    3.198041] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    3.206122] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    3.214201] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.224413] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    4.230683] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    4.236158] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    4.245791] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    4.252667] pci 0001:00:00.0: [104c:b012] type 01 class 0x060400
    [    4.258662] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    4.268418] pci 0001:00:00.0: supports D1
    [    4.272418] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    4.278175] pci 0001:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    4.285035] pci 0001:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    4.296942] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.305043] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    4.311654] pci 0001:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
    [    4.318950] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    4.323954] pcieport 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    4.330704] pcieport 0001:00:00.0: PME: Signaling with IRQ 494
    [    4.336659] pcieport 0001:00:00.0: AER: enabled with IRQ 494
    [    4.343076] ti-udma 285c0000.dma-controller: Channels: 22 (tchan: 11, rchan: 11, gp-rflow: 8)
    [    4.353385] ti-udma 31150000.dma-controller: Channels: 66 (tchan: 33, rchan: 33, gp-rflow: 16)
    [    4.365267] spi-nand spi0.0: Winbond SPI NAND was found.
    [    4.370587] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    4.378879] 7 fixed-partitions partitions found on MTD device spi0.0
    [    4.385232] Creating 7 MTD partitions on "spi0.0":
    [    4.390012] 0x000000000000-0x000000100000 : "ospi_nand.tiboot3"
    [    4.396993] 0x000000100000-0x000000300000 : "ospi_nand.tispl"
    [    4.403931] 0x000000300000-0x000000700000 : "ospi_nand.u-boot"
    [    4.411628] 0x000000700000-0x000000740000 : "ospi_nand.env"
    [    4.417786] 0x000000740000-0x000000780000 : "ospi_nand.env.backup"
    [    4.424540] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    4.463667] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    4.472598] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
    [    4.477686] 7 fixed-partitions partitions found on MTD device 47050000.spi.0
    [    4.484722] Creating 7 MTD partitions on "47050000.spi.0":
    [    4.490195] 0x000000000000-0x000000080000 : "qspi.tiboot3"
    [    4.496183] 0x000000080000-0x000000280000 : "qspi.tispl"
    [    4.501988] 0x000000280000-0x000000680000 : "qspi.u-boot"
    [    4.507864] 0x000000680000-0x0000006c0000 : "qspi.env"
    [    4.513495] 0x0000006c0000-0x000000700000 : "qspi.env.backup"
    [    4.519730] 0x000000800000-0x000003fc0000 : "qspi.rootfs"
    [    4.525619] 0x000003fc0000-0x000004000000 : "qspi.phypattern"
    [    4.568839] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.579763] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.588031] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    4.600846] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    4.608051] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    4.614175] pps pps0: new PPS source ptp1
    [    4.618314] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    4.632594] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    4.642323] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA03102, cpsw version 0x6BA82902 Ports: 9 quirks:00000000
    [    4.664892] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    4.671224] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    4.677562] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    4.683897] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    4.690153] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.5
    [    4.697272] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    4.703583] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    4.719219] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 82
    [    4.768839] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.779612] davinci_mdio c200f00.mdio: phy[0]: device c200f00.mdio:00, driver TI DP83867
    [    4.787705] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    4.800460] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    4.806717] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    4.813835] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    4.819957] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    4.834734] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 83
    [    4.848578] clk: Disabling unused clocks
    [    4.862333] ALSA device list:
    [    4.865367]   No soundcards found.
    [    4.868951] Waiting for root device PARTUUID=8c960a7e-02...
    

    In overlay name no need to mention "ti/" Just fine mae also sufficient.

    After removing "ti/" from the path in uEnv.txt, the dtbo files fail to load.

    name_overlays=k3-j784s4-evm-ethfw.dtbo k3-j784s4-vision-apps.dtbo k3-j784s4-evm-quad-port-eth-exp1.dtbo

    It seems that "ti/" needs to be mentioned.

    Best regards,

    Daisuke

  • Hi, 

    May I know which boot flow you are using? 

    It seems like file system not found. 

    Best regards, 

    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    Our customer used the script "create-sdcard.sh" to flash a boot SD card using the pre-built image "1:tisdk-adas-image-j784s4-evm.rootfs.tar.xz". The root filesystem was left as the default.

    After removing "ti/k3-j784s4-evm-ethfw.dtbo" in uEnv.txt, the Linux image seems to fail to load.

    name_overlays= ti/k3-j784s4-vision-apps.dtbo ti/k3-j784s4-evm-quad-port-eth-exp1.dtbo

    The boot log is attached here: 

    J784S4XEVM linux boot 3.log
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Initialized 4 DRAM controllers
    SPL initial stack usage: 13456 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    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: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    
    SoC:   J784S4 SR1.0 GP
    Model: Texas Instruments J784S4 EVM
    DRAM:  2 GiB (effective 32 GiB)
    Core:  143 devices, 35 uclasses, devicetree: separate
    Flash: spi_nand nand@0: Winbond SPI NAND was found.
    spi_nand nand@0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1205 bytes read in 40 ms (29.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    gpio: pin gpio@22_17 (gpio 188) value is 1
    gpio: pin gpio@22_16 (gpio 187) value is 0
    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
    1613384 bytes read in 176 ms (8.7 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 1613384 bytes: Success!
    322804 bytes read in 163 ms (1.9 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 322804 bytes: Success!
    146624 bytes read in 161 ms (888.7 KiB/s)
    Load Remote Processor 4 with data@addr=0x82000000 146624 bytes: Success!
    146624 bytes read in 161 ms (888.7 KiB/s)
    Load Remote Processor 5 with data@addr=0x82000000 146624 bytes: Success!
    486652 bytes read in 164 ms (2.8 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 486652 bytes: Success!
    146624 bytes read in 162 ms (883.8 KiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 146624 bytes: Success!
    15601992 bytes read in 320 ms (46.5 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 15601992 bytes: Success!
    15995096 bytes read in 325 ms (46.9 MiB/s)
    Load Remote Processor 9 with data@addr=0x82000000 15995096 bytes: Success!
    15470864 bytes read in 320 ms (46.1 MiB/s)
    Load Remote Processor 10 with data@addr=0x82000000 15470864 bytes: Success!
    15470864 bytes read in 320 ms (46.1 MiB/s)
    Load Remote Processor 11 with data@addr=0x82000000 15470864 bytes: Success!
    20285952 bytes read in 250 ms (77.4 MiB/s)
    130753 bytes read in 43 ms (2.9 MiB/s)
    Working FDT set to 88000000
    14601 bytes read in 42 ms (338.9 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
    4349 bytes read in 42 ms (100.6 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
    base fdt does not have a /__symbols__ node
    make sure you've compiled with -@
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    Scanning for bootflows in all bootdevs
    Seq  Method       State   Uclass    Part  Name                      Filename
    ---  -----------  ------  --------  ----  ------------------------  ----------------
    Scanning global bootmeth 'efi_mgr':
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
      0  efi_mgr      ready   (none)       0  <NULL>                    
    ** Booting bootflow '<NULL>' with efi_mgr
    Loading Boot0000 'mmc 1' failed
    Loading Boot0001 'mmc 0' failed
    EFI boot manager: Cannot load any image
    Boot failed (err=-14)
    Scanning bootdev 'mmc@4fb0000.bootdev':
    Scanning bootdev 'mmc@4f80000.bootdev':
    No working controllers found
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    No more bootdevs
    ---  -----------  ------  --------  ----  ------------------------  ----------------
    (1 bootflow, 1 valid)
    => 

    Best regards,

    Daisuke

  • Hi,

    It seems like some failure in overlay apply. It could be because some nodes in ethfw.dtbo are referenced in vision overlay.

    failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
    4349 bytes read in 42 ms (100.6 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
    base fdt does not have a /__symbols__ node
    make sure you've compiled with -@
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    Scanning for bootflows in all bootdevs

    So, you need to keep ethfw-dtbo untill vision overlay is modified by removing the node references which are present in ethfw.dtso.

    Please refer to FAQ for bring-up CPSW in Native Linux Driver.
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1264445/faq-how-do-i-bring-brought-up-ethernet-interfaces-for-main-domain-cpswng-in-linux-from-sdk-version-9-0-and-above


    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    For the Native Linux Driver, the FAQ mentions adding "k3-j784s4-evm-quad-port-eth1-exp.dtbo", but does not mention EthFw.

    So, you need to keep ethfw-dtbo untill vision overlay is modified by removing the node references which are present in ethfw.dtso.

    How do you remove the node references which are present in ethfw.dtso?

    Best regards,

    Daisuke

  • Hi,

    For the Native Linux Driver, the FAQ mentions adding "k3-j784s4-evm-quad-port-eth1-exp.dtbo", but does not mention EthFw.

    Can you please check FAQ, I have updated related to disable of ETHFW.
    In your case, just soft link ipc binary to MCU2_0 instead of vision rebuild.

    So, you need to keep ethfw-dtbo untill vision overlay is modified by removing the node references which are present in ethfw.dtso.

    How do you remove the node references which are present in ethfw.dtso?

    You can refer to the nodes present on ethfw-dtso and check the referenced nodes in vision-dtso and comment/remove those nodes reference.
    After remove/comment rebuild linux-dtbs, and copy the generated dtbo to SDK card root file system boot/dtb/ti.

    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    Can you please check FAQ, I have updated related to disable of ETHFW.
    In your case, just soft link ipc binary to MCU2_0 instead of vision rebuild.

    If vision Apps is not using, does "ti/k3-j784s4-vision-apps.dtbo" also need to be removed in uEnv.txt?

    Best regards,

    Daisuke

  • Hi,

    If vision Apps is not using, does "ti/k3-j784s4-vision-apps.dtbo" also need to be removed in uEnv.txt?

    Yes, you can remove it.
    Also, update the soft-link for all R5F cores with ipc echo test examples by default vision binaries are soft linked to R5Fs.

    If you don't care about other R5F cores functionality just ignore other cores soft-link.

    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    Does the following command need to be executed after Linux boots to soft link the ipc echo test binary ?

    # ln -s /lib/firmware/ti-eth/j784s4/ipc_echo_test_mcu2_0_release_strip.xer5f j784s4-main-r5f0_0-fw

    However, as the boot logs in the posts above show, Linux fails to boot.

    How to soft link it?

    Best regards,

    Daisuke

  • Hi,

    # ln -s /lib/firmware/ti-eth/j784s4/ipc_echo_test_mcu2_0_release_strip.xer5f j784s4-main-r5f0_0-fw

    IPC echo test files are in /lib/firmware/ti-ipc/j784s4 not in ti-eth/j784s4. Refer to FAQ pointed above.

    Does the following command need to be executed after Linux boots to soft link the ipc echo test binary ?

    Yes, you can update by connected SD card to PC and open root and update link.
    In case of SD card connected to PC the file path is not /lib/firmware, it will be /media/root (i.e open SD card and go to ti-ipc path and use this in soft-link).

    However, as the boot logs in the posts above show, Linux fails to boot.

    How to soft link it?

    If you add ethfw-dtbo boot should success.

    Best Regards,
    Sudheer

  • Hello Daisuke-san,

    I guess I've run into the same problem ("but Linux stops during boot.") just now.

    What worked for me:

    • rm /lib/firmware/j784s4-main-r5f0_0-fw*
      • remove the R5f firmware alltogether. I'm not sure why I should have to replace it with the IPC example. Maybe Sudheer could explain the reason for that. It makes of course sense to remove the switch firmware if you intend to use the native driver.
    • patch k3-j784s4-evm-quad-port-eth1-exp.dtbo and remove the mux-sel-hog
      • it seems that the k3-j784s4-evm.dts was recently updated (arm64: dts: ti: k3-j784s4-evm: Enable analog audio support) and now configures that mux, but the k3-j784s4-evm-quad-port-eth1-exp.dtso wasn't updated accordingly. This causes probing for the quad ethernet port to fail, and apparently also blocks probing of the regulator-sd required for the SD-card.

    I've attached my patched dtbo. With those two changes the ethernet expansion board ports use the am65-cpsw-nuss driver ("native driver").

    Please note that I was using a pre-built RT image from https://software-dl.ti.com/cicd-report/linux/index.html?section=snapshot&platform=j784s4&snapshot=cicd.scarthgap.202410100400, not the 10.00.00.08 release.

    Edit: I noticed I included the wrong .dtbo at first. This includes the -fixed version:

    7608.k3-j784s4-evm-quad-port-eth-exp1-fixed.zipRegards,

    Dominic

  • Hi,

    rm /lib/firmware/j784s4-main-r5f0_0-fw*
    • remove the R5f firmware alltogether. I'm not sure why I should have to replace it with the IPC example. Maybe Sudheer could explain the reason for that. It makes of course sense to remove the switch firmware if you intend to use the native driver.

    This is fine, as you don't want MCU2_0 to run any firmware.(Avoid ETHFW).

    Please note that I was using a pre-built RT image from https://software-dl.ti.com/cicd-report/linux/index.html?section=snapshot&platform=j784s4&snapshot=cicd.scarthgap.202410100400, not the 10.00.00.08 release.

    RT Linux is not to customers from TI Product page. Please refer to below Software Page of TDA4VM.
    www.ti.com/.../TDA4VM
    RT Linux image was very old from above Software page.

    As it is working fine you, will be closing this thread.

    Best Regards,
    Sudheer

  • Hello Sudheer,

    please note that I'm in no way affiliated with Daisuke. I guess it makes sense to at least hear from him if his problem is solved.

    IF (I don't know, but strongly suspect, because the sources match) the 10.00.00.08 release is affected by the same issue, the next thing would be to file an issue to get this fixed.

    Regards,

    Dominic

  • Hi Dominic,

    IF (I don't know, but strongly suspect, because the sources match) the 10.00.00.08 release is affected by the same issue, the next thing would be to file an issue to get this fixed.

    It is not a Issue, Feature not enabled out of Box SDK,
    Default CPSW9G enabled from ETHFW Server running on MCU2_0. We can't enable CPSW9G from both MCU2_0 and A72 Linux at the same time, so we have created an FAQ for customer how to bring up CPSW9G with Native Linux Driver.

    I hope above will clarify the request ask and how to get that work.

    Best Regards,
    Sudheer

  • Hello Sudheer,

    I'm not talking about the need to disable the ETHFW, that is perfectly fine.

    What I'm saying is that the k3-j784s4-evm-quad-port-eth1-exp.dtbo that comes with processor SDK doesn't work. That's what caused an issue "but Linux stops during boot." for me, and I guess it is the same issue affecting Daisuke.

    Again, I haven't verified this on 10.00.00.08, and I don't intend to, as I need RT and am thus using the CI/CD build / custom Yocto builds. I was also able to fix this myself, and I provided my workaround as a courtesy to another customer. But in the interest of other customers it might make sense to a) verify there is an issue on 10.00.00.08 and b) then file an issue.

    Regards,

    Dominic

  • Hi,

    Again, I haven't verified this on 10.00.00.08, and I don't intend to, as I need RT and am thus using the CI/CD build / custom Yocto builds. I was also able to fix this myself, and I provided my workaround as a courtesy to another customer. But in the interest of other customers it might make sense to a) verify there is an issue on 10.00.00.08 and b) then file an issue

    It seems like failing in 10.0 SDK also, I have tested now.

    Thanks for pointing will file an issue and address in next SDK release.

    Best Regards,
    Sudheer

  • Hi Dominic-san,

    Thank you for your great cooperation. Sorry for my late reply.

    After our customer removed the R5F firmware alltogether and removed "k3-j784s4-evm-ethfw.dtbo" from the overlay in uEnv.txt, and replaced "k3-j784s4-evm-quad-port-eth1-exp.dtbo" with your attached file, the boot failed.

    The boot log is attached here:

    J784S4 Linux boot 4.txt
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Initialized 4 DRAM controllers
    SPL initial stack usage: 13456 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    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: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
    
    SoC:   J784S4 SR1.0 GP
    Model: Texas Instruments J784S4 EVM
    DRAM:  2 GiB (effective 32 GiB)
    Core:  143 devices, 35 uclasses, devicetree: separate
    Flash: spi_nand nand@0: Winbond SPI NAND was found.
    spi_nand nand@0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1148 bytes read in 40 ms (27.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    gpio: pin gpio@22_17 (gpio 188) value is 1
    gpio: pin gpio@22_16 (gpio 187) value is 0
    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
    Failed to load '/lib/firmware/j784s4-main-r5f0_0-fw'
    322804 bytes read in 116 ms (2.7 MiB/s)
    k3_r5f_rproc r5f@5d00000: Invalid seq: Enable primary core before loading secondary core
    Load Remote Processor 3 with data@addr=0x82000000 322804 bytes: Failed!
    146624 bytes read in 115 ms (1.2 MiB/s)
    Load Remote Processor 4 with data@addr=0x82000000 146624 bytes: Success!
    146624 bytes read in 114 ms (1.2 MiB/s)
    Load Remote Processor 5 with data@addr=0x82000000 146624 bytes: Success!
    486652 bytes read in 117 ms (4 MiB/s)
    Load Remote Processor 6 with data@addr=0x82000000 486652 bytes: Success!
    146624 bytes read in 114 ms (1.2 MiB/s)
    Load Remote Processor 7 with data@addr=0x82000000 146624 bytes: Success!
    15601992 bytes read in 275 ms (54.1 MiB/s)
    Load Remote Processor 8 with data@addr=0x82000000 15601992 bytes: Success!
    15995096 bytes read in 280 ms (54.5 MiB/s)
    Load Remote Processor 9 with data@addr=0x82000000 15995096 bytes: Success!
    15470864 bytes read in 274 ms (53.8 MiB/s)
    Load Remote Processor 10 with data@addr=0x82000000 15470864 bytes: Success!
    15470864 bytes read in 275 ms (53.7 MiB/s)
    Load Remote Processor 11 with data@addr=0x82000000 15470864 bytes: Success!
    20285952 bytes read in 255 ms (75.9 MiB/s)
    130753 bytes read in 44 ms (2.8 MiB/s)
    Working FDT set to 88000000
    14601 bytes read in 43 ms (331.1 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
    4257 bytes read in 43 ms (96.7 KiB/s)
    failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
    base fdt does not have a /__symbols__ node
    make sure you've compiled with -@
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    Scanning for bootflows in all bootdevs
    Seq  Method       State   Uclass    Part  Name                      Filename
    ---  -----------  ------  --------  ----  ------------------------  ----------------
    Scanning global bootmeth 'efi_mgr':
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
      0  efi_mgr      ready   (none)       0  <NULL>
    ** Booting bootflow '<NULL>' with efi_mgr
    Loading Boot0000 'mmc 1' failed
    Loading Boot0001 'mmc 0' failed
    EFI boot manager: Cannot load any image
    Boot failed (err=-14)
    Scanning bootdev 'mmc@4fb0000.bootdev':
    Scanning bootdev 'mmc@4f80000.bootdev':
    No working controllers found
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    ethernet@46000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@46000000port@1: am65_cpsw_start end error
    No more bootdevs
    ---  -----------  ------  --------  ----  ------------------------  ----------------
    (1 bootflow, 1 valid)
    =>

    The R5F firmware fails to load in the boot.

    Failed to load '/lib/firmware/j784s4-main-r5f0_0-fw'

    How to avoid loading R5F firmware?

    On the other hand, after our customer softlinked the ipc binary "ipc_echo_test_mcu2_0_release_strip.xer5f" to the R5F firmware, and replaced "k3-j784s4-evm-quad-port-eth1-exp.dtbo" with your attached file, the boot is successful and the QSGMII port can link up.

    Best regards,

    Daisuke

  • Hi,

    Failed to load '/lib/firmware/j784s4-main-r5f0_0-fw'

    How to avoid loading R5F firmware?

    The better way could be, soft link IPC echo test binary.

    On the other hand, after our customer softlinked the ipc binary "ipc_echo_test_mcu2_0_release_strip.xer5f" to the R5F firmware, and replaced "k3-j784s4-evm-quad-port-eth1-exp.dtbo" with your attached file, the boot is successful and the QSGMII port can link up.

    This is fine for booting EVM with QSGMII Ports.

    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    Our customer wants to test Switch Mode in QSGMII mode, but that also does not work.

    software-dl.ti.com/.../CPSWng-Native-Ethernet.html

    The linux log is attached here:

    J784S4 Linux log.txt
    root@j784s4-evm:~# cat ipset.sh
    #!/bin/bash
    
    devlink dev param set platform/c000000.ethernet name switch_mode value true cmode runtime
    ip link add name br0 type bridge
    ip link set dev br0 type bridge ageing_time 1000
    ip link set dev eth1 up
    ip link set dev eth2 up
    ip link set dev eth3 up
    ip link set dev eth4 up
    ip link set dev eth1 master br0
    ip link set dev eth2 master br0
    ip link set dev eth3 master br0
    ip link set dev eth4 master br0
    
    ip link set dev br0 type bridge vlan_filtering 1
    bridge vlan add dev br0 vid 1 self
    bridge vlan add dev br0 vid 1 pvid untagged self
    
    ip address add 10.10.67.50/24 dev br0
    
    
    
    root@j784s4-evm:~#
    root@j784s4-evm:~# ./ipset.sh
    [   41.618748] am65-cpsw-nuss c000000.ethernet: Enable switch mode
    [   41.655196] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [   41.713478] br0: port 1(eth1) entered blocking state
    [   41.718475] br0: port 1(eth1) entered disabled state
    [   41.723466] am65-cpsw-nuss c000000.ethernet eth1: entered allmulticast mode
    [   41.739556] am65-cpsw-nuss c000000.ethernet eth1: entered promiscuous mode
    [   41.746456] kauditd_printk_skb: 5 callbacks suppressed
    [   41.746460] audit: type=1700 audit(1709059921.024:21): dev=eth1 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    [   41.751557] br0: port 2(eth2) entered blocking state
    [   41.751730] audit: type=1300 audit(1709059921.024:21): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffeea95128 a2=0 a3=1 items=0 ppid=1173 pid=1190 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null)
    [   41.762989] br0: port 2(eth2) entered disabled state
    [   41.767917] audit: type=1327 audit(1709059921.024:21): proctitle=6970006C696E6B00736574006465760065746831006D617374657200627230
    [   41.811190] am65-cpsw-nuss c000000.ethernet eth2: entered allmulticast mode
    [   41.822251] am65-cpsw-nuss c000000.ethernet eth2: entered promiscuous mode
    [   41.829144] audit: type=1700 audit(1709059921.064:22): dev=eth2 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    [   41.832059] br0: port 3(eth3) entered blocking state
    [   41.840541] audit: type=1300 audit(1709059921.064:22): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffec6d4b78 a2=0 a3=1 items=0 ppid=1173 pid=1191 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null)
    [   41.845480] br0: port 3(eth3) entered disabled state
    [   41.872264] audit: type=1327 audit(1709059921.064:22): proctitle=6970006C696E6B00736574006465760065746832006D617374657200627230
    [   41.877244] am65-cpsw-nuss c000000.ethernet eth3: entered allmulticast mode
    [   41.901631] am65-cpsw-nuss c000000.ethernet eth3: entered promiscuous mode
    [   41.908514] audit: type=1700 audit(1709059921.144:23): dev=eth3 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    [   41.911472] br0: port 4(eth4) entered blocking state
    [   41.919897] audit: type=1300 audit(1709059921.144:23): arch=c00000b7 syscall=211 success=yes exit=40 a0=3 a1=ffffd1953788 a2=0 a3=1 items=0 ppid=1173 pid=1192 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS2 ses=4294967295 comm="ip" exe="/usr/sbin/ip.iproute2" key=(null)
    [   41.924854] br0: port 4(eth4) entered disabled state
    [   41.951638] audit: type=1327 audit(1709059921.144:23): proctitle=6970006C696E6B00736574006465760065746833006D617374657200627230
    [   41.968116] am65-cpsw-nuss c000000.ethernet eth4: entered allmulticast mode
    [   41.979128] am65-cpsw-nuss c000000.ethernet eth4: entered promiscuous mode
    [   41.986017] audit: type=1700 audit(1709059921.224:24): dev=eth4 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
    root@j784s4-evm:~#
    root@j784s4-evm:~# ping 10.10.67.100
    ping: connect: Network is unreachable
    root@j784s4-evm:~#

    How to configure as Switch Mode in QSGMII mode?

    Best regards,

    Daisuke

  • Hi,

    Enable spanning tree protocl, if any loops in network connections the same packets will flood in network and create infinate loop.
    Please enable spanning tree protocol and check.

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j784s4/10_00_00_08/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSWng-Native-Ethernet.html#turn-on-off-spanning-tree-protocol-stp
    ip link set dev br0 type bridge stp_state 1/0


    Also, make sure that there will not be flooding of packets in network.

    Best Regards,
    Sudheer

  • Hi Sudheer-san,

    Thank you for your reply.

    After enabling the bridge, QSGMII works fine in switch mode.

    ip link set br0 up

    Best regards,

    Daisuke

  • Hi Sudheer-san,

    Does the J784S4XEVM support 8 Ethernet ports using two J721EXENETXPANEVMs with the latest PSDK Linux (10.00.00.08)?

    The following thread discusses achieving 8 ports using two J721EXENETXPANEVMs on TDA4VH EVM with the previous PSDK Linux (09.02.00.05).

    e2e.ti.com/.../tda4vh-q1-evaluate-8-eth-ports-of-cpsw-9g-on-tda4vh-evm

    Best regards,

    Daisuke

  • Hi,

    Does the J784S4XEVM support 8 Ethernet ports using two J721EXENETXPANEVMs with the latest PSDK Linux (10.00.00.08)?

    No, It has an H/W limitation as described on below thread, we need to modify the PHY-address from J721EXENETXPANEVMs for connecting to J784s4 EVM.
    e2e.ti.com/.../tda4vh-q1-evaluate-8-eth-ports-of-cpsw-9g-on-tda4vh-evm

    The following thread discusses achieving 8 ports using two J721EXENETXPANEVMs on TDA4VH EVM with the previous PSDK Linux (09.02.00.05).

    Similar steps can be followed for SDK 10.0 as well.

    Best Regards,
    Sudheer