[PATCH] video console: add 6x8 console font from linux
Alexey Charkov
alchark at flipper.net
Tue May 12 21:10:41 CEST 2026
On Tue, May 12, 2026 at 9:09 PM Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, May 12, 2026 at 04:38:14PM +0400, Alexey Charkov wrote:
>
> > Small screens on the order of 256x144 pixels can't fit much text at 8x16,
> > and 4x6 is virtually illegible, so add an in-between 6x8 font from Linux.
> >
> > Signed-off-by: Alexey Charkov <alchark at flipper.net>
>
> The commit message needs to say what commit / release from Linux this is
> taken from, and since it's not obvious what file this is based on, that
> should be in the commit message and...
This is copied over from lib/fonts/font_6x8.c in the current Linux
master (the last change to the file was commit db65872b38dc
("lib/fonts: Remove internal symbols and macros from public header
file"), but the font data itself seems the same as in the original
commit e2028c8e6bf9 ("lib/fonts: add font 6x8 for OLED display") from
August 2020).
Will add it in v2.
> [snip]
> > diff --git a/include/video_font_6x8.h b/include/video_font_6x8.h
> > new file mode 100644
> > index 000000000000..c338377a0bd2
> > --- /dev/null
> > +++ b/include/video_font_6x8.h
> > @@ -0,0 +1,2574 @@
> > +/* SPDX-License-Identifier: GPL-2.0 */
> > +/*
> > + * 6x8 bitmap font from the Linux kernel adapted for U-boot video console
> > + */
>
> here as well. Thanks!
Will do. Thanks for your feedback Tom!
Best regards,
Alexey
More information about the U-Boot
mailing list