Just some information you might find of use in all of this…
The software which actually performs a flash or clone is the “driver package”. It’s called that because in recovery mode a Jetson becomes a custom USB device understood by that driver (and only that driver…it’s custom). JetPack/SDK Manager is a GUI front end and installer utility. Because of the JetPack/SDKM being for a TX2, it is limited to operating on either an Ubuntu 18.04 host PC, or an Ubuntu 16.04 PC (obviously 18.04 is preferred). The flash itself installs Linux for Tegre (“L4T”), which is itself Ubuntu plus NVIDIA drivers.
The combination of the flash target and the JetPack version is what requires the host PC to be either Ubuntu 18.04 or 16.04. Technically, if you give up the GUI, and use only the command line
flash.sh, then you can flash from a much wider range of Linux host PCs, e.g., from Ubuntu 20.04, but steps become more manual, and there are a number of advantages to sticking to JetPack/SDKM.
VMs very often fail USB. One has to know how to correctly configure that particular VM to never lose the USB before it can succeed. During flash USB will disconnect and reconnect, and quite often this fails on a VM which has not been specifically configured to work correctly. The WSL2 VM has even more problems in that you have to update it with a Linux kernel configured for loopback support, which the default does not have. It is far better, in terms of less frustration, to just use a native install, e.g., dual boot, or even add another hard drive and put Linux on it.
Note that JetPack/SDKM and L4T have their versions tied together. If you pick one release, then you’ve picked the other. You can check for the most recent L4T release compatible with your TX2 here:
You’re basically looking for the latest L4T R32.x. On a running system you can find the L4T release with “
head -n 1 /etc/nv_tegra_release”.
Note that JetPack/SDKM can be started with a more recent release (you’d still want a 4.x JetPack I think), and be told to show all of its available releases if you start it like this:
If you really want to try command line flash from Ubuntu 20.04, I can show you how, but expect more manual steps. Also, JetPack offers to install a lot of optional software, e.g., CUDA, which command line flash won’t do. You could still install that software later with an
apt-get, but you’d need to know which packages you want. Overall I advise using JetPack, but in a pinch you could use command line. The VM problems will still be a problem on command line.
Also, we are all assuming this is a TX2 developer’s kit from NVIDIA. If this is a third party carrier board with a TX2 module, then instructions change.