How to streamline ota payload generation on jetson agx orin

I generate OTA payload using the following command:
sudo ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh --external-device nvme0n1 -S 10GiB jetson-agx-orin-devkit R35-5

However, this script takes a long time (>1hr). After digging in, i realized that inside l4t_generate_ota_package.sh, there are multiple board specs:

boardid=3701;fab=000;boardsku=0000;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed_img_dir=images-R35-ToT boardid=3701;fab=000;boardsku=0000;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=nvme0n1p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0000;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0000;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=nvme0n1p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0004;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D2;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0004;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D2;board=jetson-agx-orin-devkit;rootdev=nvme0n1p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0005;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=mmcblk0p1;signed_img_dir=images-R35-ToT boardid=3701;fab=300;boardsku=0005;boardrev=;fuselevel_s=1;chiprev=;chipsku=00:00:00:D0;board=jetson-agx-orin-devkit;rootdev=nvme0n1p1;signed_img_dir=images-R35-ToT

Is there a way to generate image for just nvme (to save time). i dont care about the rest of the specs.

thanks!

hello raj28,

could you please give it a try to specify the board info to the command-line.
for instance,
$ sudo BOARDID=3701 FAB=000 BOARDSKU=0000 BOARDREV= FUSELEVEL=fuselevel_production CHIP_SKU=00:00:00:D0 -E ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh ... jetson-agx-orin-devkit R35-5

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