diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2019-06-04 17:45:28 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-06-04 17:51:17 +0800 |
| commit | 3c45215fe075ddaa892bc87f969f50684a7062b4 (patch) | |
| tree | b3e10d3b8d803ebb53042f9f46145ad79b509463 /recipes-core | |
| parent | 57c6c178a110144b709e1e69963e989953c46d2e (diff) | |
| download | meta-intel-3c45215fe075ddaa892bc87f969f50684a7062b4.tar.gz | |
intel-microcode: upgrade to 20190514a
Include the microcode from caveats as well since all kernels supported
have those patches. Also point to the new git repo and corrected
license.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-core')
| -rw-r--r-- | recipes-core/microcode/files/Intel-Microcode-License | 123 | ||||
| -rw-r--r-- | recipes-core/microcode/intel-microcode_20190514a.bb (renamed from recipes-core/microcode/intel-microcode_20180807.bb) | 18 |
2 files changed, 8 insertions, 133 deletions
diff --git a/recipes-core/microcode/files/Intel-Microcode-License b/recipes-core/microcode/files/Intel-Microcode-License deleted file mode 100644 index af5b41c2..00000000 --- a/recipes-core/microcode/files/Intel-Microcode-License +++ /dev/null | |||
| @@ -1,123 +0,0 @@ | |||
| 1 | INTEL SOFTWARE LICENSE AGREEMENT | ||
| 2 | |||
| 3 | IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING. | ||
| 4 | Do not use or load this software and any associated materials (collectively, | ||
| 5 | the "Software") until you have carefully read the following terms and | ||
| 6 | conditions. By loading or using the Software, you agree to the terms of this | ||
| 7 | Agreement. If you do not wish to so agree, do not install or use the Software. | ||
| 8 | |||
| 9 | LICENSES: Please Note: | ||
| 10 | - If you are a network administrator, the "Site License" below shall | ||
| 11 | apply to you. | ||
| 12 | - If you are an end user, the "Single User License" shall apply to you. | ||
| 13 | - If you are an original equipment manufacturer (OEM), the "OEM License" | ||
| 14 | shall apply to you. | ||
| 15 | |||
| 16 | SITE LICENSE. You may copy the Software onto your organization's computers | ||
| 17 | for your organization's use, and you may make a reasonable number of | ||
| 18 | back-up copies of the Software, subject to these conditions: | ||
| 19 | |||
| 20 | 1. This Software is licensed for use only in conjunction with Intel | ||
| 21 | component products. Use of the Software in conjunction with non-Intel | ||
| 22 | component products is not licensed hereunder. | ||
| 23 | 2. You may not copy, modify, rent, sell, distribute or transfer any part | ||
| 24 | of the Software except as provided in this Agreement, and you agree to | ||
| 25 | prevent unauthorized copying of the Software. | ||
| 26 | 3. You may not reverse engineer, decompile, or disassemble the Software. | ||
| 27 | 4. You may not sublicense or permit simultaneous use of the Software by | ||
| 28 | more than one user. | ||
| 29 | 5. The Software may include portions offered on terms in addition to those | ||
| 30 | set out here, as set out in a license accompanying those portions. | ||
| 31 | |||
| 32 | SINGLE USER LICENSE. You may copy the Software onto a single computer for | ||
| 33 | your personal, noncommercial use, and you may make one back-up copy of the | ||
| 34 | Software, subject to these conditions: | ||
| 35 | |||
| 36 | 1. This Software is licensed for use only in conjunction with Intel | ||
| 37 | component products. Use of the Software in conjunction with non-Intel | ||
| 38 | component products is not licensed hereunder. | ||
| 39 | 2. You may not copy, modify, rent, sell, distribute or transfer any part | ||
| 40 | of the Software except as provided in this Agreement, and you agree to | ||
| 41 | prevent unauthorized copying of the Software. | ||
| 42 | 3. You may not reverse engineer, decompile, or disassemble the Software. | ||
| 43 | 4. You may not sublicense or permit simultaneous use of the Software by | ||
| 44 | more than one user. | ||
| 45 | 5. The Software may include portions offered on terms in addition to those | ||
| 46 | set out here, as set out in a license accompanying those portions. | ||
| 47 | |||
| 48 | OEM LICENSE: You may reproduce and distribute the Software only as an | ||
| 49 | integral part of or incorporated in Your product or as a standalone | ||
| 50 | Software maintenance update for existing end users of Your products, | ||
| 51 | excluding any other standalone products, subject to these conditions: | ||
| 52 | |||
| 53 | 1. This Software is licensed for use only in conjunction with Intel | ||
| 54 | component products. Use of the Software in conjunction with non-Intel | ||
| 55 | component products is not licensed hereunder. | ||
| 56 | 2. You may not copy, modify, rent, sell, distribute or transfer any part | ||
| 57 | of the Software except as provided in this Agreement, and you agree to | ||
| 58 | prevent unauthorized copying of the Software. | ||
| 59 | 3. You may not reverse engineer, decompile, or disassemble the Software. | ||
| 60 | 4. You may only distribute the Software to your customers pursuant to a | ||
| 61 | written license agreement. Such license agreement may be a "break-the- | ||
| 62 | seal" license agreement. At a minimum such license shall safeguard | ||
| 63 | Intel's ownership rights to the Software. | ||
| 64 | 5. The Software may include portions offered on terms in addition to those | ||
| 65 | set out here, as set out in a license accompanying those portions. | ||
| 66 | |||
| 67 | NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly | ||
| 68 | or by implication, with respect to any proprietary information or patent, | ||
| 69 | copyright, mask work, trademark, trade secret, or other intellectual property | ||
| 70 | right owned or controlled by Intel, except as expressly provided in this | ||
| 71 | Agreement. | ||
| 72 | |||
| 73 | OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software | ||
| 74 | remains with Intel or its suppliers. The Software is copyrighted and | ||
| 75 | protected by the laws of the United States and other countries, and | ||
| 76 | international treaty provisions. You may not remove any copyright notices | ||
| 77 | from the Software. Intel may make changes to the Software, or to items | ||
| 78 | referenced therein, at any time without notice, but is not obligated to | ||
| 79 | support or update the Software. Except as otherwise expressly provided, Intel | ||
| 80 | grants no express or implied right under Intel patents, copyrights, | ||
| 81 | trademarks, or other intellectual property rights. You may transfer the | ||
| 82 | Software only if the recipient agrees to be fully bound by these terms and if | ||
| 83 | you retain no copies of the Software. | ||
| 84 | |||
| 85 | LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on | ||
| 86 | physical media, Intel warrants the media to be free from material physical | ||
| 87 | defects for a period of ninety days after delivery by Intel. If such a defect | ||
| 88 | is found, return the media to Intel for replacement or alternate delivery of | ||
| 89 | the Software as Intel may select. | ||
| 90 | |||
| 91 | EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS | ||
| 92 | PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND | ||
| 93 | INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A | ||
| 94 | PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the | ||
| 95 | accuracy or completeness of any information, text, graphics, links or other | ||
| 96 | items contained within the Software. | ||
| 97 | |||
| 98 | LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE | ||
| 99 | FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, | ||
| 100 | BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR | ||
| 101 | INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE | ||
| 102 | POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR | ||
| 103 | LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL | ||
| 104 | DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE | ||
| 105 | OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION. | ||
| 106 | |||
| 107 | TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time | ||
| 108 | if you violate its terms. Upon termination, you will immediately destroy the | ||
| 109 | Software or return all copies of the Software to Intel. | ||
| 110 | |||
| 111 | APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the | ||
| 112 | laws of California, excluding its principles of conflict of laws and the | ||
| 113 | United Nations Convention on Contracts for the Sale of Goods. You may not | ||
| 114 | export the Software in violation of applicable export laws and regulations. | ||
| 115 | Intel is not obligated under any other agreements unless they are in writing | ||
| 116 | and signed by an authorized representative of Intel. | ||
| 117 | |||
| 118 | GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED | ||
| 119 | RIGHTS." Use, duplication, or disclosure by the Government is subject to | ||
| 120 | restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its | ||
| 121 | successor. Use of the Software by the Government constitutes acknowledgment | ||
| 122 | of Intel's proprietary rights therein. Contractor or Manufacturer is Intel | ||
| 123 | 2200 Mission College Blvd., Santa Clara, CA 95052. | ||
diff --git a/recipes-core/microcode/intel-microcode_20180807.bb b/recipes-core/microcode/intel-microcode_20190514a.bb index 02601250..6e97e90c 100644 --- a/recipes-core/microcode/intel-microcode_20180807.bb +++ b/recipes-core/microcode/intel-microcode_20190514a.bb | |||
| @@ -11,16 +11,15 @@ DESCRIPTION = "The microcode data file contains the latest microcode\ | |||
| 11 | if the file is placed in the /etc/firmware directory of the Linux system." | 11 | if the file is placed in the /etc/firmware directory of the Linux system." |
| 12 | 12 | ||
| 13 | LICENSE = "Intel-Microcode-License" | 13 | LICENSE = "Intel-Microcode-License" |
| 14 | LIC_FILES_CHKSUM = "file://Intel-Microcode-License;md5=9052c0dbf7250dc0bef70bd8212b0573" | 14 | LIC_FILES_CHKSUM = "file://license;md5=99b296eb12723fd1eeb52e24971eed84" |
| 15 | 15 | ||
| 16 | SRC_URI = "https://downloadmirror.intel.com/28039/eng/microcode-${PV}.tgz \ | 16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https \ |
| 17 | file://Intel-Microcode-License \ | ||
| 18 | " | 17 | " |
| 19 | 18 | ||
| 20 | SRC_URI[md5sum] = "49f534f1079d3c5bc178a150c1c105aa" | 19 | SRCREV = "1dd14da6d1ea5cfbd95923653f31c04aac3aa655" |
| 21 | SRC_URI[sha256sum] = "29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40" | 20 | |
| 22 | DEPENDS = "iucode-tool-native" | 21 | DEPENDS = "iucode-tool-native" |
| 23 | S = "${WORKDIR}" | 22 | S = "${WORKDIR}/git" |
| 24 | 23 | ||
| 25 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | 24 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
| 26 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| @@ -32,18 +31,17 @@ inherit deploy | |||
| 32 | UCODE_FILTER_PARAMETERS ?= "" | 31 | UCODE_FILTER_PARAMETERS ?= "" |
| 33 | 32 | ||
| 34 | do_compile() { | 33 | do_compile() { |
| 35 | rm -f ${WORKDIR}/intel-ucode/list | ||
| 36 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 34 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 37 | ${UCODE_FILTER_PARAMETERS} \ | 35 | ${UCODE_FILTER_PARAMETERS} \ |
| 38 | --overwrite \ | 36 | --overwrite \ |
| 39 | --write-to=${WORKDIR}/microcode_${PV}.bin \ | 37 | --write-to=${WORKDIR}/microcode_${PV}.bin \ |
| 40 | ${WORKDIR}/intel-ucode/* | 38 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* |
| 41 | 39 | ||
| 42 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 40 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 43 | ${UCODE_FILTER_PARAMETERS} \ | 41 | ${UCODE_FILTER_PARAMETERS} \ |
| 44 | --overwrite \ | 42 | --overwrite \ |
| 45 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ | 43 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ |
| 46 | ${WORKDIR}/intel-ucode/* | 44 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* |
| 47 | } | 45 | } |
| 48 | 46 | ||
| 49 | do_install() { | 47 | do_install() { |
| @@ -55,7 +53,7 @@ do_install() { | |||
| 55 | 53 | ||
| 56 | do_deploy() { | 54 | do_deploy() { |
| 57 | install -d ${DEPLOYDIR} | 55 | install -d ${DEPLOYDIR} |
| 58 | install ${S}/microcode_${PV}.cpio ${DEPLOYDIR}/ | 56 | install ${WORKDIR}/microcode_${PV}.cpio ${DEPLOYDIR}/ |
| 59 | cd ${DEPLOYDIR} | 57 | cd ${DEPLOYDIR} |
| 60 | rm -f microcode.cpio | 58 | rm -f microcode.cpio |
| 61 | ln -sf microcode_${PV}.cpio microcode.cpio | 59 | ln -sf microcode_${PV}.cpio microcode.cpio |
