From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH] EmbeddedPkg/DtPlatformDxe: remove /chosen/stdout-path on GOP registration
Date: Thu, 19 Oct 2017 22:19:44 +0100 [thread overview]
Message-ID: <CAKv+Gu-xUGNEW6Ly=XTvK8vV8Fmps2+9e8Yagbgkt2C5LuQTvQ@mail.gmail.com> (raw)
In-Reply-To: <20171019205504.uoiofih7quhjtiq4@bivouac.eciton.net>
On 19 October 2017 at 21:55, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Thu, Oct 19, 2017 at 08:21:41PM +0100, Ard Biesheuvel wrote:
>> The presence of a /chosen/stdout-path property will force Linux to use
>> the serial port as the primary console, even if a graphical console is
>> available as well. But the presence of the Graphics Output Protocol (GOP)
>> is a strong indication that the user may prefer to use his keyboard and
>> mouse rather than his terminal emulator to interact with the system, so
>> let's remove /chosen/stdout-path as soon as a GOP instance is registered.
>
> This may be the sensible thing to do, but something just doesn't feel
> right.
>
> Also, whatever we do here, we should try to mirror in ACPI with SPCR.
>
Yes, but it does not belong in this driver.
> Are we guaranteed to always want to disable serial console if there is
> a graphics adapter?
>
This does not disable the serial console, it just makes it more
difficult to access :-) You will have to add console=ttyAMA0 if you
have a screen connected but want your console to appear on the serial
port. (Just like on a normal computer)
> I still dream of a world in which I can run consplitter up to the
> point where an OS takes over, and an OS installer will listen to input
> from both sources and register its selection from there.
>
Yeah. I need this change to get the Debian installer to run on the FB
console without having to add 'console=tty0' to the kernel command
line.
> But if we can't have that, can we have a menu setting to select preference?
> The default can be a platform-specific Pcd.
>
That seems reasonable.
next prev parent reply other threads:[~2017-10-19 21:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 19:21 [PATCH] EmbeddedPkg/DtPlatformDxe: remove /chosen/stdout-path on GOP registration Ard Biesheuvel
2017-10-19 20:55 ` Leif Lindholm
2017-10-19 21:19 ` Ard Biesheuvel [this message]
2017-10-19 21:36 ` Leif Lindholm
2017-10-20 10:44 ` Laszlo Ersek
2017-10-20 11:40 ` Ard Biesheuvel
2017-10-20 15:18 ` Laszlo Ersek
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-list 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='CAKv+Gu-xUGNEW6Ly=XTvK8vV8Fmps2+9e8Yagbgkt2C5LuQTvQ@mail.gmail.com' \
--to=devel@edk2.groups.io \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox