Flash Failure - CPU Boot Loader is not running on Device

My flash failed after getting to 99.8%. It became very slow as it got above 90%. 99.7 - 99.8 took about 30 minutes. The logs indicate:


17:54:47 INFO : Flash Jetson TX2 : [ 4088.3116 ] tegradevflash_v2 --iscpubl
17:54:48 INFO : Flash Jetson TX2 : [ 4088.3143 ] CPU Bootloader is not running on device.
17:54:48 INFO : Flash Jetson TX2 : [ 4088.3336 ]
17:54:48 INFO : Flash Jetson TX2 : [ 4089.3393 ] tegrarcm_v2 --isapplet
17:54:48 INFO : Flash Jetson TX2 : [ 4089.3623 ]
17:54:48 INFO : Flash Jetson TX2 : [ 4089.3651 ] tegradevflash_v2 --iscpubl
17:54:50 INFO : Flash Jetson TX2 : [ 4089.3670 ] CPU Bootloader is not running on device.
17:54:50 INFO : Flash Jetson TX2 : [ 4089.3810 ]
17:54:50 INFO : Flash Jetson TX2 : [ 4090.3971 ] tegrarcm_v2 --isapplet
17:54:50 INFO : Flash Jetson TX2 : [ 4090.4189 ]
17:54:50 INFO : Flash Jetson TX2 : [ 4090.4229 ] tegradevflash_v2 --iscpubl
17:54:51 INFO : Flash Jetson TX2 : [ 4090.4263 ] CPU Bootloader is not running on device.
17:54:51 INFO : Flash Jetson TX2 : [ 4090.4459 ]
17:54:51 INFO : Flash Jetson TX2 : [ 4091.4488 ] tegrarcm_v2 --isapplet
17:54:51 INFO : Flash Jetson TX2 : [ 4091.4513 ]
17:54:51 INFO : Flash Jetson TX2 : [ 4091.4531 ] tegradevflash_v2 --iscpubl
17:54:52 INFO : Flash Jetson TX2 : [ 4091.4545 ] CPU Bootloader is not running on device.
17:54:52 INFO : Flash Jetson TX2 : [ 4091.4695 ]
17:54:52 INFO : Flash Jetson TX2 : [ 4092.4727 ] tegrarcm_v2 --isapplet
17:54:52 INFO : Flash Jetson TX2 : [ 4092.4746 ]
17:54:52 INFO : Flash Jetson TX2 : [ 4092.4763 ] tegradevflash_v2 --iscpubl
17:54:52 INFO : Flash Jetson TX2 : [ 4092.4777 ] CPU Bootloader is not running on device.
17:54:52 INFO : Flash Jetson TX2 : [ 4092.5097 ]
17:54:52 INFO : Flash Jetson TX2 : Error: None of the bootloaders are running on device. Check the UART log.
17:54:52 INFO : Flash Jetson TX2 : Failed flashing t186ref.
17:54:52 INFO : Flash Jetson TX2 : exit status 1
17:54:52 INFO : Flash Jetson TX2 : [ Component Install Finished with Error ]
17:54:52 INFO : Flash Jetson TX2 : [ 8.60 GB used. Disk Avail: 151.29 GB ]
17:54:52 INFO : Flash Jetson TX2 : [ NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP Install took 1h13m3s ]
17:54:52 ERROR : Flash Jetson TX2 : Run commands failed at step Install: command sudo ./flash.sh jetson-tx2 mmcblk0p1 finished with error
17:54:52 INFO : Flash Jetson TX2 :
17:54:52 ERROR : Flash Jetson TX2 : command terminated with error

This is the first time I’ve tried to flash the TX2. I am using Ubuntu 18.04.4 LTS in a VirtualBox VM. I’m using the brand new USB cable that came with the TX2 and no USB hubs. I have a filter setup for the USB device and the USB connection is consistant, it’s not disconnecting.

I know there have been some problems with VMs. Is there anything I can do?

Edit: I’m trying to use Jetpack 4.3.
I’ve doubled the RAM on my VM from 2048 to 4096 and replaced the swapfile with a 4GB swap partition on my SSD. I’ll try again and update with results.

Edit #2: Once again it is starting to get extremely slow in the upper 90s. There is a large time gap in the terminal between these lines:

19:33:01 INFO : Flash Jetson TX2 : [ 7.5953 ]
19:33:01 INFO : Flash Jetson TX2 : [ 7.5953 ] Sending bootloader and pre-requisite binaries
19:33:01 INFO : Flash Jetson TX2 : [ 7.5967 ] tegrarcm_v2 --download blob blob.bin
19:33:01 INFO : Flash Jetson TX2 : [ 7.5978 ] Applet version 01.00.0000
19:33:01 INFO : Flash Jetson TX2 : [ 7.6401 ] Sending blob
19:33:01 INFO : Flash Jetson TX2 : [ 7.6407 ] [… ] 025% [ 7.6407 ] [… ] 050% [ 7.6407 ] [… ] 075% [ 7.6407 ] […] 100%
19:33:01 INFO : Flash Jetson TX2 : [ 8.2275 ]
19:33:01 INFO : Flash Jetson TX2 : [ 8.2349 ] tegrarcm_v2 --boot recovery
19:33:01 INFO : Flash Jetson TX2 : [ 8.2401 ] Applet version 01.00.0000
19:49:44 INFO : Flash Jetson TX2 : [ 8.2749 ]
19:49:44 INFO : Flash Jetson TX2 : [ 9.2783 ] tegrarcm_v2 --isapplet

The Jetson is still there under lsusb:
Bus 001 Device 006: ID 0955:7c18 NVidia Corp.

same result, failed. going to try v4.2 next.

4.2 failed in the same way.

Now I have setup a VMWare Workstation VM instead of VirtualBox based on another couple threads where people had success.

Edit: It worked! Suggest people use VMWare Workstation instead of VirtualBox. It completed very quickly.

Switching to VMWare Workstation instead of VirtualBox completed the flash quickly on the first try.