ORIN XFI fixed-link mode error

Hi nv team,We need to use the XFI interface on our custom carrier board ,and the XFI connected FPGA XFI without phy。 So,I programed the nvethernet DT ,but it‘s not work!


ODMDATA="gbe-uphy-config-22,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0,gbe0-enable-10g";

My dtb is configured as following:


#include <dt-bindings/gpio/tegra234-gpio.h>
 {
	/* MGBE - A */
	ethernet@6810000 {
		status = "okay";
		nvidia,mac-addr-idx = <0>;
		nvidia,max-platform-mtu = <16383>;
		/* 0=enable, 1=disable */
		nvidia,pause_frames = <0>;
		//phy-handle = <&mgbe0_aqr113c_phy>;   
		phy-mode = "10gbase-r";
                nvidia,uphy-gbe-mode = <1> ;
		/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
		nvidia,phy-iface-mode = <0>;
		/*add by zhenghang*/
		fixed-link {
         		speed=<10000>;
	       		full-duplex;
		};
      };
}

When start up, print the following error message:

[ 54.961203] [xpcs_lane_bring_up][416][type:0x4][loga-0x0] Failed to get PCS block lock
[   54.961436] [xpcs_init][451][type:0x4][loga-0x0] TX/RX lane bring-up failed
[   54.961629] [mgbe_set_speed][4220][type:0x4][loga-0x0] xpcs_init failed
[   57.009009] [xpcs_lane_bring_up][416][type:0x4][loga-0x0] Failed to get PCS block lock
[   57.009255] [xpcs_init][451][type:0x4][loga-0x0] TX/RX lane bring-up failed
[   57.009454] [mgbe_set_speed][4220][type:0x4][loga-0x0] xpcs_init failed
[   59.057201] [xpcs_lane_bring_up][416][type:0x4][loga-0x0] Failed to get PCS block lock
[   59.057434] [xpcs_init][451][type:0x4][loga-0x0] TX/RX lane bring-up failed
[   59.057630] [mgbe_set_speed][4220][type:0x4][loga-0x0] xpcs_init failed
[   61.105203] [xpcs_lane_bring_up][416][type:0x4][loga-0x0] Failed to get PCS block lock
[   61.105442] [xpcs_init][451][type:0x4][loga-0x0] TX/RX lane bring-up failed
[   61.105640] [mgbe_set_speed][4220][type:0x4][loga-0x0] xpcs_init failed
[   63.152679] [xpcs_lane_bring_up][416][type:0x4][loga-0x0] Failed to get PCS block lock
[   63.152913] [xpcs_init][451][type:0x4][loga-0x0] TX/RX lane bring-up failed

Can you help me analyze this problem?

THANKS!

1 Like

i also have this problem

Is your ORIN connected to a switch or an FPGA?

There is no action required for dtb and the ODMDATA.
Could you profile the timing and the signal to see if there is something wrong in HW?

Hi alanz:
There are the same problems on the devkit, When XFI works in fixed link mode。You can try it on the devkit。

Hi @hang.zheng

Please be sure to use NVbugs to support your project.

Topic closed.

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