AnsweredAssumed Answered

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

Question asked by wasim nazir on Oct 3, 2018
Latest reply on Oct 7, 2018 by wasim nazir

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

Attachments

Outcomes