Skip to content

cmd: env: add option for quiet output on env info

Patrick Delaunay u-boot 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/24 patches 0 repliesNew
  2. v5 posting 1/25 patches 0 repliesSuperseded
  3. v44 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches0 repliesSuperseded
v27 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Changes in v5 from the cover letter

- allow to execute cmd_nvedit_info on real board
- rename test_env_info_quiet to test_env_info_sandbox

Patches in v5 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cmd: env: add option for quiet output on env infocmd/Kconfig cmd/nvedit.c+20 -72 replies
2/4cmd: env: check real location for env info commandcmd/nvedit.c include/env_internal.h+23 -32 replies
3/4configs: sandbox: Enable sub command 'env info'configs/sandbox64_defconfig configs/sandbox_defconfig configs/sandbox_flattree_defconfig +1 more+4 -01 reply
4/4test: env: add test for env info sub-commandtest/py/tests/test_env.py+63 -02 replies
4/4test: env: add test for env info sub-command+0 -01 reply
4/4test: env: add test for env info sub-command+0 -00 replies

Reviews trailers per patch

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

PatchSimon GlassTom RiniStephen Warren
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4A-b
4/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [RESEND PATCH v5 0/4] cmd: env: add option for quiet output on env info

Hi,

It is a V5 for [1] serie.

RESEND without "stm32mp1: use the command env info -q in env_check" sent in separate serie [4].

I add the -q option for 'env info' command and I also add pytest for this command.

Test for ENV_IS_IN_DEVICE is included in separate serie [2] (I will activate ENV_IS_IN_EXT4 support in sandbox)

To avoid compilation warning, I add prototype for env_get_location for the patch 3/7
"cmd: env: check real location for env info command" as it is done in [3].

[1] http://patchwork.ozlabs.org/project/uboot/list/?series=183438
[2] http://patchwork.ozlabs.org/project/uboot/list/?series=158160
[3] http://patchwork.ozlabs.org/patch/1230200/
[4] http://patchwork.ozlabs.org/project/uboot/list/?series=183450

Changes in v5:
- allow to execute cmd_nvedit_info on real board
- rename test_env_info_quiet to test_env_info_sandbox

Changes in v4:
- rebase on master branch
- move 5/7 stm32mp1: configs: activate CMD_ERASEENV in a new serie 183380
- move 2/7 and 4/7 in a new serie 183387

Changes in v3:
- update commit message (sub-commandi)
- rename test_env_info_test to test_env_info_quiet

Changes in v2:
- update prototype in env_internal.h as done in "env: add prototypes for weak function"
- remove comment change in env.c (implementation information)
- move env_location declaration
- activate env info command in sandbox (new)
- add pytest test_env_info and test_env_info_test (new)

Patrick Delaunay (4):
cmd: env: add option for quiet output on env info
cmd: env: check real location for env info command
configs: sandbox: Enable sub command 'env info'
test: env: add test for env info sub-command

 cmd/Kconfig                        |  1 +
 cmd/nvedit.c                       | 37 ++++++++++++++----
 configs/sandbox64_defconfig        |  1 +
 configs/sandbox_defconfig          |  1 +
 configs/sandbox_flattree_defconfig |  1 +
 configs/sandbox_spl_defconfig      |  1 +
 include/env_internal.h             | 11 ++++++
 test/py/tests/test_env.py          | 63 ++++++++++++++++++++++++++++++
 8 files changed, 108 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1