I’m trying to build a linux kernel to flash onto out Jetson Tx2 board. Essentially following the same process as we used in the past with L4T 32.2.1, but trying to use the newer 32.5.1.
I downloaded and extracted the L4T board support package “tegra186_linux_r32.5.1_aarch64.tbz2” into the Linux_for_Tegra directory.
I downloaded and extracted the L4T sample root filesystem “tegra_linux_sample-root-filesystem_r32.5.1_aarch64.tbz2” into the Linux_for_Tegra/rootfs directory.
I then ran ./source_sync.sh -t tegra-l4t-r32.5.1
I setup the recommended gcc toolchain.
I uncompress the board support package for our ConnectTech carrier board
I then attempt to build the kernel source, using
mkdir -p $BUILD_PATH
make ARCH=arm64 O=$BUILD_PATH tegra_defconfig
make ARCH=arm64 O=$BUILD_PATH
The build progresses for a long time, but finally fails, giving the following errors:
/opt/tegra/l4t_build/toolchain/bin/aarch64-linux-gnu-ld: cannot find drivers/media/i2c/e-CAM50_CUNANO/built-in.o: No such file or directory
make: *** [/opt/tegra/l4t_build/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:509: drivers/media/i2c/built-in.o] Error 1
make: *** [/opt/tegra/l4t_build/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: drivers/media/i2c] Error 2
make: *** [/opt/tegra/l4t_build/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: drivers/media] Error 2
I’m confused, as this e-CAM50_CUNANO should have nothing to do with anything I’m doing, but that implies the sources made available are not able to be compiled into a kernel without making modifications or searching for 3rd party files to bring into it.
Any thoughts on what is happening, and how to approach solving this problem?