# Cross-compilation kernel

**URL:** <https://forums.developer.nvidia.com/t/cross-compilation-kernel/295646>\
**Category:** Jetson Nano\
**Tags:** kernel\
**Created:** [June 8, 2024, 6:52am UTC](https://forums.developer.nvidia.com/t/cross-compilation-kernel/295646 "2024-06-08T06:52:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [June 8, 2024, 4:14pm UTC](https://forums.developer.nvidia.com/t/cross-compilation-kernel/295646/2 "2024-06-08T16:14:52Z")

</div>

FYI, most of the procedure for this are the same on L4T R34.x, but R34.x software is incompatible with a Jetson Nano (Orin Nano differs from plain Nano).

Here are some URLs you might be interested in, but keep in mind that it is possible to add a second kernel without deleting the original if you are using a serial console (one can interrupt boot at the right moment in serial console and pick a kernel entry). It is best to keep the old kernel until you know the new kernel works.

- Configuration matters:
  - [https://forums.developer.nvidia.com/t/topic/229155/12](https://forums.developer.nvidia.com/t/topic/229155/12)
  - [https://forums.developer.nvidia.com/t/topic/276277/12](https://forums.developer.nvidia.com/t/topic/276277/12)

- Official docs are found with your L4T release (“`head -n 1 /etc/nv_tegra_release`”):  
[https://developer.nvidia.com/linux-tegra](https://developer.nvidia.com/linux-tegra)
- If you only _add_ modules, then the answer is much simpler than if you integrate a feature into the kernel.
- If you boot to external media, then it gets a lot more complicated.
- Configuring `CONFIG_LOCALVERSION` changes install:  
[https://forums.developer.nvidia.com/t/topic/262647/12](https://forums.developer.nvidia.com/t/topic/262647/12)
- Some general kernel build information:
  - [https://forums.developer.nvidia.com/t/topic/254048/8](https://forums.developer.nvidia.com/t/topic/254048/8)
  - [https://forums.developer.nvidia.com/t/topic/238718/25](https://forums.developer.nvidia.com/t/topic/238718/25)

- A more complete answer to your question:  
[https://forums.developer.nvidia.com/t/topic/193640/11](https://forums.developer.nvidia.com/t/topic/193640/11)

Keep in mind when reading this that some of the platforms mentioned are different Jetson models.

---

_[View the full topic](https://forums.developer.nvidia.com/t/cross-compilation-kernel/295646)._
