Skip to main content

Flash JetPack to reComputer J1020v2, J20 Series (J202 carrier board)

In this wiki, we will show you how to flash Jetpack OS to reComputer J2021. Since the carrier board of it is designed like the offical NVIDIA Xavier Developer Carrier Board, we can flash the JetPack in two ways.

Getting Started

First of all we need the get the software and hardware ready in order to flash new Jetpack OS:

Prerequisite

Here is the list of required software and hardware:

  • Host Computer with Ubuntu 18.04 operating system or above
  • reComputer J2021 or J202 + Nvidia Xavier NX module
  • 9V-12V/5A Power Supply
  • USB Type-C cable
  • Jumper pin/cable

Hardware Preparation (Force Recovery Mode)

Before we can move on to the installation steps, we need to make sure that our reComputer is in the force recovery mode.

Step 1. Before you start, you need to disconnect power of the reComputer

Step 2. To enter recovery mode, you need to connect FC REC and GND using jumpers.

Button HeaderDescriptionButton HeaderDescription
1PWR BTN7AUTO ON
2GND8DISABLE
3FC REC9UART TXD
4GND10UART RXD
5SYS RET11LED +
6GND12LED -

Step 3. Power up the reComputer with 12V/5A DC cable on the left of the reComputer and use a Type-C cable to connect the Linux Host PC on the right of the reComputer.

Step 4. On the Linux host PC screen, we can right click the mouse to open a Terminal and enter the command lsusb. When the returned content has the ID 0955:7e19 NVidia Corp. in it, it means that your Jetson-202 Carrier Board is in force recovery mode and you can proceed to the subsequent operations.

Software Preparation

  • Linux Host Computer with Ubuntu 18.04 OS (or above)

Flashing JetPack OS

There are two optional ways of flash JetPack OS into the reComputer J2021, For the beginners to NVIDIA Jetson, we highly recommand NVIDIA SDK Manager:

!!!note In this tutorial, we will use Ubuntu 18.04 LTS operating system on the host computer and the Jetpack Verison to be install is 4.6.1 in this guide.

Flashing JetPack OS via NVIDIA SDK Manager

Now we will go through the tutorial about installing the system via NVIDIA SDK Manager. The an NVIDIA SDK Manager all-in-one tool that bundles developer software and provides an end-to-end development environment setup solution for NVIDIA SDKs. Thus, it is recommended for the beginners.

Step 1. Install NVIDIA SDK Manager on the Linux Host PC

First of all you need to create a NVIDIA account in order to use sdkmanager. Then on the Linux Host PC download the NVIDIA SDK Manager from the NVIDIA official website.

Step 2. Open NVIDIA SDK Manager and login

On the Linux host PC screen, we can right click the mouse and open a Terminal. Then we can type the command below to start the SDK Manager:

sdkmanager

as shown below:

The first time you use NVIDIA SDK Manager, a web page will pop up prompting you to log in with your previously registered NVIDIA account.

Step 3. Select the target device

After logging in, you will be taken to the first screen where the first step of installing. Since we have already connected the reComputer J2021, there will be a window pop up to let you select the hardware device.

The reComputer J2021 has equipped with NVIDIA Jetson Xavier 8GB module, so we can choose the first one.

(要图)

There are more selections for you to choose in the first screen:

  • The Jetson in the Product Category panel need to be selected.
  • In the Hardware Configuration panel, we recommend that you do not select Host Machine. This will take more time to install the NVIDIA components for your current Ubuntu host. You can choose it if you need.
  • In the Target Operating System panel, we can select different operating system and JetPack version. But be careful the version of JetPack, different modules may support different type of JetPack. We recommand "JetPack 4.6.1" here.
  • In the Additional SDKs, since the storage space of eMMC is only 16GB, it will be out of memory if we install DeepStream here.

Click Continue to proceed to the next step.

Step 4. Review wanted components

From Details and License, you can expand the host components and target components panels to review the components that will be installed on your system.

If you only need to install the system, you can uncheck the SDK component.

tip

When choosing which components to install, you may want to keep an eye on the capacity used. The built-in eMMC size is only 16GB, please allocate and use this space wisely according to your actual needs.

After actual testing, there is only about 500MB of eMMC space left after installing the full set of SDK components.
If you want to check how to solve the problem of insufficient capacity, please refer to [Troubleshooting](https://wiki.seeedstudio.com/reComputer_Jetson_Series_Initiation/#q1-the-remaining-space-in-the-emmc-in-the-received-recomputer-jetson-is-only-about-2gb-how-can-i-solve-the-problem-of-insufficient-space).

If you want SDK Manager to download all the files to a location other than the default path, go to the Download & Install Options located at the bottom of the screen, then select the path you wish to use.

Select Continue to proceed to the next step.

Step 5. Install the system

Before the installation begins, SDK Manager prompts you to enter your sudo password.

After a while, we will be asked to set up the new system for our reComputer. Since we manually force into recovery mode, we select Manual setup: set the target to Force Recovery Mode via manual operations here. Meanwhile, we choose the default Pre-Config.

After that, we need to enter the name and password of our new Jetson system to our reComputer, it is set by yourself.

When ready, click Flash to continue.

The display shows the progress of the download and installation of the software. Please wait patiently for the installation to complete.

(Optional)Step 6. Install the SDK components

If you checked the installation of the component in the previous step 4, you will need to go through this step.

After a moment, you will be able to see a new window pop up in the NVIDIA SDK Manager, prompting you that you need to connect to your device via IP address. It means the system has been alreadly installed and the components installing will be proceeded.

In this case, we can pull out the jumper and restart the reComputer. Then we need to connect the reComputer to a monitor via HDMI, enter the password you entered in step 4, and log in to the main interface.

At this point you need to connect the reComputer to the same LAN as the Linux host PC and determine the IP address of the Jetson by using the command ifconfig.

Go back to the Linux host PC and enter the IP address you just obtained. NVIDIA SDK Manager will try to connect to the Jetson device and proceed to complete the installation of the next SDK components.

When you see the following window appear, the installation has been done. You can start using Jetson or continue to follow the steps below to complete some basic configuration of your new system.

note

Be sure to unplug the jumper and exit force recovery mode before re-powering into the system.

Flashing to eMMC with command-line

Thanks to the freedom to customize the BSP(NVIDIA Linux Driver Package), flashing JetPack OS via command line can be very easy for the Linux knowledge base users.

Step 1. Download the proper NVIDIA Linux Driver Package

On the Linux host PC, we need to open a browser and go the Jetson Linux Archive. First we should check if the version of Jetson Linux is supported our reComputer Jetson module.

Once you find the proper version, click to go to the downloaded page. Find and click the "L4T Driver Package (BSP)" and "Sample Root Filesystem" to download the driver files. The names of the files are like Tegra_Linux_Sample-Root-Filesystem_Rxx.x.x_aarch64.tbz2 and Jetson-210_Linux_Rxx.x.x_aarch64.tbz2.

As the example, we choose the NVIDIA L4T 35.1 version since it is included as part of JetPack 5.0.2 and supports the Jetson Xavier NX module. The names of the files:

  • Tegra_Linux_Sample-Root-Filesystem_R35.1.0_aarch64.tbz2
  • Jetson_Linux_R35.1.0_aarch64.tbz2

You can also choose other version like NVIDIA L4T 32.7.2 which supports Jetpack 4.6.2.

Step 2. Unzip Package Files and Assemble the Rootfs via Command Line

On the Linux host PC, we should find a folder and store the package files we download before. Then open a command line window(Terminal) at the folder and use the command line below to unzip the files and assemble the rootfs:

tar xf ${L4T_RELEASE_PACKAGE}
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../${SAMPLE_FS_PACKAGE}
cd ..
sudo ./apply_binaries.sh

!!!Note ${} is where you put the names of the files.

*As the example of NVIDIA L4T 35.1, the downloaded files are stored in /Desktop/L4T_Drivers, so under the '/Desktop/L4T_Drivers' path we open the command line window(Terminal) and execute the following command.

tar xf Jetson_Linux_R35.1.0_aarch64.tbz2
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R35.1.0_aarch64.tbz2
cd ..
sudo ./apply_binaries.sh

The output should be like:

Step 3. Flash the System to reComputer

Since we alreadly force the reComputer J2021 into the recovery mode and the module is Jetson Nano. We can directly flash the system into the reComputer execute following command:

sudo ./flash.sh jetson-nano-devkit-emmc mmcblk0p1

!!!Tip Flashing L4T takes about 10 minutes, or more under a slow host computer.

At this moment, we can unplug the jumper and then power up the reComputer again to use it.

Troubleshooting

Troubleshooting Installation with NVIDIA SDK Manager

There are many causes of various installation errors. Below is a checklist of common installation issues, which may help you recover from a broken installation.

  1. Review the summary table to identify which component failed.

    a. Expand the group with the "Error" status.

    b. When you find the failed component, click the details icon to the right of Install Error to be redirected to the Terminal tab, which will display the exact error.

  1. If the error is related to an environment issue, such as a broken apt repository or missing prerequisite, try to fix it manually, then click the Retry Failed Items button.
  1. Retrying the installation is also available in two other ways:

    a. From Flashing to eMMC with SDK Manager -- Step 3, use the Repair/Uninstall button to get to the Manage NVIDIA SDKs page. If needed, expand the SDK that has the "Broken" status, then click Repair for the relevant part (Host or Target).

  1. At Flashing to eMMC with SDK Manager -- Step 3, select the required SDK and run through the installation again.

  2. Finally, try to uninstall and reinstall the relevant SDK.

Troubleshooting installation using the command line

The command line installation method is relatively simple, and is often prone to error in scenarios where force recovery mode is used.

If you encounter the error shown below in Flashing to eMMC with command-line -- Step 2, you probably did not succeed in getting the Jetson-202 Carrier Board into force recovery mode. Please pay special attention, do not enter force recovery mode with the Jetson-202 Carrier Board powered on, as this is not valid.

If you can't get into the system in Flashing to eMMC with command-line -- Step 3 and are stuck on the boot up display command line, you probably did not exit force recovery mode. Likewise, it is not valid for you to unplug the jumper to exit force recovery mode while the Jetson-202 Carrier Board is powered up, this all needs to be done while you are powered down.

note

If more storage space is needed, we can use SD card to expand the capacity, or burn the system on SD card, you can refer to our recommended solution Flash System on SD card

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...