We have connected a PHY to the RGMII interface of the Jetson AGX Xavier.
When pinging out from the Jetson we see outgoing packets from the Jetson to the PHY, we see incoming packets from the PHY to the Jetson, but the Jetson does not show any received data.
Any ideas how to debug this? What could we check in the Jetson?
Hi,
thank you for your answer, please excuse my delayed answer.
The PHY is a
Microchip KSZ9131RNX
A lot is working:
The PHY link LED indicates that the link is up and stable.
The TX channel (Jetson → PHY → PC) is working.
On the RX channel (PC → PHY → Jetson) we see on the oscilloscope that the PHY is sending packets on the RGMII to the Jetson. The timing is what is expected from the Jetson (data and clock 90° shifted).
But the Jetson does not show any received data, see log below.
Is there a type of frame on the RGMII which would not be visible in the counters in the Jetson?
From a log from the debug uart:
sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
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
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes
The problem was solved later.
I do not know the details but it was not a hardware problem. Due to some wrong configuration in the operating system the received frames were filtered out so it looked as if no frames were received in the Jetson.