All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v6 00/13] efi: Enable basic sandbox support for EFI loader
@ 2018-06-13  2:37 Simon Glass
  2018-06-13  2:37 ` [U-Boot] [PATCH v6 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-13  2:37 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 v6:
- Warn about building sandbox EFI support on something other than __x86_64__

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()
  Revert "buildman: Extract environment as part of each build"

 cmd/bootefi.c                   | 153 ++++++++++++++++++++++----------
 include/config_distro_bootcmd.h |  13 +++
 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    |  16 ++++
 lib/efi_loader/efi_test.c       |  16 ++++
 lib/efi_selftest/Kconfig        |   2 +-
 lib/smbios.c                    |  32 +++++--
 tools/buildman/builderthread.py |  10 ---
 tools/buildman/func_test.py     |   5 --
 13 files changed, 213 insertions(+), 86 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-06-20 17:51 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13  2:37 [U-Boot] [PATCH v6 00/13] efi: Enable basic sandbox support for EFI loader Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 01/13] efi: Don't allow CMD_BOOTEFI_SELFTEST on sandbox Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 02/13] efi: Init the 'rows' and 'cols' variables Simon Glass
2018-06-14 10:11   ` Alexander Graf
2018-06-14 12:58     ` Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 03/13] efi: sandbox: Adjust memory usage for sandbox Simon Glass
2018-06-14 10:12   ` Alexander Graf
2018-06-14 12:58     ` Simon Glass
2018-06-14 13:41       ` Alexander Graf
2018-06-14 14:12         ` Simon Glass
2018-06-14 14:22           ` Alexander Graf
2018-06-14 15:43             ` Simon Glass
2018-06-14 15:47               ` Alexander Graf
2018-06-14 15:53                 ` Simon Glass
2018-06-14 16:07                   ` Alexander Graf
2018-06-14 16:13                     ` Simon Glass
2018-06-14 16:26                       ` Alexander Graf
2018-06-14 16:33                         ` Simon Glass
2018-06-14 16:42                           ` Alexander Graf
2018-06-14 16:55                             ` Simon Glass
2018-06-14 17:08                               ` Alexander Graf
2018-06-14 17:15                                 ` Simon Glass
2018-06-14 18:05                                   ` Alexander Graf
2018-06-14 19:02                                     ` Simon Glass
2018-06-14 19:32                                       ` Alexander Graf
2018-06-20 17:51                                         ` Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 04/13] sandbox: smbios: Update to support sandbox Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 05/13] efi: sandbox: Add distroboot support Simon Glass
2018-06-14 10:13   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 06/13] efi: sandbox: Add relocation constants Simon Glass
2018-06-14 10:14   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 07/13] efi: Add a comment about duplicated ELF constants Simon Glass
2018-06-14 10:15   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 08/13] efi: sandbox: Enable EFI loader builder for sandbox Simon Glass
2018-06-14 10:19   ` Alexander Graf
2018-06-13  2:37 ` [U-Boot] [PATCH v6 09/13] efi: Split out test init/uninit into functions Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 10/13] efi: sandbox: Add a simple 'bootefi test' command Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 11/13] efi: Create a function to set up for running EFI code Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 12/13] efi: Rename bootefi_test_finish() to bootefi_run_finish() Simon Glass
2018-06-13  2:37 ` [U-Boot] [PATCH v6 13/13] Revert "buildman: Extract environment as part of each build" Simon Glass
2018-06-13  2:41   ` 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.