Changeset ba78ebe2 for postlfs/config/firmware.xml
- Timestamp:
- 03/05/2017 07:19:30 PM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 1ad29630
- Parents:
- dcff87e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/firmware.xml
rdcff87e8 rba78ebe2 126 126 <sect3 id="intel-microcode"> 127 127 <title>Intel Microcode for the CPU</title> 128 128 <!-- 129 129 <bridgehead renderas="sect4">Required Package</bridgehead> 130 130 <para role='required'> … … 155 155 microcode for it. Determine the decimal values of the cpu family, model 156 156 and stepping by running:</para> 157 --> 158 159 <bridgehead renderas="sect4">Required File</bridgehead> 160 <para role='required'> 161 <ulink url='&sources-anduin-http;/intel-microcode/intel-microcode2ucode.c'/> 162 </para> 163 164 <para>For Intel CPUs an extra program, intel-microcode2ucode, is required. 165 This is done a little differently since it is only a single source 166 code file. The reason for this is that there are differnet versions 167 available, but most are specific to commercial distributions.</para> 168 169 <para>This program reformats the microcode supplied by Intel into a 170 format which the kernel can apply. The program 171 <userinput>intel-microcode2ucode</userinput> is used create the 172 individual firmware blobs </para> 173 174 <para>Create the program by downloading the source file and running:</para> 175 176 <screen><userinput>gcc -g -Wall -O2 -o intel-microcode2ucode intel-microcode2ucode.c</userinput></screen> 177 178 <para>Now install the program as the <systemitem class="username">root</systemitem> user:</para> 179 180 <screen><userinput>install intel-microcode2ucode /usr/bin</userinput></screen> 181 182 <para>The next step is to get the most recent version of the Intel 183 microcode. The must be done by navigating to 184 <ulink url='https://downloadcenter.intel.com/download/26400/Linux-Processor-Microcode-Data-File'/> 185 and following the instructions there. As of this writing the most recent 186 version of the microcode is <filename>microcode-20161104.tgz</filename>. 187 This file is a tar file, but expands to <filename>microcode.dat</filename> 188 in the current directory.</para> 189 190 <para>Next, create various blobs with names in the form XX-YY-ZZ in a 191 subdirectory named <filename class="directory">intel-ucode/</filename>: 192 </para> 193 194 <screen><userinput>intel-microcode2ucode microcode.dat</userinput></screen> 195 196 <para>Now you need to determine your processor's identity to see if there 197 is any microcode for it. Determine the decimal values of the cpu family, 198 model and stepping by running:</para> 157 199 158 200 <screen><userinput>head -n7 /proc/cpuinfo</userinput></screen> 159 201 160 <para> Now convert the cpu family, model and stepping to pairs of hexadecimal202 <para>Convert the cpu family, model and stepping to pairs of hexadecimal 161 203 digits. For a SandyBridge i3-2120 (described as Intel(R) Core(TM) i3-2120 162 204 CPU) the relevant values are cpu family 6, model 42, stepping 7 so in … … 168 210 169 211 <screen><userinput>mkdir -pv /lib/firmware/intel-ucode 170 cp -v <XX-YY-ZZ> /lib/firmware/intel-ucode</userinput></screen>212 cp -v intel-ucode/<XX-YY-ZZ> /lib/firmware/intel-ucode</userinput></screen> 171 213 172 214 <para>Now that the Intel microcode has been prepared, use the following
Note:
See TracChangeset
for help on using the changeset viewer.