Broadcom BT is not working with android 8.0.

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

Broadcom BT is not working with android 8.0.

3,004件の閲覧回数
achyut_hegde
Contributor III

Hi,

I am trying to bring up Broadcom combo BT on IMX8 platform with android 8.0 image provided by NXP.

I have pretty much done all the changes needed to integrate BT with imx8. But still the BT is crashing while coming up.

I am having the HCD file from brcm and I am pushing it to /vendor/firmware/brcm/BCM89359_002.002.014.0120.0186.hcd on android platform. [Not sure if the name and path are correct in this case]. I have attached logcat logs along with this.

3317 --------- beginning of crash 3318 01-17 13:58:25.903  5737  5783 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 5783 (hci_thread), pid 5737 (droid.bluetooth) 3319 01-17 13:58:25.968  5801  5801 I chatty  : uid=1002(bluetooth) crash_dump64 expire 2 lines 3322 01-17 13:58:25.974  5801  5801 F DEBUG   : Build fingerprint: 'Android/evk_8mq/evk_8mq:8.1.0/1.3.0-rfp-rc3/20180406:userdebug/dev-keys' 3327 01-17 13:58:25.979  5801  5801 F DEBUG   : Abort message: '[0117/135825:FATAL:hci_layer_android.cc(78)] Check failed: status == Status::SUCCESS. 
77   Return<void> initializationComplete(Status status) {  78     CHECK(status == Status::SUCCESS);  79     initialization_complete();  80     return Void();  81   } The above function is a call-back function which will be called by Bluetooth HIDL once hardware initialization is done. For the default Bluetooth HIDL codes, ideally there should be more log messages telling us the progress of hardware initialization. But none are seen in this case of crash.
Can you please let me know if I have missed something in the integration part of it. I am able to run other BT provided by Marvell. 
But facing the issue only with the BRCM driver.
Thanks
タグ(2)
0 件の賞賛
返信
2 返答(返信)

2,065件の閲覧回数
achyut_hegde
Contributor III

Igor,

I figured out the problem which I was facing. There was a missing conf file which is needed for the BT to work. I am putting the contents below for future use if anyone needs it.

File: AndroidSrc/hardware/broadcom/libbt/conf/fsl/evk_8mq/bt_vendor.conf

# UART device port where Bluetooth controller is attached

UartPort = /dev/ttyUSB0

 

# Firmware patch file location

FwPatchFilePath = /vendor/firmware/brcm/

 

FwPatchFileName = BCM4349B1.hcd

And add this in the File: AndroidSrc/device/fsl/imx8/evk_8mq.mk

PRODUCT_COPY_FILES += hardware/broadcom/libbt/conf/fsl/evk_8mq/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf

This change worked for me.

0 件の賞賛
返信

2,065件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Achuit

nxp supports qualcomm 1CQ qca6174A in its Android O8 as described in

attached Release Notes, Table 2. Features. Oone can apply to murata support for BCM89359 driver

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html

also may be useful :

Looking for SDK or Linux driver for WiFi + Blue... | Cypress Developer Community 

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

0 件の賞賛
返信