[PATCH v2 31/41] bootstd: Add an implementation of EFI boot

Simon Glass sjg at chromium.org
Wed Oct 27 16:08:32 CEST 2021


Hi Heinrich, Ilias,

On Wed, 27 Oct 2021 at 06:03, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
>
>
> On 10/24/21 01:26, Simon Glass wrote:
> > 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.
>
> Booting via the boot manager must occur without issuing a command on the
> command line. How will the boot method in this file be invoked?
>
> The bootefi command may be implemented by invoking a boot method. A boot
> method invoking a command does not make sense to me.

What do you mean? What other way is there to boot an image at present?

The same thing happens with PXE, for example today, although I have
sent a series to start to change that.

The idea here is that to boot something on U-Boot you use 'bootflow
scan -b' and everything happens automatically. In all cases (at
present) this involves running commands, whether it is bootm, bootefi,
etc.

>
> Best regards
>
> Heinrich
>
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
[..]

Regards,
Simon


More information about the U-Boot mailing list