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

Tom Rini trini at konsulko.com
Fri Jun 17 00:50:52 CEST 2022


On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt 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>
> Tested-by: Fabio Estevam <festevam at denx.de>
> Tested-by: Heiko Thiery <heiko.thiery at gmail.com>

This causes: https://source.denx.de/u-boot/u-boot/-/jobs/450891#L229
for all instances of sandbox running that test.

-- 
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/20220616/8bac92f4/attachment.sig>


More information about the U-Boot mailing list