summaryrefslogtreecommitdiff
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-20 08:19:20 -0600
committerTom Rini <trini@konsulko.com>2024-04-20 08:19:20 -0600
commitb064bb66a10c850e231c7a124b90c8a26f99bd88 (patch)
tree05e88b4e7c30aba16e152762a23f1aa802ed604a /doc/usage/cmd
parentaf04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92 (diff)
parent52c62acc349a0ec1ba26ae497913ad34ee3de733 (diff)
Merge tag 'efi-2024-07-rc1-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2024-07-rc1-3 Documentation: * sort env sub-commands alphabetically * update list of aliases for the env command UEFI: * allow enabling SetVariable at runtime for future OS supported writing to ubootefi.var * use event callback for initrd deregistration Others: * correct alignment of x86 firmware tables
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/env.rst35
1 files changed, 18 insertions, 17 deletions
diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst
index a7e21693a67..040076bcc03 100644
--- a/doc/usage/cmd/env.rst
+++ b/doc/usage/cmd/env.rst
@@ -16,18 +16,18 @@ Synopsis
env default [-f] (-a | var [...])
env delete [-f] var [...]
env edit name
+ env erase
env exists name
env export [-t | -b | -c] [-s size] addr [var ...]
env flags
env grep [-e] [-n | -v | -b] string [...]
env import [-d] [-t [-r] | -b | -c] addr [size] [var ...]
env info [-d] [-p] [-q]
+ env load
env print [-a | name ...]
env print -e [-guid guid] [-n] [name ...]
env run var [...]
env save
- env erase
- env load
env select [target]
env set [-f] name [value]
env set -e [-nv][-bs][-rt][-at][-a][-i addr:size][-v] name [value]
@@ -40,11 +40,12 @@ the UEFI variables.
The next commands are kept as alias and for compatibility:
++ :doc:`askenv <askenv>` = *env ask*
+ *editenv* = *env edit*
+ *grepenv* = *env grep*
-+ *setenv* = *env set*
-+ *askenv* = *env ask*
++ :doc:`printenv <printenv>` = *env print*
+ *run* = *env run*
++ *setenv* = *env set*
Ask
~~~
@@ -103,6 +104,11 @@ The *env edit* command edits an environment variable.
name
name of the variable.
+Erase
+~~~~~
+
+The *env erase* command erases the U-Boot environment.
+
Exists
~~~~~~
@@ -204,6 +210,11 @@ environment information.
quiet output, use only for command result, by example with
'test' command.
+Load
+~~~~
+
+The *env load* command loads the U-Boot environment from persistent storage.
+
Print
~~~~~
@@ -235,16 +246,6 @@ Save
The *env save* command saves the U-Boot environment in persistent storage.
-Erase
-~~~~~
-
-The *env erase* command erases the U-Boot environment.
-
-Load
-~~~~
-
-The *env load* command loads the U-Boot environment from persistent storage.
-
Select
~~~~~~
@@ -350,15 +351,15 @@ edit
exists
CONFIG_CMD_ENV_EXISTS
-flags
- CONFIG_CMD_ENV_FLAGS
-
erase
CONFIG_CMD_ERASEENV
export
CONFIG_CMD_EXPORTENV
+flags
+ CONFIG_CMD_ENV_FLAGS
+
grep
CONFIG_CMD_GREPENV, CONFIG_REGEX for '-e' option