Agx orin rgmii use realtek phy rtl8211 work failed

Our carrier board with L4T 35.2.1 use rtl8211 can not work. Attached is my modified files (diff and source).
The eth0 can be found by ifconfig, the value of RX packages changes by every ifcnofig, but the TX does not.
Can not get IP address by dhcp. Is there any idea or produces to debug it ?
rgmii_q1.tar.bz2 (7.5 KB)

Check the pinmux setting as the document said.

Attached is my modify. The pinmux and device tree had modified as the same as document. But it can not work fine.

Any dmesg to share?

rgmii_01.txt (70.8 KB)
Attached is the dmesg

Sorry that somehow I cannot open your tarball. Could you directly attach the pinmux dts file?

diff_l4t_dtsi (6.5 KB)
diff_src_dtsi (2.2 KB)
tegra234-mb1-bct-gpio-p3701-0000.dtsi (4.9 KB)
tegra234-mb1-bct-pinmux-p3701-0000.dtsi (63.6 KB)
tegra234-p3737-eqos-pinmux.dtsi (3.8 KB)

tegra234-ethernet-3737-0000.dtsi (1.5 KB)
tegra234-p3711-ethernet.dtsi (1.2 KB)
tegra234-soc-eqos.dtsi (4.6 KB)

Is it still devkit module? or 32GB commercial module?

It is devkit module.

Will it work with static IP case?

No, even I setup the static IP and routing table, it can not work. It can not ping out and other PC can not ping to it. Log file is the orin console.

rgmii_02.txt (9.7 KB)

Have you checked the flash log and make sure the pinmux file is really the one you modified?

It seems has wrong pinmux file.
[ 2.1123 ] Pre-processing config: tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi
[ 7.4507 ] Parsing config file :tegra234-mb1-bct-pinmux-p3701-0000-a04_cpp.dtb
I use command line “sudo ./ jetson-agx-orin-devkit mmcblk0p1” to flash orin.
How to fix it?

Could you boot up the device and share me the result of

cat /etc/nv_boot_control.conf

TNSPEC 3701-500-0000-J.0-1-1-jetson-agx-orin-devkit-
COMPATIBLE_SPEC 3701–0000–1–jetson-agx-orin-devkit-
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0

please put your pinmux change to tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi instead.

  1. cp tegra234-mb1-bct-pinmux-p3701-0000.dtsi to tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi
    (tegra234-mb1-bct-pinmux-p3701-0000.dtsi has modified)
  2. modify tx_pins rx_pins gpio_pins of tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi
    Is it 1 or 2 ?


tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi_patch (5.9 KB)
I modified the file Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi
It is the same situation.