All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] u-boot: Rework signing process to remove interdependencies
@ 2022-10-21 23:37 Sean Anderson
  2022-10-21 23:37 ` [PATCH 1/6] uboot-sign: Fix using wrong KEY_REQ_ARGS Sean Anderson
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Sean Anderson @ 2022-10-21 23:37 UTC (permalink / raw)
  To: Alexandre Belloni, Richard Purdie, openembedded-core
  Cc: Luca Ceresoli, Klaus Heinrich Kiwi, Sean Anderson

This series reworks the uboot-sign and kernel-fitimage classes to cut their
intertwining web of dependencies. We do this by signing the kernel image
twice: once for real, and once to embed the keys into U-Boot's dtb. This
cuts two of the dependencies between U-Boot and Linux's recipes, and
moves the deployment and signing of U-Boot back into its own recipe.

I tested this series by running

	oe-selftest -r fitimage.FitImageTests


Sean Anderson (6):
  uboot-sign: Fix using wrong KEY_REQ_ARGS
  kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all
  kernel-fitimage: Use KERNEL_OUTPUT_DIR where appropriate
  uboot-sign: Use bitbake variables directly
  uboot-sign: Split off kernel-fitimage variables
  u-boot: Rework signing to remove interdependencies

 meta/classes-recipe/kernel-fitimage.bbclass | 109 +++--
 meta/classes-recipe/kernel.bbclass          |   4 +-
 meta/classes-recipe/uboot-config.bbclass    |   6 +
 meta/classes-recipe/uboot-sign.bbclass      | 462 +++++++++-----------
 meta/lib/oeqa/selftest/cases/fitimage.py    |  29 +-
 meta/recipes-bsp/u-boot/u-boot.inc          |   3 -
 6 files changed, 273 insertions(+), 340 deletions(-)

-- 
2.35.1.1320.gc452695387.dirty



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

end of thread, other threads:[~2022-11-10 15:19 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 23:37 [PATCH 0/6] u-boot: Rework signing process to remove interdependencies Sean Anderson
2022-10-21 23:37 ` [PATCH 1/6] uboot-sign: Fix using wrong KEY_REQ_ARGS Sean Anderson
2022-10-21 23:37 ` [PATCH 2/6] kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all Sean Anderson
2022-10-21 23:37 ` [PATCH 3/6] kernel-fitimage: Use KERNEL_OUTPUT_DIR where appropriate Sean Anderson
2022-10-21 23:37 ` [PATCH 4/6] uboot-sign: Use bitbake variables directly Sean Anderson
2022-10-21 23:37 ` [PATCH 5/6] uboot-sign: Split off kernel-fitimage variables Sean Anderson
2022-10-21 23:37 ` [PATCH 6/6] u-boot: Rework signing to remove interdependencies Sean Anderson
     [not found]   ` <f8039bfc391404e83464c6894ce3ebf5496f1da1.camel@linuxfoundation.org>
2022-10-26 16:49     ` Sean Anderson
2022-10-26 17:00       ` Richard Purdie
2022-10-26 17:21         ` Sean Anderson
2022-10-28 15:09           ` Richard Purdie
2022-10-28 15:29             ` Sean Anderson
2022-10-28 15:37               ` Richard Purdie
2022-11-01 16:14                 ` Sean Anderson
2022-11-01 17:29                   ` Richard Purdie
2022-11-01 17:40                     ` Sean Anderson
2022-11-01 17:44                       ` Richard Purdie
2022-11-01 17:54                         ` Sean Anderson
2022-11-01 18:02                           ` [OE-core] " Alexander Kanavin
2022-11-01 18:29                             ` Sean Anderson
2022-11-01 18:40                               ` Alexander Kanavin
     [not found]                           ` <172387EDE52D4BA6.10252@lists.openembedded.org>
2022-11-01 18:24                             ` Alexander Kanavin
2022-11-09 23:07                           ` Alexandre Belloni
2022-11-10 15:19                             ` Sean Anderson
2022-11-01 21:01                       ` [OE-core] " Ross Burton

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.