# Jetson AGX Xavier: build DTB

**URL:** <https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662>\
**Category:** Jetson AGX Xavier\
**Tags:** ethernet\
**Created:** [December 9, 2022, 10:19am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662 "2022-12-09T10:19:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayrton\_Leyssens](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Ayrton\_Leyssens](https://forums.developer.nvidia.com/u/Ayrton_Leyssens)\
**Post date:** [December 9, 2022, 10:19am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/1 "2022-12-09T10:19:52Z")

</div>

I build a custom DTB (although this does not even matter since when I build without my customization, it does not work either) and for some reason my ethernet does no longer work.

I use a Jeston AGX Xavier Dev kit, jetpack 4.6.1 sources.  
I build a DTB (tegra194-p2888-0001-p2822-0000.dtb) and copy it to my system.  
Overriding the DTB with “FTP /boot/mydtb…dtb” in /boot/extlinux/extlinux.conf" makes my system no longer ‘working’.

The whole thing boots, but without ethernet support in it.

WHY?

---

<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:** [December 12, 2022, 4:52am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/3 "2022-12-12T04:52:20Z")

</div>

Sharing the dmesg might be helpful here.

---

<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:** [December 12, 2022, 7:49am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/5 "2022-12-12T07:49:38Z")

</div>

> [4.556429] eqos 2490000.ether\_qos: failed to read eqos\_auto\_cal\_config\_0\_reg  
> [4.556542] eqos 2490000.ether\_qos: invalid settings : rx-frames must be enabled along with use\_riwt in DT

This log indicates you are using a mixed up device tree version. I mean you probably use some old driver with new dtb or the revsered combination.

The old and new here mean the jetpack version (kernel verison)

---

<div class="post-metadata">

**Author:** ![Ayrton\_Leyssens](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Ayrton\_Leyssens](https://forums.developer.nvidia.com/u/Ayrton_Leyssens)\
**Post date:** [December 12, 2022, 7:56am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/6 "2022-12-12T07:56:43Z")

</div>

I used the sources provided in the public\_sources.tbz2  
I will redownload the sources and try again…

---

<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:** [December 12, 2022, 7:57am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/7 "2022-12-12T07:57:59Z")

</div>

please also try to prevent the case if you boot from external drive case too. this happened on other users before.

For example, some users’ kernel loaded from usb and device tree loaded from emmc… and they didn’t know they mix it up.

---

<div class="post-metadata">

**Author:** ![Ayrton\_Leyssens](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Ayrton\_Leyssens](https://forums.developer.nvidia.com/u/Ayrton_Leyssens)\
**Post date:** [December 12, 2022, 8:01am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/8 "2022-12-12T08:01:17Z")

</div>

To be sure we use the “correct” files, we always boot from the internal eMMC.  
Since that is also the way we will ship it.

The mixup between SD, eMMC, USB … we had in the past with other hardware, wont make that mistake again :)

---

<div class="post-metadata">

**Author:** ![Ayrton\_Leyssens](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Ayrton\_Leyssens](https://forums.developer.nvidia.com/u/Ayrton_Leyssens)\
**Post date:** [December 12, 2022, 8:50am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/9 "2022-12-12T08:50:29Z")

</div>

I just did a build and uploaded my dtb and kernel, still no luck.  
(sources from: [https://developer.nvidia.com/embedded/linux-tegra-r3271](https://developer.nvidia.com/embedded/linux-tegra-r3271) )

```auto
dmesg | grep eqos
[4.466537] eqos 2490000.ether_qos: failed to read eqos_auto_cal_config_0_reg
[4.466676] eqos 2490000.ether_qos: invalid settings : rx-frames must be enabled along with use_riwt in DT
[4.467464] eqos: probe of 2490000.ether_qos failed with error -22

```

---

<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:** [December 12, 2022, 2:30pm UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/10 "2022-12-12T14:30:08Z")

</div>

Could you share the device tree which converted back from dtb file?

---

<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:** [December 12, 2022, 2:58pm UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/11 "2022-12-12T14:58:52Z")

</div>

Actually this is already a question answered previously. You can refer to

> [@Lost Ethernet on upgrade from r32.4.3 to r37.7.1](https://forums.developer.nvidia.com/t/lost-ethernet-on-upgrade-from-r32-4-3-to-r37-7-1/228770/3):
>
> Hi, There are some problems here and I need to clarify before next step. Actually, this error is just one parameter missing in eqos part in the device tree. If this problem happened after you add the “vendor dtb”, it means your vendor’s dtb hasn’t been changed for a while. Or you are totally using a device tree from old version. This " rx-frames must be enabled along with use\_riwt in DT" change has been added to kernel for long time ago. IIRC, it was added in rel-32.5. Please tell the v…

---

<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:** [January 4, 2023, 12:53am UTC](https://forums.developer.nvidia.com/t/jetson-agx-xavier-build-dtb/236662/13 "2023-01-04T00:53:19Z")

</div>

Closed on January 4, 2023, 12:53am UTC

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