Ignore:
Timestamp:
07/31/2023 06:09:24 AM (11 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
70bf551
Parents:
7263646
Message:

Add some color to kernel options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    r7263646 r2cf01ab7  
    131131      not work correctly or boot at all:</para>
    132132
    133 <screen role="nodump" revision="sysv">General setup ---&gt;
    134    [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    135        CPU/Task time and stats accounting ---&gt;
    136          [*] Pressure stall information tracking [CONFIG_PSI]
    137          [ ] Require boot parameter to enable pressure stall information tracking
     133<screen role="nodump" revision="sysv"><emphasis role='blue'>G</emphasis>eneral setup ---&gt;
     134   [ ] <emphasis role='blue'>C</emphasis>ompile the kernel with warnings as errors [CONFIG_WERROR]
     135       <emphasis role='blue'>C</emphasis>PU/Task time and stats accounting ---&gt;
     136         [*] <emphasis role='blue'>P</emphasis>ressure stall information tracking [CONFIG_PSI]
     137         [ ] <emphasis role='blue'>R</emphasis>equire boot parameter to enable pressure stall information tracking
    138138                                              [CONFIG_PSI_DEFAULT_DISABLED]
    139    &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    140    [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    141       [*] Memory controller [CONFIG_MEMCG]
    142    [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
    143 
    144 Processor type and features ---&gt;
    145    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    146    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    147 
    148 General architecture-dependent options  ---&gt;
    149    [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    150    [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
    151 
    152 Device Drivers  ---&gt;
    153    Generic Driver Options  ---&gt;
    154      [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    155      [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    156      [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs
     139   &lt; &gt; <emphasis role='blue'>E</emphasis>nable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
     140   [*] <emphasis role='blue'>C</emphasis>ontrol Group support [CONFIG_CGROUPS]   ---&gt;
     141      [*] M<emphasis role='blue'>e</emphasis>mory controller [CONFIG_MEMCG]
     142   [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) [CONFIG_EXPERT]
     143
     144<emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
     145   [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel [CONFIG_RELOCATABLE]
     146   [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     147
     148<emphasis role='blue'>G</emphasis>eneral architecture-dependent options  ---&gt;
     149   [*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
     150   [*]   <emphasis role='blue'>S</emphasis>trong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
     151
     152<emphasis role='blue'>D</emphasis>evice Drivers  ---&gt;
     153   <emphasis role='blue'>G</emphasis>eneric Driver Options  ---&gt;
     154     [ ] <emphasis role='blue'>S</emphasis>upport for uevent helper [CONFIG_UEVENT_HELPER]
     155     [*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
     156     [*]   <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
    157157                                                       [CONFIG_DEVTMPFS_MOUNT]
    158    Graphics support ---&gt;
    159      Frame buffer Devices ---&gt;
    160        &lt;*&gt; Support for frame buffer devices ---&gt;
    161    Console display driver support ---&gt;
    162       [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
     158   <emphasis role='blue'>G</emphasis>raphics support ---&gt;
     159     <emphasis role='blue'>F</emphasis>rame buffer Devices ---&gt;
     160       &lt;*&gt; <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---&gt;
     161   <emphasis role='blue'>C</emphasis>onsole display driver support ---&gt;
     162      [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
    163163
    164164<screen role="nodump" revision="systemd">
     
    217217      shows up after its dependencies are selected.</para>
    218218
    219 <screen role="nodump">Processor type and features ---&gt;
    220   [*] Support x2apic [CONFIG_X86_X2APIC]
     219<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
     220  [*] <emphasis role='blue'>S</emphasis>upport x2apic [CONFIG_X86_X2APIC]
    221221
    222222Device Drivers ---&gt;
    223   [*] PCI Support ---&gt; [CONFIG_PCI]
    224     [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
    225   [*] IOMMU Hardware Support ---&gt; [CONFIG_IOMMU_SUPPORT]
    226     [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
     223  [*] <emphasis role='blue'>P</emphasis>CI Support ---&gt; [CONFIG_PCI]
     224    [*] M<emphasis role='blue'>e</emphasis>ssage Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
     225  [*] <emphasis role='blue'>I</emphasis>OMMU Hardware Support ---&gt; [CONFIG_IOMMU_SUPPORT]
     226    [*] <emphasis role='blue'>S</emphasis>upport for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
    227227
    228228      <para>If you are building a 32-bit system running on a hardware
     
    230230      be able to use up to 64GB physical RAM:</para>
    231231
    232       <screen role="nodump">Processor type and features ---&gt;
    233   High Memory Support ---&gt;
    234     (X) 64GB [CONFIG_HIGHMEM64G]</screen>
     232      <screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
     233  H<emphasis role='blue'>i</emphasis>gh Memory Support ---&gt;
     234    (X) <emphasis role='blue'>6</emphasis>4GB [CONFIG_HIGHMEM64G]</screen>
    235235
    236236      <para>If the partition for the LFS system is in a NVME SSD (i. e. the
     
    239239      the LFS system won't boot:</para>
    240240
    241       <screen role="nodump">Device Drivers ---&gt;
    242   NVME Support ---&gt;
    243     &lt;*&gt; NVM Express block device [CONFIG_BLK_DEV_NVME]</screen>
     241      <screen role="nodump"><emphasis role='blue'>D</emphasis>evice Drivers ---&gt;
     242  N<emphasis role='blue'>V</emphasis>ME Support ---&gt;
     243    &lt;*&gt; N<emphasis role='blue'>V</emphasis>M Express block device [CONFIG_BLK_DEV_NVME]</screen>
    244244    </note>
    245245
Note: See TracChangeset for help on using the changeset viewer.