[PATCH v6 07/12] tools: mkeficapsule: allow for specifying GUID explicitly
Simon Glass
sjg at chromium.org
Thu Nov 4 03:49:02 CET 2021
On Wed, 3 Nov 2021 at 20:12, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
>
> On Tue, Nov 02, 2021 at 08:58:18AM -0600, Simon Glass wrote:
> > Hi Takahiro,
> >
> > On Mon, 1 Nov 2021 at 18:56, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
> > >
> > > The existing options, "--fit" and "--raw," are only used to put a proper
> > > GUID in a capsule header, where GUID identifies a particular FMP (Firmware
> > > Management Protocol) driver which then would handle the firmware binary in
> > > a capsule. In fact, mkeficapsule does the exact same job in creating
> > > a capsule file whatever the firmware binary type is.
> > >
> > > To prepare for the future extension, the command syntax will be a bit
> > > modified to allow users to specify arbitrary GUID for their own FMP driver.
> > > OLD:
> > > [--fit <image> | --raw <image>] <capsule file>
> > > NEW:
> > > [--fit | --raw | --guid <guid-string>] <image> <capsule file>
> >
> > Do these drivers have names?
>
> No, even there is no driver in the upstream tree.
>
> > A guid is not a very friendly thing to
> > have to provide.
>
> This feature is expected to be used when a user wants to have his own
> custom capsule format, yet using the existing command binary.
> It will be very much so when loading a FMP (firmware management
> protocol) driver dynamically will be supported in the future.
OMG
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list