All of lore.kernel.org
 help / color / mirror / Atom feed
* Full secure boot with qemuarm64
@ 2025-07-15  7:57 Michael Grand
  2025-07-15  8:06 ` [meta-arm] " Mikko Rapeli
       [not found] ` <18525E398D470BE8.3909@lists.yoctoproject.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Grand @ 2025-07-15  7:57 UTC (permalink / raw)
  To: meta-arm@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Dear all,

I'm trying to develop a PoC of a fully secure embedded software. Because this PoC is intended for educational use, I don't want to depend on a specific hardware vendor and therefore, I'm using qemuarm64 as target.

Unfortunately, i'm struggling in having a working secure boot (TF-A + OP-TEE + U-boot + kernel) and I cannot find useful (and working) information on the internet. Do somebody has some kind of a minimal working secure boot example based on qemuarm64 ?

Best regards,
Michael Grand

Envoyé à partir de Outlook pour Android<https://aka.ms/AAb9ysg>

[-- Attachment #2: Type: text/html, Size: 2135 bytes --]

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

* Re: [meta-arm] Full secure boot with qemuarm64
  2025-07-15  7:57 Full secure boot with qemuarm64 Michael Grand
@ 2025-07-15  8:06 ` Mikko Rapeli
       [not found] ` <18525E398D470BE8.3909@lists.yoctoproject.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Mikko Rapeli @ 2025-07-15  8:06 UTC (permalink / raw)
  To: m.grand; +Cc: meta-arm@lists.yoctoproject.org

Hi,

On Tue, Jul 15, 2025 at 07:57:28AM +0000, Michael Grand via lists.yoctoproject.org wrote:
> Dear all,
> 
> I'm trying to develop a PoC of a fully secure embedded software. Because this PoC is intended for educational use, I don't want to depend on a specific hardware vendor and therefore, I'm using qemuarm64 as target.
> 
> Unfortunately, i'm struggling in having a working secure boot (TF-A + OP-TEE + U-boot + kernel) and I cannot find useful (and working) information on the internet. Do somebody has some kind of a minimal working secure boot example based on qemuarm64 ?

Check the meta-arm layer and build for example
"kas build ci/qemuarm64-secureboot:ci/uefi-secureboot.yml:ci/testimage.yml"

These build u-boot for UEFI secureboot and then load a UKI binary
signed with matching keys, which includes kernel and initrd.

The testimage part boots the thing with u-boot and checks that
boot was secure. The config files have the details.

Hope this helps,

-Mikko


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

* Re: [meta-arm] Full secure boot with qemuarm64
       [not found] ` <18525E398D470BE8.3909@lists.yoctoproject.org>
@ 2025-07-15  8:19   ` Mikko Rapeli
  2025-07-15 16:09     ` Michael Grand
  0 siblings, 1 reply; 4+ messages in thread
From: Mikko Rapeli @ 2025-07-15  8:19 UTC (permalink / raw)
  To: m.grand, meta-arm@lists.yoctoproject.org

Hi,

On Tue, Jul 15, 2025 at 11:06:41AM +0300, Mikko Rapeli via lists.yoctoproject.org wrote:
> On Tue, Jul 15, 2025 at 07:57:28AM +0000, Michael Grand via lists.yoctoproject.org wrote:
> > Dear all,
> > 
> > I'm trying to develop a PoC of a fully secure embedded software. Because this PoC is intended for educational use, I don't want to depend on a specific hardware vendor and therefore, I'm using qemuarm64 as target.
> > 
> > Unfortunately, i'm struggling in having a working secure boot (TF-A + OP-TEE + U-boot + kernel) and I cannot find useful (and working) information on the internet. Do somebody has some kind of a minimal working secure boot example based on qemuarm64 ?
> 
> Check the meta-arm layer and build for example
> "kas build ci/qemuarm64-secureboot:ci/uefi-secureboot.yml:ci/testimage.yml"
> 
> These build u-boot for UEFI secureboot and then load a UKI binary
> signed with matching keys, which includes kernel and initrd.
> 
> The testimage part boots the thing with u-boot and checks that
> boot was secure. The config files have the details.

Boots with qemu, I mean to write.

Cheers,

-Mikko


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

* RE: [meta-arm] Full secure boot with qemuarm64
  2025-07-15  8:19   ` Mikko Rapeli
@ 2025-07-15 16:09     ` Michael Grand
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Grand @ 2025-07-15 16:09 UTC (permalink / raw)
  To: Mikko Rapeli, meta-arm@lists.yoctoproject.org

Thank you for the suggestion. Initially, I didn't want to use UEFI to keep the things simples, but I will give it a try. I was also using scarthgap and uefi-secureboot.yml is only available in walnascar branch but it does not really matter as this is only for educational purposes.

Best regards,
Michael Grand
 
-----Message d'origine-----
De : Mikko Rapeli <mikko.rapeli@linaro.org> 
Envoyé : mardi 15 juillet 2025 10:20
À : Michael Grand <m.grand@trustngo.tech>; meta-arm@lists.yoctoproject.org
Objet : Re: [meta-arm] Full secure boot with qemuarm64

Hi,

On Tue, Jul 15, 2025 at 11:06:41AM +0300, Mikko Rapeli via lists.yoctoproject.org wrote:
> On Tue, Jul 15, 2025 at 07:57:28AM +0000, Michael Grand via lists.yoctoproject.org wrote:
> > Dear all,
> > 
> > I'm trying to develop a PoC of a fully secure embedded software. Because this PoC is intended for educational use, I don't want to depend on a specific hardware vendor and therefore, I'm using qemuarm64 as target.
> > 
> > Unfortunately, i'm struggling in having a working secure boot (TF-A + OP-TEE + U-boot + kernel) and I cannot find useful (and working) information on the internet. Do somebody has some kind of a minimal working secure boot example based on qemuarm64 ?
> 
> Check the meta-arm layer and build for example "kas build 
> ci/qemuarm64-secureboot:ci/uefi-secureboot.yml:ci/testimage.yml"
> 
> These build u-boot for UEFI secureboot and then load a UKI binary 
> signed with matching keys, which includes kernel and initrd.
> 
> The testimage part boots the thing with u-boot and checks that boot 
> was secure. The config files have the details.

Boots with qemu, I mean to write.

Cheers,

-Mikko


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

end of thread, other threads:[~2025-07-15 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15  7:57 Full secure boot with qemuarm64 Michael Grand
2025-07-15  8:06 ` [meta-arm] " Mikko Rapeli
     [not found] ` <18525E398D470BE8.3909@lists.yoctoproject.org>
2025-07-15  8:19   ` Mikko Rapeli
2025-07-15 16:09     ` Michael Grand

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.