Hi NXP
I am doing test wifi driver on android-10.0.0_2.6.0 using Rockchip RK3399K (Android 10) + 88W8987.
Fail while loading FW image. I checked the HW and there is no problem.
Any advice on what to look at?
Please review my console messages.
[ 85.977825] wlan: Loading MWLAN driver
[ 85.978273] mmc_pwrseq_simple_pre_power_on
[ 85.990644] mmc_pwrseq_simple_post_power_on
[ 86.094059] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 86.164463] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[ 86.701883] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 182
[ 86.702330] vendor=0x02DF device=0x9149 class=0 function=1
[ 86.702596] Attach moal handle ops, card interface type: 0x105
[ 86.702759] No module param cfg file specified
[ 86.702832] SDIO: max_segs=256 max_seg_size=4096
[ 86.702880] rx_work=1 cpu_num=6
[ 86.703453] Attach mlan adapter operations.card_type is 0x105.
[ 86.704684] wlan: Enable TX SG mode
[ 86.704747] wlan: Enable RX SG mode
[ 86.709950] Request firmware: sdiouart8987_combo_v0_1.bin
[ 87.654168] Wlan: FW download over, firmwarelen=595300 downloaded 595300
[ 98.054147] Fail to poll firmware status: firmwarestat=0xf005
[ 98.054241] FW failed to be active in time!
[ 98.054261] wlan_dnld_fw fail ret=0xffffffff
[ 98.054280] WLAN: Fail download FW with nowwait: 0
[ 98.057090] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
[ 98.058328] SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00
[ 98.060316] 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
[ 98.061514] SDIO Func1 (0xe8-0xf2): 05 f0 00 00 00 00 00 00 24 14 70
[ 98.166065] SDIO Func1 (0xe8-0xf2): 05 f0 00 00 00 00 00 00 24 14 70
[ 98.166247] woal_request_fw failed
[ 98.166254] Firmware Init Failed
[ 98.170217] woal_add_card failed
[ 98.170456] wlan_sdio: probe of mmc0:0001:1 failed with error -1
[ 98.170497] mmc_pwrseq_simple_power_off
[ 98.171894] wlan: Driver loaded successfully
Thanks
Simon
Solved! Go to Solution.
Hello @Simonum ,
You konw, i.MX8MN-EVK supports 88W8987 module, we tested 8987 for many times on the board, android and linux OS.
Never encounterred the issue that FW downloading failed. But I have some suggestions for you and customer to debug it.
1. SDIO IO level.
According to SDIO protocol, when IO level of SDIO BUS is 1.8V, it can supports all speed mode, like 100MHz/200MHz etc.
So customer check if SDIO IO level is matched between CPU side and 88W8987 side.
2. Trying to tune mmc node in device tree
we can add a line like below:
no-1-8-v; // means , let us try SDIO 2.0, check if FW can successfully downloaded.
Regards,
weidong
Are you able to resolve this issue?
If yes, could you please let us know what the root cause of the problem was.
Regards,
Shetty
Hello @Simonum ,
You konw, i.MX8MN-EVK supports 88W8987 module, we tested 8987 for many times on the board, android and linux OS.
Never encounterred the issue that FW downloading failed. But I have some suggestions for you and customer to debug it.
1. SDIO IO level.
According to SDIO protocol, when IO level of SDIO BUS is 1.8V, it can supports all speed mode, like 100MHz/200MHz etc.
So customer check if SDIO IO level is matched between CPU side and 88W8987 side.
2. Trying to tune mmc node in device tree
we can add a line like below:
no-1-8-v; // means , let us try SDIO 2.0, check if FW can successfully downloaded.
Regards,
weidong