Jetson Orin Nano: Wi-Fi backports build fails due to missing kernel headers after custom kernel rebuild

Hi,After rebuilding the custom kernel on my Jetson Orin Nano,
I tried to use the Linux Wireless backports (aka compat-wireless) framework to rebuild and enable Wi-Fi (Intel 8265).

However,I got the following error:

As shown in the attached screenshot, it seems that the kernel headers are missing.

Could anyone advise:

  • What’s the correct way to prepare kernel headers for JetPack 6.0 / L4T 36.4.0?

  • Do I need to reflash and rebuild the entire kernel?

  • Or can I just prepare the headers directly on the device (without reflashing)?

Thanks

Hi,
Please install this package and try:
Need linux-headers-5.10.104-tegra on Xavier NX Jetpack 5.0.2 - #8 by DaneLLL

If the issue persists, you may check if it can be built on host PC along with kernel image. We have kernel customization section in developer guide.

The topics look related and you may also take a look:

Making sure you're not a bot!
Enable AX210 WIFI module

It still shows the same error. What should I do?
Do I need to rebuild and customize the kernel again?
However, this issue actually appeared after I rebuilt the kernel following your official guide.
Could it be that I missed some steps during the process?

It’s not just about the Wi-Fi issue — missing header files might cause other errors in my future development as well. Therefore, I would like to get a complete and reliable guide on how to properly build and customize a stable kernel.

hi, what should I do?

Hi,
There are steps shared from community:
Jetpack 6 Wifi slow startup with backport-iwlwifi-dkms - #9 by dandelion1124

It’s supposed to work on developer kit.

Do you mean that I can just add the following lines

CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_INTEL=y
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y

to the defconfig file and then flash the system directly?

Hi,
We can build backports-5.15.153-1.tar.xz on developer kit with r36.4.4. Not sure why you cannot. Probably you can re-install this package:

$ apt list -a | grep nvidia-l4t-kernel-headers
nvidia-l4t-kernel-headers/stable 5.15.148-tegra-36.4.7-20250918154033 arm64 [upgradable from: 5.15.148-tegra-36.4.4-20250616085344]
nvidia-l4t-kernel-headers/stable,now 5.15.148-tegra-36.4.4-20250616085344 arm64 [installed,upgradable to: 5.15.148-tegra-36.4.7-20250918154033]
nvidia-l4t-kernel-headers/stable 5.15.148-tegra-36.4.3-20250107174145 arm64
nvidia-l4t-kernel-headers/stable 5.15.148-tegra-36.4.0-20240912212859 arm64

And try again.

Should I enter these commands directly on the Jetson? Sorry, I failed.

Is this still an issue to support? Any result can be shared?

I found the solution in this post. The instructions were very detailed.