Can't generate OTA package with l4t_generate_ota_package.sh

Hello,

I’m trying to generate an OTA package following this tutorial Nvidia Jetson L4T Integration - Debian family - Mender Hub with L4T 32.5.2

On the step

sudo ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh -sr -o rootfs_updater.sh -f image_fs.tar.gz jetson-xavier-nx-devkit R32-6

I have the following error:

SUCCESS: cleaned up BUP tmp files prior to payload creation
FAILURE: no payload made for config "boardid=3310;fab=B00;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-devkit;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3310;fab=B01;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-devkit;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3310;fab=B00;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-as-4GB;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3310;fab=B01;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-as-4GB;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3489;fab=200;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-devkit-tx2i;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3489;fab=300;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-devkit-tx2i;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3489;fab=300;boardsku=;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-tx2-devkit-4gb;rootdev=mmcblk0p1"
FAILURE: no payload made for config "boardid=3636;fab=300;boardsku=0001;boardrev=;fuselevel_s=1;chiprev=0;board=jetson-xavier-nx-devkit-tx2-nx;rootdev=mmcblk0p1"
SUCCESS: cleaned up BUP tmp files after payload creation
Failed to run "/home/perceval/workspace/mender-jetpack/Linux_for_Tegra/l4t_generate_soc_bup.sh -f /home/perceval/workspace/mender-jetpack/Linux_for_Tegra/tools/ota_tools/version_upgrade/ota_board_specs.conf -e jetson_tx2_devkit_ota_emmc_r32_3_4_spec -b jetson-tx2-devkit t18x"

I don’t know how to fix this, could you help me?
Thank you

Perceval

Just a reminder. This is jetson TX2 forum.

Are you sure your question is on TX2/TX2-NX?

Yes I’m trying to perform this action for the TX2 devkit

Then why did you run xavier nx board config in this command?

please refer to this document.

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3273/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html

Because I took it from the tutorial :)
the actual command I’m running is the following

sudo ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh  -sr -o rootfs_updater.sh  -f image_fs.tar.gz jetson-tx2-devkit R32-5 

Hi,

Please share the current log after you use correct command.

Hello,

here are the logs
generate-ota-package.log (132.5 KB)

Could you firstly boot up your board and dump cat /etc/nv_boot_control.conf result first?

of course, here it is

nvidia@tx2-devkit:~$ cat /etc/nv_boot_control.conf 
TNSPEC 3310-D00-1000-E.0-1-0-jetson-tx2-devkit-mmcblk0p1
COMPATIBLE_SPEC 3310-B01---1--jetson-tx2-devkit-mmcblk0p1
TEGRA_CHIPID 0x18
TEGRA_OTA_BOOT_DEVICE /dev/mmcblk0boot0
TEGRA_OTA_GPT_DEVICE /dev/mmcblk0boot1

Hi bilpercy,

Please share your detail steps, include BASE_BSP, TARGET_BSP, create rootfs_updater and rootfs_image.
Thanks!

You can also reference this topic: How to OTA update from JP4.6.2 to JP5.1.X - #4 by carolyuu

Hello carolyuu,

Sorry for the delay. I’m trying to reproduce all the steps from scratch.I will post that ASAP.