From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0CBDB21954084 for ; Mon, 24 Apr 2017 15:56:33 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2017 15:56:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,246,1488873600"; d="scan'208";a="1123058048" Received: from yzhan76-mobl2.amr.corp.intel.com (HELO localhost) ([10.254.18.56]) by orsmga001.jf.intel.com with ESMTP; 24 Apr 2017 15:56:32 -0700 MIME-Version: 1.0 To: "Prakhya, Sai Praneeth" , Laszlo Ersek Message-ID: <149307459156.29807.2877695759233240338@jljusten-skl> From: Jordan Justen In-Reply-To: <94f3fa66-b40b-44ba-8b73-b2a9f58b3ede@redhat.com> Cc: "edk2-devel@lists.01.org" References: <94f3fa66-b40b-44ba-8b73-b2a9f58b3ede@redhat.com> User-Agent: alot/0.5.1 Date: Mon, 24 Apr 2017 15:56:31 -0700 Subject: Re: Unable to boot OVMF on qemu-x86_64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2017 22:56:33 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=3DTRUE" 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=3D0x402 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