From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Udit Kumar <udit.kumar@nxp.com>, Andrew Fish <afish@apple.com>,
Leif Lindholm <leif.lindholm@linaro.org>,
Ruiyu Ni <ruiyu.ni@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
"Zeng, Star" <star.zeng@intel.com>
Subject: Re: Help on boot manager 'Boot Manager Menu' and direct boot
Date: Mon, 3 Dec 2018 15:04:40 +0100 [thread overview]
Message-ID: <CAKv+Gu_yFk0U=2yXETpp8sqQQsqG0aTi6u-QosUKQ56pogrHEw@mail.gmail.com> (raw)
In-Reply-To: <7fb58f58-30d6-6710-7488-e35ceba69ae1@redhat.com>
On Mon, 3 Dec 2018 at 14:45, Laszlo Ersek <lersek@redhat.com> wrote:
>
> On 12/03/18 11:03, Udit Kumar wrote:
> > Hi Laszlo
> >
> >> Are you using the latest edk2?
> > Yes, when I hit the bug, first step was to move to latest edk2. But this didn't helped.
> >
> > I am not sure, why we are keeping PL011 Fifo mode off in default configuration.
>
> Sorry, I don't know: although the subject logic has gone through several
> updates over time, the default that you point out seems to go back to
> commit 051e63bb551a ("ArmPlatformPkg/PL011Uart: Allowed to change UART
> settings in its initialization function", 2012-02-29). And that commit
> doesn't explain the default.
>
The default setting for
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth is 1 not 0,
and so you will end up with a 1 character FIFO setting. I wonder if we
could improve PL011UartInitializePort () in PL011UartLib to deal with
this better.
Note that this also affects platforms that can switch between DT and
ACPI boot: the same PL011 is described as a 'dumb' SBSA uart in the
latter case, and so it is up to the firmware to configure the UART
FIFO correctly, or you will not be able to use the UART under the ACPI
OS.
next prev parent reply other threads:[~2018-12-03 14:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 1:42 Help on boot manager 'Boot Manager Menu' and direct boot Udit Kumar
2018-11-29 1:52 ` Andrew Fish
2018-11-29 3:09 ` Udit Kumar
2018-11-29 10:21 ` Laszlo Ersek
2018-11-29 13:12 ` Udit Kumar
2018-11-29 18:01 ` Laszlo Ersek
2018-11-30 9:13 ` Udit Kumar
2018-12-03 9:56 ` Laszlo Ersek
2018-12-03 10:03 ` Udit Kumar
2018-12-03 13:45 ` Laszlo Ersek
2018-12-03 14:04 ` Ard Biesheuvel [this message]
2018-12-03 14:54 ` Udit Kumar
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_yFk0U=2yXETpp8sqQQsqG0aTi6u-QosUKQ56pogrHEw@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