All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Generate capsules from config files
@ 2023-11-21  7:00 Sughosh Ganu
  2023-11-21  7:00 ` [PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file Sughosh Ganu
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Sughosh Ganu @ 2023-11-21  7:00 UTC (permalink / raw)
  To: u-boot; +Cc: Heinrich Schuchardt, Ilias Apalodimas, Tom Rini, Masahisa Kojima


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



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-03-13  5:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21  7:00 [PATCH 0/4] Generate capsules from config files Sughosh Ganu
2023-11-21  7:00 ` [PATCH 1/4] tools: mkeficapsule: Add support for parsing capsule params from config file Sughosh Ganu
2023-11-21 22:11   ` Simon Glass
2023-11-21 22:24     ` Tom Rini
2023-11-22  5:24       ` Sughosh Ganu
2023-11-22  5:23     ` Sughosh Ganu
2023-11-22  7:35       ` Ilias Apalodimas
2023-11-22  7:40         ` Sughosh Ganu
2023-11-30  2:45           ` Simon Glass
2023-12-01  6:39             ` Sughosh Ganu
2023-12-01 18:32               ` Simon Glass
2023-12-04  7:15                 ` Sughosh Ganu
2023-12-27 17:48                   ` Simon Glass
2023-12-29  6:53                     ` Sughosh Ganu
2023-12-29  7:51                       ` Simon Glass
2023-11-30  2:45       ` Simon Glass
2023-11-21  7:00 ` [PATCH 2/4] doc: Document capsule generation through a " Sughosh Ganu
2024-01-23 16:23   ` Ilias Apalodimas
2024-01-24  6:53     ` Sughosh Ganu
2023-11-21  7:00 ` [PATCH 3/4] sandbox: capsule: Add a config file for generating capsules Sughosh Ganu
2023-11-21  7:00 ` [PATCH 4/4] test: capsule: Generate capsules through config file Sughosh Ganu
2024-03-12 14:58 ` [PATCH 0/4] Generate capsules from config files Bence Balogh
2024-03-13  5:38   ` Sughosh Ganu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.