Issue with R39.2.1 burning failure

是的,我是在烧custom board。

我需要使用板载的万兆/千兆以太网功能,现在功能都是正常的,PCIE C3也使能了,系统也能正常启动。但我输入dmesg命令的时候,看到内核一直在打印:
[ 3732.105696] nvethernet a808a10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3732.137644] nvethernet a808b10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3732.137683] nvethernet a808b10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3732.457678] nvethernet a808d10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3732.457718] nvethernet a808d10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3732.777664] nvethernet a808e10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3732.777704] nvethernet a808e10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3733.129687] nvethernet a808a10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3733.129729] nvethernet a808a10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3733.161627] nvethernet a808b10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3733.161666] nvethernet a808b10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method
[ 3733.481657] nvethernet a808d10000.ethernet: [sw_ovveride_method_for_uphy_rx_lane][705][type:0x4][loga-0x80000102] RX_CAL_EN polling timeout:
[ 3733.481698] nvethernet a808d10000.ethernet: [xpcs_lane_bring_up][813][type:0x4][loga-0x0] UPHY Rx lane bringup failed with sw ovveride method

请问您说的说这个问题吗?这个应该怎么样解决比较好呢?

請問你預期要使用的4組MGBE目前的設定是什麼?

uphy1 config/MGBE speed/ kernel DT有改過東西嗎?

谢谢你的回复。

我的目前修改内容是:

1、tegra264-bpmp-3834-0008-4071-xxxx.dtb
uphy {
status = “okay”;
uphy0-config = <0x06>; // 原为 0x07
uphy1-config = <0x07>;
…
};

pcie@3 {
status = “okay”; // 原为 “disabled”
pcie-id = <0x03>;
pcie-mode = <0x01>;
max-link-speed = <0x05>;
};

2、Linux_for_Tegra/jetson-agx-thor-devkit.conf
将 UPHY_CONFIG=“tegra264-mb1-bct-uphy-lanes-p4071-0000.dts”;
改为 UPHY_CONFIG=“”;

3、tegra264-p4071-0000.dtsi
vim Linux_for_Tegra/source/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi
pcie@a808440000 节点,将 status = “disabled” 改为了 status = “okay”

4、重新生成镜像并烧录

我的意思是你預期四個MGBE都要同時使用而且是10G嗎?

目前也是使用NV devkit一樣的QSFP設計?

1、关于四个MGBE是否都要同时使用,目前我们并不需要。 在我们的实际应用场景中,这些MGBE接口可能不会被使用,或者仅需要少数几个以较低速率运行。我们目前的调试重点是先让PCIe C3能够正常工作,因此可以考虑禁用不需要的MGBE接口来避免UPHY资源冲突。。

2、您提到的QSFP设计,据我了解,是指NVIDIA官方DevKit上用于高速SerDes/QSFP的硬件连接。我们目前的PCIe硬件设计并非基于QSFP,而是参考了NVMe存储设备的设计规范。我们的目标主要是通过PCIe C3连接FPGA加速卡,而非实现QSFP接口。

你現在沒在同一件事情上討論. 我這裡不在乎你們PCIe C3的狀況.

現在你前面給出來的log指出你那四個MGBE上有問題. 所以我的問題都只針對MGBE的部份在問.

关于四个MGBE是否都要同时使用,目前我们并不需要。 在我们的实际应用场景中,这些MGBE接口可能不会被使用,或者仅需要少数几个以较低速率运行。我们目前的调试重点是先让PCIe C3能够正常工作,因此可以考虑禁用不需要的MGBE接口来避免UPHY资源冲突。。

我不是問你實際上的使用是要怎樣. 我只是要問你們底板設計有沒有要4個都使用然後是QSFP跑10G

、您提到的QSFP设计,据我了解,是指NVIDIA官方DevKit上用于高速SerDes/QSFP的硬件连接。我们目前的PCIe硬件设计并非基于QSFP,而是参考了NVMe存储设备的设计规范。我们的目标主要是通过PCIe C3连接FPGA加速卡,而非实现QSFP接口。

這個是答非所問. 我不是在問你PCIe C3上面接了什麼.

谢谢你的耐心回复。

实际上,我们的底板上不存在 MGBE 接口的物理硬件设计,也没有 QSFP 连接器。

那就回歸我最一開始提到的. 請你把你們MGBE那四個controller從device tree中設成disabled…

你就不會再看到那些錯誤在你的dmesg中了

好的,谢谢^-^