JetPack Installation for NVIDIA Jetson AGX Xavier on MILBOX-XV - Forecr.io

JetPack Installation for NVIDIA Jetson AGX Xavier on MILBOX-XV

Jetson AGX Xavier

04 May 2021
WHAT YOU WILL LEARN?

1- Installing JetPack on Jetson™ AGX Xavier™

2- Updating the device tree file

3- Installing Jetson™ SDK Components

ENVIRONMENT

Hardware: MILBOARD-XV

OS: Ubuntu 18.04.5 LTS

Language: Bash



First of all, connect the recovery (between installer pc & MILBOX-XV's recovery usb), ethernet & power connection of your MILBOX-XV, Forecr's rugged fanless military PC. Open a terminal to your installer PC and type "watch lsusb".


When MILBOX-XV's power connector plugged in,

• push reset & recovery buttons together

• release reset button

• and release 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 MILBOX-XV fanless military PC.



After the first part of the installation is complete, the SDK Manager asks your AGX Xavier's IP address, username & password. We will continue from here after the second part.



In the second part, copy your dtb file to kernel/dtb folder at the end of the post. The full path of the folder is (for JetPack 4.4.1):


~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/kernel/dtb


Put your AGX Xavier in recovery mode and check it from the terminal.



Open another terminal and type these scripts:


cd ~/nvidia/nvidia_sdk/JetPack_4.4.1_Linux_JETSON_AGX_XAVIER/Linux_for_Tegra/

sudo ./flash.sh -r -k kernel-dtb jetson-xavier mmcblk0p1


Once the dtb file is successfully updated, configure your AGX Xavier's Ubuntu installation progress (language, keyboard type, location, username & password etc.).


After the previous step, you have to update kernel image file. Then copy "Image" file that attached end of the post to the MILBOX-XV's /boot path. To do this attach ethernet cable and find your IP address on MILBOX-XV's Desktop using ifconfig command.



Copy "Image" file over ssh to /home/nvidia path then move that file to /boot folder. After this step reboot your AGX Xavier.



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



Finally, complete the SDK Manager installation progress. Type username & password and click "Install".







Note: If you want to use CANBus interface, you have to copy and run "enable_can.sh" script that attached to the "Downloads" section.


Thank you for reading our blog post.