[PATCH v3] environment: support reading and writing of efivar
Jonas Licht
jonas.licht at gmail.com
Thu Apr 24 06:04:34 PDT 2025
Am Fr., 4. Apr. 2025 um 16:51 Uhr schrieb Ahmad Fatoum
<a.fatoum at 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
More information about the barebox
mailing list