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/2] arm: socfpga: agilex5: add VAB verification for SSBL
Date: Wed, 21 Oct 2026 22:33:51 +0200	[thread overview]
Message-ID: <20261021-socfpga-agilex5-verify-ssbl-v1-0-0463e94669ab@pengutronix.de> (raw)

If Vendor Authorized Boot (VAB) is enabled on Agilex 5, the firmware
checks the signature of the first stage loader. If the first stage
loader loads the second stage (SSBL) from flash, the first stage loader
is then responsible for checking the authenticity of the SSBL.

Add support for verifying a certificate that is attached to an SSBL and
rejecting an SSBL with an invalid certificate if VAB is enabled.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (2):
      arm: socfpga: mailbox_s10: add certificate validation
      arm: socfpga: agilex5: add SSBL verification

 arch/arm/mach-socfpga/agilex5-xload.c | 157 ++++++++++++++++++++++++++++++++++
 arch/arm/mach-socfpga/mailbox_s10.c   |  53 ++++++++++++
 include/mach/socfpga/mailbox_s10.h    |   2 +
 3 files changed, 212 insertions(+)
---
base-commit: e3bdefdf2484c19e17cf3a8cd7cb29d47917b545
change-id: 20261021-socfpga-agilex5-verify-ssbl-4fb1af9aa267

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




             reply	other threads:[~2026-10-21 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 20:33 Michael Tretter [this message]
2026-10-21 20:33 ` [PATCH 1/2] arm: socfpga: mailbox_s10: add certificate validation Michael Tretter
2026-10-21 20:33 ` [PATCH 2/2] arm: socfpga: agilex5: add SSBL verification Michael Tretter

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=20261021-socfpga-agilex5-verify-ssbl-v1-0-0463e94669ab@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