[PATCH 0/6] Add support for fwumdata

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Dec 3 13:57:04 CET 2025


Hi Kory,

I'll try looking the patches in more detail tomorrow

On Wed, 3 Dec 2025 at 12:01, Kory Maincent <kory.maincent at bootlin.com> wrote:
>
> On Tue, 02 Dec 2025 18:28:25 +0100
> Kory Maincent <kory.maincent at bootlin.com> wrote:
>
> > 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.
>
> Still wondering about the choice of putting this fwumdata tool in U-Boot
> instead of TF-A. TF-A is the boot part that manages the update process and
> rollback through the FWU metadata,
> therefore, this is where it should belong.
> Why, in the first place, mkfwumdata was accepted into U-boot instead of TF-A?

The actual update happens via capsule updates only, which runs in
BL33. TF-A needs to be aware in case it's involved in the boot process
and fails to boot. In that case BL2 is responsible for booting via the
other bank.
But generally speaking it's U-Boot that processes and usually updates that file

Regards
/Ilias
>
> Regards,
> --
> Köry Maincent, Bootlin
> Embedded Linux and kernel engineering
> https://bootlin.com


More information about the U-Boot mailing list