I can try. I thought jetpack 5_0_1 requires 20.04 and above
I solved this issue (still with Ubuntu 22.04)
Apparently this error occurred since it couldn’t find the cross compiler path (or something like that).
For building the custom kernel I exported:
export CROSS_COMPILE_AARCH64_PATH=$WORKSPACE_PATH/ToolChain
For some reason that wasn’t enough for the:
sudo make ARCH=arm64 O=$KERNEL_OUT_PATH -j2
command (the command line option error occurred)
So I entered the following command instead:
sudo make CROSS_COMPILE=$WORKSPACE_PATH/ToolChain/bin/aarch64-buildroot-linux-gnu- ARCH=arm64 O=$KERNEL_OUT_PATH -j2
and that worked. I don’t know why the first export wasn’t enough even tough it worked for the kernel build using the nvbuild script
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.