Jetson AGX Orin startup fail issue

Hello,

I config the CONFIG_MODULE_SIG=n in the defconfig file,rebuild the kernel,nvidia-oot module,device tree,and flash the agx orin,but it can’t start up normal. The error is disagrees about version of symbol module_layout. If config the CONFIG_MODULE_SIG=y, it can start up normal. What is the reason for this?

The SDK version is r36.4.4, AGX Orin Developer Kit 64G

The host pc version is:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

SDK build and flash command

make -C kernel

sudo -E make install -C kernel

cp kernel/kernel-jammy-src/arch/arm64/boot/Image ../kernel/Image

make modules

sudo -E make modules_install

make dtbs

cp kernel-devicetree/generic-dts/dtbs/* ../kernel/dtb/

sudo ./apply_binaries.sh

sudo ./tools/l4t_update_initrd.sh

sudo ./flash.sh jetson-agx-orin-devkit internal

The console and flash log:

[ 9.686465] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.686535] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.686632] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.686774] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.686927] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 9.687256] nvsciipc: disagrees about version of symbol module_layout
[ 9.688749] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.689406] mc: disagrees about version of symbol module_layout
[ 9.690367] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.690710] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.691571] typec: disagrees about version of symbol module_layout
[ 9.691714] snd_soc_rl6231: disagrees about version of symbol module_layout
[ 9.692048] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.692056] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.692087] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.692336] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.692802] at24: disagrees about version of symbol module_layout
[ 9.693566] crct10dif_ce: disagrees about version of symbol module_layout
[ 9.696848] ina3221: disagrees about version of symbol module_layout
[ 9.704108] ina3221: disagrees about version of symbol module_layout
[ 9.804118] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 9.918776] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.033620] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.147307] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.261164] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.374952] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.489038] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.603934] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.718207] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.832026] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 10.945856] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.059535] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.173010] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.286362] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.399434] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.512658] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.625862] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.738593] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.851332] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 11.964252] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.077231] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.190231] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.303209] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.415745] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.529306] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.641525] tpm_ftpm_tee: disagrees about version of symbol module_layout
[ 12.796889] nvme_core: disagrees about version of symbol module_layout
[ 12.829767] libcomposite: disagrees about version of symbol module_layout
[ 14.385628] ipv6: disagrees about version of symbol module_layout
[ 14.388849] ipv6: disagrees about version of symbol module_layout
[ 21.160044] Please complete system configuration setup on desktop to proceed.[ 25.152257] drm: disagrees about version of symbol module_layout
[ 25.919504] fuse: disagrees about version of symbol module_layout
[ 27.204388] ipv6: disagrees about version of symbol module_layout
[ 27.206822] ipv6: disagrees about version of symbol module_layout
[ 27.589993] fuse: disagrees about version of symbol module_layout
[ 27.593752] fuse: disagrees about version of symbol module_layout

console log.txt (102.9 KB)

flash log.txt (104.6 KB)

Hi,

Do you run export commands before install?

export INSTALL_MOD_PATH=<install-path>/Linux_for_Tegra/rootfs/
sudo -E make install -C kernel

export INSTALL_MOD_PATH=<install-path>/Linux_for_Tegra/rootfs/
sudo -E make modules_install

Thanks

yes,before build i run the export commands:

export CROSS_COMPILE=$HOME/l4t-gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-

export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src

export INSTALL_MOD_PATH=$HOME/agx_orin_36.4.4/Linux_for_Tegra/rootfs/

https://forums.developer.nvidia.com/t/pcie-tegra194-module-verification-failed-signature-and-or-required-key-missing-tainting-kernel/311108/4?u=gtshaaa_love

as this top mentioned configure CONFIG_MODULE_SIG as disabled can resovle signature problem. I configure CONFIG_MODULE_SIG = n, and it is still mistakes. How can i solve this problem?

The correct steps are as below:

export CROSS_COMPILE=$HOME/l4t-gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-

export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src

export INSTALL_MOD_PATH=$HOME/agx_orin_36.4.4/Linux_for_Tegra/rootfs/

make -C kernel

sudo -E make install -C kernel

cp kernel/kernel-jammy-src/arch/arm64/boot/Image ../kernel/Image

make modules

sudo -E make modules_install

make dtbs

cp kernel-devicetree/generic-dts/dtbs/* ../kernel/dtb/

sudo ./tools/l4t_update_initrd.sh

sudo ./flash.sh jetson-agx-orin-devkit internal

The command “sudo ./apply_binaries.sh” will restore the updated files for example in path Linux_for_Tegra/rootfs/lib/modules/5.15.148-tegra/updates/drivers to the previous files. So it caused the signature verification to fail. So, it cannot execute command “sudo ./apply_binaries.sh” after executing command “sudo -E make modules_install” or “sudo -E make install -C kernel”