Broadcom WiFi Driver Not Available Even After Flashing with cross compiled Kernel in docker (Drive OS 6.0.10 on AGX Orin)

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hello NVIDIA Team,

I followed the official cross-compilation steps for rebuilding the kernel as described in your documentation:

🔗 Compiling the Kernel - Drive OS 6.0.10

I aimed to include Broadcom WiFi driver support (brcmfmac) in the kernel. Below are the detailed steps I performed:
Steps Taken:

Generate default kernel config:

make -C kernel O=${PWD}/out-linux defconfig

Edit the configuration using menuconfig:

make -C kernel O=out-linux menuconfig

In the menu, I enabled the following options:

Device Drivers → Network device support → Wireless LAN

[M] Broadcom FullMAC WLAN driver (brcmfmac)

[M] cfg80211 - wireless configuration API

[M] mac80211 - Wireless stack (802.11n)

nl80211 new netlink interface support (auto-enabled with cfg80211)

Saved the configuration and followed the remaining steps from the official guide to compile the kernel and generate the images.

Flashed the images to the NVIDIA Drive AGX Orin using the standard flashing tools.

Issue:

After flashing, the Broadcom WiFi drivers are not available on the device.

Running modprobe brcmfmac returns: Module brcmfmac not found

lsmod shows no related wireless modules

/lib/modules/$(uname -r)/ does not contain brcmfmac.ko, cfg80211.ko, or mac80211.ko

My Expectations:

I expected the Broadcom WiFi driver and its dependencies to be included in the flashed root filesystem so I could load them via modprobe or have them autoload.
Questions:

Do I need to manually copy the compiled kernel modules into the rootfs before flashing?

Is there a post-build or packaging step required to ensure .ko files are available on the target?

Are there Drive OS-specific guidelines for deploying WiFi drivers like brcmfmac?

Should I run make modules_install? If yes, where should the output go to ensure the modules are flashed to the device?

Environment:

Target Device: NVIDIA Drive AGX Orin

Drive OS Version: 6.0.10

Host System: Ubuntu 20.04

Kernel Build: Followed steps from official documentation (link above)

I have used bootburn for flashing the kernel and it was sucessfully flashed. earlier it asked for platform config json file i have create it using Binding partition command and run the bootburn.py.

My Main question is how to enable wifi in Drive Orin AGX in 6.0.10 OS Can you please out detailed steps for same. What wrong i am doing in above steps. Pleae guide with correct steps and methods to enable wifi.

Dear @ayush.rathod ,
Can you confirm if step 12 is followed?

Yes I have followed till 15 Steps as per the document the only changes I did was in config file by using

make -C kernel O=out-linux menuconfig

command and I saved the config file.

Hi @SivaRamaKrishnaNV ,

Can you please suggest steps to resolve the issue?

Hi NVIDIA Team Do you have any solution for this ? Please revert its urgent client requirement for us.

Dear @ayush.rathod ,
Do you see brcmfmac.ko and other .ko files on docker? Can you check manually copying them to target and load to see if it fixed the issue.
Can you share the full log of followed steps for kernel compilation and flashing for verification internally ?

Hi Can you mention exact path to look for in docker container for above given files.
for kernel compilation i have followed exact steps which are given in Compiling the Kernel (Kernel 5.15) | NVIDIA Docs

Also I have followed booturn for flashing the device given in Bootburn Usage | NVIDIA Docs it asked for platform_configuration.json file so followed binding partition step given in
Bind Options | NVIDIA Docs

I have tried to find the bcrmfmac.ko file and found in the following path, which path is it that i have to refer?

root@6.0.10.0-0009-build-linux-sdk:/drive# sudo find / -type f -name “brcmfmac.ko*”

/drive/drive-linux/kernel/source/oss_src/out-linux/lib/modules/5.15.122-rt-tegra/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
/drive/drive-linux/kernel/source/oss_src/out-linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
/drive/drive-linux/kernel/source/oss_src/out-linux-mlnx-build/linux-source/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
/drive/drive-linux/kernel/preempt_rt/modules/5.15.122-rt-tegra/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko

Dear @ayush.rathod ,
Wifi/bluetooth functionality is not supported feature in devzone release. Let me check internally and see if any WAR can be provided to enabled it.

My apologies for misunderstanding the query. I thought you are compiling third party code.

If the Wi-Fi support needs to be enabled in Orin for 6.0.10 image below steps can be followed:

→ There is no need to cross-compile kernel again to enable WiFi driver as it has been observed that it is already enabled as . So by just copying rfkill.ko, cfg80211.ko, brcmutil.ko & brcmfmac.ko from docker into Orin will help.

→ Need to copy cyfmac54591-pcie.bin, cyfmac54591-pcie.clm_blob & cyfmac54591-pcie.txt at /lib/firmware/cypress on Orin.

Dear @PA_GN ,
Thank you for your sharing to help others in community.