Jetpack5.1.3 编译 nvdisplay模块替换后出现module verification failed

Hi nvidia team:

我在使用jetpack 5.1.3版本,编译了内核并且添加了编译的模块到Linux_for_tegra 中的rootfs,后使用Linux_for_tegra 给ORIN devkit进行刷机。
使用的脚本如下:
make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j8
cp $TEGRA_KERNEL_OUT/arch/arm64/boot/Image $ROOT_PATH/Linux_for_Tegra/kernel/Image
cp $TEGRA_KERNEL_OUT/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000-p3737-0000.dtb $ROOT_PATH/Linux_for_Tegra/kernel/dtb/
sudo make ARCH=arm64 O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=$ROOT_PATH/Linux_for_Tegra/rootfs/

同时解压了nvidia_kernel_display_driver_source.tbz2 文件,编译出nvidia-drm.ko nvidia.ko nvidia-modeset.ko
编译是参考
图片

在orin 启动后将nvidia-drm.ko nvidia.ko nvidia-modeset.ko 替换到对应的位置,但是在reboot启动后提示
nvidia:
module verification failed: signature and/or required key missing - tainting kernel

请教如何解决这个问题,我是使用的源码编译,为何还提示模块未验签?我必须要配置CONFIG_MODULE_SIG=n 吗? 还是有其他解决办法

UEFI 启动 的secure boot state 也是disabled 的

please refer to

https://docs.nvidia.com/jetson/archives/r36.2/DeveloperGuide/SD/Security/SecureBoot.html#kernel-module-signing

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.