iMX8MP EVK NXP9098 Wifi 6 Module Issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MP EVK NXP9098 Wifi 6 Module Issues

1,020 Views
user123412
Contributor I

Hello,

I am using the NXP iMX8MP EVK board, and I am trying to bring up the Murata 2XS module. Based on all of the documentation I have seen, the 9098 chipset should be well supported in kernels 5.10 and 5.15. However, I keep seeing the following issues. Here is the installed firmware:

root@imx8mp-lpddr4-evk:~# ls /lib/firmware/nxp/
ed_mac_ctrl_V3_8987.conf ed_mac_ctrl_V3_909x.conf pcieuart9098_combo_v1.bin sdiouart8997_combo_v4.bin txpwrlimit_cfg_8987.conf txpwrlimit_cfg_9098.conf
ed_mac_ctrl_V3_8997.conf pcieuart8997_combo_v4.bin sdiouart8987_combo_v0.bin sdiouartiw416_combo_v0.bin txpwrlimit_cfg_8997.conf wifi_mod_para.conf

I am able to load the moal.ko driver successfully:

root@imx8mp-lpddr4-evk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 24.035644] mlan: loading out-of-tree module taints kernel.
[ 24.060983] wlan: Loading MWLAN driver
[ 24.065354] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 24.071650] Attach moal handle ops, card interface type: 0x206
[ 24.078985] PCIE9098: init module param from usr cfg
[ 24.083999] card_type: PCIE9098, config block: 0
[ 24.088647] cfg80211_wext=0xf
[ 24.091633] wfd_name=p2p
[ 24.094165] max_vir_bss=1
[ 24.096811] cal_data_cfg=none
[ 24.099805] drv_mode = 7
[ 24.102337] ps_mode = 2
[ 24.104797] auto_ds = 2
[ 24.107256] mac_addr=00:50:43:20:12:34
[ 24.111017] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 24.115748] rx_work=1 cpu_num=4
[ 24.118919] Attach mlan adapter operations.card_type is 0x206.
[ 24.126696] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 24.687599] FW download over, size 620764 bytes
[ 26.094985] WLAN FW is active
[ 26.097961] on_time is 26095308500
[ 26.125964] fw_cap_info=0x81c3fa3, dev_cap_mask=0xffffffff
[ 26.131483] max_p2p_conn = 8, max_sta_conn = 64
[ 26.152477] wlan: version = PCIE9098--17.92.5.p9-MM5X17266.p4-GPL-(FP92)
[ 26.161466] wlan_pcie 0000:01:00.1: enabling device (0000 -> 0002)
[ 26.167872] Attach moal handle ops, card interface type: 0x206
[ 26.173946] PCIE9098: init module param from usr cfg
[ 26.179058] card_type: PCIE9098, config block: 1
[ 26.183809] cfg80211_wext=0xf
[ 26.186897] wfd_name=p2p
[ 26.189435] max_vir_bss=1
[ 26.192139] cal_data_cfg=none
[ 26.195148] drv_mode = 7
[ 26.197686] ps_mode = 2
[ 26.200184] auto_ds = 2
[ 26.202707] mac_addr=00:50:43:20:52:56
[ 26.206461] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 26.211241] rx_work=1 cpu_num=4
[ 26.214403] Attach mlan adapter operations.card_type is 0x206.
[ 26.226714] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 26.233018] WLAN FW already running! Skip FW download
[ 26.238142] WLAN FW is active
[ 26.241188] on_time is 26238534875
[ 26.248470] fw_cap_info=0x81c3fa3, dev_cap_mask=0xffffffff
[ 26.254081] max_p2p_conn = 8, max_sta_conn = 64
[ 26.277970] wlan: version = PCIE9098--17.92.5.p9-MM5X17266.p4-GPL-(FP92)
[ 26.285658] wlan: Driver loaded successfully

and bring up mlan0:

mlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:50:43:20:12:34 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

However, I cannot scan or connect to any networks:

root@imx8mp-lpddr4-evk:~# iw dev mlan0 scan
[ 485.683433] wlan: mlan0 START SCAN
[ 489.793052] wlan: SCAN COMPLETED: scanned AP count=0

root@imx8mp-lpddr4-evk:~# wpa_supplicant -i mlan0 -D nl80211 -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
root@imx8mp-lpddr4-evk:~# [ 599.874409] wlan: mlan0 START SCAN
[ 603.983857] wlan: SCAN COMPLETED: scanned AP count=0
[ 608.994992] wlan: mlan0 START SCAN
[ 613.104496] wlan: SCAN COMPLETED: scanned AP count=0
[ 618.116040] wlan: mlan0 START SCAN
[ 622.222534] wlan: SCAN COMPLETED: scanned AP count=0
[ 811.540517] wlan: mlan0 START SCAN
[ 815.650045] wlan: SCAN COMPLETED: scanned AP count=0

I also don't see any RX/TX activity in ifconfig at all.

I have tried building the 5.15.32 BSP with the following commands:

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.32-2.0.0.xml
repo sync

MACHINE=imx8mp-lpddr4-evk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh -b build_8mp_evk
bitbake imx-image-core

and I have also tried building the Hardknott-5.10.52 release according to this guide from Murata: https://www.murata.com/-/media/webrenewal/products/connectivitymodule/asset/pub/rfm/data/murata_user...  but the same issues are present. 

0 Kudos
Reply
4 Replies

996 Views
Chavira
NXP TechSupport
NXP TechSupport

 HI @user123412!

Thank you for contacting NXP Support!

To run Wi-Fi, execute the following commands first and follow common commands below:
• For the following steps, execute these commands using connman
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For
example wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase */
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit

Best Regards!

Chavira

0 Kudos
Reply

975 Views
user123412
Contributor I

Thanks, I have been able to enter the commands to scan for access points on any BSP I have tried, the issue is that on all of the 5.10 and 5.15 BSPs I have tried, no access points are found:

For example, the 5.10.52 image here from NXP has this issue: https://www.nxp.com/webapp/sps/download/preDownload.jsp

root@imx8mpevk:~# iw dev mlan0 scan
[ 363.953055] wlan: mlan0 START SCAN
[ 368.062051] wlan: SCAN COMPLETED: scanned AP count=0

but the 6.1 image here works and I am able to scan, connect, etc. to Wifi: https://www.nxp.com/webapp/Download?colCode=L6.1.36_2.1.0_MX8MP&appType=license

root@imx8mpevk:~# iw dev mlan0 scan
[ 236.071394] wlan: mlan0 START SCAN
[ 239.237120] wlan: SCAN COMPLETED: scanned AP count=19

 

Can someone point me in the direction of a 5.10 or 5.15 BSP image to flash onto the MX8MP EVK that has functionality for 9098 PCIe/UART? According to NXP/Murata, these kernel versions should work with the 9098 chipset

0 Kudos
Reply

971 Views
user123412
Contributor I

It looks like the 5.15.71_2.2.1_MX8MP release also works, is there a 5.10 release that is functional?

0 Kudos
Reply

960 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @user123412!

According to our Linux user guide the driver installed on version 5.10.72 supports the wifi module that you are using.

I attached the User Guide for that version, also you can download the documentation and the images to test by following the link:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...


Best Regards!

Chavira

0 Kudos
Reply