I use SDK Manager to flash JetPack 4.6.2 to Jetson Xavier NX. Then replace the Image in the /boot directory with the Image I compiled myself.
After restarting, use the dmesg | head command to find that the system still uses the built-in Image.
Here is the compile command I use:
make -C kernel/kernel-4.9/ ARCH=arm64 O=$TEGRA_KERNEL_OUT BUILD_NUMBER= LOCALVERSION=-tegra CROSS_COMPILE=${TOOLCHAIN_PREFIX} tegra_defconfig
make -C kernel/kernel-4.9/ ARCH=arm64 O=$TEGRA_KERNEL_OUT BUILD_NUMBER= LOCALVERSION=-tegra CROSS_COMPILE=${TOOLCHAIN_PREFIX} -j$(nproc) --output-sync=target zImage
make -C kernel/kernel-4.9/ ARCH=arm64 O=$TEGRA_KERNEL_OUT BUILD_NUMBER= LOCALVERSION=-tegra CROSS_COMPILE=${TOOLCHAIN_PREFIX} -j$(nproc) --output-sync=target dtbs
Do you need to set anything else?
