[PATCH 10/35] efi: Add video support to the app

Simon Glass sjg at chromium.org
Thu Sep 9 10:57:21 CEST 2021


Hi Heinrich,

On Wed, 8 Sept 2021 at 11:40, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
>
>
> On 9/8/21 3:33 PM, Simon Glass wrote:
> > The current EFI video driver only works when running in the stub. In that
> > case the stub calls boot services (before jumping to U-Boot proper) and
> > copies the graphics info over to the efi table. This is necessary because
> > the stub exits boot services before jumping to U-Boot.
> >
> > The app maintains access to boot services throughout its life, so does not
> > need to do this. Update the driver to support calling boot services
> > directly.
> >
> > Enable video output for the app.
>
> Please, use the EFI_GRAPHICS_OUTPUT_PROTOCOL to implement video. Don't
> assume any VESA or VGA compatible card. This would not be portable to
> other architectures.

Isn't that what this patch is doing? If not, can you please be more specific?

Regards,
Simon


More information about the U-Boot mailing list