[PATCH 0/4] capsule: Generate capsules as part of sandbox build

Sughosh Ganu sughosh.ganu at linaro.org
Tue Mar 26 21:07:54 CET 2024


As part of review of a patch series for generating capsules through a
config file, I was asked to add support for generating capsules as
part of the sandbox platform build. This would provide an illustrative
example of generating capsules through binman. This patch series does
that.

Currently, the capsules get generated, through binman, only when
running the EFI Capsule Update test. With this series, a subset of
these capsules, more precisely the signed capsules, are being generated
as part of the sandbox platform build.

One of the patches in the series also performs a cleanup of the
capsule configs from all the sandbox variants which do not run the
capsule update tests. This restricts the generation of capsules only
on the two variants which are used for testing the functionality.


Sughosh Ganu (4):
  sandbox: capsule: remove capsule related configs
  sandbox: capsule: binman: generate some capsules as part of build
  capsule: add the generated capsules to gitignore
  capsule: Makefile: add the generated files to CLEAN_FILES list

 .gitignore                                    |   3 +
 Makefile                                      |   3 +-
 arch/sandbox/dts/sandbox.dts                  |   4 +
 arch/sandbox/dts/sandbox_capsule.dtsi         | 169 ++++++++++++++++++
 arch/sandbox/dts/test.dts                     |   4 +
 configs/sandbox64_defconfig                   |   5 -
 configs/sandbox_noinst_defconfig              |   2 -
 configs/sandbox_spl_defconfig                 |   2 -
 configs/sandbox_vpl_defconfig                 |   2 -
 .../test_efi_capsule/capsule_gen_binman.dts   | 167 +----------------
 test/py/tests/test_efi_capsule/conftest.py    |   1 +
 11 files changed, 190 insertions(+), 172 deletions(-)
 create mode 100644 arch/sandbox/dts/sandbox_capsule.dtsi

-- 
2.34.1




More information about the U-Boot mailing list