From e226a9f68052035bd2a4330e0ef2feeb467f7fb2 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 25 Aug 2015 14:46:12 -0700 Subject: linux-yocto_4.1: Update to 4.1.6 stable kernel This SRCREV update pulls in the 4.1.6 Stable kernel and adds the coretemp thermal driver to intel-common. It also cleans up the quark BSP and adds the quark specific thermal code. Signed-off-by: Saul Wold --- common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'common') diff --git a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend index 6830e3b9..f248b31d 100644 --- a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend +++ b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend @@ -2,29 +2,29 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" KERNEL_FEATURES_INTEL_COMMON += "features/amt/mei/mei.scc" -LINUX_VERSION_core2-32-intel-common = "4.1.2" +LINUX_VERSION_core2-32-intel-common = "4.1.6" COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}" KMACHINE_core2-32-intel-common = "intel-core2-32" KBRANCH_core2-32-intel-common = "standard/base" -SRCREV_meta_core2-32-intel-common ?= "45393dd54f5ad77d43014c407c2b3520da42f427" -SRCREV_machine_core2-32-intel-common ?= "4e30e64c44df9e59bd13239951bb8d2b5b276e6f" +SRCREV_meta_core2-32-intel-common ?= "429f9e2ff0649b8c9341345622545d874d5e303a" +SRCREV_machine_core2-32-intel-common ?= "59b8c4f5e8ddb9c33c62fff22204fe2b0d8c703e" KERNEL_FEATURES_append_core2-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" -LINUX_VERSION_corei7-64-intel-common = "4.1.2" +LINUX_VERSION_corei7-64-intel-common = "4.1.6" COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}" KMACHINE_corei7-64-intel-common = "intel-corei7-64" KBRANCH_corei7-64-intel-common = "standard/base" -SRCREV_meta_corei7-64-intel-common ?= "45393dd54f5ad77d43014c407c2b3520da42f427" -SRCREV_machine_corei7-64-intel-common ?= "4e30e64c44df9e59bd13239951bb8d2b5b276e6f" +SRCREV_meta_corei7-64-intel-common ?= "429f9e2ff0649b8c9341345622545d874d5e303a" +SRCREV_machine_corei7-64-intel-common ?= "59b8c4f5e8ddb9c33c62fff22204fe2b0d8c703e" KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" # Quark / X1000 BSP Info -LINUX_VERSION_i586-nlp-32-intel-common = "4.1.2" +LINUX_VERSION_i586-nlp-32-intel-common = "4.1.6" COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}" KMACHINE_i586-nlp-32-intel-common = "intel-quark" KBRANCH_i586-nlp-32-intel-common = "standard/base" -SRCREV_meta_i586-nlp-32-intel-common ?= "45393dd54f5ad77d43014c407c2b3520da42f427" -SRCREV_machine_i586-nlp-32-intel-common ?= "4e30e64c44df9e59bd13239951bb8d2b5b276e6f" +SRCREV_meta_i586-nlp-32-intel-common ?= "429f9e2ff0649b8c9341345622545d874d5e303a" +SRCREV_machine_i586-nlp-32-intel-common ?= "59b8c4f5e8ddb9c33c62fff22204fe2b0d8c703e" KERNEL_FEATURES_append_i586-nlp-32-intel-common = "" -- cgit v1.2.3-54-g00ecf From 44df7ddf395f82c28c494b92fb3f627f81e2e627 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 19 Aug 2015 07:33:54 -0700 Subject: linux-yocto-tiny: Add 4.1 bbappend This will enable tiny KTYPE support for the meta-intel core BSPs using the 4.1 kernel, it also adds intel-quark as a Tiny platform. Signed-off-by: Saul Wold --- common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend (limited to 'common') diff --git a/common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend b/common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend new file mode 100644 index 00000000..ce97f1cc --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend @@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +#LINUX_VERSION_i586-nlp-32-intel-common = "4.1.2" +COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}" +SRCREV_meta_i586-nlp-32-intel-common = "429f9e2ff0649b8c9341345622545d874d5e303a" +SRCREV_machine_i586-nlp-32-intel-common = "59b8c4f5e8ddb9c33c62fff22204fe2b0d8c703e" +KBRANCH_i586-nlp-32-intel-common = "standard/tiny/common-pc" +KMACHINE_i586-nlp-32-intel-common = "intel-quark" +KERNEL_FEATURES_append_i586-nlp-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" -- cgit v1.2.3-54-g00ecf From 92705cccb52472f119172557e67c1fd1e39e0d01 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 1 Sep 2015 08:23:45 -0500 Subject: intel-microcode: bump version to 20150121 Bumped version to 20150121. Dropped runtime dependency on iucode-tool which is used to generate the cpio or trim down the data file based on your CPU. While it can also be used to load the microcode that is not the recommended method for Linux 3.9 and newer instead you should use the kernel's built-in early microcode loading facilities. Signed-off-by: Doug Goldstein Signed-off-by: Saul Wold --- .../microcode/intel-microcode_20140624.bb | 67 ---------------------- .../microcode/intel-microcode_20150121.bb | 66 +++++++++++++++++++++ 2 files changed, 66 insertions(+), 67 deletions(-) delete mode 100644 common/recipes-core/microcode/intel-microcode_20140624.bb create mode 100644 common/recipes-core/microcode/intel-microcode_20150121.bb (limited to 'common') diff --git a/common/recipes-core/microcode/intel-microcode_20140624.bb b/common/recipes-core/microcode/intel-microcode_20140624.bb deleted file mode 100644 index b2022500..00000000 --- a/common/recipes-core/microcode/intel-microcode_20140624.bb +++ /dev/null @@ -1,67 +0,0 @@ -SUMMARY = "Intel Processor Microcode Datafile for Linux" -HOMEPAGE = "http://www.intel.com/" -DESCRIPTION = "The microcode data file contains the latest microcode\ - definitions for all Intel processors. Intel releases microcode updates\ - to correct processor behavior as documented in the respective processor\ - specification updates. While the regular approach to getting this microcode\ - update is via a BIOS upgrade, Intel realizes that this can be an\ - administrative hassle. The Linux operating system and VMware ESX\ - products have a mechanism to update the microcode after booting.\ - For example, this file will be used by the operating system mechanism\ - if the file is placed in the /etc/firmware directory of the Linux system." - -LICENSE = "Intel-Microcode-License" -LIC_FILES_CHKSUM = "file://microcode.dat;md5=3c3b208607a00a3d70aad3af5629f7c7" - -SRC_URI = "http://downloadmirror.intel.com/23984/eng/microcode-20140624.tgz" -SRC_URI[md5sum] = "eec20032e6bef99dc4282c0ca317e100" -SRC_URI[sha256sum] = "b4662ac780438a7b2d87e6d26a7066feb807f37c6e5b6fa147089f4edb02ea37" - -RDEPENDS_${PN} = "iucode-tool" -DEPENDS = "iucode-tool-native" -S = "${WORKDIR}" - -COMPATIBLE_HOST = "(i.86|x86_64).*-linux" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit deploy - -# Use any of the iucode_tool parameters to filter specific microcodes from the data file -# For further information, check the iucode-tool's manpage : http://manned.org/iucode-tool -UCODE_FILTER_PARAMETERS ?= "" - -do_compile() { - mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode - ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ - ${UCODE_FILTER_PARAMETERS} \ - --overwrite \ - --write-to=${WORKDIR}/microcode_${PV}.bin \ - ${WORKDIR}/microcode.dat - - ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ - ${UCODE_FILTER_PARAMETERS} \ - --overwrite \ - --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ - ${WORKDIR}/microcode.dat -} - -do_install() { - install -d ${D}${base_libdir}/firmware/intel-ucode/ - install ${WORKDIR}/microcode_${PV}.bin ${D}${base_libdir}/firmware/intel-ucode/ - cd ${D}${base_libdir}/firmware/intel-ucode/ - ln -sf microcode_${PV}.bin microcode.bin -} - -do_deploy() { - install -d ${DEPLOYDIR} - install ${S}/microcode_${PV}.cpio ${DEPLOYDIR}/ - cd ${DEPLOYDIR} - rm -f microcode.cpio - ln -sf microcode_${PV}.cpio microcode.cpio -} - -addtask deploy before do_build after do_compile - -PACKAGES = "${PN}" - -FILES_${PN} = "${base_libdir}" diff --git a/common/recipes-core/microcode/intel-microcode_20150121.bb b/common/recipes-core/microcode/intel-microcode_20150121.bb new file mode 100644 index 00000000..f51af537 --- /dev/null +++ b/common/recipes-core/microcode/intel-microcode_20150121.bb @@ -0,0 +1,66 @@ +SUMMARY = "Intel Processor Microcode Datafile for Linux" +HOMEPAGE = "http://www.intel.com/" +DESCRIPTION = "The microcode data file contains the latest microcode\ + definitions for all Intel processors. Intel releases microcode updates\ + to correct processor behavior as documented in the respective processor\ + specification updates. While the regular approach to getting this microcode\ + update is via a BIOS upgrade, Intel realizes that this can be an\ + administrative hassle. The Linux operating system and VMware ESX\ + products have a mechanism to update the microcode after booting.\ + For example, this file will be used by the operating system mechanism\ + if the file is placed in the /etc/firmware directory of the Linux system." + +LICENSE = "Intel-Microcode-License" +LIC_FILES_CHKSUM = "file://microcode.dat;md5=dfedc580c52db32c762669b7652178b7" + +SRC_URI = "http://downloadmirror.intel.com/24661/eng/microcode-${PV}.tgz" +SRC_URI[md5sum] = "639b7f2af0a822fe006a4fa2ddf8052f" +SRC_URI[sha256sum] = "23353b93bb421971496cea5e9f9d390ce0ed22580a8cc45ae7b3b322dcd8f6b3" + +DEPENDS = "iucode-tool-native" +S = "${WORKDIR}" + +COMPATIBLE_HOST = "(i.86|x86_64).*-linux" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit deploy + +# Use any of the iucode_tool parameters to filter specific microcodes from the data file +# For further information, check the iucode-tool's manpage : http://manned.org/iucode-tool +UCODE_FILTER_PARAMETERS ?= "" + +do_compile() { + mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode + ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ + ${UCODE_FILTER_PARAMETERS} \ + --overwrite \ + --write-to=${WORKDIR}/microcode_${PV}.bin \ + ${WORKDIR}/microcode.dat + + ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ + ${UCODE_FILTER_PARAMETERS} \ + --overwrite \ + --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ + ${WORKDIR}/microcode.dat +} + +do_install() { + install -d ${D}${base_libdir}/firmware/intel-ucode/ + install ${WORKDIR}/microcode_${PV}.bin ${D}${base_libdir}/firmware/intel-ucode/ + cd ${D}${base_libdir}/firmware/intel-ucode/ + ln -sf microcode_${PV}.bin microcode.bin +} + +do_deploy() { + install -d ${DEPLOYDIR} + install ${S}/microcode_${PV}.cpio ${DEPLOYDIR}/ + cd ${DEPLOYDIR} + rm -f microcode.cpio + ln -sf microcode_${PV}.cpio microcode.cpio +} + +addtask deploy before do_build after do_compile + +PACKAGES = "${PN}" + +FILES_${PN} = "${base_libdir}" -- cgit v1.2.3-54-g00ecf From 655127d8cec9801b2fa379588b323ad3705a3119 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 1 Sep 2015 08:23:44 -0500 Subject: iucode-tool: bump version to 1.3 Bump to version 1.3. Upstream has relocated the project to GitLab.com which this takes into account as well. Signed-off-by: Doug Goldstein Signed-off-by: Saul Wold --- common/recipes-core/microcode/iucode-tool_1.0.2.bb | 27 -------------------- common/recipes-core/microcode/iucode-tool_1.3.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 common/recipes-core/microcode/iucode-tool_1.0.2.bb create mode 100644 common/recipes-core/microcode/iucode-tool_1.3.bb (limited to 'common') diff --git a/common/recipes-core/microcode/iucode-tool_1.0.2.bb b/common/recipes-core/microcode/iucode-tool_1.0.2.bb deleted file mode 100644 index 13bc5af1..00000000 --- a/common/recipes-core/microcode/iucode-tool_1.0.2.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Update Intel CPU microcode" - -DESCRIPTION = "iucode_tool is a program to manipulate Intel i686 and X86-64\ - processor microcode update collections, and to use the kernel facilities to\ - update the microcode on Intel system processors. It can load microcode data\ - files in text and binary format, sort, list and filter the microcode updates\ - contained in these files, write selected microcode updates to a new file in\ - binary format, or upload them to the kernel. \ - It operates on microcode data downloaded directly from Intel:\ - http://feeds.downloadcenter.intel.com/rss/?p=2371\ -" -HOMEPAGE = "http://gitorious.org/iucode-tool/" -BUGTRACKER = "https://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=iucode-tool;repeatmerged=0" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ - file://iucode_tool.c;beginline=1;endline=15;md5=94d9128c5b95d5c249197a3854f40003" - -SRC_URI = "git://gitorious.org/iucode-tool/iucode-tool.git" -SRCREV = "0ba2ebe57681435fdd0d8af2675c84783b5fa2aa" -S = "${WORKDIR}/git" - -inherit autotools - -BBCLASSEXTEND = "native" - -COMPATIBLE_HOST = "(i.86|x86_64).*-linux" diff --git a/common/recipes-core/microcode/iucode-tool_1.3.bb b/common/recipes-core/microcode/iucode-tool_1.3.bb new file mode 100644 index 00000000..35bcd7b6 --- /dev/null +++ b/common/recipes-core/microcode/iucode-tool_1.3.bb @@ -0,0 +1,29 @@ +SUMMARY = "Update Intel CPU microcode" + +DESCRIPTION = "iucode_tool is a program to manipulate Intel i686 and X86-64\ + processor microcode update collections, and to use the kernel facilities to\ + update the microcode on Intel system processors. It can load microcode data\ + files in text and binary format, sort, list and filter the microcode updates\ + contained in these files, write selected microcode updates to a new file in\ + binary format, or upload them to the kernel. \ + It operates on microcode data downloaded directly from Intel:\ + http://feeds.downloadcenter.intel.com/rss/?p=2371\ +" +HOMEPAGE = "https://gitlab.com/iucode-tool/" +BUGTRACKER = "https://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=iucode-tool;repeatmerged=0" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://iucode_tool.c;beginline=1;endline=15;md5=f65c2be08bfd462331cadff25869588e" + +SRC_URI = "https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_${PV}.tar.xz" +SRC_URI[md5sum] = "ad5aa3ed5eee2f9ef58a291fe7ca711d" +SRC_URI[sha256sum] = "c6e134fc63ac7e765f729c500adc9e154da57b02e991be35b421acf9c7eb0ea9" + +S = "${WORKDIR}/iucode_tool-${PV}" + +inherit autotools + +BBCLASSEXTEND = "native" + +COMPATIBLE_HOST = "(i.86|x86_64).*-linux" -- cgit v1.2.3-54-g00ecf