Am Fr., 4. Apr. 2025 um 16:51 Uhr schrieb Ahmad Fatoum <a.fat...@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