How to update kernel image, rootfs and dtb files alone using flash.sh script

Hi,
We have a requirement to update only few partitions such as Linux kernel image, rootfs and dtb files alone in Jetson AGX Orin 64GB developer kit. We don’t want to update other partitions (ex mbr, gpt…).
How to use flash.sh script to update a specific component?

Thanks,
Rajesh

Hi rajeshkumar.ramasamy,

What’s your Jetpack version in use?

You can add -k parameter for this use case.
e.g. if you want to flash kernel partition only, please use the following command

$ sudo ./flash.sh -r -k A_kernel jetson-agx-orin-devkit internal
$ sudo ./flash.sh -r -k B_kernel jetson-agx-orin-devkit internal

Please note that A/B partition for bootloader is enabled by default so that you should flash them for both A/B slots.

Hi @KevinFFF,

Thanks for your response.

We use Jetpack 6 GA SDK.

Could you share the commands to update the rootfs as well?
“sudo ./flash.sh -r -k APP jetson-agx-orin-devkit internal”
Is the above right cmd for rootfs?

We are trying to boot our customized version of kernel and rootfs.

Thanks,
Rajesh

Correct, if you don’t enable rootfs a/b in your case.
You can also refer to Flashing a Specific Partition for details.

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