mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jonas Licht <jonas.licht@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: [PATCH v3] environment: support reading and writing of efivar
Date: Thu, 24 Apr 2025 15:04:34 +0200	[thread overview]
Message-ID: <CACoKKUuL2cswx8-GNeoRvF==xr3=A91iBtp_Lf+dMRVZmgtF_g@mail.gmail.com> (raw)
In-Reply-To: <67d4d49a-a558-427b-8965-4992efd74f3c@pengutronix.de>

Am Fr., 4. Apr. 2025 um 16:51 Uhr schrieb Ahmad Fatoum
<a.fatoum@pengutronix.de>:
>
> Hello Jonas,
Hello Ahmad,
>
> On 20.03.25 10:22, Jonas Licht wrote:
> > Skip the detect code when __BAREBOX__ is defined as well.
> > I've noticed that the first pread in detect_efi_vars never comes back
> > in __BAREBOX__ , when the efivar file don't exists, but doing this on a
> > file at /tmp works.
>
> Oh, so that's a bug in the barebox efivarfs implementation?
Yes it looks like the barebox efivarfs implementation is not capable
of doing a pread, or do have a bug there.

Thanks,
Jonas



  reply	other threads:[~2025-04-24 16:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11 14:17 [PATCH] " Jonas Licht
2025-03-17 10:42 ` Ahmad Fatoum
2025-03-18 16:32 ` [PATCH v2] " Jonas Licht
2025-03-20  9:22 ` [PATCH v3] " Jonas Licht
2025-04-04 14:51   ` Ahmad Fatoum
2025-04-24 13:04     ` Jonas Licht [this message]
2025-04-24 12:59 ` [PATCH v4] " Jonas Licht

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='CACoKKUuL2cswx8-GNeoRvF==xr3=A91iBtp_Lf+dMRVZmgtF_g@mail.gmail.com' \
    --to=jonas.licht@gmail.com \
    --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