qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jordan Justen <jljusten@gmail.com>
To: Stefan Reinauer <stepan@coresystems.de>
Cc: ron minnich <rminnich@gmail.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Coreboot <coreboot@coreboot.org>,
	Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>,
	qemu-devel@nongnu.org
Subject: Re: [coreboot] [Qemu-devel] Release plan for 0.12.0
Date: Sat, 3 Oct 2009 16:52:11 -0700	[thread overview]
Message-ID: <2a50f7880910031652u5837f7cdx85686eddd2050f8@mail.gmail.com> (raw)
In-Reply-To: <4AC7D82B.9030405@coresystems.de>

On Sat, Oct 3, 2009 at 16:03, Stefan Reinauer <stepan@coresystems.de> wrote:
> Jordan Justen wrote:
>> On Sat, Oct 3, 2009 at 15:02, Stefan Reinauer <stepan@coresystems.de> wrote:
>>
>>> Jordan Justen wrote:
>>>
>>>> On Sat, Oct 3, 2009 at 10:30, Peter Stuge <peter@stuge.se> wrote:
>>>>
>>>>
>>>>> Jordan Justen wrote:
>>>>>
>>>>>
>>>>>> Anyway, it sounds like a useful project might be to develop a UEFI
>>>>>> coreboot payload based on the tianocore.org code.
>>>>>>
>>>>>>
>>>>> I believe it might have been done already.
>>>>>
>>>>> http://www.coreboot.org/File:Tianocoreboot.png
>>>>>
>>>>>
>>>> That screenshot mentions DUET which is the tianocore.org UEFI emulator
>>>> that boots on top of a legacy BIOS.  But, it's unclear if it was just
>>>> DUET, or something based modified specifically for coreboot based on
>>>> DUET.
>>>>
>>>> I will not dispute that DUET might be a potential solution to achieve
>>>> UEFI compatibility for QEMU.  (I'm not sure, but I think DUET may not
>>>> be able to boot UEFI OS's at this time.)  However, we thought a
>>>> project such as OVMF was a more direct approach to achieve UEFI
>>>> compatibility for QEMU.
>>>>
>>>>
>>> We have DUET running as a coreboot payload with a small coreboot
>>> specific PE payload loader.
>>>
>>
>> Meaning you bring up a legacy BIOS compatible interface before
>> starting DUET?
> No.
>>  DUET depends on a legacy BIOS.
> It did not for us, except for the loader which was replaced. We might
> have been lucky though...
>
>> My point is that a tianocore.org based coreboot payload ought be able to do away with
>> this legacy BIOS dependency.
>>
> Absolutely agreed.
>
>
> At some point it might make sense to have a coreboot specific target
> next to OVMF and DUET, some corebootPkg with specific adaptions and the
> loader integrated.
>LegacyBiosInt86
> The requirements for a coreboot target are very similar to those of OVMF
> and/or Duet, I guess. No hardware specific code is required, but in
> addition to what OVMF provides, we feature an in-flash filesystem and we
> export a coreboot table which contains memory information, cmos layout
> among other things...
>
> What are the chances to get something like this integrated upstream
> TianoCore.org?

I'll refrain from making a prediction on this.  But, by my view,
tianocore.org is supposed to be an open source community that
encourages UEFI related contributions.

However, (at this time) it is going to tougher to get it included at
tianocore.org if it is not BSD licensed.  I would also suggest
discussing the situation on the tianocore.org email lists beforehand
to get somewhat of a confirmation before investing a lot into it.

>>> Can you explain what you think would be more direct about OVMF than
>>> about DUET? As far as I understand it's another build target of EDK2 but
>>> besides that shares exactly the same design and even 99% of the code.
>>>
>>
>> DUET expects that you boot a legacy BIOS, and then you load DUET off
>> the disk.
> It does expect a few tables, but does not seem to make any 16bit calls
> once loaded.
>>  Once DUET is loaded, there is a (mostly) UEFI compatible
>> environment.
>>
> I'm curious on the "mostly" here... what's missing? We certainly want to
> make sure what we do is fully UEFI compatible.

I think tianocore.org will not call these fully UEFI compatible
projects, since that implies a lot.  Normally these platforms are not
run through the UEFI Self-Certification Tests, for example.
(Although, this is something I plan to try on OVMF at some point.)

Also, there is the variable situation.  (see below)

>> Both DUET and OVMF have some slight issues with providing a fully
>> compatible UEFI variable interface.
> Is that about saving settings in an NVRAM/flash memory?

Yes.  Neither platform provides proper UEFI NV variables support.  The
NV variables can be lost depending on when the platform is shut off,
and when the variable has been written to.

But in addition, for DUET, I thought that accessing the NV variable
services at OS runtime might not work correctly.  (Perhaps cause an
exception.  Perhaps just always return an error.)

-Jordan

  reply	other threads:[~2009-10-03 23:52 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-29 23:54 [Qemu-devel] Release plan for 0.12.0 Anthony Liguori
2009-09-30  0:20 ` [Qemu-devel] " Dustin Kirkland
2009-09-30  2:18   ` Anthony Liguori
2009-09-30  2:28 ` [Qemu-devel] " Isaku Yamahata
2009-09-30 13:03   ` Anthony Liguori
2009-09-30 13:43     ` Michael S. Tsirkin
2009-09-30  5:17 ` [Qemu-devel] " Amit Shah
2009-09-30 13:04   ` Anthony Liguori
2009-09-30 13:37     ` Amit Shah
2009-09-30 14:47       ` Anthony Liguori
2009-09-30 14:50         ` Amit Shah
2009-09-30  6:41 ` [Qemu-devel] " Avi Kivity
2009-09-30 13:05   ` Anthony Liguori
2009-10-01 21:13     ` Luiz Capitulino
2009-10-03 10:04       ` Avi Kivity
2009-10-05 12:43         ` Luiz Capitulino
2009-10-05 13:52           ` Avi Kivity
2009-09-30 13:31   ` Luiz Capitulino
2009-09-30  8:53 ` Michael Tokarev
2009-09-30  9:01   ` Avi Kivity
2009-09-30  9:31 ` Carl-Daniel Hailfinger
2009-09-30 13:07   ` Anthony Liguori
2009-09-30 15:59     ` Carl-Daniel Hailfinger
2009-09-30 19:25       ` Blue Swirl
2009-09-30 13:30 ` Luiz Capitulino
2009-09-30 14:45   ` Anthony Liguori
2009-09-30 15:03     ` Fred Leeflang
2009-09-30 15:26       ` Luiz Capitulino
2009-09-30 19:28     ` Gerd Hoffmann
2009-10-01  1:55 ` Natalia Portillo
2009-10-01  8:07   ` Carl-Daniel Hailfinger
2009-10-01 21:02     ` Jordan Justen
2009-10-02  4:38     ` Natalia Portillo
2009-10-02  5:37       ` Jordan Justen
2009-10-02 22:33         ` Carl-Daniel Hailfinger
2009-10-01 12:45   ` Anthony Liguori
2009-10-01 21:10     ` Jordan Justen
2009-10-01 21:23       ` Anthony Liguori
2009-10-02  0:41         ` Jordan Justen
2009-10-02 13:29           ` Anthony Liguori
2009-10-02 16:58             ` Jordan Justen
2009-10-02 18:45               ` Carl-Daniel Hailfinger
2009-10-02 18:53                 ` Anthony Liguori
2009-10-02 21:39                   ` Carl-Daniel Hailfinger
2009-10-02 22:28                     ` Jordan Justen
2009-10-02 23:05                       ` Carl-Daniel Hailfinger
2009-10-03  0:32                         ` Jordan Justen
2009-10-03 17:30                           ` [coreboot] " Peter Stuge
2009-10-03 21:49                             ` Jordan Justen
2009-10-03 21:58                               ` Patrick Georgi
2009-10-04 19:31                                 ` Anthony Liguori
2009-10-04 19:39                                   ` Stefan Reinauer
2009-10-05 13:03                                     ` Anthony Liguori
2009-10-05 13:23                                       ` Carl-Daniel Hailfinger
2009-10-05 13:51                                         ` Anthony Liguori
2009-10-05 14:43                                           ` Carl-Daniel Hailfinger
2009-10-04 19:49                                   ` Patrick Georgi
2009-10-05 13:07                                     ` Anthony Liguori
2009-10-03 22:02                               ` Stefan Reinauer
2009-10-03 22:40                                 ` Jordan Justen
2009-10-03 23:03                                   ` Stefan Reinauer
2009-10-03 23:52                                     ` Jordan Justen [this message]
2009-10-03 15:08                     ` Gleb Natapov
2009-10-03 17:32                       ` [coreboot] " Peter Stuge
2009-10-03 17:40                         ` ron minnich
2009-10-03 18:16                           ` Gleb Natapov
2009-10-03 18:30                             ` Peter Stuge
2009-10-03 19:09                               ` Kevin O'Connor
2009-10-03 19:09                               ` Gleb Natapov
2009-10-03 22:13                           ` Jordan Justen
2009-10-03 22:19                             ` Patrick Georgi
2009-10-03 23:04                               ` Jordan Justen
2009-10-04 19:35                                 ` Anthony Liguori
2009-10-04  4:10                               ` Natalia Portillo
2009-10-04 11:16                                 ` Carl-Daniel Hailfinger
2009-10-04 16:06                                   ` Natalia Portillo
2009-10-05  0:29                                     ` Carl-Daniel Hailfinger
2009-10-03 22:46                             ` Stefan Reinauer
     [not found]                             ` <CB4CCBB6-0EE4-4883-AA4D-2151189C7977@claunia.com>
     [not found]                               ` <2a50f7880910031701s52c901d8u2dfb956f595eeedf@mail.gmail.com>
2009-10-04  3:55                                 ` Natalia Portillo
2009-10-05 14:08                                   ` Lennart Sorensen
2009-10-02 20:57                 ` Jordan Justen
2009-10-02 21:37                   ` Anthony Liguori
2009-10-02 22:19                   ` Carl-Daniel Hailfinger
2009-10-02  4:55       ` Natalia Portillo
2009-10-01 20:50   ` Stuart Brady
2009-10-02  4:51     ` Natalia Portillo
2009-10-02 19:07       ` Stuart Brady
2009-10-02 20:21         ` Natalia Portillo
2009-10-01 18:45 ` Stefan Weil
2009-10-01 19:02   ` Anthony Liguori
2009-10-01 19:18     ` Stefan Weil
2009-10-03  4:28 ` TAKEDA, toshiya
2009-10-08 13:55 ` Jens Osterkamp
2009-10-08 14:21   ` Anthony Liguori
2009-10-14 13:09     ` Arnd Bergmann
2009-10-14 13:53       ` Anthony Liguori
2009-10-14 14:01         ` Michael S. Tsirkin
2009-10-14 14:04       ` Michael S. Tsirkin
2009-10-14 13:21     ` [Qemu-devel] " Michael S. Tsirkin
2009-10-14 14:17       ` Anthony Liguori
2009-10-14 14:24         ` Michael S. Tsirkin
2009-10-14 15:19           ` Jamie Lokier
2009-10-14 15:50             ` Michael S. Tsirkin
2009-10-14 21:10               ` Sridhar Samudrala
2009-10-14 22:53                 ` Raw vs. tap (was: Re: [Qemu-devel] Re: Release plan for 0.12.0) Anthony Liguori
2009-10-15  6:36                   ` Mark McLoughlin
2009-10-15  7:56                   ` Michael S. Tsirkin
2009-10-15 13:32                     ` [Qemu-devel] Re: Raw vs. tap Anthony Liguori
2009-10-15 15:04                       ` Michael S. Tsirkin
2009-10-15 15:18                         ` Anthony Liguori
2009-10-15 15:48                           ` Michael S. Tsirkin
2009-10-15 18:37                             ` Anthony Liguori
2009-10-15 22:08                               ` Michael S. Tsirkin
2009-10-18 10:05                             ` Michael S. Tsirkin
2009-10-15  7:51                 ` [Qemu-devel] Re: Release plan for 0.12.0 Michael S. Tsirkin
2009-10-20  6:33 ` Takahiro Hirofuchi

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=2a50f7880910031652u5837f7cdx85686eddd2050f8@mail.gmail.com \
    --to=jljusten@gmail.com \
    --cc=aliguori@us.ibm.com \
    --cc=c-d.hailfinger.devel.2006@gmx.net \
    --cc=coreboot@coreboot.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rminnich@gmail.com \
    --cc=stepan@coresystems.de \
    /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;
as well as URLs for NNTP newsgroup(s).