Hey, I’m trying to completed the steps in this tutorial to build the kernel: NVIDIA Jetson Linux Developer Guide : Kernel Customization | NVIDIA Docs. The last two steps indicated below, 5 and 6, are confusing me because if I look in the output folder I already have zImage and all of the .dtb files I need which go on the Jetson TX2. I don’t understand why I need to copy the files it’s asking for, and I don’t understand why I need to install the modules on my developement computer if they have already been generated. Don’t they need to be installed on the TX2?
The main purpose to rebuild the kernel was because I wanted to enable SPI in the dev tree and also the drivers for SPIDEV, so now I want to put this new kernel onto my TX2.
5.Replace <release_packagep>/Linux_for_Tegra/kernel/Image with a copy of:
$TEGRA_KERNEL_OUT/arch/arm64/boot/Image
6.Replace the contents of Linux_for_Tegra/kernel/dtb/ with the contents of:
$TEGRA_KERNEL_OUT/arch/arm64/boot/dts/
7.Execute the following commands to install the kernel modules:
$ sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install \
INSTALL_MOD_PATH=<top>/Linux_for_Tegra/rootfs/