Difference between revisions of "NVIDIA Jetson Orin/JetPack 5.0.2/Compiling Code"

From RidgeRun Developer Connection
Jump to: navigation, search
Line 17: Line 17:
 
We divide this section into the following components:
 
We divide this section into the following components:
  
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Kernel | Build the kernel]]
+
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Kernel | Build the kernel, modules and dtb]]
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Kernel | Build the dtb]]
 
 
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Bootloader | Build the bootloader]]
 
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Bootloader | Build the bootloader]]
 
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Bootloader | Customize the Root Filesystem]]
 
# [[NVIDIA Jetson Orin/JetPack_5.0/Compiling_Code/Bootloader | Customize the Root Filesystem]]

Revision as of 20:37, 19 July 2022



Previous: JetPack 5.0‎/Getting_Started/Components Index Next: JetPack 5.0‎/Compiling Code/Kernel


Nvidia-preferred-partner-badge-rgb-for-screen.png




Learning to build the BSP and OS components enables developers to customize the software for their specific project needs.


This section will guide you through the process of building the BSP and OS components for the NVIDIA Jetson Orin. For this section you are going to need Jetpack 5.0 for Orin AGX installed on your host computer, we assume that you got this installed following through our Getting Started and Installing Jetpack sections.


We divide this section into the following components:

  1. Build the kernel, modules and dtb
  2. Build the bootloader
  3. Customize the Root Filesystem


Assumptions

  1. The build of the BSP/OS components source code will be performed by cross-compiling on a host computer running a Linux OS.
  2. The host computer used for the cross-compilation has Jetpack 5.0 (L4T 34.1) for Orin AGX installed. The Jetpack path is:
     /home/$USER/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
    
    This is the default path where the SDK Manager installs the Jetpack 5.0 tools for the Orin AGX. If you chose to install Jetpack on a different path, make sure to adjust the instructions accordingly.
  3. Make sure the following dependencies are installed on your system:
    • wget
    • lbzip2
    • build-essential
    • bc
    • zip
    • libgmp-dev
    • libmpfr-dev
    • libmpc-dev
    • vim-common # For xxd

In Debian based systems you can run the following:

sudo apt install wget lbzip2 build-essential bc zip libgmp-dev libmpfr-dev libmpc-dev vim-common



Previous: JetPack 5.0‎/Getting_Started/Components Index Next: JetPack 5.0‎/Compiling Code/Kernel