From: Laszlo Ersek <lersek@redhat.com>
To: Aleksei <alex3kov@zoho.com>, edk2-devel-01 <edk2-devel@lists.01.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Ruiyu Ni <ruiyu.ni@intel.com>
Subject: Re: [PATCH 0/3] OvmfPkg/QemuVideoDxe/VbeShim: handle PAM1 register on Q35 correctly
Date: Wed, 20 Sep 2017 13:43:01 +0200 [thread overview]
Message-ID: <8ccef581-151b-c3ba-afd0-5eccc0d8e59d@redhat.com> (raw)
In-Reply-To: <0d906772-9658-dc63-f719-111f4f41517d@zoho.com>
On 09/20/17 09:05, Aleksei wrote:
> Hi Laszlo,
>
> I've built it (despite edk2/ovmf build process being as convoluted as
> ever)
Criticism well deserved :) , but at least we have excuses
(multi-platform, multi-compiler build system, and freestanding (i.e.,
not hosted) codebase).
> and am trying to run it with qemu 2.10.0 - it's not booting at
> all, stuck at "Guest has not initialized the display (yet)."
>
> Maybe the problem is gcc version? I have 7.2.0 while edk2 instructions
> mention gcc5.
Hm, my prime suspect isn't gcc-7.2 (it should work with the GCC5
toolchain, but just to be sure you can try the GCC49 toolchain as well
with it).
My prime suspect is that you've been using a 2MB firmware image
(speaking in unified image terms) from Gerd's firmware repo, but the
upstream default is now 4MB.
You can't mix and match (a) firmware binary and (b) variable store
between different unified sizes; that is, if your previous firmware was
2MB in size (unified), you have to pass the following switch to your new
build too:
-D FD_SIZE_2MB
Are you on IRC? I'll hop on #edk2 on OFTC for a while now (nick is
"lersek").
Thanks,
Laszlo
>
> On 19/09/17 22:18, Laszlo Ersek wrote:
>> Repo: https://github.com/lersek/edk2.git
>> Branch: vbe_shim_q35_pam
>>
>> Fix the long-standing OVMF/Q35 bug recently exposed by a QEMU change,
>> and reported under <https://bugs.launchpad.net/qemu/+bug/1715700>.
>>
>> Aleksei, can you please fetch the branch, build it, and report back with
>> your Tested-by if it works for you?
>>
>> I performed my own tests as well; I'll include those in a separate
>> email.
>>
>> Cc: Aleksei Kovura <alex3kov@zoho.com>
>> Cc: Gerd Hoffmann <kraxel@redhat.com>
>> Cc: Igor Mammedov <imammedo@redhat.com>
>> Cc: Jordan Justen <jordan.l.justen@intel.com>
>> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
>>
>> Thank you,
>> Laszlo
>>
>> Laszlo Ersek (3):
>> OvmfPkg/CsmSupportLib: move PAM register addresses to IndustryStandard
>> OvmfPkg/QemuVideoDxe/VbeShim: rename Status to
>> Segment0AllocationStatus
>> OvmfPkg/QemuVideoDxe/VbeShim: handle PAM1 register on Q35 correctly
>>
>> OvmfPkg/Csm/CsmSupportLib/LegacyRegion.c | 62
>> ++++++++++----------
>> OvmfPkg/Csm/CsmSupportLib/LegacyRegion.h | 22 +------
>> OvmfPkg/Include/IndustryStandard/I440FxPiix4.h | 13 ++++
>> OvmfPkg/Include/IndustryStandard/Q35MchIch9.h | 8 +++
>> OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 3 +-
>> OvmfPkg/QemuVideoDxe/VbeShim.c | 47 ++++++++++++---
>> 6 files changed, 95 insertions(+), 60 deletions(-)
>>
>
next prev parent reply other threads:[~2017-09-20 11:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-19 19:18 [PATCH 0/3] OvmfPkg/QemuVideoDxe/VbeShim: handle PAM1 register on Q35 correctly Laszlo Ersek
2017-09-19 19:18 ` [PATCH 1/3] OvmfPkg/CsmSupportLib: move PAM register addresses to IndustryStandard Laszlo Ersek
2017-09-19 19:18 ` [PATCH 2/3] OvmfPkg/QemuVideoDxe/VbeShim: rename Status to Segment0AllocationStatus Laszlo Ersek
2017-09-19 19:18 ` [PATCH 3/3] OvmfPkg/QemuVideoDxe/VbeShim: handle PAM1 register on Q35 correctly Laszlo Ersek
2017-09-19 19:36 ` [PATCH 0/3] " Laszlo Ersek
2017-09-20 7:05 ` Aleksei
2017-09-20 11:43 ` Laszlo Ersek [this message]
2017-09-20 14:36 ` Aleksei
2017-09-20 18:11 ` Jordan Justen
2017-09-20 18:28 ` 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=8ccef581-151b-c3ba-afd0-5eccc0d8e59d@redhat.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