Add a new fwumdata tool to allows users to read, display, and modify FWU (Firmware Update) metadata from Linux userspace. It provides functionality similar to fw_printenv/fw_setenv but for FWU metadata. Users can view metadata, change active/previous bank indices, modify bank states, and set image acceptance flags. Configuration is done via fwumdata.config file.
Made a few change to mkfwumdata tool along the way. Signed-off-by: Kory Maincent <[email protected]> --- Kory Maincent (6): tools: gitignore: Add mkfwumdata to the git ignore file tools: Reorganize mkfwumdata tool into fwumdata_src directory tools: mkfwumdata: Improve error message specificity tools: mkfwumdata: Add bank count validation for FWU metadata v2 tools: Add support for fwumdata tool tools: mkfwumdata: Remove dependency on fwu_mdata.h header MAINTAINERS | 7 +- doc/develop/uefi/fwu_updates.rst | 4 +- doc/fwumdata.1 | 222 +++++++++ tools/.gitignore | 2 + tools/Kconfig | 9 +- tools/Makefile | 4 +- tools/fwumdata_src/Kconfig | 19 + tools/fwumdata_src/fwumdata.c | 854 ++++++++++++++++++++++++++++++++++ tools/fwumdata_src/fwumdata.config | 33 ++ tools/fwumdata_src/fwumdata.h | 138 ++++++ tools/fwumdata_src/fwumdata.mk | 10 + tools/{ => fwumdata_src}/mkfwumdata.c | 105 +---- 12 files changed, 1314 insertions(+), 93 deletions(-) --- base-commit: 31bf4a1c308773895a8e7ea047b3cea037e4c922 change-id: 20251107-feature_fwumdata-58508d61e1d3 Best regards, -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com

