[PATCH 1/1] efi_loader: initialize console size late

Fabio Estevam festevam at gmail.com
Tue Jun 14 12:53:35 CEST 2022


Hi Heinrich,

On Tue, Jun 14, 2022 at 3:02 AM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> From: Heinrich Schuchardt <xypron.glpk at gmx.de>
>
> If CONFIG_VIDEO_DM=n we query the display size from the serial console.
> Especially when using a remote console the response can be so late that
> it interferes with autoboot.
>
> Only query the console size when running an EFI binary.
>
> Add debug output showing the determined console size.
>
> Reported-by: Fabio Estevam <festevam at gmail.com>
> Fixes: a9bf024b2933 ("efi_loader: disk: a helper function to create efi_disk objects from udevice")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

This fixes the boot on a kontron-sl-mx8mm board accessed remotely.
The autoboot process is no longer interrupted.

Thanks a lot!

Tested-by: Fabio Estevam <festevam at denx.de>


More information about the U-Boot mailing list