How to create a backup image in jetpack 5.1.4 after secure boot

I’m trying to create a backup from JetPack 5.1.4 using the following command:

sudo ./flash.sh -r -k APP -G backup.img -u vio_rsa_priv.pem -v sbk.key jetson-xavier-nx-devkit-emmc mmcblk0p1

However, it seems to hang at same the picture. I want to know if there’s anything wrong with the command I’m using to create the backup. Additional information: when I use the following method, everything works fine without any issues:

sudo ./tools/backup_restore/l4t_backup_restore.sh -u vio_rsa_priv.pem -v sbk.key -b jetson-xavier-nx-devkit-emmc

So, what is the difference between these two methods? Which one should I use?

hello user34150,

it’s due to partition commands (-k) is not works after secure boot enabled.

1 Like

So with the Secure Boot method, I can only use:

sudo ./tools/backup_restore/l4t_backup_restore.sh -u vio_rsa_priv.pem -v sbk.key -b jetson-xavier-nx-devkit-emmc

to create a backup and reflash, right? @JerryChang

yes, please running with backup-restore script for your use-case.

1 Like

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