Cannot file Kernel Header Package for 5.15.122-rt-tegra

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
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
2.1.0
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

Issue Description

The /lib/modules/5.15.122-rt-tegra contains no build folder,
We tried to install headers from Nvidia tegra rt, by doing sudo apt install linux-headers-nvidia-tegra-rt

So, requesting to kindly assist in getting the kernel headers os NVIDIA Drive Orin

Dear @arpit.agarkar ,
Please see the discussion at Missing linux header files - #7 by deniz.braun if it helps

I have requirement to compile the kernel on target system itself and not cross compiling

Dear @arpit.agarkar,
How about copying kernel headers to target? Does that work for your task?
You can find below folders on target.
Kernel source : /drive/drive-linux/kernel
Display source : /drive/drive-linux_src/ NVIDIA-kernel-module-source-TempVersion.tar.xz

Can you explain how this could be done ?

You can copy the /drive/drive-linux/kernel/source/oss_src/kernel folder to target and create a symlink to it at /usr/src/linux-headers-5.15.122-rt-tegra

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