I cant seem to understand the second step
2. Build the kernel modules:
$ cd $ sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=/Linux_for_Tegra/rootfs/
Make sure there is a new folder with -rt63- in its name under Linux_for_Tegra/usr/lib/modules/ .
Further i tried to use the following command
sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=/home/dnc/Downloads/ver35.3/Jetson_Linux_R35.3.1_aarch64/Linux_for_Tegra/rootfs/
Here is the log of that command
make[1]: Entering directory ‘/home/dnc/jetson-kernel’
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
/home/dnc/Downloads/ver35.3/Jetson_Linux_R35.3.1_aarch64/Linux_for_Tegra/rootfs/usr/src/linux-headers-5.10.104-tegra-ubuntu20.04_aarch64/kernel-5.10/Makefile:675: include/config/auto.conf: No such file or directory
make[1]: *** [/home/dnc/Downloads/ver35.3/Jetson_Linux_R35.3.1_aarch64/Linux_for_Tegra/rootfs/usr/src/linux-headers-5.10.104-tegra-ubuntu20.04_aarch64/kernel-5.10/Makefile:750: include/config/auto.conf] Error 1
make[1]: Leaving directory ‘/home/dnc/jetson-kernel’
make: *** [Makefile:213: __sub-make] Error 2
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
/home/dnc/Downloads/Jetson_Linux_R35.1.0_aarch64/Linux_for_Tegra/sources/kernel/kernel-5.10/Makefile:675: include/config/auto.conf: No such file or directory
make[1]: *** [/home/dnc/Downloads/Jetson_Linux_R35.1.0_aarch64/Linux_for_Tegra/sources/kernel/kernel-5.10/Makefile:750: include/config/auto.conf] Error 1
make[1]: Leaving directory ‘/home/dnc/Desktop/pub/public_sources/Linux_for_Tegra/source/public/kernel_src/kernel/kernel-5.10/out’
make: *** [Makefile:213: __sub-make] Error 2
This is the error that comes when i try executing the command
sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=/Linux_for_Tegra/rootfs/
Hi,
Please ensure version of the packages is identical. Somehow R35.3.1 and R35.1.0 are shown in the comments. You may try clean download of R35.5.0(Jetpack 5.1.3).