Skip to content

efi_loader+video: support for Shell.efi

Rob Clark u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12efi_loader: add stub EFI_DEVICE_PATH_UTILITIES_PROTOCOLinclude/efi_api.h include/efi_loader.h lib/efi_loader/Makefile +2 more+120 -03 replies
2/12efi_loader: add stub HII protocolsinclude/efi_api.h include/efi_loader.h lib/efi_loader/Makefile +2 more+523 -12 replies
3/12efi_loader: add EFI_UNICODE_COLLATION_PROTOCOL stubinclude/efi_api.h include/efi_loader.h lib/efi_loader/Makefile +2 more+112 -11 reply
3/12efi_loader: add EFI_UNICODE_COLLATION_PROTOCOL stub+0 -03 replies
4/12efi_loader: start fleshing out HIIinclude/efi_api.h lib/efi_loader/efi_hii.c+304 -380 replies
5/12efi_loader: flesh out unicode protocolinclude/efi_api.h include/efi_loader.h lib/efi_loader/efi_boottime.c +1 more+134 -240 replies
6/12efi_loader: start fleshing out efi_device_path_utilitieslib/efi_loader/efi_device_path_utilities.c+16 -120 replies
7/12efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properlyinclude/efi_api.h include/efi_loader.h lib/efi_loader/efi_boottime.c +1 more+177 -250 replies
8/12efi_loader: console support for color attributesinclude/efi_api.h lib/efi_loader/efi_console.c+59 -01 reply
8/12efi_loader: console support for color attributes+0 -01 reply
8/12efi_loader: console support for color attributes+0 -01 reply
8/12efi_loader: console support for color attributes+0 -00 replies
8/12efi_loader: console support for color attributes+0 -01 reply
9/12dm: video: Fix cache flushesdrivers/video/vidconsole-uclass.c+3 -01 reply
10/12dm: video: Add basic ANSI escape sequence supportdrivers/video/vidconsole-uclass.c drivers/video/video-uclass.c include/video.h +1 more+131 -31 reply
10/12dm: video: Add basic ANSI escape sequence support+0 -00 replies
11/12dm: video: Add color ANSI escape sequence supportdrivers/video/vidconsole-uclass.c+94 -00 replies
12/12HACK: efi_loader: hacks for SCTinclude/config_distro_bootcmd.h lib/efi_loader/efi_boottime.c lib/efi_loader/efi_console.c +1 more+14 -60 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchHeinrich Schuchardt
1/12
2/12
3/12
3/12
4/12
5/12
6/12
7/12
8/12
8/12
8/12
8/12
8/12
9/12A-b
10/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH v1 00/12] efi_loader+video: support for Shell.efi

This patchset gets Shell.efi working to the point where we can start running SCT.efi (the UEFI test suite). There is more fat/fs work needed so that SCT can actually write results to a file so we can even see what is passing and what is not.

This applies on top of the "efi_loader: enough UEFI for standard distro boot" patchset plus two patches from Heinrich which are also required:

efi_loader: support 16 protocols per efi_object
efi_loader: allow creating new handles

Leif added stubbed implementations for the additional protocols that Shell.efi required, on top of what was added in the standard distro boot patchset, and I fleshed out the implementation enough for what Shell/ SCT required. There are still parts unimplemented, but IMHO the better thing to do is concentrate on what is needed to get SCT running properly so that we can implement the remaining bits having tests to test the implementation.

There are 3 dm/video patches at the end, which aren't strictly required but fix issues with Shell running on vidconsole. (It is very convenient for debugging to have Shell on screen with u-boot debug prints going to serial.)

The last HACK patch is not intended to be merged, just to show the remaining TODOs to have things working properly.

Leif Lindholm (3):
efi_loader: add stub EFI_DEVICE_PATH_UTILITIES_PROTOCOL
efi_loader: add stub HII protocols
efi_loader: add EFI_UNICODE_COLLATION_PROTOCOL stub

Rob Clark (9):
efi_loader: start fleshing out HII
efi_loader: flesh out unicode protocol
efi_loader: start fleshing out efi_device_path_utilities
efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly
efi_loader: console support for color attributes
dm: video: Fix cache flushes
dm: video: Add basic ANSI escape sequence support
dm: video: Add color ANSI escape sequence support
HACK: efi_loader: hacks for SCT

 drivers/video/vidconsole-uclass.c          | 209 ++++++++++++
 drivers/video/video-uclass.c               |   4 +-
 include/config_distro_bootcmd.h            |   2 +-
 include/efi_api.h                          | 429 +++++++++++++++++++++++-
 include/efi_loader.h                       |  21 +-
 include/video.h                            |   7 +
 include/video_console.h                    |  11 +
 lib/efi_loader/Makefile                    |   1 +
 lib/efi_loader/efi_boottime.c              |  26 +-
 lib/efi_loader/efi_console.c               | 160 ++++++++-
 lib/efi_loader/efi_device_path_utilities.c |  87 +++++
 lib/efi_loader/efi_file.c                  |  11 +-
 lib/efi_loader/efi_hii.c                   | 505 +++++++++++++++++++++++++++++
 lib/efi_loader/efi_unicode.c               | 170 ++++++++++
 14 files changed, 1610 insertions(+), 33 deletions(-)
 create mode 100644 lib/efi_loader/efi_device_path_utilities.c
 create mode 100644 lib/efi_loader/efi_hii.c
 create mode 100644 lib/efi_loader/efi_unicode.c
Signature · 1 line
2.13.5