IMX8MP Android 11 Bluetooth AW-CM276NF Bring up - Android Bluetooth UI Issue

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

IMX8MP Android 11 Bluetooth AW-CM276NF Bring up - Android Bluetooth UI Issue

1,487 Views
VeeraH
Contributor I

Hi,

We are trying to bring up bluetooth on IMX8MP board over SDIO. We used the firmware - nxp/sdsd8997_combo_v4.bin on 88W8997 NXP WiFi / BT combo module. We got the drivers up and confirmed the same using hciconfig and hcitool utilities as below,

 

  • evk_8mp:/ # hciconfig                                                         
    hci0:   Type: SDIO
            BD Address: 00:E9:3A:9B:09:18 ACL MTU: 1021:7 SCO MTU: 120:6
            UP RUNNING
            RX bytes:7320 acl:0 sco:0 events:111 errors:0
            TX bytes:1251 acl:0 sco:0 commands:85 errors:0
  • evk_8mp:/ # hcitool scan                                                     
    Scanning ...
            9C:74:03:1E:65:8A       OPPO A16k

But we are getting crash dump, when we are trying with android UI bluetooth button and could not scan.

We dig into android source and found that there is only libbt android bluetooth hal layer is available based on UART only. There is no android bluetooth hal layer based on SDIO based bluetooth.

Please share your inputs on the following,

1. Whether any standard libbt is available to use => as we got hci0 created during driver loading

2. Whether any SDIO based libbt is available to use.

Thanks,

Veera.H.

 

0 Kudos
6 Replies

756 Views
amul_patel
Contributor I

Hi, @weidong_sun ,

Thanks for update.

I already posted new question in details.

https://community.nxp.com/t5/i-MX-Solutions/imx8qxp-board-Intel-Wi-Fi-6E-AX210-card-Bluetooth-is-not...

I am waiting update on same.

Thanks,

Amul Patel

0 Kudos

833 Views
amul_patel
Contributor I

I am working on Android 13  imx8qxp board with Intel WiFI 6E Ax210 card which has bluetooth .

I am not able to build and find hcitool,hciconfig command.

Can you help me how i can enable those commands / utility in build?

0 Kudos

771 Views
weidong_sun
NXP TechSupport
NXP TechSupport
Hi @amul_patel,

Please create a new case or post on communitiy for your question! TIC MPU team will help you.

Thanks!
Regards,
weidong
0 Kudos

1,449 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi @VeeraH ,

see below, please!

~/android_11.0.0_2.6.0/hardware/nxp/libbt/conf/nxp/evk_8mp/bt_vendor.conf

----------------------------------------------------------

mchar_port = /dev/ttymxc0
pFileName_helper = /vendor/firmware/mrvl/helper_uart_3000000.bin
pFileName_image = /vendor/firmware/mrvl/uart8997_bt_v4.bin
baudrate_dl_helper = 115200
baudrate_dl_image = 3000000
iSecondBaudrate = 0
baudrate_fw_init = 115200
baudrate_bt = 3000000
enable_download_fw=0

----------------------------------------------------

Modify it like this:

mchar_port = /dev/mbtchar0

if you don't use combo firmware, but uart8997_bt_v4.bin,  

enable_download_fw=1

you had better confirm if the device mbtchar0 has been created in /dev .

 

Regards,

weidong

 

 

0 Kudos

1,131 Views
ducho7783
Contributor III

Hi @weidong_sun 

I'm also facing same issue, I'm using realtek based bluetooth module with my IMX8MP but here I'm using USB based. so could you provide what configuration changes required for usb based bluetooth, it using this configuration for uart now.

mchar_port = /dev/ttymxc0
pFileName_helper = /vendor/firmware/mrvl/helper_uart_3000000.bin
pFileName_image = /vendor/firmware/mrvl/uart8997_bt_v4.bin
baudrate_dl_helper = 115200
baudrate_dl_image = 3000000
iSecondBaudrate = 0
baudrate_fw_init = 115200
baudrate_bt = 3000000
enable_download_fw=0

Thanks.
 

0 Kudos

123 Views
SaiBharat
Contributor I

Hello,

I am also facing issue finding hciconfig and hcitool in imx8mm (Android 11) board and i am trying to integrate a bluetooth module, and as you said in /hardware/broadcom/libbt/conf/fsl/evk_7ulp/bt_vendor.conf file the changes you suggested is for UART interface but I am using USB interface. 

Can you please help me what i have to modify 

Thanks,
Bharat

0 Kudos