diff options
Diffstat (limited to 'chapter10/kernel.xml')
-rw-r--r-- | chapter10/kernel.xml | 43 |
1 files changed, 12 insertions, 31 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 5bbfff11a..7589e3c39 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -140,23 +140,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernel/systemd.xml"/> - - <para>Enable some additional features if you are building a 64-bit - system. If you are using menuconfig, enable them in the order of - <parameter>CONFIG_PCI_MSI</parameter> first, then - <parameter>CONFIG_IRQ_REMAP</parameter>, at last - <parameter>CONFIG_X86_X2APIC</parameter> because an option only - shows up after its dependencies are selected.</para> - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="kernel/x2apic.xml"/> - - <para>If you are building a 32-bit system running on a hardware - with RAM more than 4GB, adjust the configuration so the kernel will - be able to use up to 64GB physical RAM:</para> - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="kernel/highmem.xml"/> <para>If the partition for the LFS system is in a NVME SSD (i. e. the device node for the partition is <filename>/dev/nvme*</filename> @@ -273,6 +256,15 @@ </varlistentry> <varlistentry> + <term><parameter>Enable the generic EFI decompressor</parameter></term> + <listitem> + <para>Create the bootable image as an EFI application that carries + the actual kernel image in compressed form. It can make the + bootable image 50% smaller.</para> + </listitem> + </varlistentry> + + <varlistentry> <term> <parameter> Enable legacy fbdev support for your modesetting driver @@ -288,18 +280,6 @@ </listitem> </varlistentry> - <varlistentry> - <term><parameter>Support x2apic</parameter></term> - <listitem> - <para>Support running the interrupt controller of 64-bit x86 - processors in x2APIC mode. x2APIC may be enabled by firmware on - 64-bit x86 systems, and a kernel without this option enabled will - panic on boot if x2APIC is enabled by firmware. This option - has no effect, but also does no harm if x2APIC is disabled by the - firmware.</para> - </listitem> - </varlistentry> - </variablelist> <para>Alternatively, <command>make oldconfig</command> may be more @@ -354,9 +334,10 @@ used. The filename below can be changed to suit your taste, but the stem of the filename should be <emphasis>vmlinuz</emphasis> to be compatible with the automatic setup of the boot process described in the next section. The - following command assumes an x86 architecture:</para> + following command assumes an ARM64 architecture with an EFI boot loader + (for example, GRUB built in &ch-final;):</para> -<screen><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> +<screen><userinput remap="install">cp -iv arch/arm64/boot/vmlinuz.efi /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> <para><filename>System.map</filename> is a symbol file for the kernel. It maps the function entry points of every function in the kernel API, |