IMX6qp wifi(wl18xx) porting on linux4.9, android8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6qp wifi(wl18xx) porting on linux4.9, android8

896 次查看
wasim_nazir
Contributor II

Hi,

I am getting issue to connect Bluetooth on imx6qp, with kernel version 4.9 and Android version 8

I am getting two problems:

1) Setting gpio line for BT_EN

-> In this case I am always getting gpio number as 93. I am setting the correct value from device tree but still it is taking 93 only. What is the sequence for this?

2) In "Shared Transport" protocol registration (while trying to open BT interface). st_register is failing with error number as 22.

Wifi is working fine.

My Kernel configs are

CONFIG_WLAN=y
CONFIG_TI_ST=y
CONFIG_ST_HCI=y
CONFIG_WL_TI=y
CONFIG_WL12XX=y
CONFIG_WL18XX=y
CONFIG_WLCORE_SDIO=y
CONFIG_WILINK_PLATFORM_DATA=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_AES=y
CONFIG_AVERAGE=y

CONFIG_BT=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_WILINK=y
CONFIG_CFG80211=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y
CONFIG_MAC80211_DEBUGFS=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_GPIO=y

CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_SC16IS7XX=y
CONFIG_SERIAL_SC16IS7XX_SPI=y

CONFIG_OF=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_OVERLAY=y
CONFIG_PROC_DEVICETREE=y

DTS & PIN configs are being verified.

Is there anything to do with firmware loading sequence or Is there anything I am missing. Note that I am using all drivers as built-in.

Below is the boot-logs I have attached. We can see inside the two error I have mentioned:

1) (stk) :rc = 0, nshutdown_gpio = 93

2) st_register get failed.

Please help me to resolve this issue. Any reference will be helpful. 

Thanks in advance

0 项奖励
2 回复数

698 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Hello Wasim Nazir,

NXP offer,   Our Professional Services, to help our customers in the migration and developing of drivers in Linux/Android for the i.MX devices you can see more details in the following web page:

NXP Professional Services|NXP 


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

698 次查看
wasim_nazir
Contributor II

Hi Jamesbone,

Is there any other way you can help me with this issue.

Thanks

0 项奖励