Hi, new to this arena (embedded systems, kernel builds). I’m trying to do a cross compile build for a Jetson. I’ve downloaded what I think is the source from here . . .
I then am following the instructions here . . . https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html
I ran the command “export CROSS_COMPILE_AARCH64_PATH=/aarch64–glibc–stable-2020.08-1”
Not sure where that path is pointing to? I don’t see an aarch64* path anywhere.
When I run “./nvbuild.sh -o $PWD/kernel_out” like it shows in step 4 I get the error that CROSS_COMPILE env variable is not set. What is this suppose to be?
Just trying to get my bearings. Any help would be appreciated. Thanks!
Ok, I downloaded the toolchain and extracted the package. I see the CROSS_COMPILE path in that directory structure now. That part makes sense.
I’ve also downloaded the Driver Package (BSP) because that package contains the nvbuild.sh and source_sync.sh scripts which are in the instructions for Kernel Customization that I showed a link for above. I’m trying to understand the connection between these 2 packages. Is there a connection? Maybe I’m confused between 2 or more things here?