[PATCH 0/4] EFI: console: improves

Artem Lapkin email2tema at gmail.com
Wed Aug 4 12:22:13 CEST 2021


Problems with Linux Grub and U-Boot EFI console
- multiplexed console output scrambled
- slow refresh rate for big console sizes
- vidconsole incompatible with unicode

This patchset provides the following solutions:

1) Fixed detection of vidconsole from within a multiplexed stdout string.
As you know, a user can use a comma-separated list of devices to set
stdin, stdout and stderr. For example, "setenv stdout serial,vidconsole"
is a multiplexed string.

2) Multiplexed adaptation of the query_console_size() function;
automatically determine the minimal console area that will fit all
outputs properly.

3) Setup the max rows and columns limit for the EFI console output.

4) If EFI_CONSOLE_UTF_SAFE is enabled and vidconsole is active, unicode
characters will be replaced with "." for all console outputs. Vidconsole
does not support unicode output, and your console will suffer display
issues if EFI_CONSOLE_UTF_SAFE is disabled.

Artem Lapkin (4):
  EFI: console: query_vidconsole: multiplex adaptation
  EFI: console: query_console_size: multiplex adaptation
  EFI: console: max rows and cols user limit
  EFI: console: improve vidconsole unicode output

 lib/efi_loader/Kconfig       | 21 +++++++++++++++++++++
 lib/efi_loader/efi_console.c | 27 +++++++++++++++++++--------
 2 files changed, 40 insertions(+), 8 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list