RTL8119I PCIE LAN mc-err error on Orin NX

Hi Nvidia,

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

The RTL8119I-CG is connected Option2 PCIe3 x1 (C9). (The Green line in picture.)

I follow Nvidia document to modify the dts file.
p3767.conf.common

ODMDATA="gbe-uphy-config-9,hsstp-lane-map-3,hsio-uphy-config-0";

cvb/tegra234-p3509-a02-pcie.dtsi

pcie@141e0000 { /* C7x1 node */
                status = "okay";
                phys = <&p2u_gbe_0>;
                phy-names = "p2u-0";
        };

        pcie@140c0000 { /* C9x1 */
                status = "okay";
                phys = <&p2u_gbe_1>;
                phy-names = "p2u-0";
        };

But I got following errors when system boot up.

[ 6551.210108] arm-smmu 8000000.iommu: Unexpected global fault, this could be serious
[ 6551.217926] arm-smmu 8000000.iommu:  GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x0000101f, GFSYNR2 0x00000000
[ 6551.228636] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
[ 6676.219686] arm-smmu 8000000.iommu: Unexpected global fault, this could be serious
[ 6676.227502] arm-smmu 8000000.iommu:  GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x0000101f, GFSYNR2 0x00000000
[ 6676.238216] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
[ 6801.228914] arm-smmu 8000000.iommu: Unexpected global fault, this could be serious
[ 6801.236736] arm-smmu 8000000.iommu:  GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x0000101f, GFSYNR2 0x00000000
[ 6801.247459] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
[ 6926.238327] arm-smmu 8000000.iommu: Unexpected global fault, this could be serious
[ 6926.246143] arm-smmu 8000000.iommu:  GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x0000101f, GFSYNR2 0x00000000
[ 6926.256879] mc-err: Too many MC errors; throttling prints

I can get eth0 and pci device in the lspci.

type or paste code here
$ lspci
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0004:01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 5014 (rev 03)
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)
0009:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1)
0009:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 19)
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:00:00:00:00:05  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I add the mac address to eth0 but it still can’t connect ethernet when I plug in the eth cable.

Does anyone can help us?
Thanks.

Hi,

There is a known issue on Orin NX C9 in rel35.2.1. This is mentioned in the release note.

Sorry for this part. It will be fixed in next release.