Re: [U-Boot] [PATCH] efi_loader: Fix serial console size detection

2019-02-27 Thread Heinrich Schuchardt
On 2/27/19 10:55 AM, Matthias Brugger wrote: > > > On 26/02/2019 17:58, Heinrich Schuchardt wrote: >> On 2/26/19 12:46 PM, matthias@kernel.org wrote: >>> From: Matthias Brugger >>> >>> Function term_read_reply tries to read from the serial console until >>> the end_char was read. This can

Re: [U-Boot] [PATCH] efi_loader: Fix serial console size detection

2019-02-27 Thread Matthias Brugger
On 26/02/2019 17:58, Heinrich Schuchardt wrote: > On 2/26/19 12:46 PM, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> Function term_read_reply tries to read from the serial console until >> the end_char was read. This can hang forever if we are, for some reason, >> not be able

Re: [U-Boot] [PATCH] efi_loader: Fix serial console size detection

2019-02-26 Thread Heinrich Schuchardt
On 2/26/19 12:46 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > Function term_read_reply tries to read from the serial console until > the end_char was read. This can hang forever if we are, for some reason, > not be able to read the full response (e.g. serial buffer too small,

[U-Boot] [PATCH] efi_loader: Fix serial console size detection

2019-02-26 Thread matthias . bgg
From: Matthias Brugger Function term_read_reply tries to read from the serial console until the end_char was read. This can hang forever if we are, for some reason, not be able to read the full response (e.g. serial buffer too small, frame error). This patch moves the timeout detection into