Creating Backup of TX1 with tegraflash.py fails

Hello,

I am trying to create a full system Backup of the TX1 with the tegraflash.py script in the bootloader directory of the Jetson Software on my Host PC.

Inside the script I get the error [ 1.0613 ] 00000004: Failed to get an accessor of secondary boot device

I execute the following command:

sudo ./tegraflash.py --bl cboot.bin --applet nvtboot_recovery.bin --chip 0x21 --cmd "read APP my_backup_image_APP.img"

I get the following output:

~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader$ sudo ./tegraflash.py --bl cboot.bin --applet nvtboot_recovery.bin --chip 0x21 --cmd "read APP my_backup_image_APP.img"

Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0017 ] Generating RCM messages
[   0.0024 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[   0.0031 ] RCM 0 is saved as rcm_0.rcm
[   0.0036 ] RCM 1 is saved as rcm_1.rcm
[   0.0036 ] List of rcm files are saved in rcm_list.xml
[   0.0036 ] 
[   0.0036 ] Signing RCM messages
[   0.0043 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0050 ] Assuming zero filled SBK key
[   0.0095 ] 
[   0.0095 ] Copying signature to RCM mesages
[   0.0104 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[   0.0115 ] 
[   0.0115 ] Boot Rom communication
[   0.0121 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[   0.0128 ] BR_CID: 0x32101001642897c0080000000aff03c0
[   0.0133 ] RCM version 0X210001
[   0.0319 ] Boot Rom communication completed
[   1.0393 ] 
[   1.0394 ] Reading BCT from device for further operations
[   1.0394 ] Retrieving storage infomation
[   1.0416 ] tegrarcm --oem platformdetails storage storage_info.bin
[   1.0442 ] Applet version 00.01.0000
[   1.0613 ] 00000004: Failed to get an accessor of secondary boot device
[   1.0626 ] 
[   1.0644 ] tegradevflash --oem platformdetails storage storage_info.bin

System Information:
Ubuntu 18.04
Jetson SDK Manager Version 0.9.14.4961

Thanks for helping.

hello Michael,

could you please use the flash script to perform the image backup process.
for example,

Usage: sudo ./flash.sh [options] <target_board> <rootdev>
  Where,
	target board: Valid target board name.
	rootdev: Proper root device.
    options:
        ...
        -G <file name> ------- Read partition and save image to file.

suggest you could also check similar discussion thread, Topic 1058035.
you might also check the Flashing and Booting the Target Device chapter for reference,
thanks