aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-intel/recipes-kernel/linux
diff options
context:
space:
mode:
authorktdinh <kien.t.dinh@intel.com>2016-12-19 23:07:06 +0900
committerKien Dinh <kien.t.dinh@intel.com>2016-12-20 06:59:08 +0900
commitf211f97c3db23b2189dcc22a73783faf2b4f3189 (patch)
treed3b730fcf958db6474312b430d2fb6adfc7994b4 /meta-agl-bsp/meta-intel/recipes-kernel/linux
parent1a70e5e8f48f17f604ab243dfb3ff01f7aa435f6 (diff)
Enabling build for Intel's Joule board
This adds neccessary firmware to support the Joule board, including wifi and bluetooth. Change-Id: Ia6973415113119aaf60fff0dbb494027fba96fd5 Signed-off-by: Kien Dinh <kien.t.dinh@intel.com>
Diffstat (limited to 'meta-agl-bsp/meta-intel/recipes-kernel/linux')
-rw-r--r--meta-agl-bsp/meta-intel/recipes-kernel/linux/files/fix_branch.scc3
-rw-r--r--meta-agl-bsp/meta-intel/recipes-kernel/linux/files/security-tpm.cfg3
-rw-r--r--meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-yocto_4.4%.bbappend13
3 files changed, 18 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/fix_branch.scc b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/fix_branch.scc
new file mode 100644
index 000000000..d94108d9f
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/fix_branch.scc
@@ -0,0 +1,3 @@
+
+branch bxt-rebase
+mark patching start
diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/security-tpm.cfg b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/security-tpm.cfg
new file mode 100644
index 000000000..b66b1b9b1
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-kernel/linux/files/security-tpm.cfg
@@ -0,0 +1,3 @@
+CONFIG_TCG_TPM=y
+CONFIG_TCG_TIS=y
+CONFIG_TCG_CRB=y
diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-yocto_4.4%.bbappend b/meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-yocto_4.4%.bbappend
index 495575b90..e08488532 100644
--- a/meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-yocto_4.4%.bbappend
+++ b/meta-agl-bsp/meta-intel/recipes-kernel/linux/linux-yocto_4.4%.bbappend
@@ -1,5 +1,5 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-#
+
# adding most supported CAN devices
SRC_URI_append = " file://can-bus.cfg"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/can-bus.cfg"
@@ -11,3 +11,14 @@ SRC_URI_append = " file://usb-devices.cfg"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/usb-devices.cfg"
SRC_URI_append = " file://extra-graphic-devices.cfg"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/extra-graphic-devices.cfg"
+
+# Configurations for Joule
+LINUX_VERSION_INTEL_COMMON_forcevariable = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', '4.4.32', '4.4.26', d)}"
+KBRANCH_corei7-64-intel-common_forcevariable = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', 'standard/intel/bxt-rebase;rebaseable=1', 'standard/intel/base', d)}"
+SRCREV_machine_corei7-64-intel-common ?= "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', '14ed59a239de7c119592c29503b82efc56ad0697', '${SRCREV_MACHINE_INTEL_COMMON}', d)}"
+SRCREV_meta_corei7-64-intel-common = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', '24ea5324fc90c7cb15ce1a08cdd294f22c6e6382', '${SRCREV_META_INTEL_COMMON}', d)}"
+
+SRC_URI_prepend_intel-corei7-64 = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', 'file://fix_branch.scc ', '', d)}"
+KERNEL_FEATURES_remove_corei7-64-intel-common = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', 'features/amt/mei/mei.scc', '', d)}"
+KERNEL_FEATURES_append_corei7-64-intel-common = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', ' features/mei/mei-spd.scc', '', d)}"
+SRC_URI_append = "${@bb.utils.contains('INTEL_MACHINE_SUBTYPE', 'broxton-m', ' file://security-tpm.cfg', '', d)}"