How to compile JetPack 6.1 driver modules out of tree

I’m following the instructions for Building the NVIDIA Out-of-Tree Modules. Is there a way to build the artifacts in a different directory so as to not pollute the source tree? I tried setting the “O=” and “KERNEL_OUTPUT=” make flags to no effect.

Hi,
Please check the quick start in developer guide and make sure you follow the steps one by one:
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/IN/QuickStart.html
If the device still cannot be flashed/booted, please refer to the page to get uart log from the device:
https://elinux.org/Jetson/General_debug
If you are using custom board, you can compare uart log of developer kit and custom board to get more information.

Thanks!

Hi,
If you don’t do this step:

  1. Run the following commands to install:

$ export INSTALL_MOD_PATH=/Linux_for_Tegra/rootfs/
$ sudo -E make modules_install

The self-built modules will not be applied to the system image under Linux_for_Tegra. It will only be in the directory of source code.

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