WHAT YOU WILL LEARN?
2- Installing the Jetson OS
3- Installing the Jetson SDK Components
In this tutorial, we will install JetPack-6 for DSBOARD-ORNX. First, we will include our BSP files in Jetson OS image. Then, we will install the Jetson OS into the DSBOARD-ORNX. Finally, we will install the Jetson SDK components into it.
This tutorial is compatible for all types of Jetson Orin NX and Orin Nano modules. Only the BSP archive differs.
Including the Kernel Files in Jetson OS Image
Open the NVIDIA SDK Manager. Select the correct JetPack version for Target Operating System and select the correct module for your installation (“Jetson Orin Nano modules” or “Jetson Orin NX modules”). The “Host Machine” components are not required.
Then, continue to Step 2.
![SDK Manager step-1](https://ucarecdn.com/5f7f8cde-9b9d-4d6f-aa5e-92e81e35948b/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-31-35.png)
Choose only “Jetson Linux”, accept the terms & conditions and continue to Step 3.
![SDK Manager step-2](https://ucarecdn.com/359f4ca7-7e13-4ead-8fdf-7bbb455868f9/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-34-45.png)
The SDK Manager will ask the username’s password. Fill it and continue.
![SDK Manager step-2 password](https://ucarecdn.com/990610ef-f66d-4a91-b87d-7dc419bc1d28/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-34-54.png)
![SDK Manager step-3](https://ucarecdn.com/1dcb0830-90fc-44c8-b469-f1f5694d1f9f/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-35-11.png)
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.
![SDK Manager step-3 end](https://ucarecdn.com/ff187351-d2bd-4d84-9105-d67daa32c609/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-37-09.png)
![SDK Manager step-3 exit](https://ucarecdn.com/6f72de41-603e-41c4-b0c1-9f91c1fde831/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-37-16.png)
Open the target HW image folder.
For JetPack-6.0
Orin NX: ~/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_ORIN_NX_TARGETS/Orin Nano: ~/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_ORIN_NANO_TARGETS/
![Target HW image folder](https://ucarecdn.com/d340658f-a237-4cda-a105-56b8a4e05a4e/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-37-42.png)
![Jetson BSP files downloaded from GitHub](https://ucarecdn.com/00317448-87be-4e14-a294-c14ef72e45bd/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-46-33.png)
Copy all files to the target HW image folder.
![BSP files moved in target HW image folder](https://ucarecdn.com/40ffac29-caad-40d1-a148-656aedb958c2/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-46-45.png)
Open a Terminal in the “Linux_for_Tegra” folder.
![Inside of the Linux_for_Tegra folder](https://ucarecdn.com/e218c7cc-c2a6-4e26-93d4-b00b82e20733/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-46-52.png)
Create the system binaries with these commands below:
sudo ./tools/l4t_flash_prerequisites.sh
sudo ./apply_binaries.sh
![Install required packages](https://ucarecdn.com/9993fdc0-3d19-4bc7-b16a-191bd73402eb/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-47-20.png)
![Apply binaries](https://ucarecdn.com/b0630008-fe49-4ed7-8eb7-096a01999488/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-47-47.png)
Apply the new BSP files and interface configurations with the following commands below:
cd ..
sudo ./replace_bsp_files.sh
cd Linux_for_Tegra/
![Include custom BSP files](https://ucarecdn.com/c18f340c-3698-4018-b106-eab8fd782e89/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-49-13.png)
Hint: If you want to configure your username-password & hostname with default settings, you can create user without the Ubuntu installation wizard. To do this, the user generation command structure should be:
sudo tools/l4t_create_default_user.sh -u {USERNAME} -p {PASSWORD} -a -n {HOSTNAME} --accept-license
For example (username:"nvidia", password:"nvidia", device-name:"nvidia-desktop"):
sudo tools/l4t_create_default_user.sh -u nvidia -p nvidia -a -n nvidia-desktop --accept-license
Jetson OS Installation
Connect the recovery USB (between installer PC & DSBOARD-ORNX's recovery USB) and power connection of your DSBOARD-ORNX.
While the DSBOARD-ORNX's power connector plugged in,
• 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:7323 NVidia Corp." for Orin NX 16GB
• "0955:7423 NVidia Corp." for Orin NX 8GB
• "0955:7523 NVidia Corp." for Orin Nano 8GB
• "0955:7623 NVidia Corp." for Orin Nano 4GB
![lsusb command's result](https://ucarecdn.com/a936c918-1a13-47eb-98bc-fce277a3ecdc/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-49-50.png)
Flash the Jetson OS with this command below:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal
![Jetson flashing command](https://ucarecdn.com/b1ba34e5-69b2-4ea9-82a5-8fdf21d3e054/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-50-08.png)
At the end of the script, the device will reboot. Complete your Ubuntu installation wizard (if you have not created a user with tools/l4t_create_default_user.sh script file) from the DSBOARD-ORNX (language, keyboard type, location, username & password etc.).
![End of the flashing command](https://ucarecdn.com/47e19450-4750-41a4-acc6-4528d20719fe/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2009-59-30.png)
Jetson SDK Components Installation
Connect the DSBOARD-ORNX to the Ethernet. Then, open the NVIDIA SDK Manager. Select the correct JetPack version for Target Operating System and select the correct module for your installation (“Jetson Orin Nano modules” or “Jetson Orin NX modules”). The “Host Machine” components are not required. (Additional SDKs (DeepStream) are optional).
Then, continue to Step 2.
![SDK Manager step-1](https://ucarecdn.com/146df4d8-062e-4085-a149-8f29f1c98609/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2010-00-32.png)
Choose at least “Jetson Runtime Components” (“Jetson SDK Components” are optional. It depends on your use case), accept the terms & conditions and continue to Step 3.
![SDK Manager step-2](https://ucarecdn.com/97218a11-766c-425f-82e0-165f35853a6d/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2010-01-55.png)
The SDK Manager will ask the username’s password. Fill it and continue.
![SDK Manager step-2 password](https://ucarecdn.com/7a4584c5-44db-482e-86b9-5eb94c04ae43/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2010-02-01.png)
Type the IP address, username and password of Jetson Orin module and install the SDK Components.
![SDK Manager step-3](https://ucarecdn.com/6d38d0a6-ee4c-48ab-b6d6-b3beb7d2037c/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-07%2010-02-24.png)
At the end of the installation, the DSBOARD-ORNX becomes ready.
To avoid kernel update with "apt upgrade" or "apt-get upgrade" commands, please follow this guide on the Jetson module.
Thank you for reading our blog post.