
Add documentation for efimenu command.
Signed-off-by: Masahisa Kojima masahisa.kojima@linaro.org --- Newly created in v7
doc/usage/cmd/efimenu.rst | 50 +++++++++++++++++++++++++++++++++++++++ doc/usage/index.rst | 1 + 2 files changed, 51 insertions(+) create mode 100644 doc/usage/cmd/efimenu.rst
diff --git a/doc/usage/cmd/efimenu.rst b/doc/usage/cmd/efimenu.rst new file mode 100644 index 0000000000..2bf4f9266e --- /dev/null +++ b/doc/usage/cmd/efimenu.rst @@ -0,0 +1,50 @@ +.. SPDX-License-Identifier: GPL-2.0+ +.. (C) Copyright 2022, Masahisa Kojima masahisa.kojima@linaro.org + +efimenu command +================ + +Synopsis +-------- +:: + + efimenu + +Description +----------- + +The "efimenu" command uses U-Boot menu interface and privides +a menu-driven UEFI variable maintenance feature. +The "efimenu" has the following menu entries. + +Add Boot Option + Add new UEFI Boot Option. + User can edit description, file path, and optional_data. + +Edit Boot Option + Edit the existing UEFI Boot Option + User can edit description, file path, and optional_data. + +Change Boot Order + Change the order of UEFI BootOrder variable. + +Delete Boot Option + Delete the UEFI Boot Option + +Configuration +------------- + +The "efimenu" command is enabled by:: + + CONFIG_CMD_EFIMENU=y + +If CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE is enabled, user can not enter +U-Boot console. In this case, bootmenu can be used to invoke "efimenu":: + + CONFIG_USE_PREBOOT=y + CONFIG_PREBOOT="setenv bootmenu_0 UEFI Maintenance Menu=efimenu" + +See also +-------- +* :doc:`bootmenu<bootmenu>` provides a simple mechanism for creating menus with different boot items + diff --git a/doc/usage/index.rst b/doc/usage/index.rst index c03f4aef9e..053631a746 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -33,6 +33,7 @@ Shell commands cmd/cbsysinfo cmd/conitrace cmd/echo + cmd/efimenu cmd/env cmd/event cmd/exception