NXP MCU 技术william hill官网
直播中

张健

7年用户 1328经验值
私信 关注
[问答]

iMX8QM EVK Android Automotive OS 12蓝牙驱动程序问题如何解决?

我添加了包含在 Android Automotive OS 10(5.4.24) 中并在 Android Automotive OS 12(5.15.32) 中工作的“mx8_bt_rfkill.c”蓝牙驱动程序。
我将驱动程序添加到“android_build/vendor/nxp-opensource/kernel_imx/drivers/bluetooth”目录。我附上的“mx8_bt_rfkill.c”源文件已附上。
以下行已添加到“android_build/vendor/nxp-opensource/kernel_imx/drivers/bluetooth”目录中的 Kconfig 和 Makefile 文件中。

Makefile:
obj-$(CONFIG_MACH_IMX_BLUETOOTH_RFKILL) += mx8_bt_rfkill.oKconfig:
config MACH_IMX_BLUETOOTH_RFKILL
tristate \"i.MX Bluetooth rfkill interface support\"
default y
depends on RFKILL
help
          Say Y to get the standard rfkill interface of Bluetooth
以下节点已添加到位于“android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale”目录中的“imx8qm-mek.dts”文件中。
Device Tree:
bt_rfkill {
compatible = \"fsl,mxc_bt_rfkill\";
bt-power-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>;
status =\"okay\";
};以下参数已添加到位于“android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs”目录中的“imx_v8_android_car_defconfig”文件中。
Defconfig:
CONFIG_MACH_IMX_BLUETOOTH_RFKILL=y虽然我遵循了上面列出的所有步骤,但“mx8_bt_rfkill.c”驱动程序无法像在 Android Automotive OS 10 中那样工作。
此驱动程序与 Android Automotive OS 12(5.15.32) 内核不兼容吗?
你能在这个问题上支持我吗?

更多回帖

发帖
×
20
完善资料,
赚取积分