From: Matt Ranostay Date: Tue, 22 Aug 2017 20:18:06 +0000 (+0300) Subject: linux: kernel: add USB serial support and ACM class X-Git-Tag: 4.99.1~44 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F10681%2F2;p=AGL%2Fmeta-agl.git linux: kernel: add USB serial support and ACM class 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 --- 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