Compiling new kernel but confused about how to flash it to TX2

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:
6.Replace the contents of Linux_for_Tegra/kernel/dtb/ with the contents of:
7.Execute the following commands to install the kernel modules:
$ sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install \

Hi there @user149303,

Nice to read again from you. I took the liberty of moving your post to the correct category where all of the Jetson TX2 related questions are discussed. I hope that is ok.


Just copy the Image to TX2 /boot/ to apply the new kernel.
Confirm by uname -a

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