From 45974dfa6c7bc30d9ea4a4f067268981783366f2 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 22 Aug 2017 23:18:06 +0300 Subject: linux: kernel: add USB serial support and ACM class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To allow for USB GPS devices the USB serial + ACM class need to be enabled in the kernel. Change-Id: I1b23b7d47bc49a3a61d5df5d964110023f91d481 Bug-AGL: SPEC-831 Signed-off-by: Matt Ranostay Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10681 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Matt Porter Reviewed-by: José Bollo Reviewed-by: Martin Kelly Reviewed-by: Jan-Simon Moeller --- meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend | 1 + meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg (limited to 'meta-agl-bsp/recipes-kernel/linux') diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend b/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend index 7915001f1..f5e01e2f3 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend +++ b/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend @@ -2,4 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux:" # Extra configuration options for the AGL kernel SRC_URI_append = " file://can-bus.cfg \ + file://usb.cfg \ " diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg new file mode 100644 index 000000000..db2efcb7b --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg @@ -0,0 +1,3 @@ +CONFIG_USB_SERIAL=m +CONFIG_USB_SERIAL_GENERIC=y +CONFIG_USB_ACM=m -- cgit 1.2.3-korg