On 6/17/22 00:50, Tom Rini wrote:
On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote:

From: Heinrich Schuchardt <xypron.g...@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 <feste...@gmail.com>
Fixes: a9bf024b2933 ("efi_loader: disk: a helper function to create efi_disk objects 
from udevice")
Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
Tested-by: Fabio Estevam <feste...@denx.de>
Tested-by: Heiko Thiery <heiko.thi...@gmail.com>

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


This is a only a bug to the test environment:

test/py/u_boot_console_base.py:110:
self.prompt_compiled = re.compile('^' + re.escape(self.prompt), re.MULTILINE)

There must not be any byte before the prompt on the line for the test environment to recognize it as a prompt.

I will look into the problem.

Best regards

Heinrich

Reply via email to