meta-intel: Support the upsquare board 93/20993/5
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 12 Apr 2019 13:11:44 +0000 (13:11 +0000)
committerCorentin Labbe <clabbe@baylibre.com>
Mon, 15 Apr 2019 08:33:42 +0000 (08:33 +0000)
This patch adds the necessary CONFIG for booting the upsquare board.

The upsquare have an R8169 ethernet card and need it built-in for
the kernel DHCP autoconf to work.

The upsquare need some MFD_INTEL configs to boot.

The meta-intel miss some CONFIG necessary for LAVA and NBD to works.

Bug-AGL: SPEC-2075

Change-Id: I990732c78b53ac591dde83f4e372b420ea558fa7
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
meta-agl-bsp/meta-intel/recipes-kernel/linux/files/lava.cfg [new file with mode: 0644]
meta-agl-bsp/meta-intel/recipes-kernel/linux/files/net-devices.cfg
meta-agl-bsp/meta-intel/recipes-kernel/linux/files/upsquare.cfg [new file with mode: 0644]
meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-intel_4.14%.bbappend

diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/lava.cfg b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/lava.cfg
new file mode 100644 (file)
index 0000000..4dcf403
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_NBD=y
+CONFIG_BLK_DEV_INITRD=y
diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/upsquare.cfg b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/upsquare.cfg
new file mode 100644 (file)
index 0000000..7be178b
--- /dev/null
@@ -0,0 +1,4 @@
+CONFIG_MFD_CORE=y
+CONFIG_MFD_INTEL_LPSS=y
+CONFIG_MFD_INTEL_LPSS_ACPI=y
+CONFIG_MFD_INTEL_LPSS_PCI=y
index 62c264d..e159747 100644 (file)
@@ -12,6 +12,14 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/extra-graphic-devices.cfg"
 SRC_URI_append = " file://net-devices.cfg"
 KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/net-devices.cfg"
 
+# adding specific driver needed by the upsquare board
+SRC_URI_append = " file://upsquare.cfg"
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/upsquare.cfg"
+
+# adding CONFIG needed by LAVA and NBD
+SRC_URI_append = " file://lava.cfg"
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/lava.cfg"
+
 # Ensure we have a startup.nsh file
 SRC_URI_append = " file://startup.nsh"