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.

TMDS64EVM: AM642 EVM eth0 NO-CARRIER with DP83867 PHY on Custom Buildroot Image

Part Number: TMDS64EVM

Device: AM642 EVM
Kernel: 6.10.0
Buildroot version: master (commit c17d110b10, 2026-05-22)

Hello,

I am bringing up a custom Buildroot image on the AM642 EVM. The Ethernet interface (eth0) is detected, but the link remains down with NO-CARRIER.

Current observations:

  • ip a shows:

    • eth0 as <NO-CARRIER,BROADCAST,MULTICAST,UP>

    • IP address assigned: 192.168.1.10/24

  • Ping fails with 100% packet loss.

  • /sys/class/net/eth0/carrier returns 0

  • /sys/class/net/eth0/operstate returns down

Device Tree configuration:

phy-mode = "rgmii-rxid";

ethernet-phy@0 {
    bootph-all;
    reg = <0x00>;
    ti,rx-internal-delay = <0x07>;
    ti,fifo-depth = <0x01>;
    phandle = <0x18>;
};

Relevant dmesg logs:

dmesg | grep -i eth

[    1.610397] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
[    1.623332] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
[    1.630477] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[    1.650571] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
[  295.479596] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[  295.488951] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
dmesg | grep -i phy

[    1.602221] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[  295.479596] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[  295.488951] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
 
 

The PHY appears to be correctly detected as TI DP83867, and the DTS configuration seems aligned with the hardware setup. However, the interface never establishes carrier.

Any guidance on additional checks or possible configuration issues would be appreciated.

Thank you.

  • Hi,

    You mentioned that you are using a TI EVM, did you try a wic image from ti.com for the AM64?

    I am not familiar with the buildroot image. Does this image have ethtool in it? 

    Best Regards,

    Schuyler

  • Hi, Schuyler
    Yes, we tested with the prebuilt image, and Ethernet was detected and working properly. We are currently building the image using Buildroot, and the generated image also includes ethtool.

  • Hi Manish,

    Like I mentioned I am not familiar with how buildroot brings up an interface. I will assume here that since this is the EVM that the DTS files have not changed.

    What does ethtool eth0 show? Please post what is reported on the console.

    What is the link partner and what is the expected link speed?

    Have you tried:

    ip link set eth0 up? 

    Best Regards,

    Schuyler

  • Hi Schuyler,

    On the evaluation board, there are three Ethernet ports available: 2× ICSSG and 1× CPSW.

    We have successfully brought up the CPSW Ethernet port and are able to ping the connected host. Below are the logs:

    Welcome to Buildroot
    buildroot login: root
    # ip addr add 192.168.1.30/24 dev eth0
    # ip link set eth0 up
    [   39.563438] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [Generic PHY] (irq=POLL)
    [   39.572912] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    # [   43.687768] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    
    # ping 192.168.1.100
    PING 192.168.1.100 (192.168.1.100): 56 data bytes
    64 bytes from 192.168.1.100: seq=0 ttl=64 time=0.632 ms
    64 bytes from 192.168.1.100: seq=1 ttl=64 time=0.347 ms
    64 bytes from 192.168.1.100: seq=2 ttl=64 time=0.277 ms
    64 bytes from 192.168.1.100: seq=3 ttl=64 time=0.253 ms
    64 bytes from 192.168.1.100: seq=4 ttl=64 time=0.323 ms
    64 bytes from 192.168.1.100: seq=5 ttl=64 time=0.603 ms
    ^C
    
    --- 192.168.1.100 ping statistics ---
    6 packets transmitted, 6 packets received, 0% packet loss
    round-trip min/avg/max = 0.253/0.405/0.632 ms
    #
    

    However, we are facing issues with the ICSSG ports.

    For one of the ICSSG ports, we are able to bring the interface up and the link is detected on both the board and the host side. However, we are unable to ping between the devices. The logs are shown below:

    Welcome to Buildroot
    buildroot login: root
    # ip addr add 192.168.1.10
    ip: need "dev IFACE"
    # ip addr add 192.168.1.10/24 dev eth2
    # ip link set dev eth2 up
    [ 90.782973] remoteproc remoteproc8: powering up 300b4000.pru
    [ 90.793836...]
    

    For the second ICSSG port, we are unable to bring up the interface at all:

    # ip addr add 192.168.1.20/24 dev eth1
    # ip link set dev eth1 up
    ip: SIOCSIFFLAGS: No such device
    #
    

    Could you please help us understand what might be causing these issues, if you need additional details let me know.

    Thanks
    Manish

  • Hi Schuyler,

    Currently I am able to bring up the CPSW interface (eth0) and the ICSSG interface (eth2), but I am facing issues bringing eth1  up.

    The PRU/RTU/TX_PRU firmware is getting loaded, but I suspect there is a mismatch between the Device Tree firmware-name entries and the actual firmware files present in /lib/firmware. Because of this, the ICSSG PRU Ethernet stack is not initializing correctly.

    I have attached my Device Tree snippet for reference. Could you please suggest what changes are required in the DTS (or firmware naming / configuration) to correctly bring up the ICSSG eth2 interface on this Buildroot setup?

    3240.k3-am642-evm.zip

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.10.0 (sqm@2sqmx4q2) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2026.05-rc1-31-gc17d110b10) 14.3.0, GNU ld (GNU Binutils) 2.45.1) #17 SMP PREEMPT Mon Jun  8 19:26:35 IST 2026
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM642 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: legacy 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 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] OF: reserved mem: 0x00000000a5000000..0x00000000a57fffff (8192 KiB) nomap non-reusable ipc-memories@a5000000
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0xffbec9c0-0xffbeefff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    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-0x00000000a3ffffff]
    [    0.000000]   node   0: [mem 0x00000000a4000000-0x00000000a4ffffff]
    [    0.000000]   node   0: [mem 0x00000000a5000000-0x00000000a57fffff]
    [    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
    [    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.5
    [    0.000000] percpu: Embedded 22 pages/cpu s57768 r0 d32344 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Fallback order for Node 0: 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 524288
    [    0.000000] Policy zone: DMA
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fb500000-0x00000000fb700000] (2MB)
    [    0.000000] Memory: 1898968K/2097152K available (15104K kernel code, 1440K rwdata, 4720K rodata, 1600K init, 681K bss, 165416K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 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:0x0000000001840000
    [    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 @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    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.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008662] Console: colour dummy device 80x25
    [    0.013323] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.024006] pid_max: default: 32768 minimum: 301
    [    0.028803] LSM: initializing lsm=capability
    [    0.033311] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040893] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.051573] rcu: Hierarchical SRCU implementation.
    [    0.056544] rcu: 	Max phase no-delay instances is 1000.
    [    0.062367] Platform MSI: msi-controller@1820000 domain created
    [    0.069016] EFI services will not be available.
    [    0.074028] smp: Bringing up secondary CPUs ...
    [    0.079772] Detected VIPT I-cache on CPU1
    [    0.079892] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
    [    0.079912] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.079975] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.080189] smp: Brought up 1 node, 2 CPUs
    [    0.109589] SMP: Total of 2 processors activated.
    [    0.114400] CPU: All CPU(s) started at EL2
    [    0.118645] CPU features: detected: 32-bit EL0 Support
    [    0.123905] CPU features: detected: 32-bit EL1 Support
    [    0.129173] CPU features: detected: CRC32 instructions
    [    0.134485] alternatives: applying system-wide alternatives
    [    0.142899] devtmpfs: initialized
    [    0.156635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.166650] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.174883] 26816 pages in range for non-PLT usage
    [    0.174912] 518336 pages in range for PLT usage
    [    0.180268] pinctrl core: initialized pinctrl subsystem
    [    0.190785] DMI not present or invalid.
    [    0.195279] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.202539] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.210038] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.218314] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.227136] thermal_sys: Registered thermal governor 'step_wise'
    [    0.227149] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.233390] cpuidle: using governor menu
    [    0.244338] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.251345] ASID allocator initialised with 65536 entries
    [    0.257428] Serial: AMBA PL011 UART driver
    [    0.281436] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.288420] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.294835] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.301771] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.308177] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.315112] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.321518] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.328455] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.335556] Demotion targets for Node 0: null
    [    0.406969] raid6: neonx8   gen()  1866 MB/s
    [    0.479037] raid6: neonx4   gen()  1876 MB/s
    [    0.551115] raid6: neonx2   gen()  1831 MB/s
    [    0.623189] raid6: neonx1   gen()  1537 MB/s
    [    0.695259] raid6: int64x8  gen()  1149 MB/s
    [    0.767338] raid6: int64x4  gen()  1337 MB/s
    [    0.839407] raid6: int64x2  gen()  1167 MB/s
    [    0.911533] raid6: int64x1  gen()   992 MB/s
    [    0.915938] raid6: using algorithm neonx4 gen() 1876 MB/s
    [    0.987560] raid6: .... xor() 1329 MB/s, rmw enabled
    [    0.992637] raid6: using neon recovery algorithm
    [    0.998039] ACPI: Interpreter disabled.
    [    1.002664] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Detected
    [    1.012406] iommu: Default domain type: Translated
    [    1.017348] iommu: DMA domain TLB invalidation policy: strict mode
    [    1.024161] SCSI subsystem initialized
    [    1.028580] usbcore: registered new interface driver usbfs
    [    1.034233] usbcore: registered new interface driver hub
    [    1.039710] usbcore: registered new device driver usb
    [    1.045850] pps_core: LinuxPPS API ver. 1 registered
    [    1.050937] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.060744] EDAC MC: Ver: 3.0.0
    [    1.064458] scmi_core: SCMI protocol bus registered
    [    1.070309] FPGA manager framework
    [    1.075680] clocksource: Switched to clocksource arch_sys_counter
    [    1.082293] VFS: Disk quotas dquot_6.6.0
    [    1.086352] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    1.093656] pnp: PnP ACPI: disabled
    [    1.105314] NET: Registered PF_INET protocol family
    [    1.110655] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    1.120132] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    1.128971] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    1.136916] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    1.145141] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    1.153185] TCP: Hash tables configured (established 16384 bind 16384)
    [    1.160150] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.167089] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.174631] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    1.185274] kvm [1]: nv: 477 coarse grained trap handlers
    [    1.191281] kvm [1]: IPA Size Limit: 40 bits
    [    1.196947] kvm [1]: vgic-v2@100020000
    [    1.200808] kvm [1]: GIC system register CPU interface enabled
    [    1.206810] kvm [1]: vgic interrupt IRQ9
    [    1.210844] kvm [1]: Hyp nVHE mode initialized successfully
    [    1.218474] Initialise system trusted keyrings
    [    1.223476] workingset: timestamp_bits=42 max_order=19 bucket_order=0
    [    1.230519] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.236875] fuse: init (API version 7.40)
    [    1.309624] xor: measuring software checksum speed
    [    1.319076]    8regs           :  2174 MB/sec
    [    1.328078]    32regs          :  2174 MB/sec
    [    1.337256]    arm64_neon      :  2085 MB/sec
    [    1.341709] xor: using function: 32regs (2174 MB/sec)
    [    1.346885] Key type asymmetric registered
    [    1.351074] Asymmetric key parser 'x509' registered
    [    1.356170] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    1.363737] io scheduler mq-deadline registered
    [    1.368369] io scheduler kyber registered
    [    1.372513] io scheduler bfq registered
    [    1.381187] pinctrl-single 4084000.pinctrl: 33 pins, size 132
    [    1.387709] pinctrl-single f4000.pinctrl: 180 pins, size 720
    [    1.395504] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    1.403421] IPMI message handler: version 39.2
    [    1.408066] ipmi device interface
    [    1.411858] ipmi_si: IPMI System Interface driver
    [    1.417082] ipmi_si: Unable to find any System Interface(s)
    [    1.431874] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    1.442465] SPI driver tpm_tis_spi has no spi_device_id for atmel,attpm20p
    [    1.456800] loop: module loaded
    [    1.466668] VFIO - User Level meta-driver version: 0.3
    [    1.474371] usbcore: registered new interface driver cdc_acm
    [    1.480206] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.488430] usbcore: registered new interface driver usb-storage
    [    1.494672] usbcore: registered new interface driver cp210x
    [    1.500401] usbserial: USB Serial support registered for cp210x
    [    1.506475] usbcore: registered new interface driver ftdi_sio
    [    1.512369] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    1.519863] usbcore: registered new interface driver option
    [    1.525578] usbserial: USB Serial support registered for GSM modem (1-port)
    [    1.533003] usbcore: registered new device driver onboard-usb-dev
    [    1.541406] UDC core: g_mass_storage: couldn't find an available UDC
    [    1.550722] i2c_dev: i2c /dev entries driver
    [    1.558377] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev
    [    1.569174] sdhci: Secure Digital Host Controller Interface driver
    [    1.575539] sdhci: Copyright(c) Pierre Ossman
    [    1.580808] Synopsys Designware Multimedia Card Interface Driver
    [    1.587611] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.595513] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.603125] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.612466] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
    [    1.619515] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
    [    1.626430] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
    [    1.636376] SPI driver st-magn-spi has no spi_device_id for st,lis3mdl-magn
    [    1.643559] SPI driver st-magn-spi has no spi_device_id for st,lsm303agr-magn
    [    1.650861] SPI driver st-magn-spi has no spi_device_id for st,lsm9ds1-magn
    [    1.657989] SPI driver st-magn-spi has no spi_device_id for st,lsm303c-magn
    [    1.666765] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    1.677345]  cs_system_cfg: CoreSight Configuration manager initialised
    [    1.685663] optee: probing for conduit method.
    [    1.690273] optee: revision 4.9
    [    1.690764] optee: dynamic shared memory is enabled
    [    1.700097] optee: initialized driver
    [    1.700202] random: crng init done
    [    1.705305] gnss: GNSS driver registered with major 237
    [    1.713597] NET: Registered PF_INET6 protocol family
    [    1.719880] Segment Routing with IPv6
    [    1.723706] In-situ OAM (IOAM) with IPv6
    [    1.727782] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.734459] NET: Registered PF_PACKET protocol family
    [    1.749655] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
    [    1.758242] Loading compiled-in X.509 certificates
    [    1.772806] Demotion targets for Node 0: null
    [    1.781052] Btrfs loaded, zoned=no, fsverity=no
    [    1.796955] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000b '11.1.5--v11.01.05 (Fancy Rat)')
    [    1.963266] platform 78000000.r5f: configured R5F for remoteproc mode
    [    1.970323] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    1.979150] remoteproc remoteproc0: 78000000.r5f is available
    [    1.985210] remoteproc remoteproc0: powering up 78000000.r5f
    [    1.991023] remoteproc remoteproc0: Booting fw image am64-main-r5f0_0-fw, size 94056
    [    1.999815] platform 78200000.r5f: configured R5F for remoteproc mode
    [    2.006566] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    2.006940] platform 78200000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [    2.016777] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    2.024159] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    2.029766] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [    2.037489] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    2.044329] remoteproc remoteproc0: remote processor 78000000.r5f is now up
    [    2.052169] remoteproc remoteproc1: 78200000.r5f is available
    [    2.064711] remoteproc remoteproc1: powering up 78200000.r5f
    [    2.070515] remoteproc remoteproc1: Booting fw image am64-main-r5f0_1-fw, size 94056
    [    2.080035] genirq: Flags mismatch irq 14. 00002004 (mbox-main-r5fss0-core1) vs. 00002004 (mbox-main-r5fss0-core0)
    [    2.084753] platform 78400000.r5f: configured R5F for remoteproc mode
    [    2.090754] failed to register mailbox interrupt:-16
    [    2.097688] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    2.102381] platform 78200000.r5f: Unable to startup the chan (-16)
    [    2.102395] ------------[ cut here ]------------
    [    2.102399] Trying to free already-free IRQ 14
    [    2.102423] WARNING: CPU: 1 PID: 53 at kernel/irq/manage.c:1903 free_irq+0x170/0x2a0
    [    2.111221] remoteproc remoteproc2: 78400000.r5f is available
    [    2.117066] CPU: 1 PID: 53 Comm: kworker/1:2 Not tainted 6.10.0 #17
    [    2.121924] remoteproc remoteproc2: powering up 78400000.r5f
    [    2.126312] Hardware name: Texas Instruments AM642 EVM (DT)
    [    2.126319] Workqueue: events request_firmware_work_func
    [    2.134281] remoteproc remoteproc2: Booting fw image am64-main-r5f1_0-fw, size 90216
    [    2.140083] 
    [    2.140089] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [    2.148059] platform 78600000.r5f: configured R5F for remoteproc mode
    [    2.152262] pc : free_irq+0x170/0x2a0
    [    2.152272] lr : free_irq+0x170/0x2a0
    [    2.152279] sp : ffff800081dbbab0
    [    2.158409] platform 78600000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    2.163381] x29: ffff800081dbbab0 x28: 0000000000000000 x27: 0000000000000000
    [    2.163397] x26: 0000000000000000 x25: ffff000000c672ac x24: 000000000000000e
    [    2.171867] remoteproc remoteproc3: 78600000.r5f is available
    [    2.172819] 
    [    2.172822] x23: ffff000000c67360
    [    2.180039] remoteproc remoteproc3: powering up 78600000.r5f
    [    2.186497]  x22: 0000000000000000 x21: ffff000000c67480
    [    2.186506] x20: ffff000000c67200
    [    2.190287] remoteproc remoteproc3: Booting fw image am64-main-r5f1_1-fw, size 94056
    [    2.193969]  x19: 0000000000000000 x18: ffffffffffffffff
    [    2.193978] x17: 293165726f632d30
    [    2.221246] pca953x 0-0038: supply vcc not found, using dummy regulator
    [    2.226035]  x16: 0000000000000000 x15: ffff800081695f78
    [    2.226045] x14: ffff800081533320 x13: ffff800081695f7c x12: 662d79646165726c
    [    2.226058] x11: ffff800081533320 x10: 000000000000011f x9 : ffff80008158b320
    [    2.226070] x8 : 0000000000017fe8 x7 : 00000000fffff000 x6 : ffff80008158b320
    [    2.226082] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000ffffffff
    [    2.226095] x2 : 0000000000000000
    [    2.227780] pca953x 0-0038: using no AI
    [    2.230983]  x1 : 0000000000000000
    [    2.244669] at24 0-0050: supply vcc not found, using dummy regulator
    [    2.245549]  x0 : ffff000001a31100
    [    2.245557] Call trace:
    [    2.254087] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    2.258879]  free_irq+0x170/0x2a0
    [    2.258890]  omap_mbox_chan_shutdown+0x54/0x90
    [    2.262429] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    2.269028]  mbox_free_channel.part.0+0x28/0x70
    [    2.269040]  mbox_free_channel+0x1c/0x30
    [    2.276746] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.281737]  __mbox_bind_client+0xf0/0x100
    [    2.281747]  mbox_request_channel+0x148/0x170
    [    2.281759]  k3_r5_rproc_request_mbox.isra.0+0x3c/0xb0
    [    2.281771]  k3_r5_rproc_start+0x2c/0x1f0
    [    2.281781]  rproc_start+0xc4/0x168
    [    2.289230] pca953x 1-0022: using AI
    [    2.296347]  rproc_boot+0x50c/0x530
    [    2.296355]  rproc_auto_boot_callback+0x1c/0x40
    [    2.321462] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
    [    2.324335]  request_firmware_work_func+0x54/0xa0
    [    2.324348]  process_one_work+0x150/0x290
    [    2.324360]  worker_thread+0x2dc/0x410
    [    2.324368]  kthread+0x110/0x120
    [    2.324381]  ret_from_fork+0x10/0x20
    [    2.324395] ---[ end trace 0000000000000000 ]---
    [    2.327440] ti-sci-intr bus@f4000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    2.334183] platform 78200000.r5f: mbox_request_channel failed: -16
    [    2.338115] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    2.342082] remoteproc remoteproc1: can't start rproc 78200000.r5f: -16
    [    2.347781] genirq: Flags mismatch irq 15. 00002004 (mbox-main-r5fss1-core1) vs. 00002004 (mbox-main-r5fss1-core0)
    [    2.468892] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    2.469411] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    2.483359] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    2.491208] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    2.498601] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)
    [    2.505578] remoteproc remoteproc2: remote processor 78400000.r5f is now up
    [    2.512800] failed to register mailbox interrupt:-16
    [    2.517904] platform 78600000.r5f: Unable to startup the chan (-16)
    [    2.524339] ------------[ cut here ]------------
    [    2.529056] Trying to free already-free IRQ 15
    [    2.533614] WARNING: CPU: 0 PID: 8 at kernel/irq/manage.c:1903 free_irq+0x170/0x2a0
    [    2.541458] CPU: 0 PID: 8 Comm: kworker/0:0 Tainted: G        W          6.10.0 #17
    [    2.549284] Hardware name: Texas Instruments AM642 EVM (DT)
    [    2.554977] Workqueue: events request_firmware_work_func
    [    2.560418] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [    2.567534] pc : free_irq+0x170/0x2a0
    [    2.571273] lr : free_irq+0x170/0x2a0
    [    2.575014] sp : ffff8000817cbab0
    [    2.578393] x29: ffff8000817cbab0 x28: 0000000000000000 x27: 0000000000000000
    [    2.585691] x26: ffff00007fac77a8 x25: ffff000000c67aac x24: 000000000000000f
    [    2.592987] x23: ffff000000c67b60 x22: 0000000000000000 x21: ffff000000c67c80
    [    2.600283] x20: ffff000000c67a00 x19: 0000000000000000 x18: 0000000000000006
    [    2.607581] x17: 0000000000000002 x16: 0000000000000000 x15: ffff8000817cb66f
    [    2.614877] x14: ffff800081533320 x13: 3531205152492065 x12: 6572662d79646165
    [    2.622172] x11: ffff800081533320 x10: 0000000000000169 x9 : ffff80008158b320
    [    2.629473] x8 : 0000000000017fe8 x7 : 00000000fffff000 x6 : ffff80008158b320
    [    2.636769] x5 : 80000000fffff000 x4 : 0000000000000000 x3 : 0000000000000000
    [    2.644068] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000000168000
    [    2.651363] Call trace:
    [    2.653856]  free_irq+0x170/0x2a0
    [    2.657240]  omap_mbox_chan_shutdown+0x54/0x90
    [    2.661786]  mbox_free_channel.part.0+0x28/0x70
    [    2.666415]  mbox_free_channel+0x1c/0x30
    [    2.670422]  __mbox_bind_client+0xf0/0x100
    [    2.674607]  mbox_request_channel+0x148/0x170
    [    2.679059]  k3_r5_rproc_request_mbox.isra.0+0x3c/0xb0
    [    2.684311]  k3_r5_rproc_start+0x2c/0x1f0
    [    2.688406]  rproc_start+0xc4/0x168
    [    2.691975]  rproc_boot+0x50c/0x530
    [    2.695538]  rproc_auto_boot_callback+0x1c/0x40
    [    2.700166]  request_firmware_work_func+0x54/0xa0
    [    2.704971]  process_one_work+0x150/0x290
    [    2.709067]  worker_thread+0x2dc/0x410
    [    2.712895]  kthread+0x110/0x120
    [    2.716196]  ret_from_fork+0x10/0x20
    [    2.719850] ---[ end trace 0000000000000000 ]---
    [    2.724655] platform 78600000.r5f: mbox_request_channel failed: -16
    [    2.731107] remoteproc remoteproc3: can't start rproc 78600000.r5f: -16
    [    2.742907] ti-udma 485c0100.dma-controller: Number of rings: 68
    [    2.750820] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
    [    2.761250] ti-udma 485c0000.dma-controller: Number of rings: 288
    [    2.778948] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
    [    2.797669] remoteproc remoteproc4: 30034000.pru is available
    [    2.805034] remoteproc remoteproc5: 30004000.rtu is available
    [    2.812430] remoteproc remoteproc6: 3000a000.txpru is available
    [    2.819983] remoteproc remoteproc7: 30038000.pru is available
    [    2.827322] remoteproc remoteproc8: 30006000.rtu is available
    [    2.834855] remoteproc remoteproc9: 3000c000.txpru is available
    [    2.850011] remoteproc remoteproc10: 300b4000.pru is available
    [    2.857474] remoteproc remoteproc11: 30084000.rtu is available
    [    2.864982] remoteproc remoteproc12: 3008a000.txpru is available
    [    2.872636] remoteproc remoteproc13: 300b8000.pru is available
    [    2.880171] remoteproc remoteproc14: 30086000.rtu is available
    [    2.887543] remoteproc remoteproc15: 3008c000.txpru is available
    [    2.894761] davinci_mdio 300b2400.mdio: Configuring MDIO in manual mode
    [    2.939690] davinci_mdio 300b2400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [    2.951162] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
    [    2.961586] printk: legacy console [ttyS2] disabled
    [    2.967069] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 333, base_baud = 3000000) is a 8250
    [    2.976026] printk: legacy console [ttyS2] enabled
    [    2.976026] printk: legacy console [ttyS2] enabled
    [    2.985757] printk: legacy bootconsole [ns16550a0] disabled
    [    2.985757] printk: legacy bootconsole [ns16550a0] disabled
    [    3.004948] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    3.011959] Creating 7 MTD partitions on "fc40000.spi.0":
    [    3.017359] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    3.024571] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    3.031446] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    3.038334] 0x000000700000-0x000000740000 : "ospi.env"
    [    3.044975] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    3.052380] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    3.059364] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    3.072761] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    3.119690] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    3.129257] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    3.137412] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
    [    3.150342] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
    [    3.157492] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    3.181413] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
    [    3.200904] TI DP83869 300b2400.mdio:0f: attached PHY driver (mii_bus:phy_addr=300b2400.mdio:0f, irq=POLL)
    [    3.210583] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
    [    3.391094] mmc0: CQHCI version 5.10
    [    3.396739] gpio-mux mux-controller: 2-way mux-controller registered
    [    3.419054] clk: Disabling unused clocks
    [    3.423493] mmc1: CQHCI version 5.10
    [    3.432505] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    3.452114] PM: genpd: Disabling unused power domains
    [    3.463070] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    3.470909] md: Waiting for all devices to be available before autodetect
    [    3.477716] md: If you don't use raid, use raid=noautodetect
    [    3.483388] md: Autodetecting RAID arrays.
    [    3.487569] md: autorun ...
    [    3.490380] md: ... autorun DONE.
    [    3.493830] Waiting for root device /dev/mmcblk1p2...
    [    3.533374] mmc1: new ultra high speed SDR104 SDHC card at address e624
    [    3.541024] mmcblk1: mmc1:e624 SC16G 14.8 GiB
    [    3.551961]  mmcblk1: p1 p2
    [    3.557188] mmc0: Command Queue Engine enabled
    [    3.561734] mmc0: new HS200 MMC card at address 0001
    [    3.567935] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    3.574492]  mmcblk0: p1 p2
    [    3.578243] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    3.585129] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    3.585458] EXT4-fs (mmcblk1p2): recovery complete
    [    3.591454] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (238:0)
    [    3.598618] EXT4-fs (mmcblk1p2): mounted filesystem 20247188-ce6f-4b58-829a-182e55a46b63 r/w with ordered data mode. Quota mode: none.
    [    3.613353] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.623497] devtmpfs: mounted
    [    3.627584] Freeing unused kernel memory: 1600K
    [    3.632235] Run /sbin/init as init process
    [    3.719747] EXT4-fs (mmcblk1p2): re-mounted 20247188-ce6f-4b58-829a-182e55a46b63 r/w. Quota mode: none.
    Seeding 256 bits and crediting
    Saving 256 bits of creditable seed for next boot
    Starting syslogd: OK
    Starting klogd: OK
    Running sysctl: OK
    Starting network: OK
    Starting dhcpcd...
    dhcpcd-10.2.4 starting
    DUID 00:01:00:01:c7:92:bc:8b:1c:63:49:1a:da:c5
    no interfaces have a carrier
    Starting crond: [    4.154135] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    OK
    [    4.164376] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    Starting dropbear sshd: [    4.187338] remoteproc remoteproc10: powering up 300b4000.pru
    [    4.200889] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39636
    [    4.210371] remoteproc remoteproc10: unsupported resource 5
    [    4.216053] remoteproc remoteproc10: remote processor 300b4000.pru is now up
    [    4.223157] remoteproc remoteproc11: powering up 30084000.rtu
    [    4.233097] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30444
    [    4.242580] remoteproc remoteproc11: remote processor 30084000.rtu is now up
    [    4.249664] remoteproc remoteproc12: powering up 3008a000.txpru
    [    4.259774] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39188
    [    4.269400] remoteproc remoteproc12: remote processor 3008a000.txpru is now up
    OK
    
    Welcome to Buildroot
    buildroot login: root
    Password: 
    # ip addr add 192.168.1.10/24 dev eth0
    # ip link set eth0 up
    # ip addr add 192.168.1.20/24 dev eth2
    # ip link set eth2 up
    # [   59.473738] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   67.664633] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
    [   70.833062] icssg-prueth icssg1-eth eth2: Link is Up - 1Gbps/Full - flow control off
    [   85.168294] icssg-prueth icssg1-eth eth2: Link is Down
    # ip addr add 192.168.1.30/24 dev eth1
    # ip link set eth1 up
    RTNETLINK answers: No such device