Directory kernel/kernel-jammy-src not found

Trying to do a cros$HOME/Lins compile kernel build. After setting the CROSS_COMPILE environment variable and trying to build using the command . . .
./nvbuild.sh -o $PWD/kernel_out
I’m getting path errors . . .
$HOME/Linux_for_Tegra/source/kernel/kernel-jammy-src//arch/arm64/configs/defconfig: No such file or directory
AND
Directory kernel/kernel-jammy-src is not found

Sorry, I’m new to kernel builds and cross compiling . . .
I’m trying to figure out why it’s targeting that particular directory? It’s also inserting a double slash.
The directory $HOME/Linux_for_Tegra/source/kernel/ only has a Makefile and nothing else.

I pulled the Jetson_Linux_R36.3.0_aarch64.tbz2 file from here . . .

That was the only one I could find that had the nvbuild.sh script as it shows in the instructions . . .
https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html

The other piece I downloaded was the gcc toolchain . . .
aarch64–glibc–stable-2022.08-1.tar.bz2
So, my CROSS_COMPILE environment variable is set to . . .
export CROSS_COMPILE=$HOME/l4t-gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-

Hi @taylor.gardner2

Jetson Linux 36.3 is not available for Jetson TX2, the latest supported is 32.7.5, here is the reference:

Regards,

Enrique Ramirez
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

Ok, thanks. I’m also fine with Jetson Orin in which it looks like 36.3 would work.

I think I’m having a more fundamental issue of understanding what it means to do a cross compile build. On any of those download pages, I’m not sure what to download. It’s been difficult to find basic tutorials and/or information on this subject. There seems to be an assumption of a certain amount of knowledge base to get started.

Hi,
If your Jetson device is TX2, please use Jetpack 4 release. If you would like to build kernel image, please download the source code from release page, and follow the guidance in developer guide:

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3275/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#