summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-08-26 12:23:19 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-28 09:58:54 +0000
commit3012c13d038782a25c6bf7951d6ff6c08135d189 (patch)
tree3e5d49a82b8883a549b7836f76ea333b0ffb7c44
parent2730850d61234246b851c0b9c02e2c4c6c700a04 (diff)
meta-agl-bsp: add missing drivers/firmware for Up^2
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>
-rw-r--r--meta-agl-bsp/conf/include/agl_qemux86-64.inc10
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg3
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_qemux86-64.inc b/meta-agl-bsp/conf/include/agl_qemux86-64.inc
index 152dfff4f..3915a5e47 100644
--- a/meta-agl-bsp/conf/include/agl_qemux86-64.inc
+++ b/meta-agl-bsp/conf/include/agl_qemux86-64.inc
@@ -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
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg
index caac6168b..d2bed63fa 100644
--- a/meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/x86-upsquare.cfg
@@ -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