[88W8997] MFG tool firmware loading fail when working on Nvidia NX platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[88W8997] MFG tool firmware loading fail when working on Nvidia NX platform

1,148 Views
varietytim
Contributor I

Hi Sir,
our customer would like to integrate mfg tool to do whole system SRRC certifIcation, but we are facing a critical problem that the mfg's firmware bin file will load failed every time even we unload kernel inbox driver.
Could you please help us to figure out what may go wrong during mfg tool integration?


MFG tool verison: 88W8997_Manufacturing_Native_Release_p208
Driver version:5.15.71_2.2.0 - mxm5x17366.p5

OS:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

Linux kernel:4.9.253-tegra

Hardware:
nx-desktop
description: Computer
product: NVIDIA Jetson Xavier NX Developer Kit
serial: 1421720026830
width: 64 bits
capabilities: smp cp15_barrier setend swp
*-core
description: Motherboard
physical id: 0

[terminal's log]

root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# !290
insmod mlan.ko
root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# !292
insmod moal.ko mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/pcie8997_uart_combo.bin
root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# dmesg
[58838.438752] wlan: Loading MWLAN driver
[58838.439310] wlan: Register to Bus Driver...
[58838.439730] wlan_pcie 0005:01:00.0: enabling device (0000 -> 0002)
[58838.440028] Attach moal handle ops, card interface type: 0x204
[58838.440165] No module param cfg file specified
[58838.440275] rx_work=1 cpu_num=6
[58838.440360] Attach mlan adapter operations.card_type is 0x204.
[58838.444759] Request firmware: nxp/pcie8997_uart_combo.bin
[58838.787586] usb usb2: usb_suspend_both: status 0
[58838.880928] prog_fw: Failed to get command done interrupt retry count = 10001
[58840.019568] usb usb2: usb_suspend_both: status 0
[58840.879022] FW failed to be active in time!
[58840.879050] wlan_dnld_fw fail ret=0xffffffff
[58840.879063] WLAN: Fail download FW with nowwait: 0
[58840.879268] Config Space Registers:
[58840.879431] reg:0x00 value=0x2b421b4b
[58840.879564] reg:0x04 value=0x00100406
[58840.879660] reg:0x10 value=0x0000000c
[58840.879794] reg:0x18 value=0x0010000c
[58840.879884] reg:0x2c value=0x00000000
[58840.879979] reg:0x3c value=0x000001ff
[58840.880070] reg:0x44 value=0x00000008
[58840.880160] reg:0x80 value=0x10120040
[58840.880299] reg:0x98 value=0x00000400
[58840.880385] reg:0x170 value=0x0001001e
[58840.880471] FW Scrach Registers:
[58840.880561] reg:0xcf0 value=0xfedcba00
[58840.880646] reg:0xcf8 value=0x0
[58840.880766] reg:0xcfc value=0x0
[58840.982048] reg:0xcf8 value=0x0
[58840.982146] reg:0xcfc value=0x0
[58841.082249] Interface registers dump from offset 0xc00 to 0xcfc
[58841.082416] 00070621 00000000 c0000000 80000000 fffb20c0 00000000 00000000 00000002
[58841.082567] 00000000 00000000 ffffffff 00000000 00000000 00000000 00000000 00000000
[58841.082732] 00000010 00000000 00000472 000000e5 00000000 00000000 00001040 76543210
[58841.082886] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[58841.083090] a5a00420 040d1be0 01070f1a 5d7c0000 031f9121 00000000 000001e1 00000000
[58841.083244] 00078120 00058110 00000000 00000000 00000000 00000000 00000000 00000000
[58841.083397] 00010202 00000000 00000000 ffffffff 008003c3 c8701424 00000000 00000000
[58841.083563] 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000
[58841.083757] woal_request_fw failed
[58841.083820] Firmware Init Failed
[58841.087642] Free module params
[58841.087791] woal_pcie_probe: failed
[58841.087896] wlan_pcie: probe of 0005:01:00.0 failed with error -14
[58841.088100] wlan: Register to Bus Driver Done
[58841.088179] wlan: Driver loaded successfully

[regular driver load success]

root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# insmod mlan.ko
root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# insmod moal.ko drv_mode=1 cal_data_cfg=none fw_name=nxp/pcieuart8997_combo_v4.bin
root@nx-desktop:/home/nx/Desktop/88w8997_newdriver/wlan_src# dmesg

[ 515.190880] wlan: Loading MWLAN driver
[ 515.191603] wlan: Register to Bus Driver...
[ 515.192055] wlan_pcie 0005:01:00.0: enabling device (0000 -> 0002)
[ 515.192306] Attach moal handle ops, card interface type: 0x204
[ 515.192446] No module param cfg file specified
[ 515.192553] rx_work=1 cpu_num=6
[ 515.192637] Attach mlan adapter operations.card_type is 0x204.
[ 515.195487] Request firmware: nxp/pcieuart8997_combo_v4.bin
[ 515.792822] FW download over, size 592732 bytes
[ 516.511315] WLAN FW is active
[ 516.511559] on_time is 516136321184
[ 516.538975] fw_cap_info=0x187c7fa3, dev_cap_mask=0xffffffff
[ 516.539026] max_p2p_conn = 8, max_sta_conn = 8
[ 516.560908] Register NXP 802.11 Adapter mlan0
[ 516.561089] wlan: version = PCIE8997--16.92.21.p55.3-MM5X16366.p5-GPL-(FP92)
[ 516.561359] wlan: Register to Bus Driver Done
[ 516.561442] wlan: Driver loaded successfully
[ 516.608986] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 516.609436] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 516.686006] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 516.687881] wlan: mlan0 START SCAN
[ 521.004682] wlan: SCAN COMPLETED: scanned AP count=3
[ 544.688885] wlan: Unloading MWLAN driver
[ 544.895471] Free module params
[ 544.895690] wlan: Driver unloaded
[ 556.031099] wlan: Loading MWLAN driver
[ 556.032853] wlan: Register to Bus Driver...
[ 556.033479] Attach moal handle ops, card interface type: 0x204
[ 556.033608] No module param cfg file specified
[ 556.033689] rx_work=1 cpu_num=6
[ 556.033759] Attach mlan adapter operations.card_type is 0x204.
[ 556.035490] Request firmware: nxp/pcieuart8997_combo_v4.bin
[ 556.035990] WLAN FW already running! Skip FW download
[ 556.035998] WLAN FW is active
[ 556.036089] on_time is 555660862240
[ 556.072709] fw_cap_info=0x187c7fa3, dev_cap_mask=0xffffffff
[ 556.072724] max_p2p_conn = 8, max_sta_conn = 8
[ 556.083671] Register NXP 802.11 Adapter mlan0
[ 556.083840] wlan: version = PCIE8997--16.92.21.p55.3-MM5X16366.p5-GPL-(FP92)
[ 556.084178] wlan: Register to Bus Driver Done
[ 556.084263] wlan: Driver loaded successfully
[ 556.131658] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 556.132282] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 556.198542] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 556.200631] wlan: mlan0 START SCAN

@Wigros Sun

0 Kudos
8 Replies

734 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @varietytim 

 

This issue has been fixed in latest Linux 6.1.22 release.

 

If you need to keep older 5.15.71 software, you can use the following workaround:

Replace

insmod moal.ko mfg_mode=1 drv_mode=1 cal_data_cfg=none fw_name=nxp/pcie8997_uart_combo.bin

With

insmod moal.ko mod_para=nxp/wifi_mod_para_mfg.conf

Having wifi_mod_para_mfg.conf content as below

PCIE8997 = {
    cal_data_cfg=none
    fw_name=nxp/pcie8997_uart_combo.bin
    drv_mode=1
    mfg_mode=1
}

 

 Regards,

Olivier

0 Kudos

889 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Were you able to test this with another MFG release?

Regards,

Daniel.

0 Kudos

1,060 Views
varietytim
Contributor I

Hi Daniel,
any feedback about my previous reply? our customer is waiting for our further input.

thanks.

0 Kudos

1,042 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Please accept my apologies for the late reply.

Could you please verify if this issue happens with this FW release only? Or is this still happens with any other release?

Could you please explain to me how you’re connecting the module to your host?

Regards,

Daniel.

0 Kudos

1,020 Views
varietytim
Contributor I

Hi Daniel,
the firmware loading fail was happened on MFG's specific firmware only.
you can compare what's difference on my previous reply.
Regarding of connecting module method, the host device is an edge micro server which has standard m.2 slot.
the mfg tool was executing on same system directly.

eis-200.png

0 Kudos

992 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Thank you for the feedback.

I’m going to try to replicate this.

Meanwhile, could you please try another MFG release and tell me if it works for you?

Regards,

Daniel.

0 Kudos

1,103 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

Could you please tell me if you are using a module?

Regards,

Daniel.

0 Kudos

1,078 Views
varietytim
Contributor I

Hi Daniel,
Yes,the module's model name is AzureWave AW-CM276MA-PUR module.

 

0 Kudos