Re: [PATCH v5 07/12] efi_loader: disk: a helper function to create efi_disk objects from udevice

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Jun 14 01:39:05 CEST 2022


Am 14. Juni 2022 00:48:01 MESZ schrieb Fabio Estevam <festevam at gmail.com>:
>Hi Mark,
>
>On Mon, Jun 13, 2022 at 7:21 PM Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>
>> This looks like the reply the terminal sends in response to the "Query
>> cursor position" command that is sent in
>> lib/efi_loader/efi_console.c:query_console_serial().
>>
>> It might be worth trying to increase the timeout in term_get_char().
>
>I did as you suggested and increased the timeout from 100ms to 1000ms.
>
>After that, I no longer see the problem, thanks!
>
>Would this be an acceptable fix?

Slowing down every boot without connected serial by 1000ms seems to be a bad idea.

What baud rate are you using?

What terminal software are you using giving the late response?

Does printf() return before the last byte is sent by the serial IO transfer buffer? What size has that buffer?

I suggest that the EFI console should not query the screen size before starting the first EFI binary.

Best regards

Heinrich 




More information about the U-Boot mailing list