From: "Andrew Fish" <afish@apple.com>
To: devel@edk2.groups.io, junhao.gao@intel.com
Cc: David Woodhouse <dwmw2@infradead.org>, Laszlo Ersek <lersek@redhat.com>
Subject: Re: [edk2-devel] question about qemu+kvm+ovmf+winxp
Date: Fri, 11 Oct 2019 23:27:09 -0700 [thread overview]
Message-ID: <4006049B-57D4-46F7-BB84-C8DA11B2A844@apple.com> (raw)
In-Reply-To: <50E163A92F208D4B8CEB452055E613EB0AFE8F18@SHSMSX101.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]
Junhao
FYI there is a regression in master for OVFM right now: https://bugzilla.tianocore.org/show_bug.cgi?id=2266 so you might be hitting that.
Thanks,
Andrew Fish
> On Oct 11, 2019, at 11:13 PM, Junhao Gao <junhao.gao@intel.com> wrote:
>
>
>
>> -----Original Message-----
>> From: David Woodhouse <dwmw2@infradead.org <mailto:dwmw2@infradead.org>>
>> Sent: Friday, October 11, 2019 10:36 PM
>> To: Laszlo Ersek <lersek@redhat.com <mailto:lersek@redhat.com>>; Gao, Junhao <junhao.gao@intel.com <mailto:junhao.gao@intel.com>>;
>> devel@edk2.groups.io <mailto:devel@edk2.groups.io>
>> Subject: Re: [edk2-devel] question about qemu+kvm+ovmf+winxp
>>
>> On Fri, 2019-10-11 at 16:27 +0200, Laszlo Ersek wrote:
>>> On 10/11/19 09:44, Gao, Junhao wrote:
>>>> Hi David
>>>>
>>>> I have found this compiled OVMF-with-csm.fd can support winxp booting
>> up.
>>>> OVMF-with-csm.fd path:
>> https://www.kraxel.org/repos/jenkins/seabios/seabios.git-csm-1.12.0-
>> 33.63.g43f5df7.x86_64.rpm
>>>> Then could you help to provide me the compile method and base code to
>> reproduce this OVMF-with-csm.fd?
>>>
>>> Ah, good point, I should have remembered that Gerd offers a CSM build in
>>> his repo!
>>>
>>> So, you can easily look up the build instructions, in Gerd's SeaBIOS and
>>> OVMF RPM "spec" files. Check out these git repositories:
>>>
>>> https://git.kraxel.org/cgit/jenkins/seabios/
>>> https://git.kraxel.org/cgit/jenkins/edk2/
>>>
>>> Specifically:
>>>
>>> https://git.kraxel.org/cgit/jenkins/seabios/tree/seabios.git.spec
>>> https://git.kraxel.org/cgit/jenkins/edk2/tree/edk2.git.spec.template
>>
>> Right, thanks.
>>
>> Ultimately it's as simple as:
>>
>> • Build SeaBIOS with CONFIG_CSM
>> • Drop the resulting Csm16.bin into OvmfPkg/Csm/Csm16/ in the EDK2 tree
>> • Build EDK2 with -DCSM_ENABLE
>>
>
> Thanks David, follow these steps, I can reproduce the OVMF-with-csm.fd.
> However, I find that when I choose remotes/origin/master branch, after compiling, qemu+kvm+ovmf+winxp can't
> boot up, but when I choose remotes/origin/UDK2018, the compiled OVMF.fd can work.
> So the latest edk2 code have removed CSM support? Could I apply the CSM patch to
> the latest edk2 code to support my work because our project is based on the latest EDK2 code, thanks.
>
>> Someone else mailed me recently to say they'd copied the Csm packages
>> over from OvmfPkg to Quark and had Windows booting on Galileo boards.
>>
>> Hm, I wonder if we should move the CSM support out of OVMF and into
>> somewhere more generic, since it really is generic and not platform-
>> specific?
>
> I can't make some decisions, from my view, maybe CSM module can be
> an independent patch for user to apply or reject :)
>
>
[-- Attachment #2: Type: text/html, Size: 13280 bytes --]
next prev parent reply other threads:[~2019-10-12 6:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-10 14:37 question about qemu+kvm+ovmf+winxp Junhao Gao
2019-10-10 18:10 ` [edk2-devel] " Laszlo Ersek
2019-10-11 1:32 ` Junhao Gao
[not found] ` <15CC73B09CF3FDD9.17220@groups.io>
2019-10-11 7:44 ` Junhao Gao
2019-10-11 14:27 ` Laszlo Ersek
2019-10-11 14:35 ` David Woodhouse
2019-10-12 6:13 ` Junhao Gao
2019-10-12 6:27 ` Andrew Fish [this message]
2019-10-14 12:59 ` 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=4006049B-57D4-46F7-BB84-C8DA11B2A844@apple.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