This series adds the menu-driven UEFI boot variable maintenance
through the "eficonfig" new command.
This series also adds the removable media support in bootmenu.

The python based test will follow this series.

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

[Major Changes]
- rebased efi-2022-10-rc1
- there is detailed changelog in each commit

Masahisa Kojima (9):
  efi_loader: move udevice pointer into struct efi_object
  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                |  103 +-
 cmd/eficonfig.c               | 1992 +++++++++++++++++++++++++++++++++
 common/menu.c                 |    6 +
 doc/usage/cmd/bootmenu.rst    |   74 ++
 doc/usage/cmd/eficonfig.rst   |   49 +
 doc/usage/index.rst           |    1 +
 include/efi_config.h          |   91 ++
 include/efi_loader.h          |   71 ++
 include/menu.h                |    2 +
 lib/efi_loader/efi_bootmgr.c  |    7 +
 lib/efi_loader/efi_boottime.c |   52 +-
 lib/efi_loader/efi_console.c  |   70 ++
 lib/efi_loader/efi_disk.c     |   66 +-
 lib/efi_loader/efi_file.c     |   75 +-
 16 files changed, 2608 insertions(+), 59 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

Reply via email to