All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] mkimage usability fixes
@ 2020-12-08  4:12 Joel Stanley
  2020-12-08  4:12 ` [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl Joel Stanley
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Joel Stanley @ 2020-12-08  4:12 UTC (permalink / raw)
  To: u-boot

v2: Move -B and -E out from FIT_SIGNATURE check, and other fixes from
Philippe's review.

Original cover letter:

I was learning about signed FIT today and was unable to convince mkimage
to produce a signature node in my control device tree. It turns out that
Debian's packaged mkimage doesn't enable FIT_SIGNATURE, so the options I
was passing were silently ignored.

There's an existing Debian bug for that[1] but in the mean time this
changes mkimage's behaviour to fail loudly when FIT_SIGNATURE is
disabled.

The first two patches fix some issues I found when testing the third
patch under sandbox_defconfig with FIT_SIGNATURE=n.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972513

Joel Stanley (4):
  tools/Makefile: FIT_CIPHER requires libssl
  image-fit: Fix FIT_CIPHER linking
  mkimage: Move padding commands outside of FIT_SIGNATURE
  mkimge: Reject signing-related flags without FIT_SIGNATURE

 common/image-fit-sig.c | 14 --------------
 common/image-fit.c     | 15 +++++++++++++++
 tools/Makefile         |  2 +-
 tools/mkimage.c        | 18 +++++++++++-------
 4 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.29.2

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

end of thread, other threads:[~2021-01-23 17:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08  4:12 [PATCH v2 0/4] mkimage usability fixes Joel Stanley
2020-12-08  4:12 ` [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl Joel Stanley
2020-12-08 15:25   ` Philippe REYNES
2021-01-23 17:46   ` Tom Rini
2020-12-08  4:12 ` [PATCH v2 2/4] image-fit: Fix FIT_CIPHER linking Joel Stanley
2020-12-08 15:26   ` Philippe REYNES
2021-01-23 17:46   ` Tom Rini
2020-12-08  4:12 ` [PATCH v2 3/4] mkimage: Move padding commands outside of FIT_SIGNATURE Joel Stanley
2020-12-08 15:35   ` Philippe REYNES
2021-01-23 17:46   ` Tom Rini
2020-12-08  4:12 ` [PATCH v2 4/4] mkimge: Reject signing-related flags without FIT_SIGNATURE Joel Stanley
2020-12-08 15:38   ` Philippe REYNES
2020-12-12 15:39     ` Simon Glass
2021-01-22 21:58   ` Tom Rini

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.