[PATCH v8 0/9] enable menu-driven UEFI variable maintenance

Masahisa Kojima masahisa.kojima at linaro.org
Sun Jun 19 06:55:58 CEST 2022


This series add the menu-driven UEFI boot variable maintenance
and removable media support in bootmenu.

Different from previous version, thie series adds a new U-Boot
command "efimenu" to invoke the UEFI boot-related variable
maintenance menu.

Note that menu-driven UEFI Secure Boot key management patch series
will follow.

Source code can be cloned with:
$ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/efi_menu_upstream_v8_0618

[Major Changes]
- command name is changed from "efimenu" to "eficonfig"
- there is detailed chang

Masahisa Kojima (9):
  efi_loader: expose END device path node
  eficonfig: menu-driven addition of UEFI boot option
  eficonfig: add "Edit Boot Option" menu entry
  menu: add KEY_PLUS and KEY_MINUS handling
  eficonfig: add "Change Boot Order" menu entry
  eficonfig: add "Delete Boot Option" menu entry
  bootmenu: add removable media entries
  doc:bootmenu: add description for UEFI boot support
  doc:eficonfig: add documentation for eficonfig command

 cmd/Kconfig                      |    7 +
 cmd/Makefile                     |    1 +
 cmd/bootmenu.c                   |   99 +-
 cmd/eficonfig.c                  | 1872 ++++++++++++++++++++++++++++++
 common/menu.c                    |    6 +
 doc/usage/cmd/bootmenu.rst       |   74 ++
 doc/usage/cmd/eficonfig.rst      |   50 +
 doc/usage/index.rst              |    1 +
 include/efi_config.h             |   91 ++
 include/efi_loader.h             |   63 +
 include/menu.h                   |    2 +
 lib/efi_loader/efi_bootmgr.c     |    4 +
 lib/efi_loader/efi_boottime.c    |   52 +-
 lib/efi_loader/efi_console.c     |   78 ++
 lib/efi_loader/efi_device_path.c |    2 +-
 lib/efi_loader/efi_disk.c        |   11 +
 lib/efi_loader/efi_file.c        |   75 +-
 17 files changed, 2437 insertions(+), 51 deletions(-)
 create mode 100644 cmd/eficonfig.c
 create mode 100644 doc/usage/cmd/eficonfig.rst
 create mode 100644 include/efi_config.h

-- 
2.17.1



More information about the U-Boot mailing list