mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH 0/4] ARM: rockchip: add support for signed images
Date: Wed, 20 Aug 2025 12:16:56 +0200	[thread overview]
Message-ID: <20250820-rkimage-signed-v1-0-0ad3d1d1c952@pengutronix.de> (raw)

The Rockchip signed image has the same header format as the unsigned
image, but uses a different magic.

In order to be able do boot and update signed images, barebox has to
accept the magic of the signed images.

Extend the bootm and bbu handlers to accept signed images.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (4):
      filetype: detect Rockchip signed images
      ARM: rockchip: bbu: accept signed images
      ARM: rockchip: bootm: don't propagate error from register_image_handler
      ARM: rockchip: bootm: accept signed images

 arch/arm/mach-rockchip/bbu.c   |  8 ++++----
 arch/arm/mach-rockchip/bootm.c | 11 ++++++++++-
 common/filetype.c              |  4 ++++
 include/filetype.h             |  1 +
 4 files changed, 19 insertions(+), 5 deletions(-)
---
base-commit: c23f4202a0abd964a5d0a2ac7b1e7bcf28a1d687
change-id: 20250820-rkimage-signed-c5278283d49b

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




             reply	other threads:[~2025-08-20 12:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-20 10:16 Michael Tretter [this message]
2025-08-20 10:16 ` [PATCH 1/4] filetype: detect Rockchip " Michael Tretter
2025-08-20 10:16 ` [PATCH 2/4] ARM: rockchip: bbu: accept " Michael Tretter
2025-08-20 10:16 ` [PATCH 3/4] ARM: rockchip: bootm: don't propagate error from register_image_handler Michael Tretter
2025-08-20 10:17 ` [PATCH 4/4] ARM: rockchip: bootm: accept signed images Michael Tretter
2025-08-20 12:30 ` [PATCH 0/4] ARM: rockchip: add support for " Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250820-rkimage-signed-v1-0-0ad3d1d1c952@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox