meta-agl-bsp: add missing drivers/firmware for Up^2 54/25154/2
authorScott Murray <scott.murray@konsulko.com>
Wed, 26 Aug 2020 16:23:19 +0000 (12:23 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 28 Aug 2020 09:58:54 +0000 (09:58 +0000)
Add drivers for the Intel mPCIe wireless sold for/with the Up^2 by
upshop.org, and the associated firmware for it and various other
things on the board.

Bug-AGL: SPEC-3549

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I370f993b6c4f23fbc500bb713329c40c7282486a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25154
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/conf/include/agl_qemux86-64.inc
meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg

index 152dfff..3915a5e 100644 (file)
@@ -20,6 +20,16 @@ QB_KERNEL_CMDLINE_APPEND_append = " quiet"
 # Build updatable image. Only takes effect when sota.bbclass is inherited
 DISTRO_FEATURES_append = " sota"
 
+# Add firmware required by Up^2 board and default Intel mPCIe wifi card
+# sold by upshop.org
+MACHINE_EXTRA_RRECOMMENDS_append = " \
+    linux-firmware-i915 \
+    linux-firmware-rtl8168 \
+    linux-firmware-ibt-hw-37-8 \
+    linux-firmware-iwlwifi-7265d \
+    wireless-regdb-static \
+"
+
 # Image support
 # NOTE: wic.{xz,bmap} are here since qemu targets override
 #       AGL_DEFAULT_IMAGE_FSTYPES to not include them, but for Intel
index caac616..d2bed63 100644 (file)
@@ -6,3 +6,6 @@ CONFIG_MFD_CORE=y
 CONFIG_MFD_INTEL_LPSS=y
 CONFIG_MFD_INTEL_LPSS_ACPI=y
 CONFIG_MFD_INTEL_LPSS_PCI=y
+CONFIG_IWLWIFI=m
+CONFIG_IWLMVM=m
+CONFIG_IWLDVM=m