I use the latest official IMX8mm-EVK CPU2 version of the development board, using a separate compiled uboot kernel file system. When I adapted the WiFi (aw358) module, I found such a problem, and I hope it can help me solve it.
1. I have adapted the device tree correctly, because I can see the device node of sdio.
2. I will compile mlan.ko and moal.ko correctly. When I import the moal.ko driver to the kernel, insmod moal.ko cfg80211_wext=0xf max_vir_bss=1 cal_data_cfg=none ps_mode=1 auto_ds=1 host_mlme=1 fw_name=sdiouart8987_combo_v0.bin, now I get the following error:
3、cann't find wifi driver
I took moral.ko and sdiouart8987_combo_v0.bin and sd8987_wlan.bin when it was the same path again, and I also tried to run the command: insmod moal.ko cfg80211_wext=0xf max_vir_bss=1 cal_data_cfg=none ps_mode=1 auto_ds=1 host_mlme=1 fw_ name=sd8987_wlan.bin Same, it can't import wifi drivers
Hi @bily !
Thank you for contacting NXP Support!
Maybe you are loading incorrectly the kernel module, please check the Linux User Guide in Chapter 11 "Connectivity" to learn how to load correctly the driver.
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
How are you compiling the kernel module?
We have a document explaining how to compile and use the driver.
Please download the document UM11675 on the next page:
Best Regards!
Chavira