# AGX Orin using RGMII issues\[net eth0: ether\_open: Cannot attach to PHY (error: -19)\]

**URL:** <https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240>\
**Category:** Jetson AGX Orin\
**Tags:** device-tree\
**Created:** [January 11, 2023, 1:07am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240 "2023-01-11T01:07:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chunqiao.wu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chunqiao.wu](https://forums.developer.nvidia.com/u/chunqiao.wu)\
**Post date:** [January 11, 2023, 1:07am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240/1 "2023-01-11T01:07:38Z")

</div>

We have a custom carrier board with the Marvel 88E1512 Phy connected AGX Orin module.

1. We modify the ODMDATA field to disable the 10G ethernet and allow the Orin to boot.

> ODMDATA=“gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-16”;

1. We modify the pinmux as suggested in the developers guide.

> [Orin-jetson\_agx\_orin-gpio-default.dtsi](https://forums.developer.nvidia.com/uploads/short-url/pnnzdgFoRPfUPIhTOmfgUztmZlF.dtsi) (3.9 KB)  
> [Orin-jetson\_agx\_orin-pinmux.dtsi](https://forums.developer.nvidia.com/uploads/short-url/2Cl0QZEkDsVk7tWlSgAZigaf4gi.dtsi) (64.6 KB)

1. We modify the device tree as suggested in the developers guide.

> [tegra234-ethernet-3737-0000.dtsi](https://forums.developer.nvidia.com/uploads/short-url/vHPT8qeFv8yxjuBR3gkHBDINDWb.dtsi) (1.6 KB)

> [tegra234-p3701-0004-p3737-0000.dts](https://forums.developer.nvidia.com/uploads/short-url/qk1It0mozszRUEWChrcplG6KtE5.dts) (490.3 KB)

There is always an error when running on the board：

> [37.460487] nvethernet 2310000.ethernet: failed to connect PHY  
> [37.466642] net eth0: ether\_open: Cannot attach to PHY (error: -19)  
> This is boot log [boot.txt](https://forums.developer.nvidia.com/uploads/short-url/kbyesvRdIwxI4w2zs94QlQnVXBh.txt) (56.9 KB)

**sudo ifconfig eth0 up**

> [35217.650577] nvethernet 2310000.ethernet: failed to connect PHY  
> [35217.656627] net eth0: ether\_open: Cannot attach to PHY (error: -19)  
> SIOCSIFFLAGS: No such device

**sudo cat /sys/kernel/debug/gpio**

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/d/9/d9dc1c24f0289c384ca2c6d1fb07a8c0313ab017.png)

Can anyone help me see what I did wrong will cause this issues?

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [January 11, 2023, 3:22am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240/3 "2023-01-11T03:22:32Z")

</div>

Are you sure the pinmux file gets flashed to your jetson is really Orin-jetson\_agx\_orin-gpio-default.dtsi and Orin-jetson\_agx\_orin-pinmux.dtsi ?

Also, there is something wrong with online document. Please refer to this doc instead.

> **[Adaptation\_and\_Bringup\_for\_Jetson\_AGX\_Orin.pdf](https://developer.download.nvidia.com/assets/embedded/secure/jetson/agx_orin/Adaptation_and_Bringup_for_Jetson_AGX_Orin.pdf?OmqSodHzsL1KTQiuWkgQuU597wdLWkLGIj3z1jb_zhxI4AYEaM955IJuC0ebydHgWR8fUODxef8ZwJb_OKSSIpytmYUNy---glG5aAvOicDS1zkXbuUEXR0MdZDfiIu8LQ4mfF-TWK9hK0BbIB8LPXwCYzwBc4n1cC_pw1L68dnICVKTerGIUCYNNiBmSrIbhySiug==)**
>
> 845.17 KB

---

<div class="post-metadata">

**Author:** ![chunqiao.wu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@chunqiao.wu](https://forums.developer.nvidia.com/u/chunqiao.wu)\
**Post date:** [January 11, 2023, 3:35am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240/4 "2023-01-11T03:35:49Z")

</div>

This link seems can’t open

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/a/8/a841f3812a3673a817ecb984fcc0545ba215c1f5.png)

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [January 11, 2023, 3:41am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240/5 "2023-01-11T03:41:12Z")

</div>

[[https://developer.nvidia.com/adaptation-and-bringup-jetson-agx-orinpdf](https://developer.nvidia.com/adaptation-and-bringup-jetson-agx-orinpdf)

Sorry. Please try again.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [February 1, 2023, 3:50am UTC](https://forums.developer.nvidia.com/t/agx-orin-using-rgmii-issues-net-eth0-ether-open-cannot-attach-to-phy-error-19/239240/7 "2023-02-01T03:50:49Z")

</div>

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