XFI 10G fiber ethernet

We want to change the origional 10G ethernet to XFI 10G fiber.
Currently, we remove the AQR113C phy, and add a TI DS110DF111 dual-channel retimer.
Then connects Orin XFI to TI DS110DF111 directly.
I follow the

to change the device tree to xfi, but I got the error messages as below
[ 13.469219] mdio_bus 6810000.ethernet: MDIO device at address 0 is missing.
[ 13.470023] nvethernet 6810000.ethernet: failed to connect PH

Is 10G phy is necessary for xfi ?
Is there a reference design for OrinXFI 10G fiber ?

log_dmesg.txt (76.8 KB)

L4T : R35.4.1
Module : Orin 64G

We only have the usecase of PHY and switch.

I Change the device tree from PYH to switch, the ethernet device is created(eth1).

It can do ipv6 self-ping of mac address, but it can’t get the ip address.
When I remove the SFP connector, ping becomes unreachable.
Ping is recovery after the connector plugs in again.
I verify the fiber with intel 82599 10G NIC on ubuntu 20.04 x86_64, it can get the ip address from our DHCP server. The fiber connects to a NETGEAR- XSM4316S-100NES network switch which connect to our interanet.

1.Is any idea about why it can’t get IPv4 adress ?
2.Our customized carrier board also use RGMII for 1G realtek phy, both of these two device has same ipv4 mac address(3c:6d:66:27:de:64). How can I let these two devices to have different mac address ?
3.Orin can support xfi directly, can it aslo support SFI directly ?

Attached are the log and device tree.
log_dmesg_switch.txt (81.1 KB)
kernel_tegra234-p3701-0005-p3737-0000.txt (553.0 KB)

Hi,

The default MAC address is read from EEPROM for both interfaces. If you don’t want a conflict happened, you could try to add such node in DT to make MGBE uses hardcoded MAC.

Something like this.

ethernet@6810000 {
nvidia,mac-addr-idx = <0x00>;

+               nvidia,ether-mac8 = "48:B0:2D:68:C9:24";
+               nvidia,ether-mac6 = "48:B0:2D:68:C9:22";
+               nvidia,ether-mac4 = "48:B0:2D:68:C9:20";
+               nvidia,ether-mac2 = "48:B0:2D:68:C9:1E";
+               nvidia,ether-mac0 = "48:B0:2D:68:C9:1C";
+               nvidia,ether-mac9 = "48:B0:2D:68:C9:25";
+               nvidia,ether-mac7 = "48:B0:2D:68:C9:23";
+               nvidia,ether-mac5 = "48:B0:2D:68:C9:21";
+               nvidia,ether-mac = "48:B0:2D:68:C9:1C";
+               nvidia,ether-mac3 = "48:B0:2D:68:C9:1F";
+               nvidia,ether-mac1 = "48:B0:2D:68:C9:1D";

Please fix this first.

And SFI is not supported.