Issue on Kernel Rebuild for DRIVE AGX Orin with DRIVE OS 6.0.8.1

Please provide the following info (tick the boxes after creating this topic):
Software Version
[✔] DRIVE OS 6.0.8.1
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
[✔] Linux
QNX
other

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

SDK Manager Version
1.9.3.10904
[✔] other

Host Machine Version
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

Hi,

Our team is utilizing the DRIVE AGX ORIN DEVELOPER kit with Drive OS 6.0.8.1 for our project, focusing on developing Docker services. However, we have encountered issues with the running of Docker services, and our preliminary analysis suggests that rebuilding the kernel could offer a resolution.

Following the recommended steps, we attempted to rebuild the kernel and file system as per the guidelines provided in Compiling the Kernel (Kernel 5.15) | NVIDIA Docs.
Unfortunately, we are unable to configure the environment variable $NV_WORKSPACE to point to the top of the SDK installation directory, as instructed.
Furthermore, proceeding to the second step, we found ourselves unable to locate any folder as specified in the documentation.

Could you please provide the detailed instructions for the kernel rebuild process, specifically regarding the correct setting of the $NV_WORKSPACE environment variable and further clarification on locating the necessary folder as per the second step of the rebuild process.

Thank you for your assistance.

You need to set $NV_WORKSPACE to /drive on docker container. Please find the location of oss_src at /drive/drive-linux/kernel/source/oss_src

root@6.0.8.1-0006-build-linux-sdk:/drive# ls
docs              drive-foundation_src  drive-linux_src  driveinstaller  flash.py    tools.txt
drive-foundation  drive-linux           drive_flashing   extra           toolchains
root@6.0.8.1-0006-build-linux-sdk:/drive# cd drive-linux/kernel/source/oss_src
root@6.0.8.1-0006-build-linux-sdk:/drive/drive-linux/kernel/source/oss_src#

Also, please check Docker Support DriveOS 6.0.8.1 - #32 by sebbe if it helps?

Dear @SivaRamaKrishnaNV ,

We’ve successfully rebuilt the kernel and flashed it onto the device.
You can close this thread now. Thanks again for all the help!

1 Like