Regarding questions compiling the JetPack 7.1 R38.4 SDK, refer to
After executing sudo ./apply_binaries.sh --openrm,
under the $SDK/ directory:
find rootfs/lib/modules/6.8.12-tegra -name nvidia.ko
rootfs/lib/modules/6.8.12-tegra/updates/opensource-gpu-disp/nvidia.ko
Refer to
After execution:
$ export INSTALL_MOD_PATH=/Linux_for_Tegra/rootfs/
$ sudo -E make modules_install
Under $SDK/
~/$ find rootfs/lib/modules/6.8.12-tegra -name nvidia.ko
rootfs/lib/modules/6.8.12-tegra/updates/opensrc-disp/nvidia.ko
rootfs/lib/modules/6.8.12-tegra/updates/opensource-gpu-disp/nvidia.ko
Which nvidia.ko file should be used for the JetPack 7.1 R38.4 SDK?
Some servers show modules.dep after running module_install
grep -r “nvidia.ko” ./rootfs/lib/modules/6.8.12-tegra/modules.dep
updates/opensource-gpu-disp/nvidia-modeset.ko: updates/opensource-gpu-disp/nvidia.ko updates/drivers/platform/tegra/dce/ tegra-dce.ko updates/drivers/gpu/host1x/host1x.ko updates/drivers/platform/tegra/mc-utils/mc-utils.ko kernel/drivers/gpu/drm/drm.ko
updates/opensource-gpu-disp/nvidia-drm.ko: updates/opensource-gpu-disp/nvidia-modeset.ko updates/opensource-gpu-disp/nvidia.ko updates/drivers/platform/tegra/dce/tegra-dce.ko updates/drivers/gpu/host1x/host1x.ko updates/drivers/platform/tegra/mc-utils/
After booting, the following log appears, after which the system stops and fails to proceed further.
nvidia: disagrees about version of symbol module_layout
Manually copying the nvidia*.ko files from the rootfs/lib/modules/6.8.12-tegra/updates/opensrc-disp directory to the rootfs/lib/modules/6.8.12-tegra/updates/opensource-gpu-disp directory can boot into the Ubuntu OS.
When using the Jetson Thor devkit, the module_install step is skipped, meaning the ko file from opensource-gpu-disp is used.
However, if you design your own carrier board, you’ll need to build the kernel/module and execute module_install, which is where the discrepancy arises, correct?
The concern is that GPU-related drivers may differ from those on the Jetson Thor devkit.
Was copying the ko files from opensrc-disp to opensource-gpu-disp the correct solution previously?
Does the Jetson Thor devkit also require building the kernel/module and executing the module_install step?