Hello
I tried to back up TX1 module with JetPack 4.2.2.
I used this command.
$ sudo ./flash.sh -r -k APP -G system.img jetson-tx1 mmcblk0p1
However, it stops during processing.
[ 0.9283 ] Retrieving storage infomation
[ 0.9302 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 0.9322 ] Applet version 00.01.0000
[ 1.3019 ] 00000004: Failed to get an accessor of secondary boot device
[ 1.3035 ]
[ 1.3344 ] tegradevflash --oem platformdetails storage storage_info.bin
I found a topic giving the same error in Jetson nano and JetPack 4.2.2.
But its not solved too.
About the making of the mirror of the Jetson-nano module
https://devtalk.nvidia.com/default/topic/1064479/about-the-making-of-the-mirror-of-the-jetson-nano-module/?offset=3
[Command Log]
$ sudo ./flash.sh -r -k APP -G system.img jetson-tx1 mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 2.1
###############################################################################
# Target Board Information:
# Name: jetson-tx1, Board Family: t210ref, SoC: Tegra 210,
# OpMode: production, Boot Authentication: ,
###############################################################################
./tegraflash.py --chip 0x21 --applet "/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin"
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.0040 ] Generating RCM messages
[ 0.0060 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0
[ 0.0077 ] RCM 0 is saved as rcm_0.rcm
[ 0.0166 ] RCM 1 is saved as rcm_1.rcm
[ 0.0166 ] List of rcm files are saved in rcm_list.xml
[ 0.0166 ]
[ 0.0167 ] Signing RCM messages
[ 0.0405 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0427 ] Assuming zero filled SBK key
[ 0.0531 ]
[ 0.0532 ] Copying signature to RCM mesages
[ 0.0552 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0573 ]
[ 0.0573 ] Boot Rom communication
[ 0.0588 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0602 ] RCM version 0X210001
[ 0.4709 ] Boot Rom communication completed
[ 1.4795 ]
[ 1.4797 ] dump EEPROM info
[ 1.4820 ] tegrarcm --oem platformdetails eeprom /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/cvm.bin
[ 1.4838 ] Applet version 00.01.0000
[ 1.8548 ] Saved platform info in /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/cvm.bin
[ 1.9332 ]
Board ID(2180) version(400)
copying bctfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done.
copying bootloader(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying initrd(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done.
Making Boot image... done.
copying bcffile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done.
Existing sosfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
copying cpu_bootloader(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
copying bpffile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done.
Existing badpagefile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Existing tbcfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
copying cfgfile(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml... done.
creating gpt(ppt.img)...
*** GPT Parameters ***
device size -------------- 31276924928
bootpart size ------------ 8388608
userpart size ------------ 31268536320
Erase Block Size --------- 2097152
sector size -------------- 4096
Partition Config file ---- flash.xml
Visible partition flag --- GP1
Primary GPT output ------- PPT->ppt.img
Secondary GPT output ----- GPT->gpt.img
Target device name ------- none
*** PARTITION LAYOUT(24 partitions) ***
[ BCT] BH 0 8191 4.0MiB
[ NVC] BH 8192 16383 4.0MiB nvtboot.bin
[ PPT] UH 0 4095 2.0MiB
[ GP1] UH 4096 8191 2.0MiB
[ APP] UH 8192 29368319 14336.0MiB system.img
[ TBC] UV 29368320 29372415 2.0MiB nvtboot_cpu.bin
[ EBT] UV 29372416 29380607 4.0MiB cboot.bin
[ BPF] UV 29380608 29384703 2.0MiB sc7entry-firmware.bin
[ WB0] UV 29384704 29396991 6.0MiB warmboot.bin
[ RP1] UV 29396992 29405183 4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ TOS] UV 29405184 29417471 6.0MiB tos-mon-only.img
[ EKS] UV 29417472 29421567 2.0MiB eks.img
[ FX] UV 29421568 29425663 2.0MiB
[ BMP] UV 29425664 29687807 128.0MiB bmp.blob
[ SOS] UV 29687808 29728767 20.0MiB
[ EXI] UV 29728768 29859839 64.0MiB
[ LNX] UV 29859840 29990911 64.0MiB boot.img
[ DTB] UV 29990912 29999103 4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[ NXT] UV 29999104 30003199 2.0MiB
[ MXB] UV 30003200 30015487 6.0MiB
[ MXP] UV 30015488 30027775 6.0MiB
[ USP] UV 30027776 30031871 2.0MiB
[ UDA] UV 30031872 61067263 15154.0MiB
[ GPT] UH 61067264 61071359 2.0MiB
copying flasher(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Reading [APP] and storing to /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/system.img ***
./tegraflash.py --bl cboot.bin --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P2180_A00_LP4_DSC_204Mhz.cfg --cfg flash.xml --cmd "read APP /home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/system.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.0101 ] Generating RCM messages
[ 0.0119 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0
[ 0.0135 ] RCM 0 is saved as rcm_0.rcm
[ 0.0143 ] RCM 1 is saved as rcm_1.rcm
[ 0.0144 ] List of rcm files are saved in rcm_list.xml
[ 0.0144 ]
[ 0.0144 ] Signing RCM messages
[ 0.0157 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0171 ] Assuming zero filled SBK key
[ 0.0303 ]
[ 0.0304 ] Copying signature to RCM mesages
[ 0.0324 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml
[ 0.0346 ]
[ 0.0347 ] Boot Rom communication
[ 0.0361 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml
[ 0.0376 ] BootRom is not running
[ 0.2689 ]
[ 0.2689 ] Parsing partition layout
[ 0.2945 ] tegraparser --pt flash.xml.tmp
[ 0.2971 ]
[ 0.2972 ] Creating list of images to be signed
[ 0.2994 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml
[ 0.3102 ]
[ 0.3103 ] Generating signatures
[ 0.3124 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.3140 ] Assuming zero filled SBK key
[ 0.4082 ]
[ 0.4083 ] Send BCT from Host
[ 0.4083 ] Generating br-bct
[ 0.4523 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 0
[ 0.4540 ] Copying Sdram info from 1 to 2 set
[ 0.4603 ] Copying Sdram info from 2 to 3 set
[ 0.4603 ]
[ 0.4604 ] Updating boot device parameters
[ 0.4622 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatedevparam flash.xml.bin
[ 0.4635 ] Warning: No sdram params
[ 0.4639 ]
[ 0.4639 ] Updating bl info
[ 0.4651 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 0.4669 ]
[ 0.4670 ] Updating secondary storage information into bct
[ 0.4685 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[ 0.4701 ]
[ 0.4702 ] Get Signed section of bct
[ 0.4715 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --listbct bct_list.xml
[ 0.4729 ]
[ 0.4730 ] Signing BCT
[ 0.4755 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 0.4766 ] Assuming zero filled SBK key
[ 0.4774 ]
[ 0.4775 ] Updating BCT with signature
[ 0.4786 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 0 --updatesig bct_list_signed.xml
[ 0.4801 ]
[ 0.4802 ] Sending BCTs
[ 0.4813 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[ 0.4823 ] Applet version 00.01.0000
[ 0.8542 ] Sending bct
[ 0.8544 ] [................................................] 100%
[ 0.9282 ]
[ 0.9283 ] Retrieving storage infomation
[ 0.9302 ] tegrarcm --oem platformdetails storage storage_info.bin
[ 0.9322 ] Applet version 00.01.0000
[ 1.3019 ] 00000004: Failed to get an accessor of secondary boot device
[ 1.3035 ]
[ 1.3344 ] tegradevflash --oem platformdetails storage storage_info.bin
^CTraceback (most recent call last):
File "./tegraflash.py", line 1280, in <module>
tegraflash_run_commands()
File "./tegraflash.py", line 1149, in tegraflash_run_commands
interpreter.onecmd(command)
File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "./tegraflash.py", line 357, in do_read
tegraflash_read(exports, args[0], file_path)
File "/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 429, in tegraflash_read
tegraflash_get_storage_info()
File "/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 2156, in tegraflash_get_storage_info
run_command(command)
File "/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 195, in run_command
log = print_process(process, enable_print)
File "/home/gtk_jp422_tx1/JetPack422/TargetHWImageFolder/JetPack_4.2.2_Linux_GA_P2180/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 155, in print_process
output = process.stdout.read(1)
KeyboardInterrupt
Failed to flash/read t210ref.
Please tell me the solution.