Other Parts Discussed in Thread: DRA821
Tool/software:
Hi Team,
I want to use the CPSW2G core in MAC Mode to connect directly to another computer.
The test environments:
Board | J721EXCP01EVM www.ti.com/.../J721EXCP01EVM |
SDK | PROCESSOR-SDK-LINUX-J7200 — Linux SDK for DRA821 Jacinto Processors SDK Version: 10.00.07.03 (https://www.ti.com/tool/PROCESSOR-SDK-J7200) |
Boot Mode | SD Card |
Kernel Version | 6.6.32-ti |
However, in the previous SDK version: 09.02.00.04, the CPSW2G worked fine and could successfully ping the DUT.
In SDK version 10.00.07.03, the CPSW2G is not functional with the 1G speed setting.
- 100M ((ethtool -s eth0 speed 100)
root@j7200-evm:~# ethtool -s eth0 speed 100 root@j7200-evm:~# [ 3380.929929] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down [ 3384.005460] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx root@j7200-evm:~# ping 192.168.3.128 -I eth0 PING 192.168.3.128 (192.168.3.128) from 192.168.3.127 eth0: 56(84) bytes of data. 64 bytes from 192.168.3.128: icmp_seq=1 ttl=64 time=0.472 ms 64 bytes from 192.168.3.128: icmp_seq=2 ttl=64 time=0.389 ms 64 bytes from 192.168.3.128: icmp_seq=3 ttl=64 time=0.394 ms ^C --- 192.168.3.128 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2040ms
- 1G (ethtool -s eth0 speed 1000)
root@j7200-evm:~# ethtool -s eth0 speed 1000 root@j7200-evm:~# [ 3474.738015] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down [ 3478.821479] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx root@j7200-evm:~# ethtool eth0 Settings for eth0: 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: 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on master-slave cfg: preferred slave master-slave status: slave 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: yes root@j7200-evm:~# ping 192.168.3.128 -I eth0 PING 192.168.3.128 (192.168.3.128) from 192.168.3.127 eth0: 56(84) bytes of data. ^C --- 192.168.3.128 ping statistics ---