@estephania_mart
Let me share a similar malfunction on i.MX 8M Plus and I would request your cooperation to resolve my issue as well.
A very similar log was observed when the WiFi driver was installed via modprobe.
My case uses not Android but i.MX Yocto BSP userland. The kernel version and PCIe chipset were same as this thread owner. I suspect it happens due to the same reason though the tested SoCs are different.
Here's my environment.
- board : i.MX 8M Plus EVK
- M.2 slot : AzureWave AW-CM276MA
- kernel/userland : i.MX Yocto BSP imx-6.1.55-2.2.1
As long as I reproduced this, it frequently happened just on a cold boot and did not happen after rebooting by the reboot command.
Also, here's the failure log.
root@imx8mp-lpddr4-evk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 558.517304] mlan: loading out-of-tree module taints kernel.
[ 558.560383] wlan: Loading MWLAN driver
[ 558.564772] wlan: Register to Bus Driver...
[ 558.569610] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 558.575903] PCI memory map Virt0: 000000006b43baf2 PCI memory map Virt2: 0000000067866472
[ 558.584115] Attach moal handle ops, card interface type: 0x204
[ 558.589965] rps set to 0 from module param
[ 558.595594] PCIE8997: init module param from usr cfg
[ 558.600615] card_type: PCIE8997, config block: 0
[ 558.605252] cfg80211_wext=0xf
[ 558.608229] max_vir_bss=1
[ 558.610849] cal_data_cfg=none
[ 558.613822] ps_mode = 1
[ 558.616277] auto_ds = 1
[ 558.618724] host_mlme=enable
[ 558.621615] fw_name=nxp/pcieuart8997_combo_v4.bin
[ 558.626345] rx_work=1 cpu_num=4
[ 558.629496] Enable moal_recv_amsdu_packet
[ 558.633529] Attach mlan adapter operations.card_type is 0x204.
[ 558.644020] Request firmware: nxp/pcieuart8997_combo_v4.bin
[ 559.250376] FW download over, size 622824 bytes
[ 565.252124] FW failed to be active in time!
[ 565.256337] wlan_dnld_fw fail ret=0xffffffff
[ 565.260632] WLAN: Fail download FW with nowwait: 0
[ 565.265443] Config Space Registers:
[ 565.268948] reg:0x00 value=0x2b421b4b
[ 565.272626] reg:0x04 value=0x00100406
[ 565.276298] reg:0x10 value=0x1810000c
[ 565.279972] reg:0x18 value=0x1820000c
[ 565.283636] reg:0x2c value=0x00000000
[ 565.287307] reg:0x3c value=0x000001d9
[ 565.290981] reg:0x44 value=0x00000008
[ 565.294654] reg:0x80 value=0x10110040
[ 565.298346] reg:0x98 value=0x00000000
[ 565.302034] reg:0x170 value=0x0001001e
[ 565.305795] FW Scrach Registers:
[ 565.309031] reg:0xcf0 value=0xfedcba00
[ 565.312789] reg:0xcf8 value=0x0
[ 565.315937] reg:0xcfc value=0x0
[ 565.420711] reg:0xcf8 value=0x0
[ 565.423866] reg:0xcfc value=0x0
[ 565.528740] Interface registers dump from offset 0xc00 to 0xcfc
[ 565.534697] 00070621 00000000 c0000000 80000000 c0926000 00000000 00000000 00000000
[ 565.542465] 0000002f 0000002f ffffffff 00000000 00000000 00000000 00000000 00000000
[ 565.550252] 00000000 00000000 00000472 000000e5 00000000 00000000 00006414 76543210
[ 565.558027] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 565.565797] 0da70420 a2ee1be1 32070f1a 5d7c1400 031f9121 00000006 000001e1 00000000
[ 565.573564] 00078120 00058110 00000000 00000000 00000000 00000000 00000000 00000000
[ 565.581329] 00010222 00000000 00000000 ffffffff 00800343 c8701424 00000000 00000000
[ 565.589111] 00000000 00000000 00000080 00000000 fedcba00 00000000 00000000 00000000
[ 565.596934] woal_request_fw failed
[ 565.600347] Firmware Init Failed
[ 565.609093] Free module params
[ 565.612327] woal_pcie_probe: failed
[ 565.615865] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[ 565.622181] wlan: Register to Bus Driver Done
[ 565.626607] wlan: Driver loaded successfully
I hope this information will be helpful to resolve the problem.