diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-06-28 14:35:19 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2018-07-02 10:04:20 +0800 |
commit | a8abc31178084ea410ca40cd41c7731e149fbec9 (patch) | |
tree | 22db0a4394919932bf1612244622d3fe9876348f | |
parent | e5147051f22787a9d35086ccd9e9c5e7cf8867e9 (diff) | |
download | meta-intel-a8abc31178084ea410ca40cd41c7731e149fbec9.tar.gz |
intel-microcode: update to 20180425
Point to the the license from layer now that text .dat isn't supplied. And,
generate cpio from binary files.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | recipes-core/microcode/files/Intel-Microcode-License | 123 | ||||
-rw-r--r-- | recipes-core/microcode/intel-microcode_20180425.bb (renamed from recipes-core/microcode/intel-microcode_20180312.bb) | 17 |
2 files changed, 133 insertions, 7 deletions
diff --git a/recipes-core/microcode/files/Intel-Microcode-License b/recipes-core/microcode/files/Intel-Microcode-License new file mode 100644 index 00000000..af5b41c2 --- /dev/null +++ b/recipes-core/microcode/files/Intel-Microcode-License | |||
@@ -0,0 +1,123 @@ | |||
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_20180312.bb b/recipes-core/microcode/intel-microcode_20180425.bb index 238d09f3..e864746d 100644 --- a/recipes-core/microcode/intel-microcode_20180312.bb +++ b/recipes-core/microcode/intel-microcode_20180425.bb | |||
@@ -11,11 +11,14 @@ 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://microcode.dat;endline=33;md5=57d3c3c310f8debda2b0ca5baba67298" | 14 | LIC_FILES_CHKSUM = "file://Intel-Microcode-License;md5=9052c0dbf7250dc0bef70bd8212b0573" |
15 | 15 | ||
16 | SRC_URI = "https://downloadmirror.intel.com/27591/eng/microcode-${PV}.tgz" | 16 | SRC_URI = "https://downloadmirror.intel.com/27776/eng/microcode-${PV}.tgz \ |
17 | SRC_URI[md5sum] = "be315cd99a7ca392a2f917ceacbe14f2" | 17 | file://Intel-Microcode-License \ |
18 | SRC_URI[sha256sum] = "0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779" | 18 | " |
19 | |||
20 | SRC_URI[md5sum] = "99c80f9229554953a868127cda44e7e3" | ||
21 | SRC_URI[sha256sum] = "f0d2492f4561e2559f6c9471b231cb8262d45762c0e7cccf787be5c189b4e2d6" | ||
19 | DEPENDS = "iucode-tool-native" | 22 | DEPENDS = "iucode-tool-native" |
20 | S = "${WORKDIR}" | 23 | S = "${WORKDIR}" |
21 | 24 | ||
@@ -29,18 +32,18 @@ inherit deploy | |||
29 | UCODE_FILTER_PARAMETERS ?= "" | 32 | UCODE_FILTER_PARAMETERS ?= "" |
30 | 33 | ||
31 | do_compile() { | 34 | do_compile() { |
32 | mkdir -p ${WORKDIR}/ucode/kernel/x86/microcode | 35 | rm -f ${WORKDIR}/intel-ucode/list |
33 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 36 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
34 | ${UCODE_FILTER_PARAMETERS} \ | 37 | ${UCODE_FILTER_PARAMETERS} \ |
35 | --overwrite \ | 38 | --overwrite \ |
36 | --write-to=${WORKDIR}/microcode_${PV}.bin \ | 39 | --write-to=${WORKDIR}/microcode_${PV}.bin \ |
37 | ${WORKDIR}/microcode.dat | 40 | ${WORKDIR}/intel-ucode/* |
38 | 41 | ||
39 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 42 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
40 | ${UCODE_FILTER_PARAMETERS} \ | 43 | ${UCODE_FILTER_PARAMETERS} \ |
41 | --overwrite \ | 44 | --overwrite \ |
42 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ | 45 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ |
43 | ${WORKDIR}/microcode.dat | 46 | ${WORKDIR}/intel-ucode/* |
44 | } | 47 | } |
45 | 48 | ||
46 | do_install() { | 49 | do_install() { |