related issue 1
related issue 2
my command:
export LOCALVERSION="-tegra"
export IGNORE_PREEMPT_RT_PRESENCE = 1
cd to NVIDIA-kernel-module-source-TempVersion
make \
modules \
SYSSRC=/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/kernel/kernel/kernel-5.10 \
SYSOUT=$(pwd)/extra_modules \
CC=/home/fzy/opt/GCC_ARM/nvidia_orin_aarch64_gcc/bin/aarch64-buildroot-linux-gnu-gcc \
LD=/home/fzy/opt/GCC_ARM/nvidia_orin_aarch64_gcc/bin/aarch64-buildroot-linux-gnu-ld.bfd \
AR=/home/fzy/opt/GCC_ARM/nvidia_orin_aarch64_gcc/bin/aarch64-buildroot-linux-gnu-ar \
CXX=/home/fzy/opt/GCC_ARM/nvidia_orin_aarch64_gcc/bin/aarch64-buildroot-linux-gnu-g++ \
OBJCOPY=/home/fzy/opt/GCC_ARM/nvidia_orin_aarch64_gcc/bin/aarch64-buildroot-linux-gnu-objcopy \
TARGET_ARCH=aarch64 \
ARCH=arm64
error log:
make[1]: Leaving directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/src/nvidia-modeset'
cd kernel-open/nvidia-modeset/ && ln -sf ../../src/nvidia-modeset/_out/Linux_aarch64/nv-modeset-kernel.o nv-modeset-kernel.o_binary
make -C kernel-open modules
make[1]: Entering directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/kernel-open'
make[2]: Entering directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/kernel/kernel/kernel-5.10'
make[3]: Entering directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/extra_modules'
awk: fatal: cannot open file `include/generated/asm-offsets.h' for reading (No such file or directory)
scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
The Module.symvers file is missing, or does not contain any
symbols exported from the kernel. This could cause the NVIDIA
kernel modules to be built against a configuration that does
not accurately reflect the actual target kernel.
The Module.symvers file check can be disabled by setting the
environment variable IGNORE_MISSING_MODULE_SYMVERS to 1.
make[4]: *** [/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/kernel-open/Kbuild:229: module_symvers_sanity_check] Error 1
make[3]: *** [/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/kernel/kernel/kernel-5.10/Makefile:1854: /home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/kernel-open] Error 2
make[3]: Leaving directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/extra_modules'
make[2]: *** [Makefile:213: __sub-make] Error 2
make[2]: Leaving directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/kernel/kernel/kernel-5.10'
make[1]: *** [Makefile:82: modules] Error 2
make[1]: Leaving directory '/home/fzy/Documents/02_智能网联/06_芯片/1_NVIDIA/01_Jetson_AGX_Orin_Series/jetson_linux_35_1/display_driver/NVIDIA-kernel-module-source-TempVersion/kernel-open'
make: *** [Makefile:50: modules] Error 2