From: Alex G. <mr.nuke.me@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/5] Enable ECDSA FIT verification for stm32mp
Date: Tue, 9 Feb 2021 15:28:56 -0600 [thread overview]
Message-ID: <82ec8f8b-ddaf-96ad-e5f4-55d27f73f87a@gmail.com> (raw)
In-Reply-To: <1e9f9eb1-b871-0ed0-a833-b79f2f8fcd55@foss.st.com>
Hi Patrick,
On 2/9/21 9:08 AM, Patrick DELAUNAY wrote:
[snip]
> For information, today the STMicroelectronics expected that the boot
> sequence for secure boot
>
> (with closed STM32MP1 devices) is the trusted boot chain.
>
>
>
> TF-A (BL2) => OP-TEE or????? => U-Boot =>? OS
>
> ??????????????????????? TF-A (BL32)
>
>
> BL2 is authenticated by ROM code, with EDCSA support.
>
>
> I next OpenSTLinux release (and soon after in upstream)
> STMicroelectronics will add FIP support
>
> for STM32MP15x; TF-A FIP allows to boot Kernel after TF-A BL2 if you
> want to skip U-Boot
>
> TF-A (BL2) => FIP (OP-TEE + Kernel)
>
>
> And the FIP allow authentication with certificate for 'secured boot'
> with a complete chain of trust.
>
> https://trustedfirmware-a.readthedocs.io/en/latest/index.html
>
>
> So the ECDSA support in SPL for STM32MP15x will be not actively
> supported by STMicroelectronics for product design.
The boot flow I'm working on will use an authenticated BL2 as well:
ROM -> SPL(BL2) -> FIT(OP-TEE -> Linux)
I'm using this to boot to a 3D application very fast (a couple of
seconds max). It's really cool. I even wrote a utility for signing SPL
images for the ROM code to check [1].
I had looked at FIP images briefly a few months back. I didn't see any
advantage over the FIT format. I also wanted to have as little code as
possible, so avoiding TF-A made sense. There were also some major issues
with syncing the clock tree between linux and TF-A. TF-A was a beautiful
disaster. Maybe that changed, but given I have a working proof of
concept, I doubt I'll be re-engineering the boot flow.
I realize there won't be any STM support for SPL. openstlinux seems to
have moved away from SPL. I've gotten a lot of enthusiastic support from
u-boot members, as a number of people seem to really like this chip
(meself included).
Alex
[1] https://github.com/mrnuke/stm32mp-keygen
next prev parent reply other threads:[~2021-02-09 21:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-11 15:41 [PATCH 0/5] Enable ECDSA FIT verification for stm32mp Alexandru Gagniuc
2021-01-11 15:41 ` [PATCH 1/5] dm: crypto: Define UCLASS API for ECDSA signature verification Alexandru Gagniuc
2021-01-13 16:10 ` Simon Glass
2021-01-14 16:09 ` Alex G.
2021-01-14 19:16 ` Simon Glass
2021-01-11 15:41 ` [PATCH 2/5] lib: ecdsa: Add skeleton to implement ecdsa verification in u-boot Alexandru Gagniuc
2021-02-09 15:11 ` Patrick DELAUNAY
2021-02-09 22:37 ` Alex G.
2021-01-11 15:41 ` [PATCH 3/5] lib: ecdsa: Implement signature verification for crypto_algo API Alexandru Gagniuc
2021-01-13 16:10 ` Simon Glass
2021-02-09 15:56 ` Patrick DELAUNAY
2021-02-09 22:58 ` Alex G.
2021-01-11 15:41 ` [PATCH 4/5] arm: stm32mp1: Implement ECDSA signature verification Alexandru Gagniuc
2021-01-11 15:41 ` [PATCH 5/5] Kconfig: FIT_SIGNATURE should not select RSA_VERIFY Alexandru Gagniuc
2021-01-13 16:10 ` Simon Glass
2021-02-09 15:08 ` [PATCH 0/5] Enable ECDSA FIT verification for stm32mp Patrick DELAUNAY
2021-02-09 21:28 ` Alex G. [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-27 8:09 [PATCH v5 5/5] test: dm: Add test for ECDSA UCLASS support Patrick DELAUNAY
2021-07-29 16:47 ` [PATCH 0/5] Enable ECDSA FIT verification for stm32mp Alexandru Gagniuc
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=82ec8f8b-ddaf-96ad-e5f4-55d27f73f87a@gmail.com \
--to=mr.nuke.me@gmail.com \
--cc=u-boot@lists.denx.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