Board specific runtime determined default env
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 20 repliesIn review
- v15 patches 15 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | env: Don't set ready flag if import failed in env_set_default()env/ | +3 | 1 reply | |
| 2/12 | env: Fix env_get() when returning empty string using env_get_f()env/ | +1 | 1 reply | |
| 3/12 | env: Simplify env_get_default()env/ | +24 | 1 reply | |
| 4/12 | sysinfo: Make sysinfo_get_str() behave like snprintf()board/ common/ drivers/ +6 more | +35 | 3 replies | |
| 5/12 | test: Use ut_asserteq_str() instead of ut_assertok(strcmp())test/ test/ test/ +3 more | +25 | 1 reply | |
| 6/12 | sysinfo: Add get_str_list() methoddrivers/ drivers/ include/ +1 more | +87 | 3 replies | |
| 7/12 | sysinfo: Make .detect() non-mandatorydrivers/ | +1 | 1 reply | |
| 8/12 | sysinfo: Add support for iterating string listdrivers/ include/ test/ | +213 | 3 replies | |
| 9/12 | env: Change return behaviour of env_set_default_vars()env/ include/ | +7 | 1 reply | |
| 10/12 | env: Add support for overwriting default environment via sysinfoenv/ include/ | +110 | 1 reply | |
| 11/12 | arm: mvebu: Espressobin: Use new API for setting default env at runtimeboard/ configs/ include/ | +90 | 3 replies | |
| 12/12 | env: Remove support for read-write default_environment[]include/ include/ | +0 | 1 reply |
Reviews trailers per patch
8 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/12 | R-b R-b |
| 2/12 | R-b R-b |
| 3/12 | R-b R-b |
| 4/12 | |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | |
| 8/12 | |
| 9/12 | R-b |
| 10/12 | |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] Board specific runtime determined default env
From: Marek Behún <[email protected]>
Hello Simon, Pali,
this is v2 of the series that adds support for board specific runtime determined default environment variables.
(Went through CI on github.)
As requested, I converted it to use sysinfo (and added support for some new things into sysinfo).
I haven't tested the change on ESPRESSObin yet, because I don't have the board at home. But I copy-pasted the code to turris_mox and it worked as expected there. Nonetheless it should be tested, I or Pali can do it today or tomorrow.
Marek
Marek Behún (12):
env: Don't set ready flag if import failed in env_set_default()
env: Fix env_get() when returning empty string using env_get_f()
env: Simplify env_get_default()
sysinfo: Make sysinfo_get_str() behave like snprintf()
test: Use ut_asserteq_str() instead of ut_assertok(strcmp())
sysinfo: Add get_str_list() method
sysinfo: Make .detect() non-mandatory
sysinfo: Add support for iterating string list
env: Change return behaviour of env_set_default_vars()
env: Add support for overwriting default environment via sysinfo
arm: mvebu: Espressobin: Use new API for setting default env at
runtime
env: Remove support for read-write default_environment[]
board/Marvell/mvebu_armada-37xx/board.c | 135 ++++++++++------ board/google/chromebook_coral/coral.c | 13 +- common/board_info.c | 2 +- configs/mvebu_espressobin-88f3720_defconfig | 1 + drivers/sysinfo/gpio.c | 2 +- drivers/sysinfo/rcar3.c | 2 +- drivers/sysinfo/sandbox.c | 20 ++- drivers/sysinfo/sysinfo-uclass.c | 99 +++++++++++- env/common.c | 165 +++++++++++++++++--- include/configs/mvebu_armada-37xx.h | 17 +- include/env.h | 1 + include/env_default.h | 2 - include/env_internal.h | 4 - include/sysinfo.h | 163 ++++++++++++++++++- lib/smbios.c | 2 +- test/dm/cpu.c | 4 +- test/dm/soc.c | 4 +- test/dm/sysinfo-gpio.c | 12 +- test/dm/sysinfo.c | 66 ++++++-- test/dm/usb.c | 2 +- test/dm/virtio.c | 2 +- test/print_ut.c | 32 ++-- 22 files changed, 595 insertions(+), 155 deletions(-)
Signature · 1 line
2.32.0