how to just flash kernel Image with shell command?

Hi all,

I just compile the kernel source ,then get a kernel image in folder $TEGRA_KERNEL_OUT/arch/arm64/boot.
then replace Linux_for_Tera/kernel/Image with $TEGRA_KERNEL_OUT/arch/arm64/boot/Image.
How to just flash this kernel Image which shell command without flash other partition?
My Jetpack version 3.1, L4T source version 28.1.

Hi xilaiwojia,

Please refer to Flashing and Booting the Target Device section from L4T R28.1 Documentation -


In R28.1 it is just a file copy. The original is at “/boot/Image”, and is named in “/boot/extlinux/extlinux.conf”. You could add your kernel with an alternate name, and then edit extlinux.conf to see that Image. If you have serial console you can pick which one to boot. If your “uname -r” remains the same you won’t need to do anything with modules, but if “uname -r” changes, then you need a new module directory as well (at “/lib/modules/$(uname -r)/”). In later releases this gets more complicated.

Many thanks