Skip to content

Commit

Permalink
base-config: add FRAMEBUFFER_CONSOLE
Browse files Browse the repository at this point in the history
When graphics fail, a blank screen is not useful.

Even when graphics work, without a framebuffer console chvt still
works but it is "blind" / with a frozen GUI instead! Incredibly
confusing. Linux distributions expect this.

Also useful in case of hangs like
thesofproject/linux#3387: text consoles
are always more responsive and they may even have some logs

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and plbossart committed May 25, 2022
1 parent 21c3463 commit ecc71cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions base-defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ CONFIG_ZSWAP_ZPOOL_DEFAULT="zbud"
# build netconsole as module to configure it with /etc/modprobe.d
CONFIG_NETCONSOLE=m

# Need this when graphics fail (don't forget to drop "quiet splash"
# in the grub config)

# Even when graphics work, without a framebuffer console `chvt` still
# works but it is "blind" / with a frozen GUI instead! Incredibly
# confusing. Linux distributions expect this.
CONFIG_FB=y
CONFIG_FRAMEBUFFER_CONSOLE=y

# sudo modprobe configs && zgrep SOF_DEBUG /proc/config.gz
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
Expand Down

0 comments on commit ecc71cb

Please sign in to comment.