[PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file
Tom Rini
trini at konsulko.com
Tue Nov 21 23:24:40 CET 2023
On Tue, Nov 21, 2023 at 03:11:50PM -0700, Simon Glass wrote:
> Hi Sughosh,
>
> On Tue, 21 Nov 2023 at 00:02, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
> >
> > Add support for specifying the parameters needed for capsule
> > generation through a config file, instead of passing them through
> > command-line. Parameters for more than a single capsule file can be
> > specified, resulting in generation of multiple capsules through a
> > single invocation of the command.
> >
> > The config file can then be passed to the mkeficapsule tool in such
> > manner
> >
> > $ ./tools/mkeficapsule -f <path/to/the/config/file>
> >
> > Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> > ---
> > tools/Kconfig | 15 ++
> > tools/Makefile | 1 +
> > tools/eficapsule.h | 114 ++++++++++++
> > tools/mkeficapsule.c | 87 +++++----
> > tools/mkeficapsule_parse.c | 352 +++++++++++++++++++++++++++++++++++++
> > 5 files changed, 538 insertions(+), 31 deletions(-)
> > create mode 100644 tools/mkeficapsule_parse.c
>
> This patch keeps coming back :-)
>
> Can we not add multiple capsules in the binman description? Why do we
> need a new file format? How can binman decode images produced in this
> way?
>
> Also, could we get sandbox to produce one EFI capsule as part of the
> normal build? I think that discussion trailed off.
I believe part of the answer here is to support the config file format
that other capsule generators use. Do I recall this all right, Sughosh?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231121/0040b27b/attachment.sig>
More information about the U-Boot
mailing list