All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>
Subject: Re: [PATCH v3 1/3] efi_loader: Avoid overwriting previous outputs on console screen clearing
Date: Mon, 7 Nov 2022 18:55:33 +0100	[thread overview]
Message-ID: <2a363d9f-2c95-ba9c-bbc5-e9e7c66f014e@gmx.de> (raw)
In-Reply-To: <CAPnjgZ3yrjBvrcYAa3Z7Zx63qBVQCt0VAAcXQJU5QSc557zmgw@mail.gmail.com>

On 11/7/22 18:32, Simon Glass wrote:
> Hi Heinrich,
>
> On Mon, 7 Nov 2022 at 09:18, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>>
>> On 11/7/22 16:28, Simon Glass wrote:
>>> Hi Jan,
>>>
>>> On Mon, 7 Nov 2022 at 06:50, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>>>>
>>>> On 04.11.22 20:08, Simon Glass wrote:
>>>>> Hi,
>>>>>
>>>>> On Fri, 4 Nov 2022 at 02:07, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>>>>>>
>>>>>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>>>>>
>>>>>> Before clearing the screen, ensure that no previous output of firmware
>>>>>> or UEFI programs will be overwritten on serial devices or other
>>>>>> streaming consoles. This helps generating complete boot logs.
>>>>>>
>>>>>> Tested regarding multi-output against qemu-x86_defconfig.
>>>>>>
>>>>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>>>>> ---
>>>>>>    lib/efi_loader/efi_console.c | 8 +++++++-
>>>>>>    1 file changed, 7 insertions(+), 1 deletion(-)
>>>>>
>>>>> Please see this thread...some things need to be improved in this area.
>>>>>
>>>>> https://patchwork.ozlabs.org/project/uboot/patch/20221022092058.106052-1-heinrich.schuchardt@canonical.com/
>>>>>
>>>>
>>>> Is there a conclusion already? Is there something that I can attach to
>>>> to resolve this issue here?
>>>
>>> So far as I am concerned, there is a conclusion :) I provided a lot of
>>> detail in the thread linked above.
>>
>> Simon, if you want to filter output on the sandbox you may do so in the
>> serial driver of the sandbox. It is not related to the UEFI code.
>
>>From what I can tell this problem also affects the qemu CI tests. It
> seems that UEFI needs ANSI so this appears to be a UEFI thing. I
> haven't actually noticed any other use of ANSI sequences in some years
> of using U-Boot.

Yes, you reviewed patch a085aa1f2737 ("dm: video: Add basic ANSI escape
sequence support") exactly for this purpose.

Both CI tests on QEMU and sandbox pass. It is good that the CI sees
exactly the same output as a productive system. We should not change that.

Best regards

Heinrich


  reply	other threads:[~2022-11-07 17:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  8:06 [PATCH v3 0/3] efi_loader: console and network dependency improvements Jan Kiszka
2022-11-04  8:06 ` [PATCH v3 1/3] efi_loader: Avoid overwriting previous outputs on console screen clearing Jan Kiszka
2022-11-04 19:08   ` Simon Glass
2022-11-07 13:50     ` Jan Kiszka
2022-11-07 15:28       ` Simon Glass
2022-11-07 16:13         ` Heinrich Schuchardt
2022-11-07 17:32           ` Simon Glass
2022-11-07 17:55             ` Heinrich Schuchardt [this message]
2022-11-07 16:29   ` Heinrich Schuchardt
2022-11-07 16:41     ` Jan Kiszka
2022-11-07 17:18       ` Heinrich Schuchardt
2022-11-07 18:27         ` Jan Kiszka
2022-11-04  8:06 ` [PATCH v3 2/3] efi_loader: Set default console colors on efi_cout_clear_screen if needed Jan Kiszka
2022-11-07 17:00   ` Jan Kiszka
2022-11-07 17:06   ` Heinrich Schuchardt
2022-11-07 18:05     ` Jan Kiszka
2022-11-04  8:06 ` [PATCH v3 3/3] efi_loader: Let networking support depend on NETDEVICES Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a363d9f-2c95-ba9c-bbc5-e9e7c66f014e@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jan.kiszka@siemens.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.