Ensure the rpi kernel includes the ethernet driver by default 20/21420/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Fri, 24 May 2019 15:53:19 +0000 (17:53 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 24 May 2019 15:55:35 +0000 (15:55 +0000)
This is required (not only) for CI use.

Bug-AGL: SPEC-2456

Change-Id: Ic00ff4945b71fa9cb2bced56ae08e04064a2cb4c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/raspberrypi-eth-builtin.cfg [new file with mode: 0644]
meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend

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 (file)
index 0000000..430d320
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_SMSC95XX=y
+CONFIG_USB_NET_SMSC75XX=y
index 855a862..dc2383b 100644 (file)
@@ -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"