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-ORNXS. First, we will include our BSP files in Jetson OS image. Then, we will install the Jetson OS into the DSBOARD-ORNXS. Finally, we will install the Jetson SDK components into it.
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/8b02d546-93e4-4776-a302-8a0495e5e8ad/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-05-32.png)
Choose only “Jetson Linux”, accept the terms & conditions and continue to Step 3.
![SDK Manager step-2](https://ucarecdn.com/057e7b81-39b9-4e64-909c-c546beeff6ea/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-11-02.png)
The SDK Manager will ask the username’s password. Fill it and continue.
![SDK Manager step-2 password](https://ucarecdn.com/50ecc329-56a3-49b4-97d3-e7eb384ebe89/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-11-07.png)
![SDK Manager step-3](https://ucarecdn.com/83ecf77d-4db3-4f3a-86a0-10689df82447/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-11-20.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/342a4955-06d9-4739-98cf-6feaca276746/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-12-50.png)
![SDK Manager step-3 exit](https://ucarecdn.com/ca589bc9-226d-4956-b271-65c35b6ed7da/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-12-55.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/438c8857-2583-466c-b758-0f6406b11936/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-13-11.png)
![Jetson BSP files downloaded from GitHub](https://ucarecdn.com/08f385df-64db-4bb2-aeb3-64ee5a355452/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-13-54.png)
Copy all files to the target HW image folder.
![BSP files moved in target HW image folder](https://ucarecdn.com/02122aa6-2465-474d-95bf-02d084176186/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-14-17.png)
Open a Terminal in the “Linux_for_Tegra” folder.
![Inside of the Linux_for_Tegra folder](https://ucarecdn.com/bcd2b980-14b6-436e-ba42-f52e17775715/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-15-02.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/4b25d226-7c2a-4f5a-9ecc-24ad031f3723/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-15-13.png)
![Apply binaries](https://ucarecdn.com/d0d06076-5667-4511-9e4e-a10f41146385/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-15-34.png)
![End of applying binaries](https://ucarecdn.com/3e100f06-65f4-44fe-b1c8-5e575bd5e04e/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-17-00.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/97b51121-30aa-446c-bb4d-72ff27275787/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-18-25.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-ORNXS's recovery USB) and power connection of your DSBOARD-ORNXS.
While the DSBOARD-ORNXS'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/8e73482b-b351-47d7-8175-c8f67e47a51f/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-19-19.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/58aef55d-a13a-4081-b637-c6cf5f622266/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-19-35.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-ORNXS (language, keyboard type, location, username & password etc.).
![End of the flashing command](https://ucarecdn.com/d2cc1e89-845e-454d-aafa-0fb3a1e68d73/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-30-30.png)
[Optional] If you will use the recovery USB port as host (to be able to connect USB-2 & USB-3 devices), please verify that the FDT parameter has been applied in the extlinux.conf file. In JetPack-6 installation, this parameter may not included in it. If this parameter is missing in it, please open it with a text editor and write "FDT" with the DTB file (located in the /boot/dtb/ folder).
![FDT parameter in the extlinux.conf file](https://ucarecdn.com/26e49934-2d6c-46c1-bcf6-86e1f9f9baa1/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%201970-01-01%2000-30-11.png)
Then, please open a terminal from the Jetson Orin and type the following command below. This will update its current device-tree and reboot it.
Otherwise, you can use this port for virtual network communication (file transfer etc. between host PC with 192.168.55.1 IP address) in default.
sudo switch_dtb.sh
![Recovery USB mode switch command](https://ucarecdn.com/3233b8a0-cbb0-4797-8cd9-8746fc1a6fe5/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%201970-01-01%2000-12-59.png)
Jetson SDK Components Installation
Connect the DSBOARD-ORNXS 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/1529841f-d4b7-4ea8-a136-59aa37cb182b/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-31-18.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/dfe5e70e-0502-4b25-90f3-8287babb903a/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-32-30.png)
The SDK Manager will ask the username’s password. Fill it and continue.
![SDK Manager step-2 password](https://ucarecdn.com/38b8c852-d967-4082-b9b7-53269210a2d8/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-32-35.png)
Type the IP address, username and password of Jetson Orin module and install the SDK Components.
![SDK Manager step-3](https://ucarecdn.com/6f763d7c-d56d-4cb2-af58-9faa9e05193a/-/format/auto/-/preview/1024x1024/-/quality/lighter/Screenshot%20from%202024-05-29%2009-33-02.png)
At the end of the installation, the DSBOARD-ORNXS 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.