I am attempting to follow and use the nvidia instructions to build the 35.1 GA kernel.
Those nvidia instructions are here:
https://docs.nvidia.com/jetson/archives/r35.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html
To my knowledge, these instructions are the correct ones to use as there is this statement at the top of the page:
https://docs.nvidia.com/jetson/archives/r35.1/DeveloperGuide/index.html
This Developer Guide applies to NVIDIA® Jetson™ Linux version 35.1 GA. Last update: October 3, 2022
When I follow the instructions to build the kernel, I get these build errors:
===================================================================================================
mpolia@BOS2-00355-L:~/nvidia-build-area/source_sync/sources$ ./nvbuild.sh -o $PWD/kernel_out
Building kernel-5.10 sources
make: Entering directory ‘/home/mpolia/nvidia-build-area/source_sync/sources/kernel/kernel-5.10’
make[1]: Entering directory ‘/home/mpolia/nvidia-build-area/source_sync/sources/kernel_out’
GEN Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
drivers/video/Kconfig:27: can’t open file “drivers/video/tegra/Kconfig”
make[2]: *** [/home/mpolia/nvidia-build-area/source_sync/sources/kernel/kernel-5.10/scripts/kconfig/Makefile:89: tegra_defconfig] Error 1
make[1]: *** [/home/mpolia/nvidia-build-area/source_sync/sources/kernel/kernel-5.10/Makefile:633: tegra_defconfig] Error 2
make[1]: Leaving directory ‘/home/mpolia/nvidia-build-area/source_sync/sources/kernel_out’
make: *** [Makefile:213: __sub-make] Error 2
make: Leaving directory ‘/home/mpolia/nvidia-build-area/source_sync/sources/kernel/kernel-5.10’
===================================================================================================
Does anybody know how to resolve these errors?
Thank you
Mike Polia