Changeset ba78ebe2


Ignore:
Timestamp:
03/05/2017 07:19:30 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, lazarus, perl-modules, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
1ad29630
Parents:
dcff87e8
Message:

Update firmware discussion for Intel CPUs

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18439 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rdcff87e8 rba78ebe2  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[bdubbs] - Update firmware discussion for Intel CPUs . Partially fixes
     50          <ulink url="&blfs-ticket-root;8929">#8929</ulink>.</para>
     51        </listitem>
     52        <listitem>
    4953          <para>[bdubbs] - Update to mpg123 1.24.0. Fixes
    5054          <ulink url="&blfs-ticket-root;8958">#8958</ulink>.</para>
  • postlfs/config/firmware.xml

    rdcff87e8 rba78ebe2  
    126126    <sect3 id="intel-microcode">
    127127      <title>Intel Microcode for the CPU</title>
    128 
     128<!--
    129129      <bridgehead renderas="sect4">Required Package</bridgehead>
    130130      <para role='required'>
     
    155155      microcode for it. Determine the decimal values of the cpu family, model
    156156      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>
    157199
    158200<screen><userinput>head -n7 /proc/cpuinfo</userinput></screen>
    159201
    160       <para>Now convert the cpu family, model and stepping to pairs of hexadecimal
     202      <para>Convert the cpu family, model and stepping to pairs of hexadecimal
    161203      digits. For a SandyBridge i3-2120 (described as Intel(R) Core(TM) i3-2120
    162204      CPU) the relevant values are cpu family 6, model 42, stepping 7 so in
     
    168210
    169211<screen><userinput>mkdir -pv /lib/firmware/intel-ucode
    170 cp -v &lt;XX-YY-ZZ&gt; /lib/firmware/intel-ucode</userinput></screen>
     212cp -v intel-ucode/&lt;XX-YY-ZZ&gt; /lib/firmware/intel-ucode</userinput></screen>
    171213
    172214      <para>Now that the Intel microcode has been prepared, use the following
Note: See TracChangeset for help on using the changeset viewer.