[PATCH v3 22/31] bootstd: Add an implementation of EFI boot

Michael Walle michael at walle.cc
Wed Jan 19 09:08:38 CET 2022


> Add a bootmeth driver which handles EFI boot, using EFI_LOADER.
> 
> In effect, this provides the same functionality as the 'bootefi' command
> and shares the same code. But the interface into it is via a bootmeth,
> so it does not require any special scripts, etc.
> 
> For now this requires the 'bootefi' command be enabled. Future work may
> tidy this up so that it can be used without CONFIG_CMDLINE being enabled.
> 
> There was much discussion about whether this is needed, but it seems
> that it is, at least for now.

FWIW, the distro boot will also load the device tree from the installer
medium for example. The filename is fetched from fdtfile. This is missing
here, thus for my board, this cannot be a replacement for distro boot;
which is the ultimate goal here, no?

-michael


More information about the U-Boot mailing list