diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2018-01-30 14:03:00 -0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-01-30 15:36:51 -0800 |
commit | a6a5d581ff39c17873269484f86ff014a13ba2d8 (patch) | |
tree | bac6f787e31bd13b9670ed5e46217ae06537e770 /recipes-core/microcode/intel-microcode_20171117.bb | |
parent | 14ddaa378028c4bffbf71b1374f66d0755c3e6ff (diff) | |
download | meta-intel-a6a5d581ff39c17873269484f86ff014a13ba2d8.tar.gz |
Revert "intel-microcode: update to 20180108"
This reverts commit 7969d8e442bdefd8036a334ca9d9ce133272399b.
Its recommended that rollout of this microcode update is suspended. See here:
https://newsroom.intel.com/news/root-cause-of-reboot-issue-identified-updated-guidance-for-customers-and-partners/
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'recipes-core/microcode/intel-microcode_20171117.bb')
-rw-r--r-- | recipes-core/microcode/intel-microcode_20171117.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-core/microcode/intel-microcode_20171117.bb b/recipes-core/microcode/intel-microcode_20171117.bb new file mode 100644 index 00000000..3b5be137 --- /dev/null +++ b/recipes-core/microcode/intel-microcode_20171117.bb | |||
@@ -0,0 +1,66 @@ | |||
1 | SUMMARY = "Intel Processor Microcode Datafile for Linux" | ||
2 | HOMEPAGE = "http://www.intel.com/" | ||
3 | DESCRIPTION = "The microcode data file contains the latest microcode\ | ||
4 | definitions for all Intel processors. Intel releases microcode updates\ | ||
5 | to correct processor behavior as documented in the respective processor\ | ||
6 | specification updates. While the regular approach to getting this microcode\ | ||
7 | update is via a BIOS upgrade, Intel realizes that this can be an\ | ||
8 | administrative hassle. The Linux operating system and VMware ESX\ | ||
9 | products have a mechanism to update the microcode after booting.\ | ||
10 | For example, this file will be used by the operating system mechanism\ | ||
11 | if the file is placed in the /etc/firmware directory of the Linux system." | ||
12 | |||
13 | LICENSE = "Intel-Microcode-License" | ||
14 | LIC_FILES_CHKSUM = "file://microcode.dat;endline=33;md5=e5199e4965078af6c7dee6aa7c5d8404" | ||
15 | |||
16 | SRC_URI = "https://downloadmirror.intel.com/27337/eng/microcode-${PV}.tgz" | ||
17 | SRC_URI[md5sum] = "b294245d1f7f6c20f01edba53185f258" | ||
18 | SRC_URI[sha256sum] = "93bd1da9fa58ece0016702e657f708b7e496e56da637a3fe9a6d21f1d6f524dc" | ||
19 | |||
20 | DEPENDS = "iucode-tool-native" | ||
21 | S = "${WORKDIR}" | ||
22 | |||
23 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||
24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
25 | |||
26 | inherit deploy | ||
27 | |||
28 | # Use any of the iucode_tool parameters to filter specific microcodes from the data file | ||
29 | # For further information, check the iucode-tool's manpage : http://manned.org/iucode-tool | ||
30 | UCODE_FILTER_PARAMETERS ?= "" | ||
31 | |||
32 | do_compile() { | ||
33 | mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode | ||
34 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | ||
35 | ${UCODE_FILTER_PARAMETERS} \ | ||
36 | --overwrite \ | ||
37 | --write-to=${WORKDIR}/microcode_${PV}.bin \ | ||
38 | ${WORKDIR}/microcode.dat | ||
39 | |||
40 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | ||
41 | ${UCODE_FILTER_PARAMETERS} \ | ||
42 | --overwrite \ | ||
43 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ | ||
44 | ${WORKDIR}/microcode.dat | ||
45 | } | ||
46 | |||
47 | do_install() { | ||
48 | install -d ${D}${base_libdir}/firmware/intel-ucode/ | ||
49 | install ${WORKDIR}/microcode_${PV}.bin ${D}${base_libdir}/firmware/intel-ucode/ | ||
50 | cd ${D}${base_libdir}/firmware/intel-ucode/ | ||
51 | ln -sf microcode_${PV}.bin microcode.bin | ||
52 | } | ||
53 | |||
54 | do_deploy() { | ||
55 | install -d ${DEPLOYDIR} | ||
56 | install ${S}/microcode_${PV}.cpio ${DEPLOYDIR}/ | ||
57 | cd ${DEPLOYDIR} | ||
58 | rm -f microcode.cpio | ||
59 | ln -sf microcode_${PV}.cpio microcode.cpio | ||
60 | } | ||
61 | |||
62 | addtask deploy before do_build after do_compile | ||
63 | |||
64 | PACKAGES = "${PN}" | ||
65 | |||
66 | FILES_${PN} = "${base_libdir}" | ||