(+86) 15013630202 sales@pcie.com

RTL8111h PCIE LAN connect error on Orin NX

Mar 04, 2024

Hi Nvidia,


I’m porting realtek RTL8111h-CG on Orin NX module and our custom carrier board.


The RTL8111h-CG is connected PCIe2 x1 (C7).

I modify the dts file tegra234-p3509-a02-pcie.dtsi to add:

pcie@141e0000 { /* C7x1 node */

status = “okay”;

phys = <&p2u_gbe_0>;

phy-names = “p2u-0”;

};

The lspci:

root@localhost:/home/lcfc# lspci

0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)

0004:01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

0007:00:00.0 PCI bridge: NVIDIA Corporation Device 229a (rev a1)

0007:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

0008:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)

0008:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)


As you can see the new RTL device 0007:01:00.0 load normally.But when I insert the net cable to ping, it reports a connect error log below.


[ 297.254416] r8169 0007:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[ 297.254457] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 297.269865] pcieport 0007:00:00.0: AER: Corrected error received: 0007:00:00.0

[ 297.269881] pcieport 0007:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)

[ 297.280125] pcieport 0007:00:00.0: device [10de:229a] error status/mask=00001000/0000e000

[ 297.288724] pcieport 0007:00:00.0: [12] Timeout

[ 300.403079] pcieport 0007:00:00.0: AER: Corrected error received: 0007:00:00.0

[ 300.403095] pcieport 0007:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)

[ 300.413355] pcieport 0007:00:00.0: device [10de:229a] error status/mask=00001000/0000e000

[ 300.421956] pcieport 0007:00:00.0: [12] Timeout