Upgrading Jetson TX2 Ubuntu without (JetPack) host

I am trying to setup a deep learning toolchain on a Jetson TX2. I understand that this isn’t an ideal solution for a deep learning workstation, but I want to set it up for a test.

I am new to the Jetson platform, so I’d like some advice before proceeding.

My TX2 is currently running:
Ubuntu 16.04 LTS (GNU/Linux 4.4.38-tegra aarch64)

I’d like to upgrade my OS before installing the model training toolchain.

I believe that this is usually done with a Linux host workstation and JetPack. Unfortunately, I currently don’t have such a workstation, so I want to see if I can accomplish this without one.

Is this feasible for someone who is an experienced developer, but is new to Jetson, and limited Linux experience?

If this is feasible, where should I be looking for a procedure to accomplish this Linux upgrade?
Is this where to start?

Flashing is performed in “recovery mode”, and this mode simply causes the Jetson to temporarily show up as a custom USB device. That USB device is understood by the “driver package” (which is something JetPack is a front end for), and without this no flash is possible. The driver package runs only on a Linux desktop PC architecture. The front end (JetPack/SDK Manager) has further limitations (such as working with Ubuntu 18.04 host PCs, but not most other “flavors”/“distributions”). So it is not possible to flash without a Linux host PC, preferably an Ubuntu 18.04 host (in future distributions of JetPack/SDK Manager this will likely require an Ubuntu 20.04 host PC).

By far the best result is if you set up dual boot with Linux and Windows. You’d just need to make sure your disk has enough space since flashing consumes a lot of space (flash essentially creates content equal in size to the SD card or eMMC content on the Jetson before transferring it to the Jetson).

Some people do use a VM, but this is not supported since it has a lot of issues.

Flash is what you would want to do to get beyond Ubuntu 16.04. Newer releases put on Ubuntu 18.04. The next major JetPack/SDK Manager release will probably support flashing Ubuntu 20.04 to the Jetson (which is why the host PC will need to be 20.04).

Hi linuxdev,

Thanks for the post.

My TX2 is currently only connected on a remote network (which I can VNC, or SSH into), and not through a host. Isn’t your post implying a host workstation running JetPack?

Is this the only way to upgrade Linux on the TX2?

The normal requirement is a host station running Ubuntu, and the program running on the host is JetPack/SDK Manager (SDKM is an extension added to JetPack, you could refer to it as either JetPack or SDKM these days). Then the Jetson must be connected via the micro-B USB at the Jetson side, and to any regular USB connector (a type-A) on the host PC. The USB is the only way available for flash software to work through flashing. In some cases a newer release can be network upgraded, but I doubt anything still running 4.4.38-tegra is one of those.

I am not sure what is the target BSP you want to upgrade to.

But any kind of upgrade between rel-28 based release to rel-32 based release requires the help of x86 ubuntu host

Method 1. Using sdkmnaager to reflash. You already knew this and it needs to use the ubuntu host

Method 2. Using the image based OTA upgrade

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3271/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html#wwpID0E05I0HA

This method still requires the x86 ubuntu host to help.

Thanks for the help. Seems I need to need to git a host.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.