[PATCH 0/4] Generate capsules from config files

Sughosh Ganu sughosh.ganu at linaro.org
Wed Mar 13 06:38:21 CET 2024


hi Bence,

On Tue, 12 Mar 2024 at 20:28, Bence Balogh <bence.balogh at arm.com> wrote:
>
> Hello Sughosh,
>
> We are planning to use these changes in the Corstone-1000 platform.
> Do you have a timeline when these are going to get merged?

I will prioritize this task since you want to use these changes. I
need to send some changes which Simon has asked for. Once those
changes go through, these patches also should be merged. Will work on
this task. Thanks for letting me know.

-sughosh

>
> Thanks,
> Bence
>
> On Tue, Nov 21, 2023 at 12:30:24PM +0530, Sughosh Ganu wrote:
> >
> > Add support for generating capsules through a config file. Multiple
> > capsules can be generated through a single invocation of the
> > mkeficapsule tool, where the capsule parameters are fetched from the
> > config file.
> >
> > The format of the config file pretty similar to the one used by the
> > capsule generation tool in EDKII.
> >
> > The functionality is enabled on the sandbox variant and the EFI
> > capsule update test is now configured to generate the capsules through
> > a config file. The sandbox_flattree variant generates capsules through
> > binman, thus covering both the paths.
> >
> > Sughosh Ganu (4):
> >   tools: mkeficapsule: Add support for parsing capsule params from
> >     config file
> >   doc: Document capsule generation through a config file
> >   sandbox: capsule: Add a config file for generating capsules
> >   test: capsule: Generate capsules through config file
> >
> >  configs/sandbox_defconfig                     |   2 +
> >  doc/develop/uefi/uefi.rst                     |  70 ++++
> >  .../test_efi_capsule/capsule_gen_binman.dts   |   2 +
> >  test/py/tests/test_efi_capsule/conftest.py    |   7 +
> >  .../test_efi_capsule/sandbox_capsule_cfg.txt  | 162 ++++++++
> >  tools/Kconfig                                 |  15 +
> >  tools/Makefile                                |   1 +
> >  tools/eficapsule.h                            | 114 ++++++
> >  tools/mkeficapsule.c                          |  87 +++--
> >  tools/mkeficapsule_parse.c                    | 352 ++++++++++++++++++
> >  10 files changed, 781 insertions(+), 31 deletions(-)
> >  create mode 100644 test/py/tests/test_efi_capsule/sandbox_capsule_cfg.txt
> >  create mode 100644 tools/mkeficapsule_parse.c
> >
> > --
> > 2.34.1
> >
> >


More information about the U-Boot mailing list