mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
Add some color to kernel options
This commit is contained in:
parent
72636463a2
commit
2cf01ab702
@ -130,36 +130,36 @@
|
||||
<para>Be sure to enable/disable/set the following features or the system might
|
||||
not work correctly or boot at all:</para>
|
||||
|
||||
<screen role="nodump" revision="sysv">General setup --->
|
||||
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
|
||||
CPU/Task time and stats accounting --->
|
||||
[*] Pressure stall information tracking [CONFIG_PSI]
|
||||
[ ] Require boot parameter to enable pressure stall information tracking
|
||||
<screen role="nodump" revision="sysv"><emphasis role='blue'>G</emphasis>eneral setup --->
|
||||
[ ] <emphasis role='blue'>C</emphasis>ompile the kernel with warnings as errors [CONFIG_WERROR]
|
||||
<emphasis role='blue'>C</emphasis>PU/Task time and stats accounting --->
|
||||
[*] <emphasis role='blue'>P</emphasis>ressure stall information tracking [CONFIG_PSI]
|
||||
[ ] <emphasis role='blue'>R</emphasis>equire boot parameter to enable pressure stall information tracking
|
||||
[CONFIG_PSI_DEFAULT_DISABLED]
|
||||
< > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
||||
[*] Control Group support [CONFIG_CGROUPS] --->
|
||||
[*] Memory controller [CONFIG_MEMCG]
|
||||
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
|
||||
< > <emphasis role='blue'>E</emphasis>nable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
||||
[*] <emphasis role='blue'>C</emphasis>ontrol Group support [CONFIG_CGROUPS] --->
|
||||
[*] M<emphasis role='blue'>e</emphasis>mory controller [CONFIG_MEMCG]
|
||||
[ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) [CONFIG_EXPERT]
|
||||
|
||||
Processor type and features --->
|
||||
[*] Build a relocatable kernel [CONFIG_RELOCATABLE]
|
||||
[*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
|
||||
<emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||
[*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel [CONFIG_RELOCATABLE]
|
||||
[*] <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
|
||||
|
||||
General architecture-dependent options --->
|
||||
[*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
|
||||
[*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
|
||||
<emphasis role='blue'>G</emphasis>eneral architecture-dependent options --->
|
||||
[*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
|
||||
[*] <emphasis role='blue'>S</emphasis>trong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
|
||||
|
||||
Device Drivers --->
|
||||
Generic Driver Options --->
|
||||
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
|
||||
[*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
|
||||
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
|
||||
<emphasis role='blue'>D</emphasis>evice Drivers --->
|
||||
<emphasis role='blue'>G</emphasis>eneric Driver Options --->
|
||||
[ ] <emphasis role='blue'>S</emphasis>upport for uevent helper [CONFIG_UEVENT_HELPER]
|
||||
[*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
|
||||
[*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
|
||||
[CONFIG_DEVTMPFS_MOUNT]
|
||||
Graphics support --->
|
||||
Frame buffer Devices --->
|
||||
<*> Support for frame buffer devices --->
|
||||
Console display driver support --->
|
||||
[*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
|
||||
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||
<emphasis role='blue'>F</emphasis>rame buffer Devices --->
|
||||
<*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices --->
|
||||
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
|
||||
|
||||
<screen role="nodump" revision="systemd">
|
||||
General setup --->
|
||||
@ -216,31 +216,31 @@ File systems --->
|
||||
<parameter>CONFIG_X86_X2APIC</parameter> because an option only
|
||||
shows up after its dependencies are selected.</para>
|
||||
|
||||
<screen role="nodump">Processor type and features --->
|
||||
[*] Support x2apic [CONFIG_X86_X2APIC]
|
||||
<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||
[*] <emphasis role='blue'>S</emphasis>upport x2apic [CONFIG_X86_X2APIC]
|
||||
|
||||
Device Drivers --->
|
||||
[*] PCI Support ---> [CONFIG_PCI]
|
||||
[*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
|
||||
[*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]
|
||||
[*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
|
||||
[*] <emphasis role='blue'>P</emphasis>CI Support ---> [CONFIG_PCI]
|
||||
[*] M<emphasis role='blue'>e</emphasis>ssage Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
|
||||
[*] <emphasis role='blue'>I</emphasis>OMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]
|
||||
[*] <emphasis role='blue'>S</emphasis>upport for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
|
||||
|
||||
<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>
|
||||
|
||||
<screen role="nodump">Processor type and features --->
|
||||
High Memory Support --->
|
||||
(X) 64GB [CONFIG_HIGHMEM64G]</screen>
|
||||
<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||
H<emphasis role='blue'>i</emphasis>gh Memory Support --->
|
||||
(X) <emphasis role='blue'>6</emphasis>4GB [CONFIG_HIGHMEM64G]</screen>
|
||||
|
||||
<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>
|
||||
instead of <filename>/dev/sd*</filename>), enable NVME support or
|
||||
the LFS system won't boot:</para>
|
||||
|
||||
<screen role="nodump">Device Drivers --->
|
||||
NVME Support --->
|
||||
<*> NVM Express block device [CONFIG_BLK_DEV_NVME]</screen>
|
||||
<screen role="nodump"><emphasis role='blue'>D</emphasis>evice Drivers --->
|
||||
N<emphasis role='blue'>V</emphasis>ME Support --->
|
||||
<*> N<emphasis role='blue'>V</emphasis>M Express block device [CONFIG_BLK_DEV_NVME]</screen>
|
||||
</note>
|
||||
|
||||
<note revision="systemd">
|
||||
|
@ -265,6 +265,9 @@ li.chapter h4 a {
|
||||
margin: .6em 0 .2em 0;
|
||||
}
|
||||
|
||||
span.blue {
|
||||
color: #2ac;
|
||||
}
|
||||
|
||||
/* Index */
|
||||
.item {
|
||||
|
Loading…
Reference in New Issue
Block a user