From ce795d4dad5246b46f826e38159ea72f1f68e488 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 24 May 2019 17:53:19 +0200 Subject: Ensure the rpi kernel includes the ethernet driver by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required (not only) for CI use. Bug-AGL: SPEC-2456 Change-Id: Ic00ff4945b71fa9cb2bced56ae08e04064a2cb4c Signed-off-by: Jan-Simon Möller --- .../recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg | 3 +++ .../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg new file mode 100644 index 000000000..430d3206a --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg @@ -0,0 +1,3 @@ +CONFIG_USB_USBNET=y +CONFIG_USB_NET_SMSC95XX=y +CONFIG_USB_NET_SMSC75XX=y 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 855a86257..dc2383b89 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 @@ -32,3 +32,6 @@ 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" + +SRC_URI_append = " file://raspberrypi-eth-builtin.cfg" +KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/raspberrypi-eth-builtin.cfg" -- cgit 1.2.3-korg