[PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist
Tom Rini
trini at konsulko.com
Fri Mar 31 20:02:22 CEST 2023
On Fri, Mar 31, 2023 at 10:25:56AM +1300, Simon Glass wrote:
> The current EFI implementation has a strange quirk where it watches
> loaded files and uses the last-loaded file to determine the device that
> is being booted from.
>
> This is confusing with bootstd, where multiple options may exist. Even
> loading a device tree will cause it to go wrong. There is no API for
> passing this information, since the only entry into booting an EFI image
> is the 'bootefi' command.
>
> To work around this, call efi_set_bootdev() for EFI images, if possible,
> just before booting.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Shouldn't this all be a simple wrapper around the EFI Standard
BootDeviceOrder or whatever that's called?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/eae782d8/attachment.sig>
More information about the U-Boot
mailing list