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,
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.
Hi, @weidong_sun ,
Thanks for update.
I already posted new question in details.
I am waiting update on same.
Thanks,
Amul Patel
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?
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
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.
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