After the ORIN RGMII system wakes up, ETH0 reports an error

I am currently debugging the RGMII channel of Orin Ethernet, communicating with the SWITCH through MAC-to-MAC direct connection

The phenomenon is as follows:

The device tree DTS is modified as follows
ethernet@2310000 {

        status = "okay";
        nvidia,mac-addr-idx = <0>;
        phy-mode = "rgmii-id";
        
        fixed-link {
        speed = < 1000 >;
        full-duplex;
        };
  };

ls /sys/bus/mdio_bus/devices The following two devices will appear
6810000.ethernet:00 fixed-0:00

The corresponding print log is as follows

[ 13.155284] nvethernet 2310000.ethernet: Adding to iommu group 52
[ 13.161682] nvethernet 2310000.ethernet: failed to read skip mac reset flag, default 0
[ 13.169848] nvethernet 2310000.ethernet: failed to read MDIO address
[ 13.176387] nvethernet 2310000.ethernet: Failed to read nvida,pause_frames, so setting to default support as disable
[ 13.187232] nvethernet 2310000.ethernet: setting to default DMA bit mask
[ 13.194146] nvethernet 2310000.ethernet: max-platform-mtu DT entry missing, setting default 1500
[ 13.209660] nvethernet 2310000.ethernet: failed to get phy reset gpio error: -2
[ 13.221040] nvethernet 2310000.ethernet: Ethernet MAC index missing
[ 13.227572] nvethernet 2310000.ethernet: Ethernet MAC address: 48:b0:2d:94:f5:3d
[ 13.235719] nvethernet 2310000.ethernet: Macsec not enabled
[ 13.241470] nvethernet 2310000.ethernet: Macsec: Reduced MTU: 1466 Max: 1500
[ 13.249897] nvethernet 2310000.ethernet: eth0 (HW ver: 53) created with 8 DMA channels

2310000.ethernetCorresponding iseth0

After the system is up, ifconfig eth0 will report the following error
[ 964.955185] [eqos_poll_for_swr][598][type:0x4][loga-0x0] poll_for_swr: timeout
[ 964.962769] net eth0: failed to poll MAC Software reset

The questions are as follows:

1 What is the reason for ifconfig eth0 error when the network is not available?
2 Are the device tree settings normal?
As mentioned above, the MAC on the switch side needs delay; So does Orin’s RGMII MAC channel have a delay by default?

Read the adaptation guide first.

Looks like some device tree setting are missing.

Okay, thank you very much.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.