mbox series

[0/3] enable menu-driven boot device selection

Message ID 20220210070537.28667-1-masahisa.kojima@linaro.org
Headers show
Series enable menu-driven boot device selection | expand

Message

Masahisa Kojima Feb. 10, 2022, 7:05 a.m. UTC
This patch series adds the menu-driven boot device selection.
This menu also provides the functionality to add and delete
Boot#### variable, and edit the BootOrder variable.

This menu appears with the command "bootefi bootmgr",
the menu structure is as follows.

* Menu structure
[Boot Manager]
    -> select Boot#### to boot
[Boot Manager Maintenance]
    - [Add Boot Option]
        -> add new Boot#### variable
    - [Delete Boot Option]
        -> delete existing Boot#### variable
    - [Change Boot Order]
        -> update BootOrder variable

* Remaining items
 - Support to add Boot#### other than block device(e.g. network)
 - error notification
 - escape sequences handling

Masahisa Kojima (3):
  efi_loader: add menu-driven boot device selection
  lib/charset: add u16_strcat() function
  efi_loader: add menu-driven UEFI Boot Variable maintenance

 include/charset.h            |   13 +
 include/efi_loader.h         |    1 +
 lib/charset.c                |   12 +
 lib/efi_loader/Kconfig       |   10 +
 lib/efi_loader/efi_bootmgr.c | 1277 +++++++++++++++++++++++++++++++++-
 5 files changed, 1310 insertions(+), 3 deletions(-)