JetPack 6 Key Feature: Bring Your Own Kernel

From RidgeRun Developer Wiki



Previous: JetPack 6 Key Features Index Next: JetPack 6 Key Features/Upgradable Compute Stack






In this section, you'll find a guide for utilizing alternative kernels within JetPack ecosystem. The instructions cover procedures for patch integration and driver installation, ensuring optimal performance without relying on specific content details.


To enhance support from commercial Linux distributions, NVIDIA has been contributing significant parts of its kernel support directly to the upstream kernel for several years, and this effort is ongoing. This work is leading to the availability of commercial Linux options.

NVIDIA is also focused on upstreaming the necessary changes to the kernel source for Jetson products. However, due to time constraints, some patches may be integrated into the NVIDIA kernel before they are merged upstream. Consequently, the NVIDIA kernel source provided with each release is regarded as the most comprehensive and thoroughly tested source code for Tegra devices.

These are the general high level instructions to use a different kernel (the Figure 1 illustrates these steps):

  1. Identify the initial list of patches. Integrate patches that are included in kernel versions newer than the targeted version. Each patch will require additional effort to manage dependencies or resolve conflicts.
  2. NVIDIA has provided out-of-tree modules for drivers that cannot be or have not yet been upstreamed. Follow the release instructions to build and install these drivers.
  3. Review the kernel in the official NVIDIA release to identify any additional patches that have not yet been upstreamed but are required. This will be an iterative process, tailored to specific product requirements and corresponding test results.


Diagram showing upstream kernel backporting
Figure 1. Integrating Upstream Linux Kernel with Backport and Out-of-Tree Patches as Loadable Kernel Modules (LKM). Extracted from link



Previous: JetPack 6 Key Features Index Next: JetPack 6 Key Features/Upgradable Compute Stack