aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-22 12:34:07 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-22 12:34:27 +0800
commitdbab2a4519d7cb30c6478aecc2a4e13e3372b3e4 (patch)
tree892b6cce9adba75c3faa1adeb1c855afb6e376ac /chapter10/kernel.xml
parent6612f5441bc2a600716cd8288654f652570587bb (diff)
kernel: add CONFIG_FRAMEBUFFER_CONSOLE, and mention CONFIG_DRM_FBDEV_EMULATION
Is there anyone using a blind system with serial console now? :)
Diffstat (limited to 'chapter10/kernel.xml')
-rw-r--r--chapter10/kernel.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 76a6f86ca..ac104e4b4 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -117,7 +117,9 @@ General architecture-dependent options ---&gt;
Device Drivers ---&gt;
Graphics support ---&gt;
Frame buffer Devices ---&gt;
- [*] Support for frame buffer devices ----
+ &lt;*&gt; Support for frame buffer devices ---&gt;
+ Console display driver support ---&gt;
+ [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
Generic Driver Options ---&gt;
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
[*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
@@ -156,6 +158,8 @@ Device Drivers ---&gt;
Graphics support ---&gt;
Frame buffer Devices ---&gt;
&lt;*&gt; Support for frame buffer devices ---&gt;
+ Console display driver support ---&gt;
+ [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
File systems ---&gt;
[*] Inotify support for userspace [CONFIG_INOTIFY_USER]
Pseudo filesystems ---&gt;
@@ -270,6 +274,20 @@ Device Drivers ---&gt;
</varlistentry>
<varlistentry>
+ <term><parameter>Framebuffer Console support</parameter></term>
+ <listitem>
+ <para>This is needed to display the Linux console on a frame
+ buffer device. To allow the kernel to print debug messages at an
+ early boot stage, it shouldn't be built as a kernel module
+ unless an initramfs will be used. And, if
+ <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled,
+ it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable
+ legacy fbdev support for your modesetting driver) should be
+ enabled as well.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>Support x2apic</parameter></term>
<listitem>
<para>Support running the interrupt controller of 64-bit x86