Hello @shaun_wu,
I rebooted the device and relaoded moal (and mlan) with mfg fw params and I get the following output. I tried with 2 mfg fws this time:
with 9098_BridgeLabtool_MFG_FW_p228 package
[ 276.512102] wlan: Unloading MWLAN driver
[ 276.512173] wlan: Driver unloaded
[ 282.747690] wlan: Loading MWLAN driver
[ 282.748555] wlan: Register to Bus Driver...
[ 282.748755] Attach moal handle ops, card interface type: 0x206
[ 282.748764] No module param cfg file specified
[ 282.748771] rx_work=1 cpu_num=4
[ 282.748785] Attach mlan adapter operations.card_type is 0x206.
[ 282.755699] Request firmware: nxp/pcieuart9098_combo_p228.bin
[ 283.150323] FW download over, size 540528 bytes
[ 285.147718] FW failed to be active in time!
[ 285.147727] wlan_dnld_fw fail ret=0xffffffff
[ 285.147732] WLAN: Fail download FW with nowwait: 0
[ 285.147737] Config Space Registers:
[ 285.147745] reg:0x00 value=0x2b431b4b
[ 285.147750] reg:0x04 value=0x00100406
[ 285.147757] reg:0x10 value=0x1820000c
[ 285.147765] reg:0x18 value=0x1840000c
[ 285.147772] reg:0x2c value=0x2b431b4b
[ 285.147779] reg:0x3c value=0x000001dc
[ 285.147786] reg:0x44 value=0x00000008
[ 285.147793] reg:0x80 value=0x10120040
[ 285.147800] reg:0x98 value=0x00000000
[ 285.147807] reg:0x170 value=0x0001001e
[ 285.147811] FW Scrach Registers:
[ 285.147813] reg:0x1c90 value=0xfedcba00
[ 285.147818] reg:0x1c98 value=0x0
[ 285.147822] reg:0x1c9c value=0x0
[ 285.249480] reg:0x1c98 value=0x0
[ 285.249488] reg:0x1c9c value=0x0
[ 285.351310] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 285.351320] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 285.351333] 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000
[ 285.351348] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351364] 498390c0 00000000 00000000 00000000 008047e3 c8701424 00083f70 00000000
[ 285.351379] 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000
[ 285.351383]
[ 285.351384] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 285.351386] ADMA registers dump from offset 0x10000 to 0x10068
[ 285.351400] 00100000 498390c0 00000000 c010ad64 00000000 00000000 00000000 00000000
[ 285.351428] 00000000 00000001 00000000 00000000 00000000 00000000 00000000 0000f002
[ 285.351444] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 285.351452] 80000948 00000000 00808c8c
[ 285.351455] ADMA registers dump from offset 0x10800 to 0x10868
[ 285.351469] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351485] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000
[ 285.351500] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 285.351508] 80000948 00000000 00808c8c
[ 285.351512] ADMA registers dump from offset 0x10880 to 0x108e8
[ 285.351526] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351541] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351557] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 285.351565] 80000948 00000000 00000000
[ 285.351569] ADMA registers dump from offset 0x11000 to 0x11068
[ 285.351582] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351598] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000
[ 285.351613] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 285.351622] 80000948 00000000 00808c8c
[ 285.351625] ADMA registers dump from offset 0x11080 to 0x110e8
[ 285.351639] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351654] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 285.351670] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 285.351678] 80000948 00000000 00000000
[ 285.351745] woal_request_fw failed
[ 285.351747] Firmware Init Failed
[ 285.356573] Free module params
[ 285.356616] woal_pcie_probe: failed
[ 285.356623] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[ 285.356892] Attach moal handle ops, card interface type: 0x206
[ 285.356902] No module param cfg file specified
[ 285.356912] rx_work=1 cpu_num=4
[ 285.356929] Attach mlan adapter operations.card_type is 0x206.
[ 285.359617] Request firmware: nxp/pcieuart9098_combo_p228.bin
[ 285.647624] prog_fw: Failed to get command done interrupt retry count = 10001
[ 287.647773] FW failed to be active in time!
[ 287.647782] wlan_dnld_fw fail ret=0xffffffff
[ 287.647786] WLAN: Fail download FW with nowwait: 0
[ 287.647792] Config Space Registers:
[ 287.647800] reg:0x00 value=0x2b441b4b
[ 287.647805] reg:0x04 value=0x00100406
[ 287.647812] reg:0x10 value=0x1830000c
[ 287.647819] reg:0x18 value=0x18100004
[ 287.647826] reg:0x2c value=0x2b441b4b
[ 287.647833] reg:0x3c value=0x000002e2
[ 287.647839] reg:0x44 value=0x00000008
[ 287.647846] reg:0x80 value=0x10120040
[ 287.647853] reg:0x98 value=0x00000000
[ 287.647860] reg:0x170 value=0x0001001e
[ 287.647864] FW Scrach Registers:
[ 287.647867] reg:0x1c90 value=0xfedcba00
[ 287.647872] reg:0x1c98 value=0x0
[ 287.647875] reg:0x1c9c value=0x0
[ 287.749136] reg:0x1c98 value=0x0
[ 287.749144] reg:0x1c9c value=0x0
[ 287.851150] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 287.851161] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 287.851177] 00000000 00000002 00000000 00000000 ffffffff 00000002 00000000 00000000
[ 287.851190] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851206] 48b680c0 00000000 00000010 00000000 008047e3 c8701424 00000000 00000000
[ 287.851222] 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000
[ 287.851225]
[ 287.851227] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 287.851228] ADMA registers dump from offset 0x10000 to 0x10068
[ 287.851242] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851257] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851273] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851281] 00000000 00000000 00000000
[ 287.851284] ADMA registers dump from offset 0x10800 to 0x10868
[ 287.851297] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851313] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851328] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851336] 00000000 00000000 00000000
[ 287.851339] ADMA registers dump from offset 0x10880 to 0x108e8
[ 287.851353] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851368] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851383] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851391] 00000000 00000000 00000000
[ 287.851394] ADMA registers dump from offset 0x11000 to 0x11068
[ 287.851408] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851423] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851438] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851446] 00000000 00000000 00000000
[ 287.851450] ADMA registers dump from offset 0x11080 to 0x110e8
[ 287.851475] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851490] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851505] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 287.851513] 00000000 00000000 00000000
[ 287.851573] woal_request_fw failed
[ 287.851574] Firmware Init Failed
[ 287.856534] Free module params
[ 287.856578] woal_pcie_probe: failed
[ 287.856585] wlan_pcie: probe of 0000:01:00.1 failed with error -14
[ 287.856698] wlan: Register to Bus Driver Done
[ 287.856700] wlan: Driver loaded successfully
------------------------------------------
and with Q9098_BridgeLabtool_MFG_FW_p207 package
admin@bridgeX-6024e6:~$ sudo modprobe mlan
[ 651.919120] mlan: loading out-of-tree module taints kernel.
admin@bridgeX-6024e6:~$ sudo modprobe moal mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/pcieuart9098_combo_p207.bin
[ 664.414879] wlan: Loading MWLAN driver
[ 664.415766] wlan: Register to Bus Driver...
[ 664.415909] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 664.415981] Attach moal handle ops, card interface type: 0x206
[ 664.415988] No module param cfg file specified
[ 664.415995] rx_work=1 cpu_num=4
[ 664.416009] Attach mlan adapter operations.card_type is 0x206.
[ 664.418425] Request firmware: nxp/pcieuart9098_combo_p207.bin
[ 664.812473] FW download over, size 537036 bytes
[ 665.090558] WLAN FW is active
[ 665.090565] on_time is 665076330852
admin@bridgeX-6024e6:~$ [ 665.092070] get fw info failed! status=-1, error_code=0x0
[ 665.092076] woal_init_priv: get_fw_info failed
[ 665.092604] Register NXP 802.11 Adapter mlan0
[ 665.092645] wlan: version = PCIE9098--0.0.0.p0-MXM5X17366.p16-GPL-(FP68)(R39)
[ 665.092976] wlan_pcie 0000:01:00.1: enabling device (0000 -> 0002)
[ 665.093047] Attach moal handle ops, card interface type: 0x206
[ 665.093056] No module param cfg file specified
[ 665.093063] rx_work=1 cpu_num=4
[ 665.093079] Attach mlan adapter operations.card_type is 0x206.
[ 665.094505] Request firmware: nxp/pcieuart9098_combo_p207.bin
[ 665.095191] WLAN FW already running! Skip FW download
[ 665.095202] WLAN FW is active
[ 665.095205] on_time is 665080971144
[ 665.096450] get fw info failed! status=-1, error_code=0x0
[ 665.096463] woal_init_priv: get_fw_info failed
[ 665.098565] Register NXP 802.11 Adapter mmlan0
[ 665.098611] wlan: version = PCIE9098--0.0.0.p0-MXM5X17366.p16-GPL-(FP68)(R39)
[ 665.098837] wlan: Register to Bus Driver Done
[ 665.098840] wlan: Driver loaded successfully
For the 2nd fw, it looks promising. Think the mfg fw loaded, but can you confirm? Also is there a way to check the currently running fw version?
Additionally, I would like to test the mfg fw by issuing commands via mlanutl or via /proc/mwlan/adapterX/config. Is it possible to issue the labtool commands through them?