Changeset 58962f7 for chapter10/kernel.xml
- Timestamp:
- 06/11/2023 08:52:35 PM (16 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2
- Children:
- d89cc558
- Parents:
- 7891616
- git-author:
- Xi Ruoyao <xry111@…> (06/11/2023 07:32:07 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (06/11/2023 08:52:35 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/kernel.xml
r7891616 r58962f7 142 142 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 143 143 Device Drivers ---> 144 Firmware Drivers ---> 145 EFI (Extensible Firmware Interface) Support ---> 146 [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT] 144 147 Graphics support ---> 145 148 Frame buffer Devices ---> … … 183 186 Firmware Drivers ---> 184 187 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 188 EFI (Extensible Firmware Interface) Support ---> 189 [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT] 185 190 Graphics support ---> 186 191 Frame buffer Devices ---> … … 193 198 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 194 199 195 <para>Enable some additional features if you are building a 64-bit196 system. If you are using menuconfig, enable them in the order of197 <parameter>CONFIG_PCI_MSI</parameter> first, then198 <parameter>CONFIG_IRQ_REMAP</parameter>, at last199 <parameter>CONFIG_X86_X2APIC</parameter> because an option only200 shows up after its dependencies are selected.</para>201 202 <screen role="nodump">Processor type and features --->203 [*] Support x2apic [CONFIG_X86_X2APIC]204 Device Drivers --->205 [*] PCI Support ---> [CONFIG_PCI]206 [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]207 [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]208 [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>209 210 <para>If you are building a 32-bit system running on a hardware211 with RAM more than 4GB, adjust the configuration so the kernel will212 be able to use up to 64GB physical RAM:</para>213 214 <screen role="nodump">Processor type and features --->215 High Memory Support --->216 (X) 64GB [CONFIG_HIGHMEM64G]</screen>217 218 200 <para>If the partition for the LFS system is in a NVME SSD (i. e. the 219 201 device node for the partition is <filename>/dev/nvme*</filename> … … 328 310 upon switching to root filesystem just before starting 329 311 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> 330 321 </listitem> 331 322 </varlistentry> … … 345 336 </varlistentry> 346 337 347 <varlistentry>348 <term><parameter>Support x2apic</parameter></term>349 <listitem>350 <para>Support running the interrupt controller of 64-bit x86351 processors in x2APIC mode. x2APIC may be enabled by firmware on352 64-bit x86 systems, and a kernel without this option enabled will353 panic on boot if x2APIC is enabled by firmware. This option has354 has no effect, but also does no harm if x2APIC is disabled by the355 firmware.</para>356 </listitem>357 </varlistentry>358 359 338 </variablelist> 360 339 … … 411 390 the filename should be <emphasis>vmlinuz</emphasis> to be compatible with 412 391 the automatic setup of the boot process described in the next section. The 413 following command assumes an x86 architecture:</para> 414 415 <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> 416 396 417 397 <para><filename>System.map</filename> is a symbol file for the kernel.
Note:
See TracChangeset
for help on using the changeset viewer.