[U-Boot] [PATCH v2 0/5] efi_loader: run a specific efi application more easily

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Jan 15 02:54:32 UTC 2019


This patch is a result from re-organizing my previous patches;
a combination of [1] and part of [2] so as to solely provide several ways
of executing a specific efi application explicitly.
  * bootmanager via BootNext variable
  * bootefi with boot id
  * run -e with BootXXXX variable

Changes in v2 (Jan 15, 2019)
* not specify any attributes when deleting BootNext variable in
  efi_bootmgr_load()
* introduce EFI_BOOTMGR_DEFAULT_ORDER macro on behalf of BootOrder
  for use in efi_bootmgr_load()
* simplify the code around efi_handle_fdt() in do_bootefi()
* add do_bootefi_run() and call it at "run -e" so that we don't have to
  export internal efi helper functions

[1] https://lists.denx.de/pipermail/u-boot/2018-November/349281.html
[2] https://lists.denx.de/pipermail/u-boot/2018-November/346450.html

AKASHI Takahiro (5):
  efi_loader: bootmgr: support BootNext and BootCurrent variable
    behavior
  efi_loader: bootmgr: allow for running a given load option
  cmd: bootefi: carve out fdt parameter handling
  cmd: bootefi: run an EFI application of a specific load option
  cmd: run: add "-e" option to run an EFI application

 cmd/bootefi.c                | 114 +++++++++++++++++++++++++++--------
 cmd/nvedit.c                 |   9 ++-
 common/cli.c                 |  10 +++
 include/command.h            |   3 +
 include/efi_loader.h         |   5 +-
 lib/efi_loader/efi_bootmgr.c |  43 ++++++++++++-
 6 files changed, 156 insertions(+), 28 deletions(-)

-- 
2.19.1



More information about the U-Boot mailing list