Changeset 9673470


Ignore:
Timestamp:
02/26/2022 04:01:35 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
3a5d53a
Parents:
4f2d91dc
git-author:
Xi Ruoyao <xry111@…> (12/17/2021 02:22:41 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/26/2022 04:01:35 PM)
Message:

cross-ng: mention in-kernel firmware blob for temporary kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/kernel.xml

    r4f2d91dc r9673470  
    132132
    133133      <varlistentry>
     134        <term>Set <parameter>CONFIG_EXTRA_FIRMWARE="<replaceable>a.bin b.bin</replaceable>"</parameter></term>
     135        <listitem>
     136          <para>Build firmware blobs into the kernel.  Some drivers may
     137          require the firmwares to be in-kernel if the driver is not built
     138          as module.</para>
     139          <note>
     140            <para>
     141              The kernel binaries with third-party blobs are not
     142              distributable.  If you distribute such a kernel binary to
     143              others, you may violate GPL.  It's recommended to remove the
     144              temporary kernel image after you've successfully boot your LFS
     145              system with the new kernel image, which will be installed in
     146              <xref linkend="ch-bootable-kernel"/>.
     147            </para>
     148          </note>
     149        </listitem>
     150      </varlistentry>
     151
     152      <varlistentry>
     153        <term>Set <parameter>CONFIG_EXTRA_FIRMWARE_DIR="<replaceable>$LFS</replaceable>/lib/firmware"</parameter></term>
     154        <listitem>
     155          <para>The building system will search
     156          <filename class="directory">/lib/firmware</filename> for firmware
     157          blobs in <parameter>CONFIG_EXTRA_FIRMWARE</parameter>.  Note that
     158          you'll need to install the needed firmwares into
     159          <filename class="directory">$LFS/lib/firmware</filename> first,
     160          and manually replace <envar>$LFS</envar> with the value in
     161          configuration.  The firmwares in
     162          <filename class="directory">$LFS/lib/filename</filename> will be
     163          copied to the target machine along with the system, so kernel and
     164          kernel modules which will be built in
     165          <xref linkend="ch-bootable-kernel"/> can load them without
     166          <parameter>CONFIG_EXTRA_FIRMWARE</parameter>.</para>
     167        </listitem>
     168      </varlistentry>
     169
     170      <varlistentry>
    134171        <term>Enable <parameter>CONFIG_EXT2</parameter>,
    135172                     <parameter>CONFIG_EXT4</parameter>,
Note: See TracChangeset for help on using the changeset viewer.