mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: giorgio.nicole@arcor.de
To: barebox@lists.infradead.org
Subject: barebox on EFI bios and secure boot
Date: Thu, 08 Aug 2024 11:45:45 +0200	[thread overview]
Message-ID: <48fe5dbe42e14b518a86e25bf21e4425@arcor.de> (raw)



Hi,

I use barebox to boot a linux kernel on an Intel atom based PC with an EFI bios and this just works.

Now I wanted to configure the bios to enable the secure boot mode: this means I tried to write some
EFI variables (db, dbx, KEK, PK); for this I used the efitools utils (efi-updatevar for example) but it didn't
worked: I always get an 'Invalid argument' error.

After some unsuccessful tries I booted the linux kernel directly from the bios, without barebox and in this
case the efi-updatevar tool worked as expected; so I suppose that starting barebox has some kind of effect
on the persistent store for the efi vars.

Does anyone have similar issues or a suggestion about what can be checked to fix this ???

thank you,

giorgio





             reply	other threads:[~2024-08-08  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08  9:45 giorgio.nicole [this message]
2024-08-12 12:09 ` Ahmad Fatoum

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=48fe5dbe42e14b518a86e25bf21e4425@arcor.de \
    --to=giorgio.nicole@arcor.de \
    --cc=barebox@lists.infradead.org \
    /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