Having some issues flashing my Jetson AGX Xavier with a newly installed NVMe SSD, a Kingston A2000 250Gb. Following steps have been performed, all on host computer:
- Download root file system and driver package from https://developer.nvidia.com/embedded/linux-tegra
- Untar filesystem into rootfs folder with sudo
- Install secureboot according to https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/bootloader_secure_boot.html#wwpID0E0CH0HA
sudo apply_binaries.sh
- Start editing the partition config xml, then noticing that most of it is fine since APPSIZE can be changed when calling l4t_initrd_flash.sh. However, I did update the sector_size (512) and num_sectors (488315215) to match the SSD. Placed them in
flash_l4t_nvme_hugo.xml
. - Run
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_hugo.xml -S 245GiB --showlogs jetson-xavier nvme0n1p1
It runs fine for a while, then produces the following rather unhelpful message:
[...]
[ 2.3909 ] Generating signatures
[ 2.3947 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[ 2.3948 ] Assuming zero filled SBK key
[ 2.6262 ] Copying signatures
[ 2.6284 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 3.8790 ]
[ 3.8814 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[ 3.8827 ] End sector for APP, expected at: 488315181, actual: 513802279
[ 3.8829 ]
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
Error: /home/per/Downloads/nvidia/Linux_for_Tegra/bootloader//flash.idx is not found
Error: failed to relocate images to /home/per/Downloads/nvidia/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
What am I doing wrong? It looks like APP partition is a problem. Did I misinterpret the sector size? Or the number of sectors? The difference between the expected and actual is not a multiple of 512, so it looks very confusing to me. Happy to receive help here, thanks.
With sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme_hugo.xml -S 200GiB --showlogs jetson-xavier nvme0n1p1
I got past that line, but the same error persists.
[...]
[ 4.4586 ] tegrasign_v3.py --key None --list tegra194-p2888-0001-p2822-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 4.4588 ] Assuming zero filled SBK key
[ 4.4679 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p2888-0001-p2822-0000_sigheader.dtb.encrypt tegra194-p2888-0001-p2822-0000_sigheader.dtb.hash zerosbk
[ 4.4766 ]
[ 4.4792 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_cpu_t194.bin
[ 4.4807 ]
[ 4.4835 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader nvtboot_recovery_cpu_t194.bin zerosbk
[ 4.4854 ] adding BCH for nvtboot_recovery_cpu_t194.bin
[ 4.4983 ]
[ 4.5010 ] tegrasign_v3.py --key None --list nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 4.5012 ] Assuming zero filled SBK key
[ 4.5126 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_cpu_t194_sigheader.bin.encrypt nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[ 4.5179 ]
[ 4.5180 ] Copying signed file in /home/per/Downloads/nvidia/Linux_for_Tegra/bootloader/signed
[ 4.6169 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/per/Downloads/nvidia/Linux_for_Tegra/bootloader/signed/flash.xml.tmp flash.idx
[ 5.1539 ]
Error: /home/per/Downloads/nvidia/Linux_for_Tegra/bootloader//flash.idx is not found
Error: failed to relocate images to /home/per/Downloads/nvidia/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
$
edit 2:
May have found a bug. Since bootloader/omdsign.func
exists, the flash script attempts to source it and run some function called get_image_folder()
, which doesn’t exist, and so it returns nothing. This creates the double slash in the error above. It’s looking for a file called flash.idx
, which is located at bootloader/signed/flash.idx
. Making sure that the flash script could find this file, it proceeded further, but could not complete. Final step found below.
Finish generating flash package.
/home/per/Downloads/nvidia/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --skipuid --usb-instance 1-2 --device-instance 0 --flash-only --external-device nvme0n1p1 -c "./tools/kernel_flash/flash_l4t_nvme_hugo.xml" -S 200GiB jetson-agx-xavier-devkit nvme0n1p1
**********************************************
* *
* Step 1: Build the flashing environment *
* *
**********************************************
Create flash environment 0
~/Downloads/nvidia/Linux_for_Tegra/bootloader ~/Downloads/nvidia/Linux_for_Tegra
~/Downloads/nvidia/Linux_for_Tegra
Finish creating flash environment 0.
****************************************************
* *
* Step 2: Boot the device with flash initrd image *
* *
****************************************************
~/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0 ~/Downloads/nvidia/Linux_for_Tegra
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p2888.cfg,tegra194-memcfg-sw-override.cfg --odmdata 0x9190000 --applet mb1_t194_prod.bin --cmd "rcmboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --cfg flash.xml --chip 0x19 --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-sdmmc.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-sdmmc.cfg --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-a01.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; kernel boot0.img; kernel_dtb tegra194-p2888-0001-p2822-0000.dtb; bootloader_dtb tegra194-p2888-0001-p2822-0000.dtb" --instance 1-2 --skipuid
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
Entering RCM boot
[ 0.0064 ] tegrasign_v3.py --getmode mode.txt --key None
[ 0.0066 ] Assuming zero filled SBK key
[ 0.0031 ] Generating RCM messages
[ 0.0054 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[ 0.0064 ] Header already present for mb1_t194_prod.bin
[ 0.0097 ]
[ 0.0158 ] tegrasign_v3.py --getmode mode.txt --key None
[ 0.0158 ] Assuming zero filled SBK key
[ 0.0194 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[ 0.0195 ] Assuming zero filled SBK key
[ 0.0234 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[ 0.0289 ]
[ 0.0307 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[ 0.0329 ]
[ 0.0370 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[ 0.0389 ] FwIndex: 1, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 2, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 3, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 4, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 5, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 6, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 7, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 11, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 12, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 13, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 14, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 15, MinRatchetLevel: 0
[ 0.0396 ] FwIndex: 16, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 17, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 18, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 19, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 30, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 31, MinRatchetLevel: 0
[ 0.0397 ] FwIndex: 32, MinRatchetLevel: 0
[ 0.0397 ]
[ 0.0427 ] tegrarcm_v2 --instance 1-2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[ 0.0435 ] RCM 0 is saved as rcm_0.rcm
[ 0.0488 ] RCM 1 is saved as rcm_1.rcm
[ 0.0488 ] RCM 2 is saved as rcm_2.rcm
[ 0.0488 ] List of rcm files are saved in rcm_list.xml
[ 0.0488 ]
[ 0.0488 ] Signing RCM messages
[ 0.0547 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0548 ] Assuming zero filled SBK key
[ 0.0619 ] Copying signature to RCM mesages
[ 0.0638 ] tegrarcm_v2 --instance 1-2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[ 0.0653 ]
[ 0.0654 ] Generating br-bct
[ 0.0675 ] Performing cfg overlay
[ 0.0675 ] ['tegra194-mb1-bct-memcfg-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[ 0.0677 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg
[ 0.1002 ]
[ 0.1003 ] Updating dev and MSS params in BR BCT
[ 0.1004 ] tegrabct_v2 --dev_param tegra194-br-bct-sdmmc.cfg --sdram /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[ 0.1369 ]
[ 0.1370 ] Updating Odmdata
[ 0.1392 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[ 0.1407 ]
[ 0.1407 ] Get Signed section of bct
[ 0.1431 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[ 0.1461 ]
[ 0.1497 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[ 0.1505 ] Assuming zero filled SBK key
[ 0.1819 ]
[ 0.1819 ] Updating BCT with signature
[ 0.1842 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[ 0.1857 ]
[ 0.1858 ] Generating coldboot mb1-bct
[ 0.1886 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[ 0.1898 ] MB1-BCT version: 0x1
[ 0.1901 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
[ 0.1903 ] Added Platform Config 0 data with size :- 3008
[ 0.1912 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg
[ 0.1913 ] File read failed
[ 0.1935 ] File read failed
[ 0.1992 ] Added Platform Config 1 data with size :- 19640
[ 0.1994 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg
[ 0.1996 ] Added Platform Config 2 data with size :- 24
[ 0.1997 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg
[ 0.1999 ] File read failed
[ 0.1999 ] File read failed
[ 0.2000 ] Added Platform Config 4 data with size :- 380
[ 0.2001 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg
[ 0.2002 ] Added Platform Config 3 data with size :- 92
[ 0.2003 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg
[ 0.2005 ] Added Platform Config 5 data with size :- 68
[ 0.2005 ]
[ 0.2005 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg
[ 0.2005 ] Added Platform Config 7 data with size :- 392
[ 0.2005 ]
[ 0.2005 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg
[ 0.2005 ] Added Platform Config 8 data with size :- 12
[ 0.2005 ]
[ 0.2005 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg
[ 0.2005 ] Added Platform Config 9 data with size :- 32
[ 0.2005 ]
[ 0.2006 ] Updating mb1-bct with ratchet information
[ 0.2030 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[ 0.2041 ] MB1-BCT version: 0x1
[ 0.2042 ] FwIndex: 1, MinRatchetLevel: 0
[ 0.2044 ] FwIndex: 2, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 3, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 4, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 5, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 6, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 7, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 11, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 12, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 13, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 14, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 15, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 16, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 17, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 18, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 19, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 30, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 31, MinRatchetLevel: 0
[ 0.2046 ] FwIndex: 32, MinRatchetLevel: 0
[ 0.2046 ]
[ 0.2069 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[ 0.2086 ]
[ 0.2114 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 0.2130 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[ 0.2138 ]
[ 0.2198 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 0.2199 ] Assuming zero filled SBK key
[ 0.2212 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 0.2230 ]
[ 0.2231 ] Generating recovery mb1-bct
[ 0.2261 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-sdmmc.cfg
[ 0.2273 ] MB1-BCT version: 0x1
[ 0.2281 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
[ 0.2287 ] Added Platform Config 0 data with size :- 3008
[ 0.2319 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg
[ 0.2322 ] File read failed
[ 0.2365 ] File read failed
[ 0.2414 ] Added Platform Config 1 data with size :- 19640
[ 0.2415 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg
[ 0.2417 ] Added Platform Config 2 data with size :- 24
[ 0.2418 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0001-a01-p2822-0000.cfg
[ 0.2419 ] File read failed
[ 0.2420 ] File read failed
[ 0.2420 ] Added Platform Config 4 data with size :- 380
[ 0.2421 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg
[ 0.2422 ] Added Platform Config 3 data with size :- 92
[ 0.2422 ]
[ 0.2422 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg
[ 0.2422 ] Added Platform Config 5 data with size :- 68
[ 0.2422 ]
[ 0.2422 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg
[ 0.2422 ] Added Platform Config 7 data with size :- 392
[ 0.2422 ]
[ 0.2422 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg
[ 0.2422 ] Added Platform Config 8 data with size :- 12
[ 0.2422 ]
[ 0.2422 ] Parsing config file :tegra19x-mb1-bct-device-sdmmc.cfg
[ 0.2422 ] Added Platform Config 9 data with size :- 32
[ 0.2422 ]
[ 0.2423 ] Updating mb1-bct with ratchet information
[ 0.2442 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[ 0.2452 ] MB1-BCT version: 0x1
[ 0.2454 ] FwIndex: 1, MinRatchetLevel: 0
[ 0.2455 ] FwIndex: 2, MinRatchetLevel: 0
[ 0.2456 ] FwIndex: 3, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 4, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 5, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 6, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 7, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 11, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 12, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 13, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 14, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 15, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 16, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 17, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 18, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 19, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 30, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 31, MinRatchetLevel: 0
[ 0.2457 ] FwIndex: 32, MinRatchetLevel: 0
[ 0.2457 ]
[ 0.2477 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[ 0.2488 ]
[ 0.2508 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[ 0.2525 ] adding BCH for mb1_bct_MB1.bct
[ 0.2534 ]
[ 0.2594 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 0.2594 ] Assuming zero filled SBK key
[ 0.2603 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 0.2616 ]
[ 0.2617 ] Generating coldboot mem-bct
[ 0.2636 ] tegrabct_v2 --chip 0x19 0 --sdram /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg --membct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_1.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_2.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_3.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_4.bct
[ 0.2643 ] Packing sdram param for instance[0]
[ 0.3067 ] Packing sdram param for instance[1]
[ 0.3069 ] Packing sdram param for instance[2]
[ 0.3070 ] Packing sdram param for instance[3]
[ 0.3071 ] Packing sdram param for instance[4]
[ 0.3072 ] Packing sdram param for instance[5]
[ 0.3072 ] Packing sdram param for instance[6]
[ 0.3072 ] Packing sdram param for instance[7]
[ 0.3072 ] Packing sdram param for instance[8]
[ 0.3072 ] Packing sdram param for instance[9]
[ 0.3072 ] Packing sdram param for instance[10]
[ 0.3072 ] Packing sdram param for instance[11]
[ 0.3072 ] Packing sdram param for instance[12]
[ 0.3072 ] Packing sdram param for instance[13]
[ 0.3072 ] Packing sdram param for instance[14]
[ 0.3072 ] Packing sdram param for instance[15]
[ 0.3072 ]
[ 0.3095 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_1.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_2.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_3.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_4.bct
[ 0.3106 ] adding BCH for /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_1.bct
[ 0.3159 ]
[ 0.3189 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[ 0.3200 ]
[ 0.3224 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[ 0.3231 ] Header already present for mem_coldboot.bct
[ 0.3238 ]
[ 0.3301 ] tegrasign_v3.py --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 0.3302 ] Assuming zero filled SBK key
[ 0.3340 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[ 0.3353 ]
[ 0.3354 ] Generating recovery mem-bct
[ 0.3379 ] tegrabct_v2 --chip 0x19 0 --sdram /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41.cfg --membct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_1.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_2.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_3.bct /home/per/Downloads/nvidia/Linux_for_Tegra/temp_initrdflash/bootloader0/7964/tmph96qjdq41_4.bct
[ 0.3392 ] Packing sdram param for instance[0]
[ 0.3836 ] Packing sdram param for instance[1]
[ 0.3837 ] Packing sdram param for instance[2]
[ 0.3838 ] Packing sdram param for instance[3]
[ 0.3839 ] Packing sdram param for instance[4]
[ 0.3840 ] Packing sdram param for instance[5]
[ 0.3841 ] Packing sdram param for instance[6]
[ 0.3841 ] Packing sdram param for instance[7]
[ 0.3841 ] Packing sdram param for instance[8]
[ 0.3841 ] Packing sdram param for instance[9]
[ 0.3841 ] Packing sdram param for instance[10]
[ 0.3841 ] Packing sdram param for instance[11]
[ 0.3841 ] Packing sdram param for instance[12]
[ 0.3841 ] Packing sdram param for instance[13]
[ 0.3842 ] Packing sdram param for instance[14]
[ 0.3842 ] Packing sdram param for instance[15]
[ 0.3842 ]
[ 0.3843 ] Using default ramcode: 0
[ 0.3869 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[ 0.3885 ]
[ 0.3921 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[ 0.3940 ] adding BCH for mem_rcm.bct
[ 0.3965 ]
[ 0.4032 ] tegrasign_v3.py --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 0.4033 ] Assuming zero filled SBK key
[ 0.4073 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[ 0.4096 ]
[ 0.4096 ] Boot Rom communication
[ 0.4132 ] tegrarcm_v2 --instance 1-2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[ 0.4139 ] Boot Rom communication failed
[ 5.5363 ]
Error: Return value 3
Command tegrarcm_v2 --instance 1-2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
Cleaning up...
What now?