Changeset 98d2923


Ignore:
Timestamp:
02/28/2023 05:04:39 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
19eb392
Parents:
0d4f1b4
Message:

arm64: kernel: Enable compressed kernel image and install it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    r0d4f1b4 r98d2923  
    116116   [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    117117Device Drivers  ---&gt;
     118  Firmware Drivers   ---&gt;
     119   EFI (Extensible Firmware Interface) Support  ---&gt;
     120     [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT]
    118121  Graphics support ---&gt;
    119122   Frame buffer Devices ---&gt;
     
    156159  Firmware Drivers   ---&gt;
    157160   [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
     161   EFI (Extensible Firmware Interface) Support  ---&gt;
     162     [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT]
    158163  Graphics support ---&gt;
    159164   Frame buffer Devices ---&gt;
     
    260265
    261266      <varlistentry>
     267        <term><parameter>Enable the generic EFI decompressor</parameter></term>
     268        <listitem>
     269          <para>Create the bootable image as an EFI application that carries
     270          the actual kernel image in compressed form.  It can make the
     271          bootable image 50% smaller.</para>
     272        </listitem>
     273      </varlistentry>
     274
     275      <varlistentry>
    262276        <term><parameter>Framebuffer Console support</parameter></term>
    263277        <listitem>
     
    327341    the filename should be <emphasis>vmlinuz</emphasis> to be compatible with
    328342    the automatic setup of the boot process described in the next section.  The
    329     following command assumes an ARM64 architecture:</para>
    330 
    331 <screen><userinput remap="install">cp -iv arch/arm64/boot/Image /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
     343    following command assumes an ARM64 architecture with an EFI boot loader
     344    (for example, GRUB built in &ch-final;):</para>
     345
     346<screen><userinput remap="install">cp -iv arch/arm64/boot/vmlinuz.efi /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
    332347
    333348    <para><filename>System.map</filename> is a symbol file for the kernel.
Note: See TracChangeset for help on using the changeset viewer.