JetPack-4.5.1 Installation and Root File-System Transfer for DSBOX-NX2 - Forecr.io

JetPack-4.5.1 Installation and Root File-System Transfer for DSBOX-NX2

Jetson AGX Xavier | Jetson Xavier NX

19 October 2021
WHAT YOU WILL LEARN?

1- Including the Image and DTB file in Jetson OS Image

2- Jetson OS Installation

3- Root File-System Transfer

4- Jetson SDK Components Installation

ENVIRONMENT

Hardware 1: DSBOX-NX2

Hardware 2: Corsair Gaming PC

OS 2: Ubuntu 18.04.5 LTS

Language: Bash


In this tutorial, we will install JetPack-4.5.1 for DSBOX-NX2 (or DSBOARD-NX2 with Xavier NX SoM). First we will include our Image and DTB file in Jetson OS image. Then, we will install the Jetson OS into the DSBOX-NX2. Finally, we will transfer the root file-system.


Attention: If you want to transfer the root file-system to an external drive, please format it before starting this blog post.



Including the Image and DTB file in Jetson OS Image


Open the NVIDIA SDK Manager. Select “JetPack 4.5.1” for Target Operating System and “Jetson Xavier NX modules” for Target Hardware. (The “Host Machine” components are not required) Then continue to Step 2.


NVIDIA SDK Manager Page Step 1


Choose only “Jetson OS”, accept the terms & conditions and continue to Step 3.


NVIDIA SDK Manager Page Step 2


The SDK Manager will ask the username’s password. Fill it and continue.


NVIDIA SDK Manager Page username and password


After the Jetson OS has created, the SDK Manager asks the Jetson module’s flashing style. Just skip it and exit from the SDK Manager.




Open the target HW image folder (${HOME}/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX/Linux_for_Tegra/).



Download the BSP package from GitHub link, extract it and copy the "Image" file to the "kernel" folder.



Then copy the DTB file into the “kernel/dtb” folder.



Return to the “Linux_for_Tegra” folder and open a Terminal.



To begin, create the system image again with this command:

sudo ./flash.sh --no-flash jetson-xavier-nx-devkit-emmc mmcblk0p1



A few seconds later ...


Jetson OS Installation


Connect the recovery USB (between installer PC & DSBOX-NX2's recovery USB) and power connection of your DSBOX-NX2.


While the DSBOX-NX2's power connector plugged in,

• press power button then wait for boot led lights up.

• press reset & recovery buttons together

• release reset button

• release the recovery button after 3 seconds later. This will set it to Recovery mode.


Then type lsusb and check the device connected in Recovery mode (0955:7e19 NVidia Corp.)



Flash the Jetson OS with this script:

sudo ./flash.sh -r jetson-xavier-nx-devkit-emmc mmcblk0p1



A few seconds later …


At the end of the script, the device will reboot. Configure your Ubuntu installation progress from the DSBOX-NX2 (language, keyboard type, location, username & password etc.).



To avoid kernel update with "apt upgrade" or "apt-get upgrade" commands, please follow this guide on the Jetson module.



Root File-System Transfer


 If you want to transfer the root file-system into SD card, please follow this guide at this point.


 If you want to transfer the root file-system into NVME SSD drive, please follow this guide at this point.


 After completing these root file system transfer tutorials, come back to this tutorial and continue the following steps below.


 Jetson SDK Components Installation


Delete LibreOffice & ThunderBird packages (if you don’t need) and remove the unnecessary packages to increase the free space. To do this type these commands to the DSBOX-NX2 side:


sudo apt remove -y libreoffice* thunderbird*
sudo apt autoremove -y
sudo apt clean


Connect the DSBOX-NX2 to the Ethernet or connect its Recovery USB to the Host PC. Then open the NVIDIA SDK Manager. Select “JetPack 4.5.1” for Target Operating System and “Jetson Xavier NX modules” for Target Hardware. (The “Host Machine” components are not required) Then continue to Step 2.



Choose only “Jetson OS”, accept the terms & conditions and continue to Step 3.



The SDK Manager will ask the username’s password. Fill it and continue.



Type the IP address, username and password of DSBOX-NX2 and Install the SDK Components.



At the end of the installation, the DSBOX-NX2 becomes ready. 

Thank you for reading our blog post.