Orin XFI ethernet@6810000 for switch fails to install in R35.3.1

According to the instruction on nvidia

when I change the device tree in tegra234-ethernet-3737-0000.dtsi as below:

/* MGBE - A */
    ethernet@6810000 {
        status = "okay";
        /* 1:10G, 0:5G */
        nvidia,uphy-gbe-mode = <1>;

        /* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
        nvidia,phy-iface-mode = <0>;
        nvidia,max-platform-mtu = <16383>;

        fixed-link{
            speed = <10000>;
            full-duplex;
        };

    };

Eth0 is still missing and fail to install:

d@d-desktop:~$ sudo dmesg | grep eth
[    0.000000] psci: probing for conduit method from DT.
[    4.515548] usbcore: registered new interface driver cdc_ether
[    6.420110] optee: probing for conduit method.
[   11.513642] nvethernet 6810000.ethernet: Adding to iommu group 51
[   11.522794] nvethernet 6810000.ethernet: failed to read skip mac reset flag, default 0
[   11.532459] nvethernet 6810000.ethernet: failed to read MDIO address
[   11.540513] nvethernet 6810000.ethernet: Failed to read nvida,pause_frames, so setting to default support as disable
[   11.552869] nvethernet 6810000.ethernet: setting to default DMA bit mask
[   11.561284] nvethernet 6810000.ethernet: Failed to read DMA Tx ring size, using default [4096]
[   11.571660] nvethernet 6810000.ethernet: Failed to read DMA Rx ring size, using default [4096]
[   11.583818] nvethernet 6810000.ethernet: invalid resource
[   11.590866] nvethernet 6810000.ethernet: failed to ioremap MAC base address
[   11.599520] nvethernet 6810000.ethernet: failed to allocate platform resources
[   11.608455] nvethernet: probe of 6810000.ethernet failed with error -22
[   14.031473] using random self ethernet address
[   14.031476] using random host ethernet address

In addition, when we update it to R35.3.1, we supposed to make the same change as we did in R35.1 as below:

In Linux/bootloader/tegra234-mb2-bct-common.dtsi
       eeprom {
            cvm_eeprom_i2c_instance = <0>;
            cvm_eeprom_i2c_slave_address = <0xa0>;
            cvm_eeprom_read_size = <0x100>;
            cvb_eeprom_i2c_instance = <0x0>;
            cvb_eeprom_i2c_slave_address = <0xac>;
            cvb_eeprom_read_size = <0x100>;
        };
Change to:
       eeprom {
            cvm_eeprom_i2c_instance = <0>;
            cvm_eeprom_i2c_slave_address = <0xa0>;
            cvm_eeprom_read_size = <0x100>;
            cvb_eeprom_i2c_instance = <0x0>;
            cvb_eeprom_i2c_slave_address = <0xac>;
            cvb_eeprom_read_size = <0x000>;
        };

Could you convert your dtb file back to dts and share it here?

Of course.

tegra234-p3701-0000-p3737-0000-kexec.dts (539.0 KB)

Which jetpack release is in use?

Why something like “nvidia,mac-addr-idx” was not there? It was there in default BSP.

JetPack 5.1.1, I just downloaded from Jetson Linux 35.3.1 | NVIDIA Developer

please use production module first as 3701-0000 is devkit module.

Thanks for advice.

I have fixed this problem by update Image as well.

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