Hello all,
I am trying to compile the kernel of Jetson Linux 35.3.1 for the Jetson Orin Dev Kit. I got the sources from here: Jetson Linux R35.3.1.
I have downloaded and extracted the “Jetson_Linux_R35.3.1_aarch64.tbz2” file and the “Tegra_Linux_Sample-Root-Filesystem_R35.3.1_aarch64.tbz2” file into the rootfs folder.
Following the instructions from NVIDIA’s Developer Guide, I have successfully completed the following steps:
- Ran
./source_sync.sh -k -t jetson_35.3.1
- Installed build essentials
- Set the environment variables
also copies the filenvbuild.sh
fromkernel_src.tbz2
then - Successfully compiled the kernel with the command
./nvbuild.sh -o $PWD/kernel_out
However, when proceeding to the next step: “Replace Linux_for_Tegra/rootfs/usr/lib/modules/$(uname -r)/kernel/drivers/gpu/nvgpu/nvgpu.ko
with a copy of this file: $kernel_out/drivers/gpu/nvgpu/nvgpu.ko
”, I am unable to find the modules/$(uname -r)/kernel/drivers/gpu/nvgpu/nvgpu.ko
file, specifically the “modules” folder.
What could be the reason for this? Am I missing any steps?
Additionally, is there a proper guide to build and install the kernel including headers? If so, please share the details.
Thank you.