88w8997 SDIO/UART integrate to L5.15.52

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

88w8997 SDIO/UART integrate to L5.15.52

2,463 Views
charleshuang
Senior Contributor II

Hi NXP,

We got a 88w8997 SDIO/UART WIFI/BT module.

Test on L5.15.52, below is our test steps/ log

 

=============================================

$ modprobe moal mod_para=nxp/wifi_mod_para.conf

[ 56.662649] mlan: loading out-of-tree module taints kernel.
[ 56.705153] wlan: Loading MWLAN driver
[ 56.709399] wlan: Register to Bus Driver...
[ 56.720030] vendor=0x02DF device=0x9141 class=0 function=1
[ 56.725660] Attach moal handle ops, card interface type: 0x104
[ 56.733664] SD8997: init module param from usr cfg
[ 56.738523] card_type: SD8997, config block: 0
[ 56.743005] cfg80211_wext=0xf
[ 56.745968] max_vir_bss=1
[ 56.748836] cal_data_cfg=none
[ 56.751844] ps_mode = 1
[ 56.754319] auto_ds = 1
[ 56.756773] host_mlme=enable
[ 56.759674] fw_name=nxp/sdiouart8997_combo_v4.bin
[ 56.764428] SDIO: max_segs=128 max_seg_size=65535
[ 56.769152] rx_work=1 cpu_num=2
[ 56.772355] Attach mlan adapter operations.card_type is 0x104.
[ 56.779184] wlan: Enable TX SG mode
[ 56.782718] wlan: Enable RX SG mode
[ 56.790538] Request firmware: nxp/sdiouart8997_combo_v4.bin
[ 57.541482] Wlan: FW download over, firmwarelen=594556 downloaded 594556
[ 58.249507] WLAN FW is active
[ 58.252498] on_time is 57879092000
[ 58.292777] fw_cap_info=0x187c7fa3, dev_cap_mask=0xffffffff
[ 58.298400] max_p2p_conn = 8, max_sta_conn = 8
[ 58.310540] wlan: mlan0 set max_mtu 2000
[ 58.327567] wlan: uap0 set max_mtu 2000
[ 58.344314] wlan: wfd0 set max_mtu 2000
[ 58.358175] wlan: version = SD8997----16.92.21.p55.3-MM5X16344.p3-GPL-(FP92)
[ 58.368880] Set REG 0x80002328: 0x13d57 slew_rate=3
[ 58.382466] wlan: Register to Bus Driver Done
[ 58.387136] wlan: Driver loaded successfully

$ hciattach /dev/ttyLP0 any 115200 flow

Setting TTY to N_HCI line discipline
Device setup complete
[ 82.003429] Bluetooth: hci0: Frame reassembly failed (-84)
root@imx8ulprom2620a1:~# [ 84.016377] Bluetooth: hci0: command 0x1003 tx timeout
[ 84.032470] Bluetooth: hci0: Frame reassembly failed (-84)
[ 86.042802] Bluetooth: hci0: command 0x1001 tx timeout
[ 86.062925] Bluetooth: hci0: Frame reassembly failed (-84)
[ 88.069152] Bluetooth: hci0: command 0x1009 tx timeout

====================================================

 

UART BT look like not work (But wifi can use).

Do yo know what wrong with this ?

We know in L6.1.22 btnxpuart driver can bring BT up,

L5.15.52 have no btnxpuart driver, so how to integrate this module ?

 

Labels (1)
Tags (1)
0 Kudos
Reply
9 Replies

2,220 Views
betat59050
Contributor I

Kroger Feedback Survey will take just a few minutes to complete. Throughout the Kroger Customer Satisfaction Survey, They will ask you a few questions about your recent visit to the Kroger Store where you received the invitation to this survey.

They value your feedback, use it to make improvements to your experience, and appreciate you taking the time to complete their survey. Earn 50 fuel points by giving Kroger feedback!

0 Kudos
Reply

2,368 Views
CarrieDuoduo
Contributor I

Maybe this will solve your problem here: www.ichome.com

Life-long learning
0 Kudos
Reply

2,449 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @charleshuang 

 

Please try following:

1. double check uart connection is correct

2. Try 3M

hciattach /dev/ttyLP0 any 3000000 flow

 

Best Regards

Shaun

0 Kudos
Reply

2,412 Views
charleshuang
Senior Contributor II

Hi Shaun

 

I tried it, but the result is same. 

I very sure uart connection is ok, because it can work when we use other UART BT module 

 

root@imx8ulprom2620a1:~# hciattach /dev/ttyLP0 any 3000000 flow
Setting TTY to N_HCI line discipline
Device setup complete
[ 72.191378] Bluetooth: hci0: Frame reassembly failed (-84)
root@imx8ulprom2620a1:~# [ 74.219882] Bluetooth: hci0: command 0x1003 tx timeout
[ 74.236001] Bluetooth: hci0: Frame reassembly failed (-84)
[ 76.248619] Bluetooth: hci0: command 0x1001 tx timeout
[ 76.264717] Bluetooth: hci0: Frame reassembly failed (-84)
[ 78.277703] Bluetooth: hci0: command 0x1009 tx timeout

0 Kudos
Reply

2,378 Views
charleshuang
Senior Contributor II

Hi Shaun,

Any update for this 88w8997 issue ?

 

BR.

0 Kudos
Reply

2,309 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @charleshuang 

 

Sorry for late reply, didn't see you update. I tesdted today, 5.15.32 do have this issue. I'm working on solve this problem. Will update you later. Thanks!

 

Best Regards,

Shaun

0 Kudos
Reply

2,305 Views
shaun_wu
NXP TechSupport
NXP TechSupport

 

I can only reproduce your issue once, after reboot, everything is good. I tried many times, result is the same. please see my result below, you may reboot device and try again.

shaun_wu_0-1703498283911.png

 

Best Regards

Shaun

0 Kudos
Reply

2,278 Views
charleshuang
Senior Contributor II

Hi Shaun,

It's strange. Reboot is no use for me.

Maybe it is cause of different firmware ? 

Our module is SDIO/UART interface and you test by PCIE/UART module, right ?

0 Kudos
Reply

2,225 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @charleshuang 

 

Sorry for late reply, I don't have a 8997 sdio board on my hand. So, it wastes some time to find one to test.

 

It works well on my side. Please check my result here:

shaun_wu_0-1703834720503.png

shaun_wu_1-1703834756434.png

 

Best Regards

Shaun

0 Kudos
Reply