mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
kernel-config: Drop FB
In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no longer need to select FB (tested in a QEMU VM). But if DRM is selected, we must select both DRM_FBDEV_EMULATION and FRAMEBUFFER_CONSOLE or we'll see only blank screen. And now FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
This commit is contained in:
parent
34774f4986
commit
981b9fa6a1
@ -273,16 +273,18 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>Framebuffer Console support</parameter></term>
|
<term>
|
||||||
|
<parameter>
|
||||||
|
Enable legacy fbdev support for your modesetting driver
|
||||||
|
</parameter> and
|
||||||
|
<parameter>Framebuffer Console support</parameter>
|
||||||
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>This is needed to display the Linux console on a frame
|
<para>These are needed to display the Linux console on a
|
||||||
buffer device. To allow the kernel to print debug messages at an
|
GPU driven by a DRI (Direct Rendering Infrastructure) driver.
|
||||||
early boot stage, it shouldn't be built as a kernel module
|
If <option>CONFIG_DRM</option> (Direct Rendering Manager) is
|
||||||
unless an initramfs will be used. And, if
|
enabled, you should enable these two options as well or you'll see
|
||||||
<option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled,
|
a blank screen once the DRI driver is loaded.</para>
|
||||||
it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable
|
|
||||||
legacy fbdev support for your modesetting driver) should be
|
|
||||||
enabled as well.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -13,9 +13,7 @@ STACKPROTECTOR_STRONG='*'
|
|||||||
UEVENT_HELPER=' '
|
UEVENT_HELPER=' '
|
||||||
DEVTMPFS='*'
|
DEVTMPFS='*'
|
||||||
DEVTMPFS_MOUNT='*'
|
DEVTMPFS_MOUNT='*'
|
||||||
FB='*'
|
DRM=' *M'
|
||||||
FRAMEBUFFER_CONSOLE='*'
|
|
||||||
|
|
||||||
AUDIT=' '
|
AUDIT=' '
|
||||||
NET='*'
|
NET='*'
|
||||||
INET='*'
|
INET='*'
|
||||||
@ -28,3 +26,11 @@ TMPFS='*'
|
|||||||
TMPFS_POSIX_ACL='*'
|
TMPFS_POSIX_ACL='*'
|
||||||
|
|
||||||
revision='systemd'
|
revision='systemd'
|
||||||
|
|
||||||
|
[DRM_FBDEV_EMULATION]
|
||||||
|
value = ' *'
|
||||||
|
comment = 'If [DRM] is selected as * or M, this must be selected'
|
||||||
|
|
||||||
|
[FRAMEBUFFER_CONSOLE]
|
||||||
|
value = ' *'
|
||||||
|
comment = 'If [DRM] is selected as * or M, this must be selected'
|
||||||
|
@ -41,10 +41,14 @@
|
|||||||
<emphasis role='blue'>F</emphasis>irmware Drivers --->
|
<emphasis role='blue'>F</emphasis>irmware Drivers --->
|
||||||
[*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace [DMIID]
|
[*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace [DMIID]
|
||||||
<emphasis role='blue'>G</emphasis>raphics support --->
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||||
<emphasis role='blue'>F</emphasis>rame buffer Devices --->
|
< /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
||||||
<*> <emphasis role='blue'>S</emphasis>upport for frame buffer device drivers ---> [FB]
|
... [DRM]
|
||||||
|
# If [DRM] is selected as * or M, this must be selected:
|
||||||
|
[ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
||||||
|
... [DRM_FBDEV_EMULATION]
|
||||||
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||||
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]
|
# If [DRM] is selected as * or M, this must be selected:
|
||||||
|
[ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]
|
||||||
|
|
||||||
<emphasis role='blue'>F</emphasis>ile systems --->
|
<emphasis role='blue'>F</emphasis>ile systems --->
|
||||||
[*] <emphasis role='blue'>I</emphasis>notify support for userspace [INOTIFY_USER]
|
[*] <emphasis role='blue'>I</emphasis>notify support for userspace [INOTIFY_USER]
|
||||||
|
@ -12,7 +12,14 @@ STACKPROTECTOR_STRONG='*'
|
|||||||
UEVENT_HELPER=' '
|
UEVENT_HELPER=' '
|
||||||
DEVTMPFS='*'
|
DEVTMPFS='*'
|
||||||
DEVTMPFS_MOUNT='*'
|
DEVTMPFS_MOUNT='*'
|
||||||
FB='*'
|
DRM=' *M'
|
||||||
FRAMEBUFFER_CONSOLE='*'
|
|
||||||
|
|
||||||
revision='sysv'
|
revision='sysv'
|
||||||
|
|
||||||
|
[DRM_FBDEV_EMULATION]
|
||||||
|
value = ' *'
|
||||||
|
comment = 'If [DRM] is selected as * or M, this must be selected'
|
||||||
|
|
||||||
|
[FRAMEBUFFER_CONSOLE]
|
||||||
|
value = ' *'
|
||||||
|
comment = 'If [DRM] is selected as * or M, this must be selected'
|
||||||
|
@ -29,7 +29,11 @@
|
|||||||
[*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
|
[*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
|
||||||
... [DEVTMPFS_MOUNT]
|
... [DEVTMPFS_MOUNT]
|
||||||
<emphasis role='blue'>G</emphasis>raphics support --->
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||||
<emphasis role='blue'>F</emphasis>rame buffer Devices --->
|
< /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
|
||||||
<*> <emphasis role='blue'>S</emphasis>upport for frame buffer device drivers ---> [FB]
|
... [DRM]
|
||||||
|
# If [DRM] is selected as * or M, this must be selected:
|
||||||
|
[ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver
|
||||||
|
... [DRM_FBDEV_EMULATION]
|
||||||
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||||
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen>
|
# If [DRM] is selected as * or M, this must be selected:
|
||||||
|
[ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user