[PATCH v8 00/10] vidconsole: refactoring and support for wider fonts

Anatolij Gustschin agust at denx.de
Fri Mar 10 10:26:49 CET 2023


On Tue,  7 Mar 2023 13:21:10 +0300
Dzmitry Sankouski dsankouski at gmail.com wrote:
...
> Changes in v8:
> - fix build with disabled CONFIG_VIDEO_COPY
> - add 12X22 font to sandox defconfig
> 
> Dzmitry Sankouski (10):
>   video console: refactoring and optimization
>   video console: add support for fonts wider than 1 byte
>   video console: move 8x16 font data in named header
>   video console: implement multiple fonts configuration
>   video console: move vidconsole_get_font_size() logic to driver ops
>   video console: allow font size configuration at runtime
>   video console: add 12x22 Sun font from linux
>   video console: add 16x32 Terminus font from linux
>   video console: sandbox: add 12x22 font defconfigs
>   video console: add 12x22 console simple font test
> 
>  cmd/Kconfig                         |    8 +
>  cmd/Makefile                        |    2 +-
>  cmd/font.c                          |    6 +-
>  common/splash.c                     |   17 +-
>  configs/sandbox_defconfig           |    1 +
>  configs/sandbox_flattree_defconfig  |    1 +
>  drivers/video/Kconfig               |   30 +
>  drivers/video/Makefile              |    6 +
>  drivers/video/console_core.c        |  212 +
>  drivers/video/console_normal.c      |  177 +-
>  drivers/video/console_rotate.c      |  371 +-
>  drivers/video/console_truetype.c    |    3 +-
>  drivers/video/vidconsole-uclass.c   |   11 +
>  drivers/video/vidconsole_internal.h |  120 +
>  include/video_console.h             |   17 +-
>  include/video_font.h                |   31 +-
>  include/video_font_4x6.h            |   11 +-
>  include/video_font_8x16.h           | 4624 ++++++++++++++++++++
>  include/video_font_data.h           | 4644 +-------------------
>  include/video_font_sun12x22.h       | 6158 +++++++++++++++++++++++++++
>  include/video_font_ter16x32.h       | 2062 +++++++++
>  test/cmd/font.c                     |   13 +-
>  test/dm/video.c                     |   41 +
>  23 files changed, 13518 insertions(+), 5048 deletions(-)
>  create mode 100644 drivers/video/console_core.c
>  create mode 100644 drivers/video/vidconsole_internal.h
>  create mode 100644 include/video_font_8x16.h
>  create mode 100644 include/video_font_sun12x22.h
>  create mode 100644 include/video_font_ter16x32.h

Series applied to u-boot-video/next, thanks!

--
Anatolij


More information about the U-Boot mailing list