[PATCH v4 00/16] efi_loader: add capsule update support
Heinrich Schuchardt
xypron.glpk at gmx.de
Wed Jul 29 09:06:15 CEST 2020
On 22.07.20 08:05, AKASHI Takahiro wrote:
> Summary
> =======
> 'UpdateCapsule' is one of runtime services defined in UEFI specification
> and its aim is to allow a caller (OS) to pass information to the firmware,
> i.e. U-Boot. This is mostly used to update firmware binary on devices by
> instructions from OS.
>
> While 'UpdateCapsule' is a runtime services function, it is, at least
> initially, supported only before exiting boot services alike other runtime
> functions, [Get/]SetVariable. This is because modifying storage which may
> be shared with OS must be carefully designed and there is no general
> assumption that we can do it.
>
> Therefore, we practically support only "capsule on disk"; any capsule can
> be handed over to UEFI subsystem as a file on a specific file system.
>
> In this patch series, all the related definitions and structures are given
> as UEFI specification describes, and basic framework for capsule support
> is provided. Currently supported is
> * firmware update (Firmware Management Protocol or simply FMP)
>
> Most of functionality of firmware update is provided by FMP driver and
> it can be, by nature, system/platform-specific. So you can and should
> implement your own FMP driver(s) based on your system requirements.
> Under the current implementation, we provide two basic but generic
> drivers with two formats:
> * FIT image format (as used in TFTP update and dfu)
> * raw image format
>
> It's totally up to users which one, or both, should be used on users'
> system depending on user requirements.
>
Hello Lukasz,
could you, please, give us feedback on the DFU part of the series.
Best regards
Heinrich
More information about the U-Boot
mailing list