How to generate the OTA update payload package with an customized image cloned from a Jetson device

hello hsu.y.y,

please try this.
$ sudo ./l4t_generate_ota_package.sh -f user_rootfs.img -o user_rootfs_updater.sh <board_name> <bsp_version>
note,
you should assign user_rootfs.img and user_rootfs_updater.sh.
that means you have to write the user_rootfs_updater.sh and generate user_rootfs.img by yourself.

please refer to nv_ota_rootfs_updater.sh when you would like to write your own rootfs updaters.
by default, the rootfs updater nv_ota_rootfs_updater.sh which included in the BSP package is used and the default rootfs image is a tar.gz archive generated from the system.img.raw.

besides,
you don’t need to use the -f and the -o options if you just make some customization in rootfs directory and do not care about how the rootfs directory is packed on the host and how it is unpacked into the rootfs partition on the device,
thanks

1 Like