IMX8mm Android10 Support SD8997 WIFI/BT

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

IMX8mm Android10 Support SD8997 WIFI/BT

908 Views
daifengchao
Contributor I

 The imx8mm platform supports the SD8997 module. The sdio interface wifi function is ok, but the BT function cannot work and the BT cannot be opened.

Logcat sees the following error message:

01-17 01:17:36.967 481 481 D BluetoothManagerService: Bluetooth Adapter name changed to iMX8
01-17 01:17:36.967 481 481 D BluetoothManagerService: Stored Bluetooth name: iMX8
01-17 01:17:36.969 2125 2125 I BluetoothAdapterService: Phone policy enabled
01-17 01:17:36.974 2125 2125 D BluetoothActiveDeviceManager: start()
01-17 01:17:36.978 2125 2154 D BluetoothActiveDeviceManager: onAudioDevicesAdded
01-17 01:17:36.984 2125 2125 D BluetoothDatabase: start()
01-17 01:17:36.986 2125 2125 D BluetoothDatabase: Load Database
01-17 01:17:36.987 2125 2125 D BluetoothAdapterService: setAdapterService() - trying to set service to com.android.bluetooth.btservice.AdapterService@f702113
01-17 01:17:36.992 2125 2125 D BluetoothAdapterService: onBind()
01-17 01:17:36.994 481 481 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
01-17 01:17:36.994 481 502 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
01-17 01:17:36.995 481 502 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 5 receivers.
01-17 01:17:36.995 481 502 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@8c72e74
01-17 01:17:36.996 633 944 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@120ea1a
01-17 01:17:36.996 755 779 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@d74ce15
01-17 01:17:36.996 726 2085 D BluetoothAdapter: onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@a8f8460
01-17 01:17:36.998 2125 2144 D BluetoothAdapter: onBluetoothServiceUp: com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder@fae5e5f
01-17 01:17:36.998 2125 2143 D BluetoothAdapterService: enable() - Enable called with quiet mode status = false
01-17 01:17:36.998 2125 2146 I AdapterState: BLE_TURNING_ON : entered
01-17 01:17:36.998 2125 2146 D AdapterProperties: Setting state to BLE_TURNING_ON
01-17 01:17:36.998 481 502 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
01-17 01:17:36.999 2125 2146 D BluetoothAdapterService: updateAdapterState() - Broadcasting state BLE_TURNING_ON to 1 receivers.
01-17 01:17:37.001 481 502 D BluetoothManagerService: Stored Bluetooth name: iMX8
01-17 01:17:37.001 481 502 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
01-17 01:17:37.001 481 502 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
01-17 01:17:37.008 2125 2146 D BluetoothAdapterService: bleOnProcessStart()
01-17 01:17:37.009 2125 2146 I AdapterProperties: init(), maxConnectedAudioDevices, default=5, propertyOverlayed=5, finalValue=5
01-17 01:17:37.011 2125 2146 D BluetoothAdapterService: bleOnProcessStart() - Make Bond State Machine
01-17 01:17:37.011 2125 2146 D BluetoothBondStateMachine: make
01-17 01:17:37.013 2125 2161 I BluetoothBondStateMachine: StableState(): Entering Off State
01-17 01:17:37.017 2125 2156 I BluetoothDatabase: cacheMetadata
01-17 01:17:37.017 2125 2125 I BtGatt.JNI: classInitNative(L876): classInitNative: Success!
01-17 01:17:37.019 2125 2125 D BtGatt.DebugUtils: handleDebugAction() action=null
01-17 01:17:37.019 2125 2125 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@f702113
01-17 01:17:37.021 2125 2125 I bt_btif : get_profile_interface: id = gatt
01-17 01:17:37.021 2125 2125 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@f702113
01-17 01:17:37.049 2125 2125 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@f702113
01-17 01:17:37.050 2125 2147 I bt_stack_manager: event_start_up_stack is bringing up the stack
01-17 01:17:37.051 2125 2147 I bt_core_module: module_start_up Starting module "btif_config_module"
01-17 01:17:37.051 2125 2147 I bt_core_module: module_start_up Started module "btif_config_module"
01-17 01:17:37.051 2125 2147 I bt_core_module: module_start_up Starting module "btsnoop_module"
01-17 01:17:37.051 2125 2147 I : [0117/011737.051219:INFO:btsnoop.cc(207)] start_up: Snoop Logs disabled
01-17 01:17:37.051 2125 2147 I : [0117/011737.051289:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 1
01-17 01:17:37.051 2125 2147 I : [0117/011737.051424:INFO:btsnoop.cc(338)] delete_btsnoop_files: Deleting snoop logs if they exist. filtered = 0
01-17 01:17:37.051 2125 2147 I bt_core_module: module_start_up Started module "btsnoop_module"
01-17 01:17:37.051 2125 2147 I bt_core_module: module_start_up Starting module "hci_module"
01-17 01:17:37.051 2125 2147 I bt_hci : hci_module_start_up
01-17 01:17:37.052 2125 2165 I : [0117/011737.051913:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_hci_thread
01-17 01:17:37.052 2125 2147 D bt_hci : hci_module_start_up starting async portion
01-17 01:17:37.052 2125 2165 I bt_hci : hci_initialize
01-17 01:17:37.054 2125 2165 I bt_hci : hci_initialize: IBluetoothHci::getService() returned 0xf46aea28adc0 (remote)
01-17 01:17:37.054 2095 2096 I android.hardware.bluetooth@1.0-impl: BluetoothHci::initialize()
01-17 01:17:37.061 2095 2096 I bt-vnd-nxp: bt_vnd_init
01-17 01:17:37.061 2095 2096 D bt-vnd-nxp: bt_vnd_init(L834): bt_vnd_init --- BT Vendor HAL Ver: 008.002 ---
01-17 01:17:37.061 2095 2096 D bt-vnd-nxp: bt_vnd_init(L840): bdaddr is 1B:37:81:AA:C6:53
01-17 01:17:37.061 2095 2096 I bt-vnd-nxp: Attempt to load conf from /vendor/etc/bluetooth/bt_vendor.conf
01-17 01:17:37.062 2095 2096 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L851): opcode = 0
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L863): power on --------------------------------------
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L851): opcode = 3
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L877): open serial port --------------------------------------
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L885): baudrate_bt 3000000
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: bt_vnd_op(L886): baudrate_fw_init 115200
01-17 01:17:37.062 2095 2096 D bt-vnd-nxp: get_prop_int32(L470): get_prop_int32: 0
01-17 01:17:37.063 2095 2096 D bt-vnd-nxp: bt_vnd_op(L932): open uart port successfully, fd=6, mchar_port=/dev/ttyUSB0
01-17 01:17:37.063 2095 2096 D bt-vnd-nxp: get_prop_int32(L470): get_prop_int32: 0
01-17 01:17:37.064 2095 2096 D bt-vnd-nxp: config_uart(L749): start send bt hci reset
01-17 01:17:37.064 2095 2096 D bt-vnd-nxp: config_uart(L752): Write HCI Reset command
01-17 01:17:37.064 2095 2096 D bt-vnd-nxp: read_hci_event(L406): start read hci event 0x4
01-17 01:17:37.064 2095 2096 D bt-vnd-nxp: read_hci_event(L410): read hci event 0x04 failed, retry
01-17 01:17:37.969 2095 2096 I chatty : uid=1002(bluetooth) HwBinder:2095_1 identical 18 lines
01-17 01:17:38.020 2095 2096 D bt-vnd-nxp: read_hci_event(L410): read hci event 0x04 failed, retry
01-17 01:17:38.070 2095 2096 D bt-vnd-nxp: read_hci_event(L418): read hci event 0x04 failed, return error. k = 20
01-17 01:17:38.070 2095 2096 D bt-vnd-nxp: config_uart(L760): Failed to read HCI RESET CMD response!
01-17 01:17:38.070 2095 2096 E bt-vnd-nxp: config_uart failed
01-17 01:17:38.072 2095 2096 E android.hardware.bluetooth@1.0-impl: Open: fd_count -1 is invalid!
01-17 01:17:38.093 2125 2165 F : [0117/011738.072903:FATAL:hci_layer_android.cc(88)] Check failed: status == Status::SUCCESS.
01-17 01:17:38.093 2125 2165 F : #00 0x0000f46aea7bfa0b /system/lib64/libchrome.so+0x00000000000b8a0b
01-17 01:17:38.093 2125 2165 F : #01 0x0000f46a8f8747c7 /system/lib64/libbluetooth.so+0x00000000002237c7
01-17 01:17:38.093 2125 2165 F : #02 0x0000f46ae5fdbdcb /system/lib64/android.hardware.bluetooth@1.0.so+0x000000000001bdcb
01-17 01:17:38.093 2125 2165 F : #03 0x0000f46ae5fdcbb7 /system/lib64/android.hardware.bluetooth@1.0.so+0x000000000001cbb7
01-17 01:17:38.093 2125 2165 F : #04 0x0000f46afa519607 /system/lib64/libhidlbase.so+0x0000000000096607
01-17 01:17:38.093 2125 2165 F : #05 0x0000f46afa51ef4f /system/lib64/libhidlbase.so+0x000000000009bf4f
01-17 01:17:38.093 2125 2165 F : #06 0x0000f46afa51a02b /system/lib64/libhidlbase.so+0x000000000009702b
01-17 01:17:38.093 2125 2165 F : #07 0x0000f46ae5fd03a3 /system/lib64/android.hardware.bluetooth@1.0.so+0x00000000000103a3
01-17 01:17:38.093 2125 2165 F : #08 0x0000f46a8f8742cb /system/lib64/libbluetooth.so+0x00000000002232cb
01-17 01:17:38.093 2125 2165 F : #09 0x0000f46aea7a78a3 /system/lib64/libchrome.so+0x00000000000a08a3
01-17 01:17:38.093 2125 2165 F : #10 0x0000f46aea7c749f /system/lib64/libchrome.so+0x00000000000c049f
01-17 01:17:38.093 2125 2165 F : #11 0x0000f46aea7c785b /system/lib64/libchrome.so+0x00000000000c085b
01-17 01:17:38.093 2125 2165 F : #12 0x0000f46aea7c9063 /system/lib64/libchrome.so[ 478.354224] type=1400 audit(1673917881.828:189): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tm1
+0x00000000000c2063
01-17 01:17:[ 478.354805] audit: audit_lost=32 audit_rate_limit=5 audit_backlog_limit=64
38.093 2125 2165 F : #1[ 478.381104] type=1400 audit(1673918258.260:191): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:h1
[ 478.390790] audit: rate limit exceeded
3 0x0000f46aea7eb32f /system/lib6[ 478.421918] type=1400 audit(1673918258.260:191): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:h1
[ 478.448825] type=1400 audit(1673918258.260:192): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass1
[ 478.473570] type=1400 audit(1673918258.260:192): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass1
4/libchrome.so+0x00000000000e432f[ 478.498231] type=1400 audit(1673918258.260:193): avc: denied { map } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hw1
[ 478.525351] type=1400 audit(1673918258.260:193): avc: denied { map } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=fil1

01-17 01:17:38.093 2125 2165 [ 478.549553] type=1400 audit(1673918258.260:194): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=1688 scontext=u:r:crash_dump:s0 tcontext=u:object1
F : #14 0x0000f46a8f7c0d3f /system/lib64/libbluetooth.so+0x000000000016fd3f
01-17 01:17:38.093 2125 2165 F : #15 0x0000f46a8f7c0883 /system/lib64/libbluetooth.so+0x000000000016f883
01-17 01:17:38.093 2125 2165 F : #16 0x0000f46a8f7c1247 /system/lib64/libbluetooth.so+0x0000000000170247
01-17 01:17:38.093 2125 2165 F : #17 0x0000f46af7b0c30f /apex/com.android.runtime/lib64/bionic/libc.so+0x00000000000e230f
01-17 01:17:38.093 2125 2165 F : #18 0x0000f46af7aadd9b /apex/com.android.runtime/lib64/bionic/libc.so+0x0000000000083d9b
01-17 01:17:38.093 2125 2165 F : #19 0xffffffffffffffff <unknown>
01-17 01:17:38.093 2125 2165 F :
--------- beginning of crash
01-17 01:17:38.094 2125 2165 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 2165 (bt_hci_thread), pid 2125 (droid.bluetooth)
01-17 01:17:38.154 2170 2170 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-17 01:17:38.163 379 379 I /system/bin/tombstoned: received crash request for pid 2165
01-17 01:17:38.164 2170 2170 I crash_dump64: performing dump of process 2125 (target tid = 2165)
01-17 01:17:38.176 2170 2170 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 01:17:38.177 2170 2170 F DEBUG : Build fingerprint: 'Android/tpc_1xx/tpc_1xx:10/QQ3A.200805.001/eng.root.20230110.193502:userdebug/dev-keys'
01-17 01:17:38.177 2170 2170 F DEBUG : Revision: '0'
01-17 01:17:38.177 2170 2170 F DEBUG : ABI: 'arm64'
01-17 01:17:38.177 2170 2170 F DEBUG : Timestamp: 2023-01-17 01:17:38+0000
01-17 01:17:38.177 2170 2170 F DEBUG : pid: 2125, tid: 2165, name: bt_hci_thread >>> com.android.bluetooth <<<
01-17 01:17:38.177 2170 2170 F DEBUG : uid: 1002
01-17 01:17:38.177 2170 2170 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-17 01:17:38.177 2170 2170 F DEBUG : Abort message: '[0117/011738.072903:FATAL:hci_layer_android.cc(88)] Check failed: status == Status::SUCCESS.
01-17 01:17:38.177 2170 2170 F DEBUG : #00 0x0000f46aea7bfa0b /system/lib64/libchrome.so+0x00000000000b8a0b
01-17 01:17:38.177 2170 2170 F DEBUG : #01 0x0000f46a8f8747c7 /system/lib64/libbluetooth.so+0x00000000002237c7
01-17 01:17:38.177 2170 2170 F DEBUG : #02 0x0000f46ae5fdbdcb /system/lib64/android.hardware.bluetooth@1.0.so+0x000000000001bdcb
01-17 01:17:38.177 2170 2170 F DEBUG : #03 0x0000f46ae5fdcbb7 /system/lib64/android.hardware.bluetooth@1.0.so+0x000000000001cbb7
01-17 01:17:38.177 2170 2170 F DEBUG : #04 0x0000f46afa519607 /system/lib64/libhidlbase.so+0x0000000000096607
01-17 01:17:38.177 2170 2170 F DEBUG : #05 0x0000f46afa51ef4f /system/lib64/libhidlbase.so+0x000000000009bf4f
01-17 01:17:38.177 2170 2170 F DEBUG : #06 0x0000f46afa51a02b /system/lib64/libhidlbase.so+0x000000000009702b
01-17 01:17:38.177 2170 2170 F DEBUG : #07 0x0000f46ae5fd03a3 /system/lib64/android.hardware.bluetooth@1.0.so+0x00000000000103a3
01-17 01:17:38.177 2170 2170 F DEBUG : #08 0x0000f46a8f8742cb /system/lib64/libbluetooth.so+0x00000000002232cb
01-17 01:17:38.177 2170 2170 F DEBUG : #09 0x0000f46aea7a78a3 /system/lib64/libchrome.so+0x00000000000a08a3
01-17 01:17:38.177 2170 2170 F DEBUG : #10 0x0000f46aea7c749f /system/lib64/libchrome.so+0x00000000000c049f
01-17 01:17:38.177 2170 2170 F DEBUG : #11 0x0000f46aea7c785b /system/lib64/libchrome.so+0x00000000000c085b
01-17 01:17:38.177 2170 2170 F DEBUG : #12 0x0000f46aea7c9063 /system/lib64/libchrome.so+0x00000000000c2063
01-17 01:17:38.177 2170 2170 F DEBUG : #13 0x0000f46aea7eb32f /system/lib64/libchrome.so+0x00000000000e432f
01-17 01:17:38.177 2170 217[ 478.901060] init: Untracked pid 2170 exited with status 0
0 F DEBUG : #14 0x0000f46a8f7c0[ 478.911355] init: Untracked pid 2172 exited with status 0
d3f /system/lib64/libbluetooth.so+0x000000000016fd3f
01-17 01:17:38.177 2170 2170 F DEBUG : #15 0x0000f46a8f7c0883 /system/lib64/libbluetooth.so+0x00000[ 478.929137] binder: release 2125:2165 transaction 105989 in, still active
0000016f883
01-17 01:17:38.177 [ 478.937954] binder: release 2125:2165 transaction 105694 out, still active
2170 2170 F DEBUG : #16 0x0000[ 478.947689] binder: send failed reply for transaction 105989 to 2095:2096
f46a8f7c1247 /system/lib64/libblu[ 478.957890] binder: 2095:2096 transaction failed 29189/0, size 4-0 line 3057
etooth.so+0x0000000000170247
01-[ 478.967419] binder: send failed reply for transaction 105694, target dead
17 01:17:38.177 2170 2170 F DEBUG : #17 0x0000f46af7b0c30f /apex/com.android.runtime/lib64/bionic/libc.so+0x00000000000e230f
01-17 01:17:38.177 2170 2170 F DEBUG : #18 0x0000f46af7aadd9b /apex/com.android.runtime/lib64/bionic/libc.so+0x0000000000083d9b
01-17 01:17:38.177 2170 2170 F DEBUG : #19 0xffffffffffffffff <unknown>
01-17 01:17:38.177 2170 2170 F DEBUG :
01-17 01:17:38.177 2170 2170 F DEBUG : '
01-17 01:17:38.177 2170 2170 F DEBUG : x0 0000000000000000 x1 0000000000000875 x2 0000000000000006 x3 0000f46a7ecbb760
01-17 01:17:38.177 2170 2170 F DEBUG : x4 f6a685c6fefff369 x5 f6a685c6fefff369 x6 f6a685c6fefff369 x7 ffffffff7f7fff7f
01-17 01:17:38[ 479.036498] init: Untracked pid 2184 exited with status 0
.177 2170 2170 F DEBUG : [ 479.044793] init: Untracked pid 2186 exited with status 0
x8 00000000000000f0 x9 0000f46af7a4e4e0 x10 0000000000000000 x11 0000000000000001
01-17 01:17:38.178 2170 2170 F DEBUG : x12 0000000000000010 x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff
01-17 01:17:38.178 2170 2170 F DEBUG : x16 0000f46af7b1a8c0 x17 0000f46af7af8020 x18 0000f46a7e404028 x19 00000000000000ac
01-17 01:17:38.178 2170 2170 F DEBUG : x20 000000000000084d x21 00000000000000b2 x22 0000000000000875 x23 00000000ffffffff
01-17 01:17:38.178 2170 2170 F DEBUG : x24 0000f46aea832000 x25 0000f46a7ecbb858 x26 0000f46a7ecbd020 x27 0000f46a7ecbb858
01-17 01:17:38.178 2170 2170 F DEBUG : x28 0000f46a7ecbd020 x29 0000f46a7ecbb810
01-17 01:17:38.178 2170 2170 F DEBUG : sp 0000f46a7ecbb740 lr 0000f46af7aac170 pc 0000f46af7aac1a0
01-17 01:17:38.207 2170 2170 F DEBUG :
01-17 01:17:38.207 2170 2170 F DEBUG : backtrace:
01-17 01:17:38.207 2170 2170 F DEBUG : #00 pc 00000000000821a0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 99d256d401014e290f38edaacced78da)
01-17 01:17:38.207 2170 2170 F DEBUG : #01 pc 000000000009f85c /system/lib64/libchrome.so (base::debug::BreakDebugger()+20) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.207 2170 2170 F DEBUG : #02 pc 00000000000b8e5c /system/lib64/libchrome.so (logging::LogMessage::~LogMessage()+1252) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.207 2170 2170 F DEBUG : #03 pc 00000000002237c4 /system/lib64/libbluetooth.so (BluetoothHciCallbacks::initializationComplete(android::hardware::bluetooth::V1_0::Status)+76) (BuildId: bd57266740e6d59ad12f207c1e56f228)
01-17 01:17:38.208 2170 2170 F DEBUG : #04 pc 000000000001bdc8 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::)
01-17 01:17:38.208 2170 2170 F DEBUG : #05 pc 000000000001cbb4 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware)
01-17 01:17:38.208 2170 2170 F DEBUG : #06 pc 0000000000096604 /system/lib64/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (andr)
01-17 01:17:38.208 2170 2170 F DEBUG : #07 pc 000000000009bf4c /system/lib64/libhidlbase.so (android::hardware::IPCThreadState::transact(int, unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int)+1388) (BuildId: 58e)
01-17 01:17:38.208 2170 2170 F DEBUG : #08 pc 0000000000097028 /system/lib64/libhidlbase.so (android::hardware::BpHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (and)
01-17 01:17:38.208 2170 2170 F DEBUG : #09 pc 00000000000103a0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInst)
01-17 01:17:38.208 2170 2170 F DEBUG : #10 pc 00000000002232c8 /system/lib64/libbluetooth.so (hci_initialize()+536) (BuildId: bd57266740e6d59ad12f207c1e56f228)
01-17 01:17:38.208 2170 2170 F DEBUG : #11 pc 00000000000a08a0 /system/lib64/libchrome.so (base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*)+184) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.208 2170 2170 F DEBUG : #12 pc 00000000000c049c /system/lib64/libchrome.so (base::MessageLoop::RunTask(base::PendingTask*)+308) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.208 2170 2170 F DEBUG : #13 pc 00000000000c0858 /system/lib64/libchrome.so (base::MessageLoop::DoWork()+496) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.208 2170 2170 F DEBUG : #14 pc 00000000000c2060 /system/lib64/libchrome.so (base::MessagePumpDefault::Run(base::MessagePump::Delegate*)+184) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.208 2170 2170 F DEBUG : #15 pc 00000000000e432c /system/lib64/libchrome.so (base::RunLoop::Run()+84) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
01-17 01:17:38.208 2170 2170 F DEBUG : #16 pc 000000000016fd3c /system/lib64/libbluetooth.so (bluetooth::common::MessageLoopThread::Run(std::__1::promise<void>)+268) (BuildId: bd57266740e6d59ad12f207c1e56f228)
01-17 01:17:38.208 2170 2170 F DEBUG : #17 pc 000000000016f880 /system/lib64/libbluetooth.so (bluetooth::common::MessageLoopThread::RunThread(bluetooth::common::MessageLoopThread*, std::__1::promise<void>)+48) (BuildId: bd57266740e6d59ad12f207c1e56f22)
01-17 01:17:38.208 2170 2170 F DEBUG : #18 pc 0000000000170244 /system/lib64/libbluetooth.so (_ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEPFvPN9bluetooth6common17MessageLoopThreadENS_7promiseIvE)
01-17 01:17:38.208 2170 2170 F DEBUG : #19 pc 00000000000e230c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 99d256d401014e290f38edaacced78da)
01-17 01:17:38.208 2170 2170 F DEBUG : #20 pc 0000000000083d98 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 99d256d401014e290f38edaacced78da)
01-17 01:17:38.260 2170 2170 I crash_dump64: type=1400 audit(0.0:191): avc: denied { open } for path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=1762 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=f1
01-17 01:17:38.775 379 379 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_18
01-17 01:17:38.782 481 515 I BootReceiver: Copying /data/tombstones/tombstone_18 to DropBox (SYSTEM_TOMBSTONE)
01-17 01:17:38.784 481 515 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
01-17 01:17:38.788 481 2178 I DropBoxManagerService: add tag=system_app_native_crash isTagEnabled=true flags=0x2
01-17 01:17:38.845 296 296 I Zygote : Process 2125 exited due to signal 6 (Aborted)
01-17 01:17:38.869 2095 2095 E android.hardware.bluetooth@1.0-impl: BluetoothDeathRecipient::serviceDied - Bluetooth service died
01-17 01:17:38.869 2095 2095 I android.hardware.bluetooth@1.0-impl: BluetoothHci::close()
01-17 01:17:38.869 2095 2096 E android.hardware.bluetooth@1.0-impl: VendorInterface -> Unable to call initializationComplete(ERR)
01-17 01:17:38.869 2095 2095 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 2095 (bluetooth@1.0-s), pid 2095 (bluetooth@1.0-s)

0 Kudos
4 Replies

824 Views
daifengchao
Contributor I

This question has been stuck for a long time. I look forward to your help and reply. Thank you

0 Kudos

890 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello!

Could you please try with the 12.1.0_1.0.0 BSP?

 

Best regards!

0 Kudos

888 Views
daifengchao
Contributor I

Sorry, android12 should be our later planning. At present, Android 10 is preferred. Other functions of Android 10 are all right. The Bluetooth function of SD8997 module needs to be debugged again.

From the log, we can see that the failure of issuing the HCI RESET CMD command led to the failure of uart config. I suspect that the driver, firmware and hal are incompatible, but we haven't found SD8997 related data to download

We look forward to your suggestions and help. Thank you!

0 Kudos

587 Views
santhana_kumar
Contributor I

Hi,

 

    Are you fixed the issue?

 

Regards,

SanthanaKumarS

0 Kudos