aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-intel/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/meta-intel/recipes-kernel')
-rw-r--r--meta-agl-bsp/meta-intel/recipes-kernel/linux-firmware/linux-firmware_git.bbappend23
-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
4 files changed, 41 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-intel/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/meta-agl-bsp/meta-intel/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
new file mode 100644
index 000000000..cd9f33685
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
@@ -0,0 +1,23 @@
+LIC_FILES_CHKSUM_remove = "file://LICENSE.amdgpu;md5=a8592c24c2672062e03c7392fc7fe3bc"
+LIC_FILES_CHKSUM_remove = "file://LICENSE.radeon;md5=6c7f97c6c62bdd9596d0238bb205118c"
+LIC_FILES_CHKSUM_remove = "file://WHENCE;md5=2ec7cdcaf7b1f57b77665b4d77b76e50"
+LIC_FILES_CHKSUM += "\
+ file://LICENSE.amdgpu;md5=3fe8a3430700a518990c3b3d75297209 \
+ file://LICENSE.radeon;md5=69612f4f7b141a97659cb1d609a1bde2 \
+ file://WHENCE;md5=fc7f8a9fce11037078e90df415baad71 \
+"
+
+SRCREV = "cccb6a0da98372bd66787710249727ad6b0aaf72"
+
+LICENSE_${PN}-ibt = "Firmware-ibt_firmware"
+LICENSE_${PN}-ibt-license = "Firmware-ibt_firmware"
+LICENSE_${PN}-ibt-11-5 = "Firmware-ibt_firmware"
+FILES_${PN}-ibt-license = "/lib/firmware/LICENCE.ibt_firmware"
+FILES_${PN}-ibt-11-5 = " \
+ /lib/firmware/intel/ibt-11-5.sfi \
+ /lib/firmware/intel/ibt-11-5.ddc \
+"
+
+#RDEPENDS_${PN}-ibt-11-5 = "${PN}-ibt-license"
+
+PACKAGES =+ " ${PN}-ibt-license ${PN}-ibt ${PN}-ibt-11-5 "
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)}"