Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    rf976691 r58962f7  
    142142   [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    143143Device Drivers  --->
     144  Firmware Drivers   --->
     145   EFI (Extensible Firmware Interface) Support  --->
     146     [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT]
    144147  Graphics support --->
    145148   Frame buffer Devices --->
     
    164167   [*] Control Group support [CONFIG_CGROUPS]   --->
    165168      [*] Memory controller [CONFIG_MEMCG]
     169   [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
    166170   [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    167171General architecture-dependent options  --->
     
    182186   Firmware Drivers   --->
    183187      [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
     188      EFI (Extensible Firmware Interface) Support  --->
     189         [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT]
    184190   Graphics support --->
    185191      Frame buffer Devices --->
     
    192198        [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
    193199
    194       <para>Enable some additional features if you are building a 64-bit
    195       system.  If you are using menuconfig, enable them in the order of
    196       <parameter>CONFIG_PCI_MSI</parameter> first, then
    197       <parameter>CONFIG_IRQ_REMAP</parameter>, at last
    198       <parameter>CONFIG_X86_X2APIC</parameter> because an option only
    199       shows up after its dependencies are selected.</para>
    200 
    201       <screen role="nodump">Processor type and features ---&gt;
    202   [*] Support x2apic [CONFIG_X86_X2APIC]
    203 Device Drivers ---&gt;
    204   [*] PCI Support ---&gt; [CONFIG_PCI]
    205     [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
    206   [*] IOMMU Hardware Support ---&gt; [CONFIG_IOMMU_SUPPORT]
    207     [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
    208 
    209       <para>If you are building a 32-bit system running on a hardware
    210       with RAM more than 4GB, adjust the configuration so the kernel will
    211       be able to use up to 64GB physical RAM:</para>
    212 
    213       <screen role="nodump">Processor type and features ---&gt;
    214   High Memory Support ---&gt;
    215     (X) 64GB [CONFIG_HIGHMEM64G]</screen>
    216 
    217200      <para>If the partition for the LFS system is in a NVME SSD (i. e. the
    218201      device node for the partition is <filename>/dev/nvme*</filename>
     
    327310          upon switching to root filesystem just before starting
    328311          init.</para>
     312        </listitem>
     313      </varlistentry>
     314
     315      <varlistentry>
     316        <term><parameter>Enable the generic EFI decompressor</parameter></term>
     317        <listitem>
     318          <para>Create the bootable image as an EFI application that carries
     319          the actual kernel image in compressed form.  It can make the
     320          bootable image 50% smaller.</para>
    329321        </listitem>
    330322      </varlistentry>
     
    344336      </varlistentry>
    345337
    346       <varlistentry>
    347         <term><parameter>Support x2apic</parameter></term>
    348         <listitem>
    349           <para>Support running the interrupt controller of 64-bit x86
    350           processors in x2APIC mode.  x2APIC may be enabled by firmware on
    351           64-bit x86 systems, and a kernel without this option enabled will
    352           panic on boot if x2APIC is enabled by firmware.  This option has
    353           has no effect, but also does no harm if x2APIC is disabled by the
    354           firmware.</para>
    355         </listitem>
    356       </varlistentry>
    357 
    358338    </variablelist>
    359339
     
    410390    the filename should be <emphasis>vmlinuz</emphasis> to be compatible with
    411391    the automatic setup of the boot process described in the next section.  The
    412     following command assumes an x86 architecture:</para>
    413 
    414 <screen><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
     392    following command assumes a LoongArch platform with an EFI boot loader
     393    (for example, GRUB built in &ch-final;):</para>
     394
     395<screen><userinput remap="install">cp -iv arch/loongarch/boot/vmlinuz.efi /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
    415396
    416397    <para><filename>System.map</filename> is a symbol file for the kernel.
Note: See TracChangeset for help on using the changeset viewer.