JetPack 4.5.1 Installation for Jetson TX2 NX on DSBOARD-NX2

JetPack 4.5.1 Installation for Jetson TX2 NX on DSBOARD-NX2

Jetson TX2 NX

30 March 2021
WHAT YOU WILL LEARN?

1- Installing JetPack on Jetson TX2 NX

2- Installing Jetson SDK Components

3- Updating the device tree file



ENVIRONMENT INFO

Hardware: DSBOARD-NX2

OS: Ubuntu 16.04.1 LTS

Language: Bash





DOWNLOADS


Current problems: 

  • SD Card has not worked 

 In this blogpost, we will install JetPack 4.5.1 for Jetson TX2 NX on DSBOARD-NX2. To begin with, we will install the Jetson OS and components via NVIDIA SDK Manager. Then, we will install our custom carrier board’s BSP. 

 

First of all, connect the recovery (between installer PC & DSBOARD-NX2's recovery USB), ethernet & power connection of your DSBOARD-NX2. Open a terminal on your installer PC then type "watch lsusb" 

When DSBOARD-NX2's power connector plugged in,  

  • press power button then wait for boot led lights up. 
  • press reset & recovery buttons together 
  • release reset button 
  • and release the recovery button after 3 seconds later. 

 

You should see "NVidia Corp." title in the terminal. 

 

Next, set your configurations in the Nvidia SDK Manager. 

 

 

Accept the license agreement and continue to step 3. 

 

 

Nvidia SDK Manager asks your password to installation. Fill it and continue. 

 

 

After all packages have been downloaded, Jetson OS will be installed on the Jetson TX2 NX. 

 

 

The SDK Manager asks your Jetson TX2 NX's username and password. 

 

 

Complete the SDK Manager installation progress. Configure your Ubuntu installation progress (language, keyboard type, location, username & password etc.). 

 

 

Type your username and password in SDK Manager then click "Install". 

 

 

In the last part of Jetson SDK components (DeepStream), the package failed to install due to the less free space on the TX2 NX. That’s why we removed the LibreOffice and Thunderbird packages and completed the installation. 

$ sudo apt-get remove libreoffice* thunderbird* 

 

 

Finally, install our custom carrier board’s BSP. Connect the recovery USB and set the device in recovery mode as we did in the first part. 

Get the “.dtb file to kernel/dtb folder at the end of the post. The full path of the folder is (for JetPack 4.5.1): 

$ ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2_NX/Linux_for_Tegra/kernel/dtb 

 $ ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2_NX/Linux_for_Tegra/ bootloader/t186ref 

 

 

Put your TX2 NXin recovery mode and check it from the terminal with lsusb. 

 

 

Open another terminal and type these commands: 

$ cd ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2_NX/Linux_for_Tegra 

$ sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1 

Put your TX2 NXin recovery mode again and type these commands: 

$ cd ~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2_NX/Linux_for_Tegra 

$ sudo ./flash.sh -r -k bpmp-fw-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1 

 

Once the “.dtb” file is successfully updated, copy the kernel image which attached below to the TX2 NX from host pc with scp command. Then, connect your TX2 NX via ssh then execute the below commands. (Our current IP address is 192.168.2.139) 

  • scp Image nvidia@192.168.2.139:/home/nvidia 
  • sshnvidia@192.168.2.139 
  • sudo cp Image /boot 
  • sync 
  • sudo reboot  

 


Thanks for reading.