当前位置: 首页 > news >正文

20251106给荣品RD-RK3588-MID开发板跑Rockchip的原厂Android13系统时适配AP6275P模块的BT【使用荣品的DTS】

20251106给荣品RD-RK3588-MID开发板跑Rockchip的原厂Android13系统时适配AP6275P模块的BT【使用荣品的DTS】


缘起:给荣品RD-RK3588-MID开发板跑Rockchip的原厂Android13系统。
但是WIFI/BT模块的AP6275P的WIFI/BT都不能打开!
一般认为是Rockchip的Android13的mk文件语法识别识别,编译内核的时候没有加载pcie_wifi.config。
结果默认配置成为AP6256了?

WIFI部分适配好了,但是BT蓝牙部分打不开!
将Rockchip的原厂Android13系统SDK和荣品的SDK进行比对,很容易/根据经验/艰难得知UART串口号错了。
EVB1默认是UART8,荣品改为UART9了!


1、
Y:\new_disk_4t\wyb\RD-RK3588\EVB7_RD-RK3588t\device\rockchip\rk3588\rk3588_t\bt_vendor.conf
Y:\new_disk_4t\wyb\RD-RK3588\orig_RD-rk3588_Android13\device\rockchip\rk3588\rk3588_t\bt_vendor.conf

# UART device port where Bluetooth controller is attached
UartPort = /dev/ttyS8

# Firmware patch file location
FwPatchFilePath = /vendor/etc/firmware/

修改为:

# UART device port where Bluetooth controller is attached
UartPort = /dev/ttyS9

# Firmware patch file location
FwPatchFilePath = /vendor/etc/firmware/


2、调试步骤:
直接使用busybox vi修改bt_vendor.conf中的UART串口号。
也是可以接受文件的。
删除out:rm out -rf。
./build.sh -Au


Microsoft Windows [版本 10.0.19045.6216]
(c) Microsoft Corporation。保留所有权利。

C:\Users\QQ>adb root
restarting adbd as root

C:\Users\QQ>adb remount
Using overlayfs for /system
Using overlayfs for /vendor
Using overlayfs for /odm
Using overlayfs for /system_dlkm
Using overlayfs for /system_ext
Using overlayfs for /vendor_dlkm
Using overlayfs for /odm_dlkm
Using overlayfs for /product
Now reboot your device for settings to take effect
remount succeeded

C:\Users\QQ>adb shell


130|rk3588_t:/ # ll
total 88
drwxr-xr-x   2 root   root       4096 2025-11-06 01:39 acct
drwxr-xr-x  27 root   root        560 2021-01-01 12:00 apex
lrw-r--r--   1 root   root         11 2025-11-06 01:39 bin -> /system/bin
lrw-r--r--   1 root   root         50 2025-11-06 01:39 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
drwxrwx---   6 system cache      4096 2021-01-01 12:00 cache
drwxr-xr-x   3 root   root          0 1970-01-01 00:00 config
lrw-r--r--   1 root   root         17 2025-11-06 01:39 d -> /sys/kernel/debug
drwxrwx--x  50 system system     4096 2025-11-06 01:39 data
drwx------   8 root   system      160 2021-01-01 12:00 data_mirror
drwxr-xr-x   2 root   root       4096 2025-11-06 01:39 debug_ramdisk
drwxr-xr-x  26 root   root       3500 2025-11-06 01:39 dev
lrw-r--r--   1 root   root         11 2025-11-06 01:39 etc -> /system/etc
lrwxr-x---   1 root   shell        16 2025-11-06 01:39 init -> /system/bin/init
-rwxr-x---   1 root   shell       463 2025-11-06 01:39 init.environ.rc
drwxr-xr-x  11 root   root        260 2021-01-01 12:00 linkerconfig
drwx------   2 root   root      16384 2025-11-06 01:39 lost+found
drwxr-xr-x  13 root   root       4096 2021-01-01 12:00 metadata
drwxr-xr-x  16 root   system      340 2021-01-01 12:00 mnt
drwxr-xr-x   5 root   root       4096 2025-11-06 01:39 odm
drwxr-xr-x   4 root   root       4096 2025-11-06 01:39 odm_dlkm
drwxr-xr-x   2 root   root       4096 2025-11-06 01:39 oem
drwxr-xr-x   2 root   root       4096 2025-11-06 01:39 postinstall
dr-xr-xr-x 409 root   root          0 2021-01-01 12:00 proc
drwxr-xr-x   9 root   root       4096 2025-11-06 01:39 product
lrw-r--r--   1 root   root         21 2025-11-06 01:39 sdcard -> /storage/self/primary
drwxr-xr-x   2 root   root       4096 2025-11-06 01:39 second_stage_resources
drwx--x---   4 shell  everybody    80 2021-01-01 12:00 storage
dr-xr-xr-x  15 root   root          0 2021-01-01 12:00 sys
drwxr-xr-x  13 root   root       4096 2025-11-06 01:39 system
drwxr-xr-x   4 root   root       4096 2025-11-06 01:39 system_dlkm
drwxr-xr-x   9 root   root       4096 2025-11-06 01:39 system_ext
drwxr-xr-x  10 root   root       4096 2025-11-06 01:39 vendor
drwxr-xr-x   5 root   root       4096 2025-11-06 01:39 vendor_dlkm
rk3588_t:/ # cd ven
vendor/       vendor_dlkm/
rk3588_t:/ # cd vendor
rk3588_t:/vendor # ll
total 60
drwxr-xr-x  3 root shell  4096 2025-11-06 01:39 app
drwxr-x--x  3 root shell  4096 2025-11-06 01:39 bin
-rw-------  1 root root   5266 2025-11-06 01:39 build.prop
drwxr-xr-x 13 root shell  4096 2025-11-06 01:39 etc
drwxr-xr-x  2 root shell  4096 2025-11-06 01:39 firmware
drwxr-xr-x  8 root shell  8192 2025-11-06 01:39 lib
drwxr-xr-x  7 root shell  8192 2025-11-06 01:39 lib64
drwx------  2 root root  16384 2025-11-06 01:39 lost+found
lrw-r--r--  1 root root      4 2025-11-06 01:39 odm -> /odm
drwxr-xr-x  2 root shell  4096 2025-11-06 01:39 overlay
rk3588_t:/vendor # find . -name bt_vendor.conf
./etc/bluetooth/bt_vendor.conf
rk3588_t:/vendor # cd etc/blu
bluetooth/                                          bluetooth_audio_policy_configuration_7_0.xml
rk3588_t:/vendor # cd etc/bluetooth/bt_vendor.conf
/system/bin/sh: cd: /vendor/etc/bluetooth/bt_vendor.conf: Not a directory
2|rk3588_t:/vendor # cat etc/blu
bluetooth/                                          bluetooth_audio_policy_configuration_7_0.xml
2|rk3588_t:/vendor # cat etc/bluetooth/bt_vendor.conf
# UART device port where Bluetooth controller is attached
UartPort = /dev/ttyS8

# Firmware patch file location
FwPatchFilePath = /vendor/etc/firmware/
rk3588_t:/vendor #
rk3588_t:/vendor # cd etc/blu
bluetooth/                                          bluetooth_audio_policy_configuration_7_0.xml
rk3588_t:/vendor # cd etc/bluetooth/
rk3588_t:/vendor/etc/bluetooth #
rk3588_t:/vendor/etc/bluetooth # ll
total 8
-rw-r--r-- 1 root root 152 2025-11-06 01:39 bt_vendor.conf
-rw-r--r-- 1 root root 744 2025-11-06 01:39 rtkbt.conf
rk3588_t:/vendor/etc/bluetooth #
rk3588_t:/vendor/etc/bluetooth #
C:\Users\QQ>adb shell
rk3588_t:/ #
rk3588_t:/ # cd ve
vendor/       vendor_dlkm/
rk3588_t:/ # cd vendor/etc/blu
bluetooth/                                          bluetooth_audio_policy_configuration_7_0.xml
rk3588_t:/ # cd vendor/etc/bluetooth
rk3588_t:/vendor/etc/bluetooth # ll
total 8
-rw-r--r-- 1 root root 152 2025-11-06 01:39 bt_vendor.conf
-rw-r--r-- 1 root root 744 2025-11-06 01:39 rtkbt.conf
rk3588_t:/vendor/etc/bluetooth #
rk3588_t:/vendor/etc/bluetooth # chmod 777 bt_vendor.conf
rk3588_t:/vendor/etc/bluetooth # busybox vi bt_vendor.conf ^C
130|rk3588_t:/vendor/etc/bluetooth # ll
total 4
-rwxrwxrwx 1 root root 152 2025-11-06 01:39 bt_vendor.conf
-rw-r--r-- 1 root root 744 2025-11-06 01:39 rtkbt.conf
rk3588_t:/vendor/etc/bluetooth #
rk3588_t:/vendor/etc/bluetooth #
rk3588_t:/vendor/etc/bluetooth # busybox bt_vendor.conf
bt_vendor.conf: applet not found
1|rk3588_t:/vendor/etc/bluetooth # busybox vi bt_vendor.conf
rk3588_t:/vendor/etc/bluetooth # cat bt_vendor.conf
# UART device port where Bluetooth controller is attached
UartPort = /dev/ttyS9

# Firmware patch file location
FwPatchFilePath = /vendor/etc/firmware/

rk3588_t:/vendor/etc/bluetooth # sync
rk3588_t:/vendor/etc/bluetooth # sync
rk3588_t:/vendor/etc/bluetooth #

http://www.dtcms.com/a/581886.html

相关文章:

  • DS ArrayLinkedList、StackQueue、TreeMap、SearchSort
  • 网站建设与管理培训方案做网站可以卖钱吗
  • 太原制作网站的公司网站网站 换图片
  • 渗透测试数据库判断卡壳?分类 + 方法 + SQL/NoSQL 脚本速用
  • 低价网站建设策划内容怎么做公司网站的二维码
  • UniHttp/Jsoup Https SSL证书验证失败:SunCertPathBuilderException解决方案详解
  • Notepad++ 7.8.4 安装步骤详解(附 npp.7.8.4.Installer 安装教程)
  • 柳市网站建设哪家好wordpress七牛图片插件
  • 用 MCP 重构 RAG 智能体:3 步解决数据安全与多工具协同难题
  • QOS服务质量
  • 如何为视频进行外语配音:分步指南
  • 建设部网站投诉核查企业名单网页和网站的概念
  • kanass零基础学习,项目负责人如何使用kanass驾驭项目
  • redis实战篇day04
  • 罗湖网站公司服务器网站管理助手
  • 八股训练营第 10 天 | 进程和线程之间有什么区别?并行和并发有什么区别?解释一下用户态和核心态,什么场景下,会发生内核态和用户态的切换?
  • AIDAv2:重新定义DeFi的AI驱动金融基础设施
  • SAP PP未清生产订单关闭物料退料、新工单发料批量处理
  • 下载软件的网站哪个好用哪个网站做首页好
  • 【零基础一站式指南】Conda 学习环境准备与 Jupyter/PyCharm 完全配置
  • 滨州制作网站深圳优化公司
  • mysql第四次做业
  • clusterProfile包用于宏基因组学富集分析
  • 湖北网站开发培训写一篇软文多少钱
  • python+django/flask基于协同过滤算法的理财产品推荐系统
  • h5个网站的区别某颜值女主播低俗内容流出视频
  • 做网站600房产管理局官网查询入口
  • 品牌网站建设要选磐石网络安阳县
  • 深圳企业网站托管长春专业网站建设模板
  • 陕煤建设集团韩城分公司网站免费的效果图设计软件