public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rob Clark <robdclark@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 00/12] efi_loader+video: support for Shell.efi
Date: Sun, 10 Sep 2017 09:22:21 -0400	[thread overview]
Message-ID: <20170910132236.14318-1-robdclark@gmail.com> (raw)

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

-- 
2.13.5

             reply	other threads:[~2017-09-10 13:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-10 13:22 Rob Clark [this message]
2017-09-10 13:22 ` [U-Boot] [PATCH v1 01/12] efi_loader: add stub EFI_DEVICE_PATH_UTILITIES_PROTOCOL Rob Clark
2017-10-04 17:13   ` Heinrich Schuchardt
2017-10-04 17:29     ` Heinrich Schuchardt
2017-10-04 18:00     ` Heinrich Schuchardt
2017-09-10 13:22 ` [U-Boot] [PATCH v1 02/12] efi_loader: add stub HII protocols Rob Clark
2017-10-04 17:45   ` Heinrich Schuchardt
2017-10-04 17:59     ` Heinrich Schuchardt
2017-09-10 13:22 ` [U-Boot] [PATCH v1 03/12] efi_loader: add EFI_UNICODE_COLLATION_PROTOCOL stub Rob Clark
2017-10-04 17:57   ` Heinrich Schuchardt
2017-10-04 18:35     ` Rob Clark
2017-10-04 18:57       ` Heinrich Schuchardt
2017-10-04 19:02         ` Heinrich Schuchardt
2017-10-04 19:01       ` Peter Jones
2017-09-10 13:22 ` [U-Boot] [PATCH v1 04/12] efi_loader: start fleshing out HII Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 05/12] efi_loader: flesh out unicode protocol Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 06/12] efi_loader: start fleshing out efi_device_path_utilities Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 07/12] efi_loader: SIMPLE_TEXT_INPUT_EX plus wire up objects properly Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 08/12] efi_loader: console support for color attributes Rob Clark
2017-10-04 18:53   ` Heinrich Schuchardt
2017-10-04 20:54     ` Rob Clark
2017-10-04 22:01       ` Heinrich Schuchardt
2017-10-04 23:19         ` Rob Clark
2017-10-04 23:53           ` Heinrich Schuchardt
2017-10-05  0:00             ` Rob Clark
2017-10-05  0:12               ` Rob Clark
2017-10-05  0:33                 ` Heinrich Schuchardt
2017-09-10 13:22 ` [U-Boot] [PATCH v1 09/12] dm: video: Fix cache flushes Rob Clark
2017-10-04 19:29   ` Heinrich Schuchardt
2017-09-10 13:22 ` [U-Boot] [PATCH v1 10/12] dm: video: Add basic ANSI escape sequence support Rob Clark
2017-09-12 12:30   ` Simon Glass
2017-09-12 13:06     ` Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 11/12] dm: video: Add color " Rob Clark
2017-09-10 13:22 ` [U-Boot] [PATCH v1 12/12] HACK: efi_loader: hacks for SCT Rob Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170910132236.14318-1-robdclark@gmail.com \
    --to=robdclark@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox