-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IW612 (WiFi) not working on i.MX93EVK #1837
Comments
I have the same issue in the |
Caused by race with Bluetooth driver FW loading |
Fix this using a config file in /etc/modprobe.d
This forces the WiFi FW to load before Bluetooth |
Hi @hcl-dr Thanks for your suggestion. Care to submit a formal patch so that IW612 could work out of the box on imx93-evk? Thanks |
This would be a patch on meta-freescale and depends on both the chip in use as well as user preferences for WiFi.
|
@fabioestevam : You could split the modprobe file in two and just ship the "softdep" part in meta-freescale |
In the report from Andre, I don't see any Bluetooth-related error logs. Do you think the original error is caused by the lack of "softdep"? Were you able to get Wifi working on the imx93-evk? |
I'm using a iMX93QSB which should be same/same. It is working fine with the softdep in place. |
@hcl-dr thanks for your suggestion, I tried it but didn't work, maybe a did something wrong... for a quick test I just need to create a moal.conf file in /etc/modprobe.d and when I enter the command: modprobe moal mod_para=nxp/wifi_mod_para.conf it should create the wlan0 device ? This is what I did and didn't work, what else am I missing ? the moal.conf file has the following content (as you suggested): cheers, |
Hi @hcl-dr , I was able to get it working, I got a typo on my wpa_supplicant.conf file, fixed and it worked with your suggestion. thank you. |
It seems "moal" kernel module need to be loaded before "btnxpuart" as described in [1]. Otherwise, WiFi firmware loading fails due to apparent race condition between the BT and WiFi and the following error can be observed: Request firmware: nxp/sduart_nw61x_v1.bin.se Wlan: FW download over, firmwarelen=1065364 downloaded 953164 Fail to poll firmware status: firmwarestat=0x0 FW failed to be active in time! wlan_dnld_fw fail ret=0xffffffff WLAN: Fail download FW with nowwait: 0 SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00 SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00 SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 01 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 c8 ab 07 80 00 00 00 00 00 01 00 00 00 SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 c8 ab 07 80 00 00 00 00 00 01 00 00 00 woal_request_fw failed Firmware Init Failed Free module params woal_add_card failed wlan_sdio: probe of mmc2:0001:1 failed with error -1 [1] Freescale/meta-freescale#1837 Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
It seems "moal" kernel module need to be loaded before "btnxpuart" as described in [1]. Otherwise, WiFi firmware loading fails due to apparent race condition between the BT and WiFi and the following error can be observed: Request firmware: nxp/sduart_nw61x_v1.bin.se Wlan: FW download over, firmwarelen=1065364 downloaded 953164 Fail to poll firmware status: firmwarestat=0x0 FW failed to be active in time! wlan_dnld_fw fail ret=0xffffffff WLAN: Fail download FW with nowwait: 0 SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00 SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00 SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 01 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 c8 ab 07 80 00 00 00 00 00 01 00 00 00 SDIO Func1 (0xe8-0xff): 00 00 00 00 4c 8b 0e 00 24 14 70 c8 ab 07 80 00 00 00 00 00 01 00 00 00 woal_request_fw failed Firmware Init Failed Free module params woal_add_card failed wlan_sdio: probe of mmc2:0001:1 failed with error -1 [1] Freescale/meta-freescale#1837 Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Hello !
I am trying to test the WiFi module (IW612) available on i.MX93EVK and it fails when loading the moal module.
The Issue is detected on both Nanbield and Scarthgap releases.
Steps to reproduce:
1 - Edit/create the wpa_supplicant.conf fiile with the following information:
2 - Probe the mlan and moal modules:
3 - Configure the mlan0:
Below the logs of a test performed on the master branch:
Output log:
At this point the mlan0 is not available.
I appreciate any help.
regards,
Andre
The text was updated successfully, but these errors were encountered: