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:
- copied the Original kernel config file from
/proc/config.gzunzipped, copied on.configin thekernel_outfolder. 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)make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_outmake -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out dtbsmake -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out modulessudo make -C kernel/kernel-5.10/ arch=arm64 O=$PWD/kernel_out modules_installsudo cp kernel_out/arch/arm64/boot/Image /boot/Image-ptp-ptmsudo vim /boot/extlinux/extlinux.confsudo 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.