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:
- Official docs are found with your L4T release (“
head -n 1 /etc/nv_tegra_release
”):
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 - Some general kernel build information:
- A more complete answer to your question:
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.