Multiple Images after compiling from source

I want to be able to compile the kernel from source and then flash the image. I have been following the tutorial here.

I see there are multiple Images created.
/source/kernel/kernel-jammy-src/arch/arm64/boot/Image
/source/out/nvidia-linux-header/arch/arm64/boot/Image
/rootfs/boot/Image and /kernel/Image.

My question is what is the difference between all of these Images? Do all of them get used as part of the kernel or just one? and how do I use these images to flash/apply what i have built from source to the jetson orin nano.

Thank you for any guidance.

Hi,
Have move the topic to Orin Nano category.

The manually compiled kernel Image is this:

/source/kernel/kernel-jammy-src/arch/arm64/boot/Image

It will be updated to kernel partition(the kernel Image will be used during flash for both kernel partition and rootfs)

Linux_for_Tegra/kerne/Image

by running the command:

$ export INSTALL_MOD_PATH=<install-path>/Linux_for_Tegra/rootfs/
$ sudo -E make install -C kernel
$ cp kernel/kernel-jammy-src/arch/arm64/boot/Image \
  <install-path>/Linux_for_Tegra/kernel/Image

And while flashing,

Linux_for_Tegra/rootfs/boot/Image

will be refreshed by

Linux_for_Tegra/kerne/Image

what about the kernel image in this directory.
/source/out/nvidia-linux-header/arch/arm64/boot/Image
how is this used in the flashing process

Hi,

This is not used. The used one is

/source/kernel/kernel-jammy-src/arch/arm64/boot/Image

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