Skip to content

cmd: env: extend "env [set|print] -e" to manage UEFI variables

AKASHI Takahiro u-boot 12 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 0 repliesNew
  2. v5 posting 3/31 patch 0 repliesSuperseded
  3. v5 posting 2/31 patch 0 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v5 posting 1/31 patch0 repliesSuperseded
v3 posting 5/51 patch0 repliesSuperseded
v3 posting 4/51 patch0 repliesSuperseded
v41 patch0 repliesSuperseded
v3 posting 3/51 patch0 repliesSuperseded
v3 posting 2/51 patch0 repliesSuperseded
v3 posting 1/51 patch0 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v6 from the cover letter

* change default action of "env print -e" to dumping variables' values. Meanwhile a new "-n" option will suppress it.
* improve an error message for wrong guid format
* remove all the checks against option parameters as they are far from perfect and quite arguable. They will be checked any way in API call.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1cmd: env: extend "env [set|print] -e" to manage UEFI variablescmd/nvedit.c cmd/nvedit_efi.c+252 -441 reply
1/1cmd: env: extend "env [set|print] -e" to manage UEFI variables+0 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHeinrich Schuchardt
1/1R-b
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [U-Boot] [PATCH v6 0/1] cmd: env: extend "env [set|print] -e" to manage UEFI variables

This is my sixth version of "env -e" extension.

Changes in v6 (Oct 24, 2019)
* change default action of "env print -e" to dumping variables' values. Meanwhile a new "-n" option will suppress it.
* improve an error message for wrong guid format
* remove all the checks against option parameters as they are far from perfect and quite arguable. They will be checked any way in API call.

Changes in v5 (Oct 15, 2019)
* improve a message in case of wrong guid format
* improve a message in case that BOOTSERVICE_ACCESS is required

Changes in v4 (Oct 7, 2019)
* print usage message if "-guid guid" has a wrong format
* add "-guid guid" and "-all" option to "env print -e" command to specify a specific guid (or any guids)

Changes in v3 (Oct 4, 2019)
* add verbose messages when SetVariable() fails
* add "-v" option

Changes in v2 (Sept 6, 2019)
* remove "-at" option

AKASHI Takahiro (1):
cmd: env: extend "env [set|print] -e" to manage UEFI variables

 cmd/nvedit.c     |  19 +++-
 cmd/nvedit_efi.c | 277 ++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 252 insertions(+), 44 deletions(-)
Signature · 1 line
2.21.0