Can't install JetPack 3.1 ("Installing VisionWorks 1.6.0 failed")

I’m trying to flash my TX2 with Jetpack 3.1, and running into this error during the install of VisionWorks 1.6.0 on the host:

Installing VisionWorks 1.6.0 failed.

Return Code: 1
Error installing libvisionworks libvisionworks-dev libvisionworks-docs libvisionworks-samples  to host, please check /home/$USER/_installer/logs/64_TX2/visionworks_host.log for more details

I checked the visionworks_host.log, and I see a bunch of stuff like this:

Fetched 697 kB in 2s (248 kB/s)
Reading package lists...
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libvisionworks-docs

Any idea what this means, or how to fix it?

Looks lke I’m not the only one running into this: https://devtalk.nvidia.com/default/topic/1030631/jtx2-jetpack-3-1-unable-to-locate-package-libvisionworks-docs/?offset=4#5250066

Welp, I gave up on VisionWorks, unchecked that from the custom install list and moved forward with flashing the TX2. Now I’m getting:

Error: Return value 4
Command tegradevflash_v2 --oem platformdetails storage storage_info.bin Failed flashing t186ref.

Here’s the contents of the logfile:

./tegraflash.py --chip 0x18 --applet "/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --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
 
[   0.0027 ] Generating RCM messages
[   0.0038 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin 0 0
[   0.0045 ] RCM 0 is saved as rcm_0.rcm
[   0.0059 ] RCM 1 is saved as rcm_1.rcm
[   0.0059 ] List of rcm files are saved in rcm_list.xml
[   0.0060 ] 
[   0.0060 ] Signing RCM messages
[   0.0087 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0098 ] Assuming zero filled SBK key
[   0.0147 ] 
[   0.0148 ] Copying signature to RCM mesages
[   0.0160 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0312 ] 
[   0.0312 ] Boot Rom communication
[   0.0323 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0335 ] RCM version 0X180001
[   0.0610 ] Boot Rom communication completed
[   1.0699 ] 
[   1.0728 ] tegrarcm_v2 --isapplet
[   1.0744 ] Applet version 01.00.0000
[   1.1291 ] 
[   1.1308 ] Retrieving EEPROM data
[   1.1309 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[   1.1321 ] Applet version 01.00.0000
[   1.1901 ] Saved platform info in /home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[   1.2793 ] 
Board ID(3310) version(B02) 
copying bctfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/nvtboot_cpu.bin) reused.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating extlinux.conf.emmc to rootfs... done.
	populating /home/$USER/64_TX2/Linux_for_Tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/spe.bin) reused.
copying wb0boot(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/tos.img) reused.
Existing eksfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/eks.img) reused.
copying dtbfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Making system.img... 
	populating rootfs from /home/$USER/64_TX2/Linux_for_Tegra_tx2/rootfs ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... 

---- Raw to Sparse Image Converter v1.0 ----------------------------
 
[A bunch of probably irrelevant gibberish]

-- Total: -----------------------------------------------------------
2860 CHUNK 30064771072(7340032 blks) ==>  3376506412(824334 blks)

done.
system.img built successfully. 
Existing tbcfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg  --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
saving flash command in /home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/flashcmd.txt
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg  --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
saving flash parameters in /home/$USER/64_TX2/Linux_for_Tegra_tx2/bootloader/flash_parameters.txt
--bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd "flash; reboot"  --cfg flash.xml --chip 0x18 --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg  --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
*** Flashing target device started. ***
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.0029 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0038 ] Assuming zero filled SBK key
[   0.0089 ] 
[   0.0090 ] Generating RCM messages
[   0.0129 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   0.0145 ] RCM 0 is saved as rcm_0.rcm
[   0.0186 ] RCM 1 is saved as rcm_1.rcm
[   0.0188 ] List of rcm files are saved in rcm_list.xml
[   0.0188 ] 
[   0.0188 ] Signing RCM messages
[   0.0199 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0228 ] Assuming zero filled SBK key
[   0.0271 ] 
[   0.0271 ] Copying signature to RCM mesages
[   0.0300 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0316 ] 
[   0.0316 ] Parsing partition layout
[   0.0338 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0381 ] 
[   0.0382 ] Creating list of images to be signed
[   0.0409 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.0655 ] 
[   0.0656 ] Generating signatures
[   0.0676 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.0685 ] Assuming zero filled SBK key
[   0.1720 ] 
[   0.1721 ] Generating br-bct
[   0.1757 ] Updating dev and MSS params in BR BCT
[   0.1758 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[   0.1905 ] 
[   0.1905 ] Updating bl info
[   0.1917 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.1939 ] 
[   0.1939 ] Updating smd info
[   0.1953 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   0.1969 ] 
[   0.1969 ] Updating Odmdata
[   0.1980 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatefields Odmdata =0x1090000
[   0.1995 ] 
[   0.1995 ] Get Signed section bct
[   0.2004 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[   0.2022 ] 
[   0.2022 ] Signing BCT
[   0.2051 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.2067 ] Assuming zero filled SBK key
[   0.2070 ] 
[   0.2070 ] Updating BCT with signature
[   0.2082 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[   0.2098 ] 
[   0.2099 ] Generating coldboot mb1-bct
[   0.2107 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.2122 ] MB1-BCT version: 0xe
[   0.2123 ] Copying Sdram info from 2 to 3 set
[   0.2239 ] Copying Sdram info from 0 to 1 set
[   0.2241 ] Packing sdram param for instance[0]
[   0.2243 ] Packing sdram param for instance[1]
[   0.2245 ] Packing sdram param for instance[2]
[   0.2246 ] Packing sdram param for instance[3]

[   0.2255 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   0.2267 ] Appending platform config data of size :- 2904

[   0.2280 ] Parsing config file :mobile_scr.cfg 
[   0.2296 ] Appending platform config data of size :- 12240

[   0.2301 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.2324 ] Appending platform config data of size :- 24
[   0.2324 ] 
[   0.2324 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.2324 ] Appending platform config data of size :- 708
[   0.2324 ] 
[   0.2324 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.2324 ] Appending platform config data of size :- 64
[   0.2330 ] 
[   0.2330 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.2330 ] Appending platform config data of size :- 1628
[   0.2330 ] 
[   0.2331 ] Updating mb1-bct with firmware information
[   0.2340 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.2351 ] MB1-BCT version: 0xe
[   0.2360 ] 
[   0.2360 ] Updating mb1-bct with storage information
[   0.2374 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.2382 ] MB1-BCT version: 0xe
[   0.2386 ] 
[   0.2396 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[   0.2405 ] 
[   0.2419 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   0.2431 ] 
[   0.2443 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[   0.2457 ] Assuming zero filled SBK key
[   0.2471 ] 
[   0.2486 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   0.2501 ] 
[   0.2501 ] Generating recovery mb1-bct
[   0.2512 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.2522 ] MB1-BCT version: 0xe
[   0.2530 ] Copying Sdram info from 2 to 3 set
[   0.2649 ] Copying Sdram info from 0 to 1 set
[   0.2653 ] Packing sdram param for instance[0]
[   0.2660 ] Packing sdram param for instance[1]
[   0.2664 ] Packing sdram param for instance[2]
[   0.2667 ] Packing sdram param for instance[3]

[   0.2675 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   0.2684 ] Appending platform config data of size :- 2904

[   0.2692 ] Parsing config file :minimal_scr.cfg 
[   0.2698 ] Appending platform config data of size :- 12240
[   0.2698 ] 
[   0.2698 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.2698 ] Appending platform config data of size :- 24
[   0.2698 ] 
[   0.2698 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.2698 ] Appending platform config data of size :- 708
[   0.2698 ] 
[   0.2698 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.2698 ] Appending platform config data of size :- 64
[   0.2698 ] 
[   0.2698 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.2698 ] Appending platform config data of size :- 1628
[   0.2698 ] 
[   0.2698 ] Updating mb1-bct with firmware information
[   0.2709 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.2718 ] MB1-BCT version: 0xe
[   0.2722 ] 
[   0.2722 ] Updating mb1-bct with storage information
[   0.2732 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.2740 ] MB1-BCT version: 0xe
[   0.2746 ] 
[   0.2755 ] tegrahost_v2 --align mb1_bct_MB1.bct
[   0.2796 ] 
[   0.2807 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[   0.2818 ] 
[   0.2831 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[   0.2840 ] Assuming zero filled SBK key
[   0.2864 ] 
[   0.2877 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   0.2887 ] 
[   0.2889 ] Copying signatures
[   0.2899 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.3027 ] 
[   0.3028 ] Boot Rom communication
[   0.3043 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[   0.3060 ] BootRom is not running
[   1.3309 ] 
[   1.3335 ] tegrarcm_v2 --isapplet
[   1.3355 ] Applet version 01.00.0000
[   1.3896 ] 
[   1.3896 ] Retrieving board information
[   1.3926 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   1.3940 ] Applet version 01.00.0000
[   1.4468 ] Saved platform info in chip_info.bin
[   1.4539 ] Chip minor revision: 2
[   1.4642 ] 
[   1.4642 ] Sending BCTs
[   1.4656 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[   1.4666 ] Applet version 01.00.0000
[   1.5201 ] Sending bct_bootrom
[   1.5207 ] [................................................] 100%
[   1.5334 ] Sending bct_mb1
[   1.5409 ] [................................................] 100%
[   1.8971 ] 
[   1.8972 ] Generating blob
[   1.8984 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[   1.8995 ] 
[   1.9006 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   1.9021 ] 
[   1.9032 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   1.9042 ] Assuming zero filled SBK key
[   1.9114 ] 
[   1.9128 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   1.9192 ] 
[   1.9207 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[   1.9219 ] 
[   1.9229 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   1.9618 ] 
[   1.9631 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   1.9641 ] Assuming zero filled SBK key
[   1.9668 ] 
[   1.9685 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   1.9698 ] 
[   1.9719 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[   1.9740 ] 
[   1.9749 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   1.9762 ] 
[   1.9774 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   1.9790 ] Assuming zero filled SBK key
[   1.9814 ] 
[   1.9826 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   1.9837 ] 
[   1.9852 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[   1.9863 ] 
[   1.9874 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   1.9919 ] 
[   1.9938 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   1.9948 ] Assuming zero filled SBK key
[   2.0514 ] 
[   2.0531 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.0606 ] 
[   2.0646 ] tegrahost_v2 --align blob_bpmp.bin
[   2.0658 ] 
[   2.0673 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   2.0787 ] 
[   2.0800 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   2.0815 ] Assuming zero filled SBK key
[   2.0950 ] 
[   2.0963 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   2.0993 ] 
[   2.1005 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   2.1014 ] 
[   2.1026 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   2.1061 ] 
[   2.1076 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   2.1084 ] Assuming zero filled SBK key
[   2.1199 ] 
[   2.1217 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[   2.1236 ] 
[   2.1276 ] tegrahost_v2 --align blob_tos.img
[   2.1284 ] 
[   2.1292 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[   2.1303 ] 
[   2.1318 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[   2.1330 ] Assuming zero filled SBK key
[   2.1345 ] 
[   2.1361 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[   2.1374 ] 
[   2.1386 ] tegrahost_v2 --align blob_eks.img
[   2.1402 ] 
[   2.1419 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   2.1428 ] 
[   2.1442 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   2.1449 ] Assuming zero filled SBK key
[   2.1453 ] 
[   2.1464 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   2.1475 ] 
[   2.1489 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   2.1506 ] 
[   2.1516 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   2.1532 ] 
[   2.1548 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   2.1564 ] Assuming zero filled SBK key
[   2.1666 ] 
[   2.1681 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   2.1705 ] 
[   2.1723 ] tegrahost_v2 --generateblob blob.xml blob.bin
[   2.1738 ] number of images in blob are 9
[   2.1739 ] blobsize is 3725048
[   2.1740 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 184576
[   2.1792 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 78080
[   2.1819 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 61472
[   2.1842 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2077088
[   2.1842 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 528800
[   2.1842 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[   2.1842 ] Added binary blob_tos_sigheader.img.encrypt of size 58880
[   2.1842 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[   2.1842 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 268352
[   2.1842 ] 
[   2.1843 ] Sending bootloader and pre-requisite binaries
[   2.1852 ] tegrarcm_v2 --download blob blob.bin
[   2.1860 ] Applet version 01.00.0000
[   2.2408 ] Sending blob
[   2.2409 ] [..............                                  ] 028%
[   2.2409 ] [............................                    ] 056%
[   2.2409 ] [..........................................      ] 084%
[   2.2409 ] [................................................] 100%
[   2.6982 ] 
[   2.6992 ] tegrarcm_v2 --boot recovery
[   2.7000 ] Applet version 01.00.0000
[   2.7587 ] 
[   2.7604 ] tegrarcm_v2 --isapplet
[   3.3864 ] 
[   3.3916 ] tegradevflash_v2 --iscpubl
[   3.3928 ] CPU Bootloader is not running on device.
[   3.4332 ] 
[  35.9056 ] Retrieving storage infomation
[  35.9076 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[  35.9090 ] Applet is not running on device. Continue with Bootloader
[  35.9637 ] 
[  35.9669 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[  35.9697 ] CPU Bootloader is not running on device.
[  35.9943 ] 
Error: Return value 4
Command tegradevflash_v2 --oem platformdetails storage storage_info.bin
Failed flashing t186ref.

WTF why won’t my TX2 even flash now? L4T 28.2 was working fine a minute ago, now I can’t even flash 28.1.

roach374,

Are you using ubuntu16.04 host for jetpack3.1?