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.

J784S4XEVM: Problem with using MAIN_CPSW2g ethernet inside Linux

Part Number: J784S4XEVM

Tool/software:

Hello everyone,

We are currently working on SDK 10.0 for a custom board based on the J784S4 and need assistance with the configuration and proper usage of the MAIN_CPSW2g Ethernet (2G).

We have enabled all the relevant sections for the MAIN_CPSW2g  Ethernet interface, and it is visible in Linux when using the ifconfig -a command. When we enable the interface with ifconfig eth1 up, the PHY link comes up as expected. However, after manually setting the IP address, netmask, and gateway, we are unable to ping a remote PC. Interestingly, following the same steps for the MCU_CPSW2g Ethernet allows us to ping the remote PC without issue.

To debug further, we attempted to configure the MAIN_CPSW2g Ethernet in U-Boot, following the steps outlined in a Texas Instruments post. By disabling the MCU_CPSW2g Ethernet in the DTS (likely due to U-Boot’s limitation of supporting a single interface), we were able to successfully ping the remote PC using the MAIN_CPSW2g Ethernet.

However, we encountered a separate issue when testing on the J784S4 EVM board with the default image. After flashing the EVM and attempting to use the MAIN_CPSW2g Ethernet, connecting the cable resulted in no activity; the link seemed completely inactive, leaving us in a worse state compared to our custom board.

This raises several questions:

  1. Is the MAIN_CPSW2g Ethernet expected to work in conjunction with the MCU_CPSW2g Ethernet in Linux? Our attempts to enable both interfaces simultaneously on the EVM were unsuccessful.
  2. Are there specific configurations or additional steps required in Linux to ensure the MAIN_CPSW2g Ethernet operates correctly?
  3. Could any hardware or DTS configuration issues be contributing to these inconsistencies, either on our custom board or the EVM?

We would greatly appreciate any guidance or recommendations to address this issue.

Thank you in advance for your support.

Best regards,
Dušan

  • Hi,

    Is the MAIN_CPSW2g Ethernet expected to work in conjunction with the MCU_CPSW2g Ethernet in Linux? Our attempts to enable both interfaces simultaneously on the EVM were unsuccessful.

    Yes, the MCU CPSW2G and Main CPSW2G work independently of each other. This means that it is possible for them run together at once without any issues

    • Are there specific configurations or additional steps required in Linux to ensure the MAIN_CPSW2g Ethernet operates correctly?
    • Could any hardware or DTS configuration issues be contributing to these inconsistencies, either on our custom board or the EVM?

    I do not see the issues you have mentioned on EVM. Can you share the linux boot log for both EVM and custom board?

    Also on your custom board, what is the configuration for MAIN_CPSW2G? 

    Regards,
    Tanmay

  • Hi Tanmay,

    I will provide logs from both the EVM board and our custom board for your reference.

    From the logs, you can observe the following behavior:

    • EVM Board: The eth1 interface (MAIN_CPSW2g) appears as "up," but there is no activity when we plug in the Ethernet cable. The LEDs do not blink, and the ethtool command confirms no link is established.
    • Custom Board: Initially, eth1 is not visible, but we can manually bring up the interface. Logs indicate the interface changes to the "up" state which also can be confirmed using ethtool . Additionally, I’ve included the ping logs for further clarity.

    Both the MAIN_CPSW2g and MCU_CPSW2g interfaces on our custom board use a different PHY (NXP TJA1120). We have updated both the U-Boot and Linux kernel configurations to reflect this change.

    For your reference, I’ve included the relevant DTS sections for both MAIN_CPSW2g and MCU_CPSW2g below:

    &mcu_cpsw {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_cpsw_pins_default>;
    
        cpts@3d000 {
            /* Map HW4_TS_PUSH to GENF1 */
            ti,pps = <3 1>;
        };
    };
    
    &davinci_mdio {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_mdio_pins_default>;
    
        mcu_phy0: ethernet-phy@19 {
            reg = <19>;
            rx-internal-delay-ps = <2000>;
            tx-internal-delay-ps = <2000>;
        };
    };
    
    &mcu_cpsw_port1 {
        status = "okay";
        phy-mode = "rgmii-id";
        phy-handle = <&mcu_phy0>;
    };
    
    &main_cpsw1 {
        pinctrl-names = "default";
        pinctrl-0 = <&main_cpsw2g_default_pins>;
        status = "okay";
    };
    
    &main_cpsw1_mdio {
        pinctrl-names = "default";
        pinctrl-0 = <&main_cpsw2g_mdio_default_pins>;
        status = "okay";
    
        main_cpsw1_phy0: ethernet-phy@19 {
            reg = <19>;
            rx-internal-delay-ps = <2000>;
            tx-internal-delay-ps = <2000>;
        };
    };
    
    &main_cpsw1_port1 {
        phy-mode = "rgmii-id";
        phy-handle = <&main_cpsw1_phy0>;
        status = "okay";
    };
    


    Please let me know if you need additional details or further logs to help diagnose the issue.

    Best regards,
    Dušan

    full_boot_logs_evm.txt

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32-ti-01301-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 0x0000000002850000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000b90000000, size 1792 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000b90000000..0x0000000bffffffff (1835008 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 r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable r5f-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable r5f-memory@a7100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a8000000..0x00000000a80fffff (1024 KiB) nomap non-reusable c71-dma-memory@a8000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a8100000..0x00000000a8ffffff (15360 KiB) nomap non-reusable c71-memory@a8100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a9000000..0x00000000a90fffff (1024 KiB) nomap non-reusable c71-dma-memory@a9000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a9100000..0x00000000a9ffffff (15360 KiB) nomap non-reusable c71-memory@a9100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000aa000000..0x00000000aa0fffff (1024 KiB) nomap non-reusable c71-dma-memory@aa000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000aa100000..0x00000000aaffffff (15360 KiB) nomap non-reusable c71-memory@aa100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ab000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@ab000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ab000000..0x00000000ab0fffff (1024 KiB) nomap non-reusable c71-dma-memory@ab000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ab100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@ab100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ab100000..0x00000000abffffff (15360 KiB) nomap non-reusable c71-memory@ab100000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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] pcpu-alloc: s42920 r8192 d30808 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
    [    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,0x02850000 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) rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.238.115:/home/pijetlovic/TI_SDK/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 ip=192.168.238.203:192.168.238.115:192.168.238.1:255.255.255.0::eth0:off debug_level=8
    [    0.000000] Unknown kernel command line parameters "debug_level=8", will be passed to user space.
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    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: 14313812K/16777216K available (12032K kernel code, 1252K rwdata, 4044K rodata, 2432K init, 504K bss, 628396K 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 @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880060000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880070000
    [    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.008444] Console: colour dummy device 80x25
    [    0.013018] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023689] pid_max: default: 32768 minimum: 301
    [    0.028449] LSM: initializing lsm=capability,integrity
    [    0.033806] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041601] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050887] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.058149] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.065999] rcu: Hierarchical SRCU implementation.
    [    0.070897] rcu: 	Max phase no-delay instances is 1000.
    [    0.076403] Platform MSI: msi-controller@1820000 domain created
    [    0.082611] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.092051] EFI services will not be available.
    [    0.096940] smp: Bringing up secondary CPUs ...
    [    0.110072] Detected PIPT I-cache on CPU1
    [    0.110118] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.110132] GICv3: CPU1: using allocated LPI pending table @0x0000000880080000
    [    0.110165] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.118652] Detected PIPT I-cache on CPU2
    [    0.118682] GICv3: CPU2: found redistributor 2 region 0:0x0000000001940000
    [    0.118695] GICv3: CPU2: using allocated LPI pending table @0x0000000880090000
    [    0.118718] CPU2: Booted secondary processor 0x0000000002 [0x411fd080]
    [    0.127172] Detected PIPT I-cache on CPU3
    [    0.127203] GICv3: CPU3: found redistributor 3 region 0:0x0000000001960000
    [    0.127215] GICv3: CPU3: using allocated LPI pending table @0x00000008800a0000
    [    0.127239] CPU3: Booted secondary processor 0x0000000003 [0x411fd080]
    [    0.135751] Detected PIPT I-cache on CPU4
    [    0.135807] GICv3: CPU4: found redistributor 100 region 0:0x0000000001980000
    [    0.135821] GICv3: CPU4: using allocated LPI pending table @0x00000008800b0000
    [    0.135851] CPU4: Booted secondary processor 0x0000000100 [0x411fd080]
    [    0.144344] Detected PIPT I-cache on CPU5
    [    0.144379] GICv3: CPU5: found redistributor 101 region 0:0x00000000019a0000
    [    0.144392] GICv3: CPU5: using allocated LPI pending table @0x00000008800c0000
    [    0.144416] CPU5: Booted secondary processor 0x0000000101 [0x411fd080]
    [    0.152871] Detected PIPT I-cache on CPU6
    [    0.152909] GICv3: CPU6: found redistributor 102 region 0:0x00000000019c0000
    [    0.152922] GICv3: CPU6: using allocated LPI pending table @0x00000008800d0000
    [    0.152945] CPU6: Booted secondary processor 0x0000000102 [0x411fd080]
    [    0.161417] Detected PIPT I-cache on CPU7
    [    0.161459] GICv3: CPU7: found redistributor 103 region 0:0x00000000019e0000
    [    0.161472] GICv3: CPU7: using allocated LPI pending table @0x00000008800e0000
    [    0.161496] CPU7: Booted secondary processor 0x0000000103 [0x411fd080]
    [    0.161549] smp: Brought up 1 node, 8 CPUs
    [    0.342530] SMP: Total of 8 processors activated.
    [    0.347336] CPU features: detected: 32-bit EL0 Support
    [    0.352591] CPU features: detected: CRC32 instructions
    [    0.357885] CPU: All CPU(s) started at EL2
    [    0.362074] alternatives: applying system-wide alternatives
    [    0.368847] devtmpfs: initialized
    [    0.381467] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.391445] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.429758] pinctrl core: initialized pinctrl subsystem
    [    0.435430] DMI not present or invalid.
    [    0.439722] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.446615] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.454270] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.462625] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.470842] audit: initializing netlink subsys (disabled)
    [    0.476459] audit: type=2000 audit(0.328:1): state=initialized audit_enabled=0 res=1
    [    0.476655] thermal_sys: Registered thermal governor 'step_wise'
    [    0.484387] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.490542] cpuidle: using governor menu
    [    0.501286] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.508306] ASID allocator initialised with 65536 entries
    [    0.524190] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.535384] Modules: 27664 pages in range for non-PLT usage
    [    0.535388] Modules: 519184 pages in range for PLT usage
    [    0.541512] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.553885] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.560289] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.567225] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.573627] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.580561] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.586963] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.593897] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.601082] k3-chipinfo 43000014.chipid: Family:J784S4 rev:SR1.0 JTAGID[0x0bb8002f] Detected
    [    0.610115] iommu: Default domain type: Translated
    [    0.615016] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.621473] SCSI subsystem initialized
    [    0.625380] libata version 3.00 loaded.
    [    0.625464] usbcore: registered new interface driver usbfs
    [    0.631082] usbcore: registered new interface driver hub
    [    0.636521] usbcore: registered new device driver usb
    [    0.641940] pps_core: LinuxPPS API ver. 1 registered
    [    0.647013] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.656352] PTP clock support registered
    [    0.660461] EDAC MC: Ver: 3.0.0
    [    0.663884] scmi_core: SCMI protocol bus registered
    [    0.669003] FPGA manager framework
    [    0.672511] Advanced Linux Sound Architecture Driver Initialized.
    [    0.679169] vgaarb: loaded
    [    0.682097] clocksource: Switched to clocksource arch_sys_counter
    [    0.688448] VFS: Disk quotas dquot_6.6.0
    [    0.692472] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.702755] NET: Registered PF_INET protocol family
    [    0.708324] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.721089] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.730024] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.737959] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.746641] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.756126] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.763035] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.770155] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.777799] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.783903] RPC: Registered named UNIX socket transport module.
    [    0.789963] RPC: Registered udp transport module.
    [    0.794766] RPC: Registered tcp transport module.
    [    0.799569] RPC: Registered tcp-with-tls transport module.
    [    0.805172] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.811754] NET: Registered PF_XDP protocol family
    [    0.816659] PCI: CLS 0 bytes, default 64
    [    0.821676] Initialise system trusted keyrings
    [    0.826320] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.833073] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.839183] NFS: Registering the id_resolver key type
    [    0.844366] Key type id_resolver registered
    [    0.848639] Key type id_legacy registered
    [    0.852741] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.859590] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.880779] Key type asymmetric registered
    [    0.884963] Asymmetric key parser 'x509' registered
    [    0.889971] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.897532] io scheduler mq-deadline registered
    [    0.902164] io scheduler kyber registered
    [    0.906279] io scheduler bfq registered
    [    0.912535] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.918524] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.924541] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.930753] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.936577] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.942658] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.948409] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.954415] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.964102] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.976628] loop: module loaded
    [    0.980406] megasas: 07.725.01.00-rc1
    [    0.984807] MACsec IEEE 802.1AE
    [    0.989287] tun: Universal TUN/TAP device driver, 1.6
    [    0.994971] VFIO - User Level meta-driver version: 0.3
    [    1.000870] usbcore: registered new interface driver usb-storage
    [    1.007358] i2c_dev: i2c /dev entries driver
    [    1.012379] sdhci: Secure Digital Host Controller Interface driver
    [    1.018698] sdhci: Copyright(c) Pierre Ossman
    [    1.023279] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.029484] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.035799] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.042777] usbcore: registered new interface driver usbhid
    [    1.048473] usbhid: USB HID core driver
    [    1.053293] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    1.061999] optee: probing for conduit method.
    [    1.066579] optee: revision 4.2 (12d7c4ee)
    [    1.082989] optee: dynamic shared memory is enabled
    [    1.092555] random: crng init done
    [    1.096082] optee: initialized driver
    [    1.100979] NET: Registered PF_PACKET protocol family
    [    1.106192] Key type dns_resolver registered
    [    1.113939] registered taskstats version 1
    [    1.118407] Loading compiled-in X.509 certificates
    [    1.130401] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.174389] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.185067] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.195760] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.224630] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.230816] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.236865] omap_i2c 40b10000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.243122] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    1.249965] pca953x 3-0022: using AI
    [    1.275018] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.281154] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.287109] omap_i2c 2040000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.293065] omap_i2c 2050000.i2c: bus 7 rev0.12 at 400 kHz
    [    1.298773] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 177 domain created
    [    1.307305] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 10 domain created
    [    1.316558] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 283 domain created
    [    1.325252] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 321 created
    [    1.334262] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.341181] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.350523] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    [    1.360401] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.367170] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.376568] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:315
    [    1.386718] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.393479] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.401531] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 229, base_baud = 6000000) is a 8250
    [    1.411097] 2850000.serial: ttyS2 at MMIO 0x2850000 (irq = 230, base_baud = 3000000) is a 8250
    [    1.419959] printk: console [ttyS2] enabled
    [    1.428415] printk: bootconsole [ns16550a0] disabled
    [    1.482097] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.497201] davinci_mdio 46000f00.mdio: phy[19]: device 46000f00.mdio:13, driver NXP C45 TJA1120
    [    1.505991] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.518800] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.526006] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.532163] pps pps0: new PPS source ptp0
    [    1.536301] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.586100] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.600886] davinci_mdio c200f00.mdio: phy[19]: device c200f00.mdio:13, driver NXP C45 TJA1120
    [    1.609498] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.622253] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    1.628508] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    1.635628] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    1.641761] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:250000000, add_val:3 pps:0
    [    1.651889] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.652169] mmc0: CQHCI version 5.10
    [    1.658717] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.668787] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.675605] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fca100
    [    1.682399] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.689205] omap-mailbox 31f85000.mailbox: omap mailbox rev 0x66fca100
    [    1.700667] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.781534] mmc0: Command Queue Engine enabled
    [    1.785979] mmc0: new HS400 MMC card at address 0001
    [    1.791299] mmcblk0: mmc0:0001 DG4008 7.28 GiB
    [    1.798282]  mmcblk0: p1
    [    1.801077] mmcblk0boot0: mmc0:0001 DG4008 4.00 MiB
    [    1.806667] mmcblk0boot1: mmc0:0001 DG4008 4.00 MiB
    [    1.812172] mmcblk0rpmb: mmc0:0001 DG4008 4.00 MiB, chardev (239:0)
    [    1.878057] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    1.884722] tps6594-rtc tps6594-rtc.4.auto: setting system clock to 2025-01-22T12:51:14 UTC (1737550274)
    [    1.895020] ti-udma 285c0000.dma-controller: Channels: 22 (tchan: 11, rchan: 11, gp-rflow: 8)
    [    1.905326] ti-udma 31150000.dma-controller: Channels: 66 (tchan: 33, rchan: 33, gp-rflow: 16)
    [    1.917605] spi-nor: probe of spi0.0 failed with error -22
    [    1.962098] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.976378] davinci_mdio 46000f00.mdio: phy[19]: device 46000f00.mdio:13, driver NXP C45 TJA1120
    [    1.985167] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.997973] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.005179] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.011344] pps pps0: new PPS source ptp0
    [    2.015499] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.030196] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.078101] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.092229] davinci_mdio c200f00.mdio: phy[19]: device c200f00.mdio:13, driver NXP C45 TJA1120
    [    2.100842] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.113610] am65-cpsw-nuss c200000.ethernet: Use random MAC address
    [    2.119872] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4
    [    2.126992] am65-cpsw-nuss c200000.ethernet: ALE Table size 64
    [    2.133166] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:250000000, add_val:3 pps:0
    [    2.148276] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82
    [    2.214984] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:13] driver [NXP C45 TJA1120] (irq=POLL)
    [    2.224901] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-id link mode
    [    2.243011] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [    2.266104] IP-Config: Complete:
    [    2.269320]      device=eth0, hwaddr=c0:d6:0a:de:2f:47, ipaddr=192.168.238.203, mask=255.255.255.0, gw=192.168.238.1
    [    2.279823]      host=192.168.238.203, domain=, nis-domain=(none)
    [    2.285902]      bootserver=192.168.238.115, rootserver=192.168.238.115, rootpath=
    [    2.286001] clk: Disabling unused clocks
    [    2.306225] ALSA device list:
    [    2.309184]   No soundcards found.
    [    2.326695] VFS: Mounted root (nfs filesystem) on device 0:21.
    [    2.333130] devtmpfs: mounted
    [    2.337324] Freeing unused kernel memory: 2432K
    [    2.341941] Run /sbin/init as init process
    [    2.346027]   with arguments:
    [    2.346029]     /sbin/init
    [    2.346032]   with environment:
    [    2.346033]     HOME=/
    [    2.346035]     TERM=linux
    [    2.346037]     debug_level=8
    [    3.468622] NET: Registered PF_INET6 protocol family
    [    3.474586] Segment Routing with IPv6
    [    3.478723] In-situ OAM (IOAM) with IPv6
    [    3.594386] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    3.626171] systemd[1]: Detected architecture arm64.
    [    3.665567] systemd[1]: Hostname set to <j784s4-evm>.
    [    4.354843] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.503923] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.632523] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.688913] systemd[1]: Created slice Slice /system/getty.
    [    4.711087] systemd[1]: Created slice Slice /system/modprobe.
    [    4.735035] systemd[1]: Created slice Slice /system/serial-getty.
    [    4.758827] systemd[1]: Created slice User and Session Slice.
    [    4.782270] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.806228] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.830171] systemd[1]: Expecting device /dev/ttyS2...
    [    4.846192] systemd[1]: Reached target Path Units.
    [    4.862149] systemd[1]: Reached target Remote File Systems.
    [    4.882142] systemd[1]: Reached target Slice Units.
    [    4.898147] systemd[1]: Reached target Swaps.
    [    4.936288] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    4.962241] systemd[1]: Reached target RPC Port Mapper.
    [    4.987746] systemd[1]: Listening on Process Core Dump Socket.
    [    5.010301] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    5.035172] systemd[1]: Listening on Journal Audit Socket.
    [    5.059028] systemd[1]: Listening on Journal Socket (/dev/log).
    [    5.082407] systemd[1]: Listening on Journal Socket.
    [    5.099013] systemd[1]: Listening on Network Service Netlink Socket.
    [    5.125182] systemd[1]: Listening on udev Control Socket.
    [    5.146328] systemd[1]: Listening on udev Kernel Socket.
    [    5.166789] systemd[1]: Listening on User Database Manager Socket.
    [    5.230305] systemd[1]: Mounting Huge Pages File System...
    [    5.249645] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.273662] systemd[1]: Mounting Kernel Debug File System...
    [    5.290409] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    5.309732] systemd[1]: Mounting Temporary Directory /tmp...
    [    5.330652] systemd[1]: Starting Create List of Static Device Nodes...
    [    5.357926] systemd[1]: Starting Load Kernel Module configfs...
    [    5.377810] systemd[1]: Starting Load Kernel Module drm...
    [    5.386959] systemd[1]: Starting Load Kernel Module fuse...
    [    5.403826] systemd[1]: Starting Start psplash boot splash screen...
    [    5.420908] systemd[1]: Starting RPC Bind...
    [    5.435327] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    5.456142] systemd[1]: Starting Journal Service...
    [    5.563711] fuse: init (API version 7.39)
    [    5.638612] systemd[1]: Starting Load Kernel Modules...
    [    5.676795] systemd[1]: Starting Generate network units from Kernel command line...
    [    5.707301] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.741211] systemd[1]: Starting Coldplug All udev Devices...
    [    5.758738] systemd-journald[162]: Collecting audit messages is enabled.
    [    5.761680] systemd[1]: Started RPC Bind.
    [    5.777384] cryptodev: loading out-of-tree module taints kernel.
    [    5.784307] systemd[1]: Mounted Huge Pages File System.
    [    5.784346] cryptodev: driver 1.13 loaded.
    [    5.814857] systemd[1]: Mounted POSIX Message Queue File System.
    [    5.838947] systemd[1]: Started Journal Service.
    [    6.212718] systemd-journald[162]: Received client request to flush runtime journal.
    [    6.515499] audit: type=1334 audit(1737550279.128:2): prog-id=6 op=LOAD
    [    6.522167] audit: type=1334 audit(1737550279.136:3): prog-id=7 op=LOAD
    [    6.970764] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    6.980306] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    6.987161] k3-dsp-rproc 64800000.dsp: local reset is deasserted for device
    [    6.995055] remoteproc remoteproc0: 64800000.dsp is available
    [    7.001235] CAN device driver interface
    [    7.002295] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a9000000
    [    7.014762] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    7.016638] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    7.021855] k3-dsp-rproc 65800000.dsp: local reset is deasserted for device
    [    7.035342] remoteproc remoteproc1: 65800000.dsp is available
    [    7.041731] k3-dsp-rproc 66800000.dsp: assigned reserved memory node c71-dma-memory@aa000000
    [    7.051280] k3-dsp-rproc 66800000.dsp: configured DSP for remoteproc mode
    [    7.051569] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.058151] k3-dsp-rproc 66800000.dsp: local reset is deasserted for device
    [    7.070468] platform 41000000.r5f: configured R5F for IPC-only mode
    [    7.077366] remoteproc remoteproc2: 66800000.dsp is available
    [    7.083297] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.089502] k3-dsp-rproc 67800000.dsp: assigned reserved memory node c71-dma-memory@ab000000
    [    7.098222] remoteproc remoteproc3: 41000000.r5f is available
    [    7.105693] at24 0-0050: supply vcc not found, using dummy regulator
    [    7.106723] k3-dsp-rproc 67800000.dsp: configured DSP for remoteproc mode
    [    7.106764] k3-dsp-rproc 67800000.dsp: local reset is deasserted for device
    [    7.107267] remoteproc remoteproc4: 67800000.dsp is available
    [    7.111375] remoteproc remoteproc3: attaching to 41000000.r5f
    [    7.118188] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    7.125017] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    7.156470] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.165995] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.171552] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [    7.178337] remoteproc remoteproc3: remote processor 41000000.r5f is now attached
    [    7.179061] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    7.193993] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    7.201520] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    7.201541] mc: Linux media interface: v0.10
    [    7.208266] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    7.221141] remoteproc remoteproc5: 5c00000.r5f is available
    [    7.221272] m_can_platform 40528000.can: m_can device registered (irq=606, version=32)
    [    7.236022] m_can_platform 2711000.can: m_can device registered (irq=607, version=32)
    [    7.244839] m_can_platform 2741000.can: m_can device registered (irq=608, version=32)
    [    7.253788] m_can_platform 2751000.can: m_can device registered (irq=609, version=32)
    [    7.262784] m_can_platform 26a1000.can: m_can device registered (irq=610, version=32)
    [    7.312191] PVR_K:  219: Device: 4e20000000.gpu
    [    7.318072] PVR_K:  219: Read BVNC 36.53.104.796 from HW device registers
    [    7.324974] PVR_K:  219: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
    [    7.332307] m_can_platform 40528000.can mcu_mcan0: renamed from can0
    [    7.334574] [drm] Initialized pvr 24.1.6554834 20170530 for 4e20000000.gpu on minor 0
    [    7.394619] m_can_platform 2711000.can main_mcan1: renamed from can1
    [    7.403405] videodev: Linux video capture interface: v2.00
    [    7.426613] m_can_platform 2741000.can main_mcan4: renamed from can2
    [    7.464548] m_can_platform 2751000.can main_mcan5: renamed from can3
    [    7.725008] m_can_platform 26a1000.can main_mcan16: renamed from can4
    [    8.133274] remoteproc remoteproc5: powering up 5c00000.r5f
    [    8.138882] remoteproc remoteproc5: Booting fw image j784s4-main-r5f0_0-fw, size 1613384
    [    8.147532] remoteproc remoteproc5: bad phdr da 0xa2104000 mem 0x131430a
    [    8.154240] remoteproc remoteproc5: Failed to load program segments: -22
    [    8.280136] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
    [    8.285647] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 1
    [    8.293449] xhci-hcd xhci-hcd.7.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000008010
    [    8.302881] xhci-hcd xhci-hcd.7.auto: irq 612, io mem 0x06010000
    [    8.309064] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
    [    8.314556] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 2
    [    8.322283] xhci-hcd xhci-hcd.7.auto: Host supports USB 3.0 SuperSpeed
    [    8.329622] hub 1-0:1.0: USB hub found
    [    8.333408] hub 1-0:1.0: 1 port detected
    [    8.337639] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.346200] hub 2-0:1.0: USB hub found
    [    8.349955] hub 2-0:1.0: 1 port detected
    [    9.250110] k3_r5_rproc bus@100000:r5fss@5c00000: Timed out waiting for 5c00000.r5f core to power up!
    [    9.260801] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    9.267666] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    9.276200] remoteproc remoteproc6: 5e00000.r5f is available
    [    9.948834] remoteproc remoteproc6: powering up 5e00000.r5f
    [    9.954430] remoteproc remoteproc6: Booting fw image j784s4-main-r5f1_0-fw, size 146624
    [    9.962975] remoteproc remoteproc6: bad phdr da 0xa5100000 mem 0x8c
    [    9.974412] remoteproc remoteproc6: Failed to load program segments: -22
    [   11.298128] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   11.308730] platform 5900000.r5f: configured R5F for remoteproc mode
    [   11.315572] platform 5900000.r5f: assigned reserved memory node r5f-dma-memory@a6000000
    [   11.324587] remoteproc remoteproc7: 5900000.r5f is available
    [   11.389532] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [   11.397426] vdec 4210000.video-codec: Product Code:      0x521c
    [   11.403434] vdec 4210000.video-codec: Firmware Revision: 320127
    [   11.505964] vdec 4220000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [   11.513846] vdec 4220000.video-codec: Product Code:      0x521c
    [   11.519769] vdec 4220000.video-codec: Firmware Revision: 320127
    [   11.987714] remoteproc remoteproc7: powering up 5900000.r5f
    [   11.993328] remoteproc remoteproc7: Booting fw image j784s4-main-r5f2_0-fw, size 486652
    [   12.001933] remoteproc remoteproc7: bad phdr da 0xa7100000 mem 0x8c
    [   12.008244] remoteproc remoteproc7: Failed to load program segments: -22
    [   12.855257] audit: type=1334 audit(1737550285.468:4): prog-id=8 op=LOAD
    [   13.072351] audit: type=1334 audit(1737550285.684:5): prog-id=9 op=LOAD
    [   13.293931] remoteproc remoteproc2: powering up 66800000.dsp
    [   13.301989] remoteproc remoteproc2: Booting fw image j784s4-c71_2-fw, size 15470864
    [   13.309975] remoteproc remoteproc2: unsupported resource 65538
    [   13.315822] remoteproc remoteproc2: bad phdr da 0xb6100000 mem 0x98
    [   13.317446] remoteproc remoteproc4: powering up 67800000.dsp
    [   13.322086] remoteproc remoteproc2: Failed to load program segments: -22
    [   13.334544] remoteproc remoteproc4: Booting fw image j784s4-c71_3-fw, size 15470864
    [   13.342460] remoteproc remoteproc4: unsupported resource 65538
    [   13.348354] k3_r5_rproc bus@100000:r5fss@5900000: Timed out waiting for 5900000.r5f core to power up!
    [   13.348356] remoteproc remoteproc4: bad phdr da 0xb8100000 mem 0x98
    [   13.348363] remoteproc remoteproc4: Failed to load program segments: -22
    [   13.358901] remoteproc remoteproc0: powering up 64800000.dsp
    [   13.376327] remoteproc remoteproc0: Booting fw image j784s4-c71_0-fw, size 15601992
    [   13.382509] remoteproc remoteproc1: powering up 65800000.dsp
    [   13.384267] remoteproc remoteproc0: unsupported resource 65538
    [   13.389671] remoteproc remoteproc1: Booting fw image j784s4-c71_1-fw, size 15995096
    [   13.395461] remoteproc remoteproc0: bad phdr da 0xb2100000 mem 0x98
    [   13.403323] remoteproc remoteproc1: unsupported resource 65538
    [   13.409361] remoteproc remoteproc0: Failed to load program segments: -22
    [   13.421903] remoteproc remoteproc1: bad phdr da 0xb4100000 mem 0x98
    [   13.428167] remoteproc remoteproc1: Failed to load program segments: -22
    [   13.541762] audit: type=1334 audit(1737550286.152:6): prog-id=10 op=LOAD
    [   13.548536] audit: type=1334 audit(1737550286.160:7): prog-id=11 op=LOAD
    [   13.555297] audit: type=1334 audit(1737550286.168:8): prog-id=12 op=LOAD
    [   14.243990] audit: type=1334 audit(1737550286.856:9): prog-id=13 op=LOAD
    [   14.452614] dbus-broker-lau[455]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [   14.718802] audit: type=1334 audit(1737550287.319:10): prog-id=14 op=LOAD
    [   14.726966] audit: type=1334 audit(1737550287.326:11): prog-id=15 op=LOAD
    [   14.739458] audit: type=1334 audit(1737550287.338:12): prog-id=16 op=LOAD
    [   14.799965] audit: type=1334 audit(1737550287.400:13): prog-id=17 op=LOAD
    [   15.413942] Bluetooth: Core ver 2.22
    [   15.417616] NET: Registered PF_BLUETOOTH protocol family
    [   15.422938] Bluetooth: HCI device and connection manager initialized
    [   15.429292] Bluetooth: HCI socket layer initialized
    [   15.434165] Bluetooth: L2CAP socket layer initialized
    [   15.439225] Bluetooth: SCO socket layer initialized
    [   15.616895] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   15.639945] EXT4-fs (mmcblk0p1): mounted filesystem 8e832a21-bd06-49b0-8ce1-2695b8e965a4 r/w with ordered data mode. Quota mode: none.
    [   15.665112] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   15.671161] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [   20.305290] audit: type=1006 audit(1737550292.795:14): pid=559 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   20.317983] audit: type=1300 audit(1737550292.795:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffff2af9c88 a2=4 a3=1 items=0 ppid=1 pid=559 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   20.345020] audit: type=1327 audit(1737550292.795:14): proctitle="(systemd)"
    [   22.268765] audit: type=1006 audit(1737550294.735:15): pid=548 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   22.281346] audit: type=1300 audit(1737550294.735:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd110e608 a2=4 a3=1 items=0 ppid=1 pid=548 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   22.307981] audit: type=1327 audit(1737550294.735:15): proctitle="(weston)"
    [   33.720991] audit: type=1006 audit(1737550306.126:16): pid=940 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   33.733350] audit: type=1300 audit(1737550306.126:16): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffffa30e278 a2=1 a3=1 items=0 ppid=1 pid=940 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   33.759826] audit: type=1327 audit(1737550306.126:16): proctitle="(systemd)"
    [   33.766934] audit: type=1334 audit(1737550306.166:17): prog-id=18 op=LOAD
    [   33.773722] audit: type=1300 audit(1737550306.166:17): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc30eb5a8 a2=90 a3=0 items=0 ppid=1 pid=940 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   33.799429] audit: type=1327 audit(1737550306.166:17): proctitle="(systemd)"
    [   33.806487] audit: type=1334 audit(1737550306.170:18): prog-id=18 op=UNLOAD
    [   33.813449] audit: type=1300 audit(1737550306.170:18): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff89616c60 items=0 ppid=1 pid=940 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   33.838952] audit: type=1327 audit(1737550306.170:18): proctitle="(systemd)"
    [   33.845998] audit: type=1334 audit(1737550306.170:19): prog-id=19 op=LOAD
    [   60.936997] am65-cpsw-nuss c200000.ethernet eth1: PHY [c200f00.mdio:13] driver [NXP C45 TJA1120] (irq=POLL)
    [   60.946745] am65-cpsw-nuss c200000.ethernet eth1: configuring for phy/rgmii-id link mode
    [   60.964819] am65-cpsw-nuss c200000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
    

    root@j784s4-evm:~# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.238.86  netmask 255.255.255.0  broadcast 192.168.238.255
            inet6 fe80::3ee0:64ff:fe62:4acd  prefixlen 64  scopeid 0x20<link>
            ether 3c:e0:64:62:4a:cd  txqueuelen 1000  (Ethernet)
            RX packets 2684  bytes 296925 (289.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 521  bytes 416583 (406.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 72:b5:d5:4a:2c:82  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::7212:ceff:fea1:e175  prefixlen 64  scopeid 0x20<link>
            ether 70:12:ce:a1:e1:75  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 42  bytes 8926 (8.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::7249:67ff:fe54:cf3d  prefixlen 64  scopeid 0x20<link>
            ether 70:49:67:54:cf:3d  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 42  bytes 8926 (8.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 97  bytes 8948 (8.7 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 97  bytes 8948 (8.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    

    ethtool eth1
    Settings for eth1:
            Supported ports: [ TP    MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Speed: 10Mb/s
            Duplex: Half
            Auto-negotiation: on
            master-slave cfg: preferred slave
            master-slave status: unknown
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: external
            MDI-X: Unknown
            Supports Wake-on: ubgs
            Wake-on: d
            SecureOn password: 00:00:00:00:00:00
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: no

    root@j784s4-evm:~# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.238.203  netmask 255.255.255.0  broadcast 192.168.238.255
            ether c0:d6:0a:de:2f:47  txqueuelen 1000  (Ethernet)
            RX packets 154607  bytes 209194684 (199.5 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 91570  bytes 14501376 (13.8 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 10  bytes 1594 (1.5 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 10  bytes 1594 (1.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@j784s4-evm:~# ifconfig -a
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.238.203  netmask 255.255.255.0  broadcast 192.168.238.255
            ether c0:d6:0a:de:2f:47  txqueuelen 1000  (Ethernet)
            RX packets 154616  bytes 209196081 (199.5 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 91576  bytes 14502268 (13.8 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
            ether d6:3d:be:d2:7f:35  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 10  bytes 1594 (1.5 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 10  bytes 1594 (1.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    main_mcan1: flags=128<NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 95  
    
    main_mcan4: flags=128<NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 96  
    
    main_mcan5: flags=128<NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 97  
    
    main_mcan16: flags=128<NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 98  
    
    mcu_mcan0: flags=128<NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 94  
    
    root@j784s4-evm:~# ^C
    root@j784s4-evm:~# ethtool eth1
    Settings for eth1:
            Supported ports: [ TP    AUI     MII     FIBRE   BNC     Backplane ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
                                    1000baseKX/Full
                                    1000baseX/Full
                                    100baseT1/Full
                                    1000baseT1/Full
                                    100baseFX/Half 100baseFX/Full
                                    10baseT1L/Full
                                    10baseT1S/Full
                                    10baseT1S/Half 10baseT1S_P2MP/Half
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  Not reported
            Advertised pause frame use: No
            Advertised auto-negotiation: No
            Advertised FEC modes: Not reported
            Speed: Unknown!
            Duplex: Half
            Auto-negotiation: off
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: no
    root@j784s4-evm:~# ifconfig eth1 up
    [   60.936997] am65-cpsw-nuss c200000.ethernet eth1: PHY [c200f00.mdio:13] driver [NXP C45 TJA1120] (irq=POLL)
    [   60.946745] am65-cpsw-nuss c200000.ethernet eth1: configuring for phy/rgmii-id link mode
    root@j784s4-evm:~# [   60.964819] am65-cpsw-nuss c200000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
    
    root@j784s4-evm:~# 
    root@j784s4-evm:~# ethtool eth1 
    Settings for eth1:
            Supported ports: [ TP    MII ]
            Supported link modes:   1000baseT1/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: No
            Supported FEC modes: Not reported
            Advertised link modes:  1000baseT1/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: No
            Advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Auto-negotiation: off
            master-slave cfg: forced slave
            master-slave status: slave
            Port: Twisted Pair
            PHYAD: 19
            Transceiver: external
            MDI-X: Unknown
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: yes
            SQI: 7/7
    root@j784s4-evm:~# 

    root@j784s4-evm:~# ifconfig eth1 169.254.27.164 netmask 255.255.255.0
    root@j784s4-evm:~# route add default gw 169.254.27.1 eth1
    root@j784s4-evm:~# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.238.203  netmask 255.255.255.0  broadcast 192.168.238.255
            ether c0:d6:0a:de:2f:47  txqueuelen 1000  (Ethernet)
            RX packets 157907  bytes 211149735 (201.3 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 93080  bytes 14882934 (14.1 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 169.254.27.164  netmask 255.255.255.0  broadcast 169.254.27.255
            inet6 fe80::d43d:beff:fed2:7f35  prefixlen 64  scopeid 0x20<link>
            ether d6:3d:be:d2:7f:35  txqueuelen 1000  (Ethernet)
            RX packets 15  bytes 900 (900.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 28  bytes 3980 (3.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 10  bytes 1594 (1.5 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 10  bytes 1594 (1.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@j784s4-evm:~# ping 169.254.27.163
    PING 169.254.27.163 (169.254.27.163) 56(84) bytes of data.
    From 169.254.27.164 icmp_seq=1 Destination Host Unreachable
    ping: sendmsg: No route to host
    From 169.254.27.164 icmp_seq=2 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=3 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=5 Destination Host Unreachable
    ping: sendmsg: No route to host
    From 169.254.27.164 icmp_seq=6 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=7 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=9 Destination Host Unreachable
    ping: sendmsg: No route to host
    From 169.254.27.164 icmp_seq=10 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=11 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=13 Destination Host Unreachable
    ping: sendmsg: No route to host
    From 169.254.27.164 icmp_seq=14 Destination Host Unreachable
    From 169.254.27.164 icmp_seq=15 Destination Host Unreachable
    ^C
    --- 169.254.27.163 ping statistics ---
    16 packets transmitted, 0 received, +12 errors, 100% packet loss, time 15359ms
    pipe 3

  • Hi,

    For the custom board, I see that you have specified mode as "rgmii-id" in the device-tree for both the ports. 

    Can you print the values for register 0x00104034 and 0x40F06040

    For tthe EVM, everything looks to be correct. Can you try with a separate EVM?

    What is the link partner? Is it same for MCU_CPSW2G port and MAIN_CPSW2G port?

    Regards,
    Tanmay

  • Hi Tanguy,

    Here are the values of the read registers:

    root@j784s4-evm:~# devmem2 0x00104034
    /dev/mem opened.
    Memory mapped at address 0xffff93212000.
    Read at address  0x00104034 (0xffff93212034): 0x00000002
    root@j784s4-evm:~# devmem2 0x40F06040
    /dev/mem opened.
    Memory mapped at address 0xffff90c6b000.
    Read at address  0x40F06040 (0xffff90c6b040): 0x00000012


    Regarding the EVM boards, we tested on two separate boards with two versions of the SDK (10.0 and 10.01)  and observed the same behavior.

    • For MCU_CPSW2G: We connected it to a router (to obtain an IP address via DHCP) and directly to a laptop (with static IP, netmask, and gateway). Both configurations worked as expected.
    • For MAIN_CPSW2G: We attempted the same two approaches, but neither worked in this case.

    Please let me know if you need any further details or additional tests.

    Best regards,
    Dušan

  • Hi,

    It seems for MAIN_CPSW2G, the Internal delay setting for MAC are not being applied properly.

    Can you write to 0x00104034, 0x21. Use command "devmem2 0x00104034 w 0x12" to do this for testing.

    This should solve the issue on the custom board. Let me have a look in the driver for a more permanent solution.

    Regards,
    Tanmay

  • Hi Tanmay,

    Thank you for your suggestion. Writing to 0x00104034 as instructed resolved the issue with MAIN_CPSW2G, and we can now ping the other side successfully.

    Have you been able to identify a more permanent solution or determine why this issue specifically affects MAIN_CPSW2G and not MCU_CPSW2G?

    Best regards,

    Dušan

  • Hi Tanmay,

    I wanted to check if there are any updates regarding the more permanent solution you mentioned. 

    Best regards,
    Dušan

  • Hi,

    For now, you can use the following patch to implement the change from the device-tree :

    diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c
    index 2828f888ad92..b09285ebc019 100644
    --- a/drivers/phy/ti/phy-gmii-sel.c
    +++ b/drivers/phy/ti/phy-gmii-sel.c
    @@ -210,26 +210,36 @@ struct phy_gmii_sel_soc_data phy_gmii_sel_soc_dm814 = {
     
     static const
     struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = {
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x0, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x4, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x8, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0xC, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x10, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x14, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x18, 0, 2), },
    -	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x1C, 0, 2), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x0, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x0, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x4, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x4, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x8, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x8, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0xC, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0xC, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x10, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x10, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x14, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x14, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x18, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x18, 4, 4), },
    +	{ [PHY_GMII_SEL_PORT_MODE] = REG_FIELD(0x1C, 0, 2),
    +	  [PHY_GMII_SEL_RGMII_ID_MODE] = REG_FIELD(0x1C, 4, 4), },
     };
     
     static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_soc_am654 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     };
     
     static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
     	.num_ports = 4,
     	.num_qsgmii_main_ports = 1,
    @@ -239,6 +249,7 @@ static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j721e = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
     	.num_ports = 8,
     	.num_qsgmii_main_ports = 2,
    @@ -248,6 +259,7 @@ static const
     struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j784s4 = {
     	.use_of_data = true,
     	.regfields = phy_gmii_sel_fields_am654,
    +	.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE),
     	.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) |
     		       BIT(PHY_INTERFACE_MODE_USXGMII),
     	.num_ports = 8,
    

    After this, you can change the mode to "rgmii-id" for making the change.

    Regards,
    Tanmay

  • Hi Tanmay,

    Thank you! That worked perfectly.

    Best regards,
    Dušan