From 5a7790e8b10d6a01fb405f1893167ddec58f5faa Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sat, 19 Dec 2020 18:04:41 -0500 Subject: meta-agl-bsp: enable HCI UART for i.MX8MQ EVK Changes: - Remove explicit "not set" options in btusb.cfg kernel configuration fragment to avoid over-riding BSP configuration. - Add helper script and systemd unit to detect HCI UART device on i.MX8MQ EVK and EVKB and run hciattach as necessary. While logic has been added for the QCA6174 on the i.MX8MQ EVK, note that it has not been tested due to lack of hardware availability to test. Bug-AGL: SPEC-3545, SPEC-3681 Signed-off-by: Scott Murray Change-Id: Iae3a58ccfbdb31698ae012ab7d03c9259ac83013 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25842 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account --- meta-agl-bsp/conf/include/agl_imx8mqevk-common.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-agl-bsp/conf') diff --git a/meta-agl-bsp/conf/include/agl_imx8mqevk-common.inc b/meta-agl-bsp/conf/include/agl_imx8mqevk-common.inc index 50567583c..bc0f76810 100644 --- a/meta-agl-bsp/conf/include/agl_imx8mqevk-common.inc +++ b/meta-agl-bsp/conf/include/agl_imx8mqevk-common.inc @@ -7,6 +7,9 @@ IMX_DEFAULT_KERNEL_imx8mqevk = "linux-fslc-imx" # For EVKB wifi support MACHINE_FEATURES_append = " bcm4356" +# Add helper to drive setting up HCI UART device +MACHINE_EXTRA_RRECOMMENDS_append = " hci-uart-helper" + # Disable meta-freescale package architecure mangling, as it causes # issues with AGL's explicit setting of DEFAULTTUNE. INHERIT_remove = "fsl-dynamic-packagearch" -- cgit 1.2.3-korg