[PATCH] cmd: ufetch: use 3-bit colour ANSI codes

Ferass El Hafidi funderscore at postmarketos.org
Mon Feb 3 19:02:44 CET 2025


Hi,

> Currently, the 8-bit escapes are being used, which aren't supported by
> vidconsole_escape_char. Since the current usage maps directly to the
> 3-bit equivalents anyway, let's use those instead.
> 
> With this change, the fetch output looks as fetching in the vidconsole
> as it does over serial!
> 
> Signed-off-by: Sam Day <me at samcday.com>

Tested-by: Ferass El Hafidi <funderscore at postmarketos.org>
(tested on S905 Videostrong KII Pro)

Cheers.



More information about the U-Boot mailing list