From: Patrick Ohly <patrick.ohly@intel.com>
To: leonardo.sandoval.gonzalez@linux.intel.com
Cc: leonardo.sandoval.gonzalez@intel.com,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V3 0/3] Add UEFI firmware for qemux86*
Date: Thu, 27 Aug 2015 15:19:57 +0200 [thread overview]
Message-ID: <1440681597.3006.35.camel@intel.com> (raw)
In-Reply-To: <cover.1436903712.git.leonardo.sandoval.gonzalez@linux.intel.com>
On Tue, 2015-07-14 at 20:07 +0000,
leonardo.sandoval.gonzalez@linux.intel.com wrote:
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
>
> These patches include:
>
> 1. iasl recipe taken from luv-yocto repository into OE-Core (the only
> change done was the LICENSE, from Intel-ACPI to BSD | GPLv2)
> 2. OVMF recipe (taken from luv-yocto repository) into OE-Core
> 3. Boot script: Instrumenting runqemu to include OECORE_MACHINE_SYSROOT,
> so the OVMF BIOS can be found.
I've tried out these patches. Mostly it worked as advertised and I'd
love to use EFI with qemu, so I'd like to see this merged.
I noticed that "git format-patches" from your branch followed by "git
am" mangles the
meta/recipes-core/ovmf/ovmf/0001-BaseTools-Force-tools-variables-to-host-toolchain.patch because it is a mixture of Unix line ends (patch boiler plate) and DOS line ends (actual patches). The file ended up with all Unix line ends, which then failed during do_patch. I solved that by checking out your branch and copying the file. Whoever merges needs to be careful here. This might also be a problem for combo-layer, so perhaps a solution not based on patching the makefiles may be needed.
When I use runqemu, it ends up invoking qemu with "-vga vmware". With
that, I don't see any output from TianoCore and booting hangs. It boots
when disabling graphical output ("serial nographic" as parameter of
runqemu) or when explicitly selecting a different graphics
("'qemuparams=-vga std'"). Might be worthwhile adding to the commit
message.
It wasn't clear from the description whether one had to build "ovmf" or
"ovmf-native" - it's the former (obvious after thinking about it some
more, because the code runs on the target).
Do you happen to know how non-volatile EFI variables are handled? There
are several posts from around 2012 saying that qemu does not support
storing nvram persistently (for example, [1]). I've not seen anything
more recent directly contradicting that, but there seems to be
something, at least in Fedora [2]. That patch mentions that "OVMF [...]
works in two
modes: 1) Code and UEFI variable store is mixed in one file. ...".
I'm probably doing something wrong (haven't tried this before), but when
I do a "setvar foobar ="foobar" in the EFI shell, I just get a "unable
to set: Invalid Parameter" error, with and without -nv.
[1] http://blog.hansenpartnership.com/uefi-secure-boot/
[2] http://www.redhat.com/archives/libvir-list/2014-August/msg00960.html
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
next prev parent reply other threads:[~2015-08-27 13:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 20:07 [PATCH V3 0/3] Add UEFI firmware for qemux86* leonardo.sandoval.gonzalez
2015-07-14 20:07 ` [PATCH V3 1/3] iasl: Recipe taken from the luv-yocto repository leonardo.sandoval.gonzalez
2015-09-12 22:00 ` Richard Purdie
2015-09-13 7:13 ` Fathi Boudra
2015-09-14 15:37 ` Leonardo Sandoval
2015-07-14 20:07 ` [PATCH V3 2/3] ovmf: Recipe taken from " leonardo.sandoval.gonzalez
2015-07-14 20:07 ` [PATCH V3 3/3] runqemu: Define OECORE_MACHINE_SYSROOT on setup_sysroot leonardo.sandoval.gonzalez
2015-08-28 7:29 ` Patrick Ohly
2015-08-28 13:34 ` Leonardo Sandoval
2015-08-28 18:08 ` Patrick Ohly
2015-09-02 19:40 ` Leonardo Sandoval
2015-09-04 19:13 ` Patrick Ohly
2015-08-27 13:19 ` Patrick Ohly [this message]
2015-08-27 14:28 ` [PATCH V3 0/3] Add UEFI firmware for qemux86* Paul Eggleton
2015-08-27 19:50 ` Leonardo Sandoval
2015-08-28 8:33 ` Patrick Ohly
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=1440681597.3006.35.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=leonardo.sandoval.gonzalez@intel.com \
--cc=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/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