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.
The second mac address is changed after modifying the device tree.
For production, I need a dynamic way to change mac address.
Is it possible to change the eerpom for the second mac address ?
Just to clarify. You only have one EEPROM on your module only one MAC addr inside of it. and both of your RGMII and MGBE both want to use value from it. It is not possible unless you changed EEPROM structure and also modify source code (UEFI code here).
Hello @james_cheng1,
We have similar custom board using DS110DF111 retimer instead of AQR113C phy.
After changing the MAC addresses different than each other, could you get a self-ping through IPv4 from 10g?
I can use ping6 to ping self mac address
1.change the device tree of ethernet@6810000 to xfi switch
2.connect SFP+ connector to NETGEAR- XSM4316S-100NES network switch
3.turn on the device by gui if it is off
4.Use pin6 to ping self mac address,
for example ping6 xx:xx:xx:xx:xx -I eth1
I have a new problem. When I use the second Orin device, the ipv6 mac address of the two Orin devices are the same. How can I set different ipv6 mac address for these two devices ?
I believe this works; I’m ssh into Orin so can’t currently test. Change variablesto your environment.
#install nmcli;
sudo apt update && sudo apt install network-manager
nmcli connection
NAME UUID TYPE DEVICE
‘Wired connection 1’ fbec1234-468f-3967-8688-b6e0aaa119bb ethernet eno1
#Backup original settings for device
nmcli connection show ‘name’|tee wired1.txt
#Get property for below.
nmcli connection show ‘name’|grep cloned-mac-address
nmcli connection modify ‘name’ ‘type’.‘property’ ‘value’
#On agx orin with eno1 that is
nmcli connection modify ‘Wired connection 1’ 802-3-ethernet.cloned-mac-address XX:XX:XX:XX:XX:XX
#*ethernet.cloned-mac-address is used by NetworkManager to spoof or override the hardware MAC.
#Apply the change
sudo nmcli connection down “Wired connection 1”
sudo nmcli connection up “Wired connection 1”
@WayneWWW :
May I to know how to test 10G ethernet performance in AGX Orin?
Hi @sammyb7qw7
please file your own topic and we can discuss over there.
We see AGX Orin could bring up the XFI 10G fiber ethernet in here topic.
May I to know how to the verify 10G ethernet performance in AGX Orin?