From 4dd626c9eee962c3f86fee9e7e62b2161bca7dc6 Mon Sep 17 00:00:00 2001 From: Phong Tran Date: Tue, 27 Mar 2018 05:57:38 +0700 Subject: Add hci uart ko cfg for rpi3 on board bluetooth Enable HCI UART for fixing current lacking of hci-uart.ko which made brcm43438.service fails to start. Change-Id: I0905820daa4bc1b36f2677f2f685f17a71fe11e6 Signed-off-by: Phong Tran --- .../linux/linux-raspberrypi/raspberrypi-hciuart.cfg | 12 ++++++++++++ .../recipes-kernel/linux/linux-raspberrypi_%.bbappend | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-hciuart.cfg diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-hciuart.cfg b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-hciuart.cfg new file mode 100644 index 000000000..eac59dbdf --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-hciuart.cfg @@ -0,0 +1,12 @@ +CONFIG_BT_HCIUART=m +CONFIG_BT_HCIUART_H4=y +# CONFIG_BT_HCIUART_BCSP is not set +# CONFIG_BT_HCIUART_ATH3K is not set +# CONFIG_BT_HCIUART_LL is not set +CONFIG_BT_HCIUART_3WIRE=y +# CONFIG_BT_HCIUART_INTEL is not set +CONFIG_BT_HCIUART_BCM=y +# CONFIG_BT_HCIUART_QCA is not set +# CONFIG_BT_HCIUART_AG6XX is not set +# CONFIG_BT_HCIUART_MRVL is not set +# CONFIG_BT_HCIBPA10X is not set diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend index d9f843e9c..855a86257 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -28,3 +28,7 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/joystick.cfg" # Enable support for Pi foundation touchscreen SRC_URI_append = " file://raspberrypi-panel.cfg" KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-panel.cfg" + +# Enable bt hci uart +SRC_URI_append = " file://raspberrypi-hciuart.cfg" +KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-hciuart.cfg" -- cgit 1.2.3-korg