R35.5.0 build kernel - kernel modules not found in directory /lib/modules/5.10.192-tegra

hi,

I build the mcp251xfd kernel module for the custom carrier board and archive the installed kernel modules to replace the Linux_for_Tegra/kernel/kernel_supplements.tbz2 file.

cd Linux_for_Tegra/source/public/modules_out
tar --owner root --group root -cjf kernel_supplements.tbz2 lib/modules
cp ./kernel_supplements.tbz2 ../../../kernel/kernel_supplements.tbz2

flash

sudo ./apply_binaries.sh
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
  -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
  --showlogs --network usb0 jetson-orin-nano-devkit internal

When I started Ubuntu I couldn’t find the mcp251xfd.ko file in the /lib/modules/5.10.192-tegra directory.
Do I need to manually copy the kernel module to the rootfs?

If you cannot see it in your rootfs before flash, then yes, you need to copy it to rootfs no matter what method you want to use.

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