Can't flash TX2 via jetpack, invalid target board

I’ve downloaded the latest (3.0) JetPack. It succeeds in downloading packages but fails at the flashing stage with the following:

Error: Invalid target board - jetson-tx2.

I don’t really know how to proceed with this.

Also, can I flash by using the flash.sh script? If so, where can I download linux3tegra image and what parameters to pass to this script to flash my TX2?

Some update: the error was due to a missing symlink that jetpack somehow didn’t create. U removed all jetpack files and reran it and it started flashing, but I got:

[   0.0015 ] Generating RCM messages
[   0.0028 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/narf/jetpack/64_TX2/Linux_for_Tegra_tx2/bootloader/mb1_recovery_prod.bin 0 0
[   0.0041 ] RCM 0 is saved as rcm_0.rcm
[   0.0144 ] 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.0211 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0224 ] Assuming zero filled SBK key
[   0.0415 ] 
[   0.0415 ] Copying signature to RCM mesages
[   0.0427 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0599 ] 
[   0.0599 ] Boot Rom communication
[   0.0612 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0666 ] RCM version 0X180001
[   0.0741 ] Boot Rom communication completed
[   1.1000 ] 
[   6.1064 ] Retrieving EEPROM data
[   6.1065 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/narf/jetpack/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[   6.1078 ] USB communication failed.Check if device is in recovery
[   6.1607 ] 
[   6.1643 ] tegradevflash_v2 --oem platformdetails eeprom cvm /home/narf/jetpack/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin
[   6.1657 ] Cannot Open USB
[   6.2184 ] 
Error: Return value 8
Command tegradevflash_v2 --oem platformdetails eeprom cvm /home/narf/jetpack/64_TX2/Linux_for_Tegra_tx2/bootloader/cvm.bin

I guess it might be because I’m flashing from a VM. So again, is there a way to flash without JetPack? Nvidia seems to only support this method. I don’t have an Ubuntu 14.04 installation anywhere on a real machine so that’s out of the question.

Is the underlying file system of the VM ext4? Sometimes people use the NTFS file system if the VM runs on Windows…NTFS is not capable of understanding some parts of a Linux file system, and thus is incapable of being used for flash (the flashed system would have several aspects of the rootfs mangled). Btw, you can see available space and file system type with “df -H -T”.

Many people have VM issues. I see yours can’t even find the USB. So before you do anything else you will need to set up USB as USB2 so that the recovery mode Jetson can be made visible to the flash software. You can get an idea of USB layout and speeds from “lsusb -t” (a speed of 5000M is USB3, a speed of 480M is USB2, and 12M or 1.1M would be from USB1.1 mode).

Hi Nezumi-sama,

Please make sure your Jetson TX2 into “USB Recovery Mode”.

Flash image by below steps:

Download below two package:
   - Tegra186_Linux_R27.1.0_aarch64.tbz2
   - Tegra_Linux_Sample-Root-Filesystem_R27.1.0_aarch64.tbz2
sudo tar xpf Tegra186_Linux_R27.1.0_aarch64.tbz2
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R27.1.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh

Download link:
http://developer.nvidia.com/embedded/dlc/l4t-jetson-tx2-driver-package-27-1
http://developer.nvidia.com/embedded/dlc/l4t-sample-root-filesystem-27-1

Thanks for the replies. I ended up flashing by using jetpack on a spare laptop with Ubuntu 16.04, but those commands will come in handy next time.