Loading MFG firmware fails

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Loading MFG firmware fails

ソリューションへジャンプ
19,386件の閲覧回数
sonalir3
Contributor I

Hi,

I am trying to load the manufacturing firmware for 88W9098 that I downloded from nxp website (9098_BridgeLabtool_MFG_FW_p228 package) and trying to load it on device with driver version from PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p136.58-17.26.1.p136.58-MXM5X17366_P32_V0V1-MGPL. I replace the fw in /lib/firmware/nxp and load moal.ko module with param `mfg_mode=1`. However, the fw loading fails with "Firmware Init Failed". The log from attempts to request and load the firmware is attached below. Please assist in how to get the maufacturing firmware loaded.

Thanks.

0 件の賞賛
返信
1 解決策
18,513件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

i.MX platform sdk have FP92 driver integrated for wifi, it is not necessary to compile another driver to sdk.

For fp92 driver, please use following cmd only to load mfg_fw:

modprobe moal mfg_mode=1 cal_data_cfg=none drv_mode=1 fw_name=nxp/<mfg_fw name>

please note don't insmod mlan or modprobe mlan.

How to check fw is active:

iwconfig -a

or ifconfig -a

You will see two interfaces: mlan0 and mmlan0.

 

if still not work, please share full terminal output logs to me. Including you commends.

 

Best Regards

Shaun

元の投稿で解決策を見る

0 件の賞賛
返信
17 返答(返信)
19,358件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

Please try to use following parameter to load, don't add other parameters.

mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/<mfg_fw name>

 

Best Regards

Shaun

0 件の賞賛
返信
19,344件の閲覧回数
sonalir3
Contributor I

Hi Shaun,

Thanks for the response. I tried to load moal.ko with the params you specified, but the firmware loading still fails. I have attached the logs where it failed and re-tried to load the fw which failed again. For reference, I ran: sudo insmod /lib/modules/5.15.70-rt50-tq+gbec816160587/extra/moal.ko mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/pcieuart9098_combo_v1.bin

0 件の賞賛
返信
19,327件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

Could you share which host you are using? 

Could you copy a new mfg_fw to /lib/firmware/nxp and try again? Might be firmware comprehensive issue.

 

Best Regards

Shaun

0 件の賞賛
返信
19,296件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu, the host processor is i.MX 8M Plus and supports wifi over PCIE and Bluetooth over UART interface.
I used another mfg fw (from 9098 Manufacturing Firmware and Windows Labtool release (p207)), but it also fails with same error as with the previous fw (taken from 9098_BridgeLabtool_MFG_FW_p228).

0 件の賞賛
返信
19,282件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

OK, can you help check following:

use modprobe moal mod_para=nxp/wifi_mode_para.conf 

to load production firmware and check whether production firmware can be loaded successfully.

Also, can you help confirm you are using our evk or board designed by others?

 

Best Regards

Shaun

0 件の賞賛
返信
19,138件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu 

I unloaded moal.ko and reloaded it with modprobe moal mod_para=nxp/wifi_mode_para.conf to load the production fw and it shows the following output. It is loaded correctly on boot but attempting to load it with moal shows that module params are not loaded. Here is the log:

admin@bridgeX-602522:~$ [14635.110366] wlan: Unloading MWLAN driver
[14635.110443] wlan: Driver unloaded
[14639.256941] wlan: Loading MWLAN driver
[14639.257536] wlan: Register to Bus Driver...
[14639.257740] Attach moal handle ops, card interface type: 0x206
[14639.257796] wlan_pcie 0000:01:00.0: Direct firmware load for nxp/wifi_mode_para.conf failed with error -2
[14639.257805] Failed to get module param file
[14639.257807] Invalid block:
[14639.257808] Free module params
[14639.257810] Fail to load module parameter file
[14639.257813] Free module params
[14639.257839] woal_pcie_probe: failed
[14639.257843] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[14639.257968] Attach moal handle ops, card interface type: 0x206
[14639.257994] wlan_pcie 0000:01:00.1: Direct firmware load for nxp/wifi_mode_para.conf failed with error -2
[14639.258000] Failed to get module param file
[14639.258001] Invalid block:
[14639.258002] Free module params
[14639.258004] Fail to load module parameter file
[14639.258006] Free module params
[14639.258027] woal_pcie_probe: failed
[14639.258030] wlan_pcie: probe of 0000:01:00.1 failed with error -14
[14639.258092] wlan: Register to Bus Driver Done

I am using a board designed by others and not the nxp evk. It is a custom board with the i.MX 8M Plus as cpu and the jody W3 (NXP 9098).

0 件の賞賛
返信
19,118件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

It reports that wifi_mod_para.conf not founded,

Please add attached file in lib/firmware/nxp/.

rename 'wifi_mod_para.txt' to 'wifi_mod_para.conf'

 

Best Regards

Shaun

0 件の賞賛
返信
19,088件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu,

Our wifi_mod_para.conf was already present in /lib/firmware/nxp and is moal is always loaded with mod_para=nxp/wifi_mode_para.conf as it is spcified in a .conf file in /etc/modprobe.d/. However, it doesn't do so when I am unloading and re-loading moal after startup, i.e. without rebooting the device. Anyway, I tried the wifi_mode_para.conf you sent and I get the following when unloading (rmmod moal) and reloading (modprobe moal mod_para=nxp/wifi_mode_para.conf) moal.

[ 242.650317] wlan: Unloading MWLAN driver
[ 242.651224] Station already not in enhanced deep sleep mode
[ 242.754867] Station already not in enhanced deep sleep mode
[ 242.962969] Free module params
[ 243.038411] Free module params
[ 243.038516] wlan: Driver unloaded
[ 261.038286] wlan: Loading MWLAN driver
[ 261.038926] wlan: Register to Bus Driver...
[ 261.039128] Attach moal handle ops, card interface type: 0x206
[ 261.039197] wlan_pcie 0000:01:00.0: Direct firmware load for nxp/wifi_mode_para.conf failed with error -2
[ 261.039207] Failed to get module param file
[ 261.039209] Invalid block:
[ 261.039211] Free module params
[ 261.039213] Fail to load module parameter file
[ 261.039215] Free module params
[ 261.039239] woal_pcie_probe: failed
[ 261.039243] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[ 261.039364] Attach moal handle ops, card interface type: 0x206
[ 261.039392] wlan_pcie 0000:01:00.1: Direct firmware load for nxp/wifi_mode_para.conf failed with error -2
[ 261.039400] Failed to get module param file
[ 261.039401] Invalid block:
[ 261.039403] Free module params
[ 261.039405] Fail to load module parameter file
[ 261.039406] Free module params
[ 261.039423] woal_pcie_probe: failed
[ 261.039425] wlan_pcie: probe of 0000:01:00.1 failed with error -14
[ 261.039481] wlan: Register to Bus Driver Done
[ 261.039483] wlan: Driver loaded successfully

However when I reboot with this wifi_mod_para.conf file in /lib/firmware/nxp, the fw is initialized and here is the output:

[ 3.892542] wlan: Register to Bus Driver...
[ 3.892711] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 3.892774] Attach moal handle ops, card interface type: 0x206
[ 3.895342] PCIE9098: init module param from usr cfg
[ 3.895381] card_type: PCIE9098, config block: 0
[ 3.895387] cfg80211_wext=0xf
[ 3.895391] wfd_name=p2p
[ 3.895393] max_vir_bss=1
[ 3.895396] cal_data_cfg=none
[ 3.895398] drv_mode = 7
[ 3.895401] mac_addr=00:50:43:20:12:34
[ 3.895426] rx_work=1 cpu_num=4
[ 3.895444] Attach mlan adapter operations.card_type is 0x206.
[ 3.899503] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 3.947166] systemd[1]: Started Journal Service.
[ 4.112309] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[ 4.191198] FW download over, size 692796 bytes
[ 4.205516] systemd-journald[181]: Received client request to flush runtime journal.
[ 4.478535] WLAN FW is active
[ 4.478546] on_time is 4476071750
[ 4.493676] VDLL image: len=151280
[ 4.494023] fw_cap_info=0xc8fcefa3, dev_cap_mask=0xffffffff
[ 4.494049] max_p2p_conn = 8, max_sta_conn = 64
[ 4.515657] Register NXP 802.11 Adapter mlan0
[ 4.515758] wlan: uap%d set max_mtu 2000
[ 4.516773] Register NXP 802.11 Adapter uap0
[ 4.540297] Register NXP 802.11 Adapter p2p0
[ 4.540334] wlan: version = PCIE9098--17.68.1.p136.32-MXM5X17366.p16-GPL-(FP68)(R39)
[ 4.564175] wlan_pcie 0000:01:00.1: enabling device (0000 -> 0002)
[ 4.564261] Attach moal handle ops, card interface type: 0x206
[ 4.564430] PCIE9098: init module param from usr cfg
[ 4.564468] card_type: PCIE9098, config block: 1
[ 4.564475] cfg80211_wext=0xf
[ 4.564478] wfd_name=p2p
[ 4.564480] max_vir_bss=1
[ 4.564483] cal_data_cfg=none
[ 4.564484] drv_mode = 7
[ 4.564487] mac_addr=00:50:43:20:52:56
[ 4.564508] rx_work=1 cpu_num=4
[ 4.564523] Attach mlan adapter operations.card_type is 0x206.
[ 4.574102] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 4.575160] WLAN FW already running! Skip FW download
[ 4.575174] WLAN FW is active
[ 4.575177] on_time is 4572703000
[ 4.588988] VDLL image: len=151280
[ 4.589341] fw_cap_info=0x68fcefa3, dev_cap_mask=0xffffffff
[ 4.589365] max_p2p_conn = 8, max_sta_conn = 64
[ 4.612652] Register NXP 802.11 Adapter mmlan0
[ 4.612739] wlan: muap%d set max_mtu 2000
[ 4.654562] Register NXP 802.11 Adapter muap0
[ 4.702771] Register NXP 802.11 Adapter p2p1
[ 4.702810] wlan: version = PCIE9098--17.68.1.p136.32-MXM5X17366.p16-GPL-(FP68)(R39)
[ 4.722645] wlan: Register to Bus Driver Done
[ 4.722654] wlan: Driver loaded successfully

0 件の賞賛
返信
18,613件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

Can you use:

modprobe moal mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/<fw_name>

to load mfg_firmware and share result?

 

Best Regards

Shaun

0 件の賞賛
返信
18,597件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu,

Tried modprobe moal mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/pcieuart9098_combo_p207.bin (mfg fw taken from Q9098_BridgeLabtool_MFG_FW_p207 package) and I get the following output:

[ 690.174401] wlan: Unloading MWLAN driver
[ 690.523009] Free module params
[ 690.623308] Free module params
[ 690.623403] wlan: Driver unloaded
[ 722.537921] wlan: Loading MWLAN driver
[ 722.538527] wlan: Register to Bus Driver...
[ 722.538725] Attach moal handle ops, card interface type: 0x206
[ 722.538809] PCIE9098: init module param from usr cfg
[ 722.538842] card_type: PCIE9098, config block: 0
[ 722.538847] cfg80211_wext=0xf
[ 722.538850] wfd_name=p2p
[ 722.538852] max_vir_bss=1
[ 722.538855] cal_data_cfg=none
[ 722.538857] drv_mode = 7
[ 722.538860] mac_addr=00:50:43:20:12:34
[ 722.538870] rx_work=1 cpu_num=4
[ 722.538881] Attach mlan adapter operations.card_type is 0x206.
[ 722.547346] Request firmware: nxp/pcieuart9098_combo_p207.bin
[ 722.551284] WLAN FW already running! Skip FW download
[ 722.551295] WLAN FW is active
[ 722.551298] on_time is 722536165360
[ 722.551503] get fw info failed! status=-1, error_code=0x0
[ 722.551527] Failed to get driver extended capability, use default
[ 722.551709] get fw info failed! status=-1, error_code=0x0
[ 722.551802] 11D: Error setting domain info in FW
[ 722.552083] get fw info failed! status=-1, error_code=0x0
[ 722.552090] woal_init_priv: get_fw_info failed
[ 722.554413] Register NXP 802.11 Adapter mlan0
[ 722.554534] get fw info failed! status=-1, error_code=0x0
[ 722.554541] woal_init_uap_dev: get_fw_info failed
[ 722.554566] Failed to add interface
[ 722.621590] woal_request_fw failed
[ 722.621598] Firmware Init Failed
[ 722.671931] Free module params
[ 722.671971] woal_pcie_probe: failed
[ 722.671976] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[ 722.672193] Attach moal handle ops, card interface type: 0x206
[ 722.672268] PCIE9098: init module param from usr cfg
[ 722.672305] card_type: PCIE9098, config block: 0
[ 722.672311] cfg80211_wext=0xf
[ 722.672313] wfd_name=p2p
[ 722.672315] max_vir_bss=1
[ 722.672318] cal_data_cfg=none
[ 722.672320] drv_mode = 7
[ 722.672323] mac_addr=00:50:43:20:12:34
[ 722.672335] rx_work=1 cpu_num=4
[ 722.672346] Attach mlan adapter operations.card_type is 0x206.
[ 722.675342] Request firmware: nxp/pcieuart9098_combo_p207.bin
[ 722.675922] WLAN FW already running! Skip FW download
[ 722.675934] WLAN FW is active
[ 722.675936] on_time is 722660801078
[ 722.676111] get fw info failed! status=-1, error_code=0x0
[ 722.676133] Failed to get driver extended capability, use default
[ 722.676330] get fw info failed! status=-1, error_code=0x0
[ 722.676432] 11D: Error setting domain info in FW
[ 722.676706] get fw info failed! status=-1, error_code=0x0
[ 722.676712] woal_init_priv: get_fw_info failed
[ 722.677283] Register NXP 802.11 Adapter mmlan0
[ 722.677349] get fw info failed! status=-1, error_code=0x0
[ 722.677353] woal_init_uap_dev: get_fw_info failed
[ 722.677371] Failed to add interface
[ 722.812482] woal_request_fw failed
[ 722.812490] Firmware Init Failed
[ 722.840237] Free module params
[ 722.840281] woal_pcie_probe: failed
[ 722.840288] wlan_pcie: probe of 0000:01:00.1 failed with error -14
[ 722.840367] wlan: Register to Bus Driver Done
[ 722.840369] wlan: Driver loaded successfully

0 件の賞賛
返信
18,590件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

looks good, please continue setup labtool. 

 

Best Regards

Shaun

0 件の賞賛
返信
18,585件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu,

The mfg firmware didn't load in my opinion, since it shows the message "WLAN FW already running! Skip FW download" and then later "Firmware Init Failed". Also you can see that the param values taken are not the ones specified while loading moal but the ones from wifi_mode_para.conf you sent before

[ 722.538847] cfg80211_wext=0xf
[ 722.538850] wfd_name=p2p
[ 722.538852] max_vir_bss=1
[ 722.538855] cal_data_cfg=none
[ 722.538857] drv_mode = 7

Lastly, mlan0 and mmlan0 interfaces don't show up after trying to load mfg fw. And neither do the adapterX in /proc/mwlan/

 

0 件の賞賛
返信
18,563件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

Can you reboot your device then test? power down Wi-Fi product to clear firmware.

 

Best Regards

Shaun

0 件の賞賛
返信
18,552件の閲覧回数
sonalir3
Contributor I

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? 

0 件の賞賛
返信
18,509件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

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? 

mfg_fw only support labtool cmd. mlanutl will not work. Please refer to labtool user's guide form more detials. https://www.nxp.com/webapp/Download?colCode=UM11376&appType=license 

 

Best Regards

Shaun

0 件の賞賛
返信
18,514件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @sonalir3 

 

i.MX platform sdk have FP92 driver integrated for wifi, it is not necessary to compile another driver to sdk.

For fp92 driver, please use following cmd only to load mfg_fw:

modprobe moal mfg_mode=1 cal_data_cfg=none drv_mode=1 fw_name=nxp/<mfg_fw name>

please note don't insmod mlan or modprobe mlan.

How to check fw is active:

iwconfig -a

or ifconfig -a

You will see two interfaces: mlan0 and mmlan0.

 

if still not work, please share full terminal output logs to me. Including you commends.

 

Best Regards

Shaun

0 件の賞賛
返信
18,480件の閲覧回数
sonalir3
Contributor I

Hi @shaun_wu,

Thanks for the help. Followed the above with Q9098_BridgeLabtool_MFG_FW_p207 package and the manufacturing fw loads now and I can send commands through labtool.

Best

Sonali

0 件の賞賛
返信