Jetson AGX Xavier: build DTB

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?

Sharing the dmesg might be helpful here.

[ 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)

I used the sources provided in the public_sources.tbz2
I will redownload the sources and try again…

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.

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 :)

1 Like

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

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

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

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

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