[U-Boot] [PATCH 2/3] dm: video: Add basic ANSI escape sequence support

Simon Glass sjg at chromium.org
Sun Sep 17 19:30:03 UTC 2017


Hi Rob,

On 17 September 2017 at 13:26, Rob Clark <robdclark at gmail.com> wrote:
> On Sun, Sep 17, 2017 at 1:55 PM, Simon Glass <sjg at chromium.org> wrote:
>> On 13 September 2017 at 16:12, Rob Clark <robdclark at gmail.com> wrote:
>>> Really just the subset that is needed by efi_console.  Perhaps more will
>>> be added later, for example color support would be useful to implement
>>> efi_cout_set_attribute().
>>>
>>> Signed-off-by: Rob Clark <robdclark at gmail.com>
>>> ---
>>>  drivers/video/Kconfig             |   8 +++
>>>  drivers/video/vidconsole-uclass.c | 109 ++++++++++++++++++++++++++++++++++++++
>>>  drivers/video/video-uclass.c      |   4 +-
>>>  include/video.h                   |   7 +++
>>>  include/video_console.h           |  11 ++++
>>>  5 files changed, 136 insertions(+), 3 deletions(-)
>>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>>
>> I don't see the test though - is that in another patch?
>
> well, at this point test is load/bootefi Shell.efi and does it look
> messed up on screen.  If you have better ideas, let me know.

It should be easy enough to update test/dm/video.o to use the new
feature in a new test. This code has nothing to do with EFI really.

The tests are fairly slow in that they gzip the display to check that
it is correctly, but they work.

Regards,
Simon


More information about the U-Boot mailing list