Where can I find the source code for kernel & OS

Where can I find the source code for kernel & OS with build instructions?

Please provide the following info (tick the boxes after creating this topic):
Software Version
[V] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[V] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[V] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
[V] 1.9.2.10884
other

Host Machine Version
[V] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

You can find the source code for the kernel and OS along with build instructions at Compiling the Kernel (NVIDIA DRIVE OS Linux) | NVIDIA Docs. However, please note that the source code mentioned in the guide is already installed with DRIVE OS 6.0.6 and can be found under the directory ~/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS.

1 Like

I assume that for this I will need a different user, no?

Currently, I don’t seem to have access to the NVIDIA online to download the docker image.

Can you confirm that you have access to the NVIDIA DRIVE AGX™ SDK Developer Program? If so, you should be able to download it by following the DRIVE OS 6.0.6 Installation Guide for NVIDIA Developers.

I get the OS image but not the source code in the SDK manager.

Have you successfully installed and flashed DRIVE OS 6.0.6? Could you provide your ~/.nvsdkm directory?

I’m waiting for the delivery of the board, wanted to start and research and develop on the OS source code prior to the delivery

You can refer to the documentation I mentioned earlier at Compiling the Kernel (NVIDIA DRIVE OS Linux) | NVIDIA Docs. Once you have installed DRIVE OS 6.0.6 (you can skip flashing if you haven’t received the devkit yet), you should be able to find the top-level directory at ~/nvidia/nvidia_sdk/DRIVE_OS_6.0.6_SDK_Linux_DRIVE_AGX_ORIN_DEVKITS/DRIVEOS on your host system as mentioned in the documentation. This should help you get started with your research and development.

I’m missing something…
Before compiling the kernel I need to download the source first.

Under nvidia_sdk (after installing SDK_MANAGER 6.0.6), I ger 2 folders:

  • Jetpack_5.1_Linux
  • Jetpack_5.1_Linux_JETSON_AGX_ORIN_TARGETS

Both do not include source code just images to flash.

What am I missing?

Dear @kfiratqo1,
It looks like this host is not used for installing DRIVE OS 6.0.6 or you might have selected a custom path in sdkmanager in step 2 to install DRIVE OS on host.
You may open sdkmanager and check the installed path in step.

OK, thanks, Indeed the sdk manager was set to jetson.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.