[PATCH v5 0/5] cmd: env: add option for quiet output on env info
Patrick Delaunay
patrick.delaunay at st.com
Fri Jun 19 13:56:06 CEST 2020
Hi,
It is a V5 for [1] serie.
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/
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 (5):
stm32mp1: use the command env info in env_check
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
arch/arm/mach-stm32mp/Kconfig | 1 +
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/configs/stm32mp1.h | 4 +-
include/env_internal.h | 11 ++++++
test/py/tests/test_env.py | 63 ++++++++++++++++++++++++++++++
10 files changed, 110 insertions(+), 11 deletions(-)
--
2.17.1
More information about the U-Boot
mailing list