I’m trying out the massflash feature using a roundtrip. I should be able to flash the device I’ve imaged back to the version I imaged before.
I followed the instructions from README_Massflash.txt and did:
$ sudo ./nvmassflashgen.sh jetson-xavier mmcblk0p1
That produced the mfi_jetson-xavier.tbz2 as expected. I then extracted that archive and entered the resulting directory. Now I ran
$ sudo ./nvmflash.sh --showlogs
and that fails.
What goes wrong here?
Logs:
*** Boot Rom communication
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --chip 0x19 0 --rcm rcm_list_signed.xml
BR_CID: 0x88021911645995821c00000015fe0140
RCM version 0X190001
Boot Rom communication completed
*** Boot Rom communication succeeded.
*** Checking applet
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --isapplet
Applet version 01.00.0000
*** Checking applet succeeded.
*** Sending BCTs
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
Applet version 01.00.0000
Sending bct_bootrom
[................................................] 100%^M
Sending bct_mb1
[................................................] 100%^M
Sending bct_mem
[................................................] 100%^M
*** Sending BCTs succeeded.
*** Sending bootloader and pre-requisite binaries
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --download blob blob.bin
Applet version 01.00.0000
Sending blob
[........ ] 017%^M[................. ] 035%^M[.......................... ] 052%^M[................................... ] 070%^M[........................................... ] 087%^M[................................................] 100%^M
*** Sending bootloader and pre-requisite binaries succeeded.
*** Booting Recovery
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --boot recovery
Applet version 01.00.0000
*** Booting Recovery succeeded.
*** Checking applet
/home/wmt/mfi_jetson-xavier/tegrarcm_v2 --instance 1-1 --isapplet
*** Checking CPU bootloader
/home/wmt/mfi_jetson-xavier/tegradevflash_v2 --instance 1-1 --iscpubl
Bootloader version 01.00.0000
Bootloader version 01.00.0000
*** Checking CPU bootloader succeeded.
*** Flashing the device
/home/wmt/mfi_jetson-xavier/tegradevflash_v2 --instance 1-1 --pt flash.xml.bin --create
Bootloader version 01.00.0000
Erasing sdmmc_boot: 3 ......... [Done]
Writing partition secondary_gpt with gpt_secondary_0_3.bin
[................................................] 100%^M
000000000d0d0001: o initialize partition table from GPT.
*** Error: Flashing the device failed.