All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v5 00/13] efi: Enable basic sandbox support for EFI loader
@ 2018-06-12  5:26 Simon Glass
  2018-06-12  5:26 ` [U-Boot] [PATCH v5 01/13] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox Simon Glass
                   ` (12 more replies)
  0 siblings, 13 replies; 41+ messages in thread
From: Simon Glass @ 2018-06-12  5:26 UTC (permalink / raw)
  To: u-boot

A limitation of the EFI loader at present is that it does not build with
sandbox. This makes it hard to write tests, since sandbox is used for most
testing in U-Boot.

This series enables the EFI loader feature. It allows sandbox to build and
run a trivial function which calls the EFI API to output a message.

This series is at u-boot-dm/efi-working

Changes in v5:
- Add new patch to disallow CMD_BOOTEFI_SELFTEST on sandbox
- Drop call to efi_init_obj_list() which is now done in do_bootefi()
- Drop period after "elf" in comment
- Introduce load_options_path to specifyc U-Boot env var for load_options_path
- Rebase to master

Changes in v4:
- Move the fix to query_console_serial()
- Rebase to master
- Update SPDX tags

Changes in v3:
- Add new patch to init the 'rows' and 'cols' variables
- Add new patch to rename bootefi_test_finish() to bootefi_run_finish()
- Add new patch to split out test init/uninit into functions
- Add patch to create a function to set up for running EFI code
- Drop incorrect map_sysmem() in write_smbios_table()
- Init the 'rows' and 'cols' vars to avoid a compiler error (gcc 4.8.4)
- Rebase to master

Changes in v2:
- Rebase to master
- Update to use mapmem instead of a cast

Simon Glass (13):
  efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox
  efi: Init the 'rows' and 'cols' variables
  efi: sandbox: Adjust memory usage for sandbox
  sandbox: smbios: Update to support sandbox
  efi: sandbox: Add distroboot support
  efi: sandbox: Add relocation constants
  efi: Add a comment about duplicated ELF constants
  efi: sandbox: Enable EFI loader builder for sandbox
  efi: Split out test init/uninit into functions
  efi: sandbox: Add a simple 'bootefi test' command
  efi: Create a function to set up for running EFI code
  efi: Rename bootefi_test_finish() to bootefi_run_finish()
  buildman: Add a --boards option to specify particular boards to build

 cmd/bootefi.c                   | 153 ++++++++++++++++++++++----------
 include/config_distro_bootcmd.h |   2 +-
 include/efi_loader.h            |   3 +
 lib/efi_loader/Kconfig          |  12 ++-
 lib/efi_loader/Makefile         |   1 +
 lib/efi_loader/efi_console.c    |   5 +-
 lib/efi_loader/efi_memory.c     |  31 ++++---
 lib/efi_loader/efi_runtime.c    |   7 ++
 lib/efi_loader/efi_test.c       |  16 ++++
 lib/efi_selftest/Kconfig        |   2 +-
 lib/smbios.c                    |  32 +++++--
 tools/buildman/README           |  12 ++-
 tools/buildman/board.py         |  28 +++++-
 tools/buildman/cmdline.py       |   4 +-
 tools/buildman/control.py       |  20 ++++-
 tools/buildman/test.py          |  31 ++++---
 16 files changed, 264 insertions(+), 95 deletions(-)
 create mode 100644 lib/efi_loader/efi_test.c

-- 
2.18.0.rc1.244.gcf134e6275-goog

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2018-10-15 20:07 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12  5:26 [U-Boot] [PATCH v5 00/13] efi: Enable basic sandbox support for EFI loader Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 01/13] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox Simon Glass
2018-06-12  5:38   ` Heinrich Schuchardt
2018-06-13  1:29     ` Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 02/13] efi: Init the 'rows' and 'cols' variables Simon Glass
2018-06-12  5:41   ` Heinrich Schuchardt
2018-06-13  3:12     ` Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 03/13] efi: sandbox: Adjust memory usage for sandbox Simon Glass
2018-06-12  8:05   ` Alexander Graf
2018-06-12 13:48     ` Simon Glass
2018-06-12 14:02       ` Alexander Graf
2018-06-12 21:55         ` Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 04/13] sandbox: smbios: Update to support sandbox Simon Glass
2018-06-12  8:12   ` Alexander Graf
2018-06-12 13:48     ` Simon Glass
2018-06-12 14:05       ` Alexander Graf
2018-06-12 21:56         ` Simon Glass
2018-06-13 10:14           ` Alexander Graf
2018-06-12  5:26 ` [U-Boot] [PATCH v5 05/13] efi: sandbox: Add distroboot support Simon Glass
2018-06-12  8:13   ` Alexander Graf
2018-06-12 13:48     ` Simon Glass
2018-06-12 14:06       ` Alexander Graf
2018-06-12 21:59         ` Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 06/13] efi: sandbox: Add relocation constants Simon Glass
2018-06-12  8:14   ` Alexander Graf
2018-06-12  5:26 ` [U-Boot] [PATCH v5 07/13] efi: Add a comment about duplicated ELF constants Simon Glass
2018-06-12 14:10   ` [U-Boot] [U-Boot, v5, " Alexander Graf
2018-06-12  5:26 ` [U-Boot] [PATCH v5 08/13] efi: sandbox: Enable EFI loader builder for sandbox Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 09/13] efi: Split out test init/uninit into functions Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 10/13] efi: sandbox: Add a simple 'bootefi test' command Simon Glass
2018-06-12  8:28   ` Alexander Graf
2018-06-12 13:48     ` Simon Glass
2018-06-12 14:11       ` Alexander Graf
2018-06-12 21:57         ` Simon Glass
2018-06-13 10:08           ` Alexander Graf
2018-06-14 15:12             ` Simon Glass
2018-06-14 15:19               ` Alexander Graf
2018-06-12  5:26 ` [U-Boot] [PATCH v5 11/13] efi: Create a function to set up for running EFI code Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 12/13] efi: Rename bootefi_test_finish() to bootefi_run_finish() Simon Glass
2018-06-12  5:26 ` [U-Boot] [PATCH v5 13/13] buildman: Add a --boards option to specify particular boards to build Simon Glass
2018-10-15 20:07   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.