Hi NXP team, I have a project using Rockchip rk3399 soc and the BT/wifi module is AW-CM276MA-PUR,
it worked well in Android 12, but after I upgraded to Android 13, the BLE can not working,
when I started the peripheral service, I got so many error messages,
Can you help me troubleshoot this issue? Thanks!
Solved! Go to Solution.
Hi, @JakeLin
Thanks for your feedback.
I compared the HAL you provided to me with our default vendor HAL.
I understand that you just use our default BT vendor HAL on Android 13.0.0_2.2.0, and add the patch.
android-imx_platform_hardware_nxp_libbt-android-13.0.0_2.2.0
https://github.com/nxp-imx-android/android-imx_platform_hardware_nxp_libbt/tree/android-13.0.0_2.2.0
1.Can you please also provide me your dmesg logs with time-synced logcat logs on Android 13?
You can use below command to capture dmesg logs:
dmesg -T -w > dmesg.txt &
2.I saw you used newer driver, please also update FW to Android 13 to match with driver and see whether still have same issue.
https://github.com/nxp-imx/imx-firmware/blob/android-13.0.0_2.0.0/nxp/FwImage_8997/
And if issue is still exist, please help to provide full dmesg logs and time-synced logcat logs.
Best regards,
Christine.
Hi @weidong_sun,
Thank you for your help and sorry for the late reply.
1. RK3399 platform
(1) Kernel version of android 12 & android 13
android 12 : 4.19.232
android 13 : 5.10.157
(2) On these 2 android version, are you using the same 8997 driver & HAL code?
No, the Android 12 driver/HAL code cannot be compiled successfully in Android 13
only the firmware pcieuart8997_combo_v4.bin is the same file.
(3) logs on android 12 platform.
As attachment "android12_cm276.log"
and "android13_cm276.log"
Since it is successful on android 12, logs will be valuable for analysis.
2. 88W8997
(1) Driver version (Android13)
mwifiex-automotive-13.0.0_2.3.0
https://github.com/nxp-imx/mwifiex/tree/automotive-13.0.0_2.3.0/mxm_wifiex/wlan_src
android-imx_platform_hardware_nxp_wlan-android-13.0.0_2.2.0
https://github.com/nxp-imx-android/android-imx_platform_hardware_nxp_wlan/tree/android-13.0.0_2.2.0
android-imx_platform_hardware_nxp_libbt-android-13.0.0_2.2.0
https://github.com/nxp-imx-android/android-imx_platform_hardware_nxp_libbt/tree/android-13.0.0_2.2.0
(2) Firmware you are using is combo or independent?
https://github.com/nxp-imx/imx-firmware/blob/lf-5.10.72_2.2.0/nxp/FwImage_8997/pcieuart8997_combo_v4...
(3) please send HAL of WIFI/BT to me!
As attachment, "rk_android11_cm358_new_patches.zip"
it is the driver and HAL I used in Android 12
If you need any more information, please let me know,
thanks!
BR.
Jake.
edited: reupload android13 log
Hi, @JakeLin
Thanks for providing me the logs.
From your given logs, I saw that:
I suspect there is something wrong in your HAL.
From your feedback that:
(3) please send HAL of WIFI/BT to me!
As attachment, "rk_android11_cm358_new_patches.zip"
it is the driver and HAL I used in Android 12.
==>Can you please share to me your HAL on Android 13?
And also where is from the CM358 patch?
Best regards,
Christine.
hi @Christine_Li ,
Attachment is HAL of Wifi/BT and patch, firmware for Android 13
and the CM358 patch was provided to us by Rockchip FAE.
Best regards,
Jake.
Hi, @JakeLin
Thanks for your feedback.
I compared the HAL you provided to me with our default vendor HAL.
I understand that you just use our default BT vendor HAL on Android 13.0.0_2.2.0, and add the patch.
android-imx_platform_hardware_nxp_libbt-android-13.0.0_2.2.0
https://github.com/nxp-imx-android/android-imx_platform_hardware_nxp_libbt/tree/android-13.0.0_2.2.0
1.Can you please also provide me your dmesg logs with time-synced logcat logs on Android 13?
You can use below command to capture dmesg logs:
dmesg -T -w > dmesg.txt &
2.I saw you used newer driver, please also update FW to Android 13 to match with driver and see whether still have same issue.
https://github.com/nxp-imx/imx-firmware/blob/android-13.0.0_2.0.0/nxp/FwImage_8997/
And if issue is still exist, please help to provide full dmesg logs and time-synced logcat logs.
Best regards,
Christine.
After I updated the firmware you provided, the problem was solved and BLE now works. Thank you very much for your help.
Dear @JakeLin ,
I need the following information from your side, could you please share it with me?
1. RK3399 platform
(1) Kernel version of android 12 & android 13
(2) On these 2 android version, are you using the same 8997 driver & HAL code?
(3) logs on android 12 platform.
Since it is successful on android 12, logs will be valuable for analysis.
2. 88W8997
(1) Driver version
(2) Firmware you are using is combo or independent?
(3) please send HAL of WIFI/BT to me!
Thanks!
Regards,
weidong