[PATCH 0/8] video: improve UEFI experience on DM_VIDEO

Andre Przywara andre.przywara at arm.com
Mon Jan 10 01:56:30 CET 2022


While U-Boot supported graphical output on monitors for ages, the
actual user experience on the DM_VIDEO console is somewhat lacking,
especially when UEFI applications use the screen via boot services.

This series fixes some of the shortcomings:
- Patch 1 includes a rudimentary cursor output, which so far was
  completely missing from the (DM_VIDEO) console.
- Patches 2-5 add support for larger bitmap fonts, which are helpful on
  high resolution screens as found on modern laptops, for instance.
  These also pull in two larger bitmaps fonts from the Linux kernel.
- Patches 6-8 fix the display of those fonts when used by UEFI
  applications, which assume Unicode encoding. Beside the actual mapping
  function this also adds some EFI selftests, which would need to be
  verifed manually on the screen.

The last three patches are somewhat less refined, they probably require
some more discussion.

Please have a look!

Cheers,
Andre

Andre Przywara (8):
  video: Add cursor support for DM_VIDEO consoles
  video: vidconsole: Support wider bitmap fonts
  video: Kconfig: convert CONFIG_VIDEO_FONT_4X6 to Kconfig
  video: Add sun12x22 framebuffer front
  video: Add Terminus 16x32 font
  efi-selftest: Add international characters test
  efi_selftest: Add box drawing character selftest
  video: Convert UTF-8 input stream to the 437 code page

 drivers/video/Makefile                     |    1 +
 drivers/video/console_normal.c             |   26 +-
 drivers/video/fonts/Kconfig                |   18 +
 drivers/video/utf8_cp437.c                 |  169 +
 drivers/video/vidconsole-uclass.c          |   48 +-
 include/video_console.h                    |   10 +
 include/video_font.h                       |    4 +
 include/video_font_4x6.h                   |    2 +-
 include/video_font_sun12x22.h              | 6165 ++++++++++++++++++++
 include/video_font_ter16x32.h              | 2069 +++++++
 lib/efi_selftest/efi_selftest_textoutput.c |   16 +
 scripts/config_whitelist.txt               |    1 -
 12 files changed, 8521 insertions(+), 8 deletions(-)
 create mode 100644 drivers/video/utf8_cp437.c
 create mode 100644 include/video_font_sun12x22.h
 create mode 100644 include/video_font_ter16x32.h

-- 
2.17.6



More information about the U-Boot mailing list