NVETHERNET fails to load with custom Kernel on Orin Development Kit

Jetson Linux release: R35.2.1

A colleague has built a custom Kernel on an Orin Development Kit where he only enabled PCIe-PTM support (setting CONFIG_PCIE_PTM=y in the Kernel .config file).
For whatever reason, the onboard Ethernet (NVETHERNET) does not come up with this custom Kernel.

The steps he did:

  1. copied the Original kernel config file from /proc/config.gz unzipped, copied on .config in the kernel_out folder.
  2. make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out menuconfig (Enable PTM support and specify a custom string for the new Kernel)
  3. make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out
  4. make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out dtbs
  5. make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out modules
  6. sudo make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out modules_install
  7. sudo cp kernel_out/arch/arm64/boot/Image /boot/Image-ptp-ptm
  8. sudo vim /boot/extlinux/extlinux.conf
  9. sudo reboot

He now gets errors in dmesg regarding nvethernet 6810000.ethernet like:
failed to read MDIO address
failed to read DMA
invalid resource
probe of 6810000.ethernet failed with error -22

Due to the onboard Ethernet not loading, there is also no PHC (/dev/ptp0) created.

I didn’t reproduce it on my Orin Development Kit, but I went a similar approach a while back and I had no issues with the onboard LAN coming up.

Hi,
The latest production release is Jetpack 5.1.2. Would suggest try the version and see if the issue is still present.

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

*** Please note that this reply is generated by LLM automatically ***

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***