Skip to content

Add dumpfwumdata tool for FWU metadata image

Dario Binacchi u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tools: build mkfwumdata with tools-only_defconfigconfigs/tools-only_defconfig+1 -00 replies
2/5fwu: centralize bank state macros in fwu_mdata.hinclude/fwu.h include/fwu_mdata.h tools/mkfwumdata.c+5 -80 replies
3/5fwu: use FWU_MAX_STATE_BANKS for bank_state arrayinclude/fwu_mdata.h tools/mkfwumdata.c+5 -50 replies
4/5tools: Add dumpfwumdata tool for FWU metadata imagetools/Kconfig tools/Makefile tools/dumpfwumdata.c+139 -06 replies
5/5tools: build dumpfwumdata with tools-only_defconfigconfigs/tools-only_defconfig+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Add dumpfwumdata tool for FWU metadata image

This series originates from the implementation of the A/B update scheme on a custom board based on the STM32MP2 platform. The addition of the dumpfwumdata tool required changes to its counterpart mkfwumdata in order to ensure code consistency and readability.
Finally, I considered it useful to enable both tools in the tools-only configuration.

Dario Binacchi (5):
tools: build mkfwumdata with tools-only_defconfig
fwu: centralize bank state macros in fwu_mdata.h
fwu: use FWU_MAX_STATE_BANKS for bank_state array
tools: Add dumpfwumdata tool for FWU metadata image
tools: build dumpfwumdata with tools-only_defconfig

 configs/tools-only_defconfig |   2 +
 include/fwu.h                |   4 --
 include/fwu_mdata.h          |   9 ++-
 tools/Kconfig                |   7 ++
 tools/Makefile               |   4 ++
 tools/dumpfwumdata.c         | 128 +++++++++++++++++++++++++++++++++++
 tools/mkfwumdata.c           |  10 +--
 7 files changed, 151 insertions(+), 13 deletions(-)
 create mode 100644 tools/dumpfwumdata.c
Signature · 4 lines
2.43.0

base-commit: 56cac250b0839ddbad1311d3ca4231f532b5aadf
branch: fwumdata