public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Jordan Justen <jordan.l.justen@intel.com>
To: "Prakhya, Sai Praneeth" <sai.praneeth.prakhya@intel.com>,
	Laszlo Ersek <lersek@redhat.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Unable to boot OVMF on qemu-x86_64
Date: Mon, 24 Apr 2017 15:56:31 -0700	[thread overview]
Message-ID: <149307459156.29807.2877695759233240338@jljusten-skl> (raw)
In-Reply-To: <94f3fa66-b40b-44ba-8b73-b2a9f58b3ede@redhat.com>

On 2017-04-24 13:41:50, Laszlo Ersek wrote:
> On 04/18/17 07:29, Prakhya, Sai Praneeth wrote:
> > Hi All,
> > 
> > I am facing an issue booting OVMF on qemu, could you please help me?
> > I have cloned EDKII, and built OVMF for X64 using GCC5. I have
> > followed the steps given at https://wiki.ubuntu.com/UEFI/EDK2.
> 
> "last edited 2012-11-16 20:22:59"
> 
> > Then I
> > have used qemu-system-x86_64 to boot OVMF, but it fails, I don't see
> > anything on tty0 of qemu.

Did you build with "-DDEBUG_ON_SERIAL_PORT=TRUE" to enable the debug
to go to the serial port?

Personally, I'd recommend *not* using DEBUG_ON_SERIAL_PORT, and
instead of looking at tty0, add this to the qemu command line:

-debugcon file:debug.log -global isa-debugcon.iobase=0x402

Then debug.log will contain the debug messages.

(BTW, thanks Laszlo for implementing this! :)

> > When I tried the same by changing to IA32
> > it seems working. So, could anyone please let me know what I am
> > missing or maybe someone give it a try and see it it's reproducible
> > or not...
> > I am using Ubuntu 15.04 as my build system.
> 
> Please try the instructions given under "Build Scripts" in
> "OvmfPkg/README". (CC Jordan)

Yeah. This is more up to date than the Ubuntu wiki. It also has the
debugcon info...

-Jordan


  reply	other threads:[~2017-04-24 22:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18  5:29 Unable to boot OVMF on qemu-x86_64 Prakhya, Sai Praneeth
2017-04-24 20:41 ` Laszlo Ersek
2017-04-24 22:56   ` Jordan Justen [this message]
2017-04-25 19:13     ` Richardson, Brian
2017-04-26 19:17       ` Sai Praneeth Prakhya
2017-04-26 19:12     ` Sai Praneeth Prakhya

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=149307459156.29807.2877695759233240338@jljusten-skl \
    --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