Hello NXP Community,
I am currently working on integrating the NXP IW416 (8997-based) Wi-Fi/Bluetooth module into a custom SBC. My system is running a Yocto-based distribution with Linux Kernel 6.1.85.
I would like to build the Wi-Fi and Bluetooth drivers as out-of-tree kernel modules, but I want to make sure I am using the correct and most stable source.
Could you please guide me on the following?
Driver Source Code: Which specific repository and branch (or commit) should I use for Kernel 6.1.85?
Build Instructions: Is there any official documentation, application note, or guide on how to properly build and integrate these drivers and the required firmware?
Any help or pointers to the right resources would be greatly appreciated.
Thank you in advance!
Here is my environment setup:
Hi, @sunam
The firmware should be placed in /lib/firmware/nxp/.
Like below if you are using the Wi-Fi and Bluetooth combo FW:
root@imx8mnevk:/lib/firmware/nxp# ls -l sduartiw416_combo.bin
-rw-r--r-- 1 root root 406996 Apr 5 2011 sduartiw416_combo.bin
After you put there, please check the wifi driver loading parameters in /lib/firmware/nxp/wifi_mod_para.conf, double confirm the firmware name is matched.
Please provide me dmesg logs from your device booting up if still failed.
Best regards,
Christine.
Hello,
I am currently working with the IW416 chip. I have successfully built the driver using the 6.1.55-2.2.2 branch and confirmed that the driver was generated correctly.
However, it seems to not be working, and I suspect it is because the latest firmware is missing. Could you please let me know which directory the firmware files should be placed in?
Thank you.
Hi, @sunam
1. Please double confirm you are using IW416 or 88W8997, they are different chipset.
For IW416,
To download our latest FW:
imx-firmware/FwImage_IW416_SD at lf-6.18.20_2.0.0 · nxp-imx/imx-firmware · GitHub
To download our latest Driver:
GitHub - nxp-imx/mwifiex at lf-6.18.20_2.0.0 · GitHub
And the driver source code is compatible with hosts running Linux kernel versions ranging from 2.6.32 to 6.19.0, so it is ok for your L6.1.85.
2.Build Instructions: Is there any official documentation, application note, or guide on how to properly build and integrate these drivers and the required firmware?
==> Please refer to:
And I believe below doc is also useful for you:
Please let me know whether still have any other concerns.
If no, please help to mark my answer as a solution, so that we can close it.
Welcome to create new case if you meet any issue during using our products.
Best regards,
Christine.
Hi, @sunam
Usually it should print dmesg logs like below:
=========
root@imx8mnevk:~# dmesg | grep wlan
[ 5.127546] wlan: Loading MWLAN driver
[ 5.141006] wlan: Register to Bus Driver...
[ 5.213728] wlan: Enable TX SG mode
[ 5.217262] wlan: mpa_tx.buf_size=65280
[ 5.221136] wlan: Enable RX SG mode
[ 5.224679] wlan: mpa_rx.buf_size=65280
[ 6.505940] wlan: Enable RX SG mode
[ 6.585864] wlan: version = SD8987----16.92.21.p155.1-MM6X16540.p33-GPL-(FP92)//Here is an exampel of our 88W8987.
[ 6.624373] wlan: Register to Bus Driver Done
[ 6.637582] wlan: Driver loaded successfully
========
You can modify the wifi_mod_para.conf as below:
======
SDIW416 = {
fw_name=nxp/sdiouartiw416_combo_v0.bin
cal_data_cfg=none
cfg80211_wext=0xf
max_sta_bss=1
drv_mode=7
}
=======
If still fails, please provide me a full dmesg logs from your device booting up.
You can upload the dmesg log as an attachment.
Best regards,
Christine.