* Unable to boot OVMF on qemu-x86_64 @ 2017-04-18 5:29 Prakhya, Sai Praneeth 2017-04-24 20:41 ` Laszlo Ersek 0 siblings, 1 reply; 6+ messages in thread From: Prakhya, Sai Praneeth @ 2017-04-18 5:29 UTC (permalink / raw) To: edk2-devel@lists.01.org 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. Then I have used qemu-system-x86_64 to boot OVMF, but it fails, I don't see anything on tty0 of qemu. 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. Regards, Sai ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot OVMF on qemu-x86_64 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 0 siblings, 1 reply; 6+ messages in thread From: Laszlo Ersek @ 2017-04-24 20:41 UTC (permalink / raw) To: Prakhya, Sai Praneeth Cc: edk2-devel@lists.01.org, Jordan Justen (Intel address) 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. 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) Laszlo ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot OVMF on qemu-x86_64 2017-04-24 20:41 ` Laszlo Ersek @ 2017-04-24 22:56 ` Jordan Justen 2017-04-25 19:13 ` Richardson, Brian 2017-04-26 19:12 ` Sai Praneeth Prakhya 0 siblings, 2 replies; 6+ messages in thread From: Jordan Justen @ 2017-04-24 22:56 UTC (permalink / raw) To: Prakhya, Sai Praneeth, Laszlo Ersek; +Cc: edk2-devel@lists.01.org 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot OVMF on qemu-x86_64 2017-04-24 22:56 ` Jordan Justen @ 2017-04-25 19:13 ` Richardson, Brian 2017-04-26 19:17 ` Sai Praneeth Prakhya 2017-04-26 19:12 ` Sai Praneeth Prakhya 1 sibling, 1 reply; 6+ messages in thread From: Richardson, Brian @ 2017-04-25 19:13 UTC (permalink / raw) To: Justen, Jordan L, Prakhya, Sai Praneeth, Laszlo Ersek Cc: edk2-devel@lists.01.org The Ubuntu wiki info isn't quite up to date. We're maintaining updated build instructions on the TianoCore Wiki: https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Native-GCC#Ubuntu_1604_LTS__Ubuntu_1610 https://github.com/tianocore/tianocore.github.io/wiki/How-to-build-OVMF The README in OvmfPkg is going to be more up to date for OVMF specific info, but the wiki will have more general build info for different OS/compiler configurations. Please let us know if you see issues with the wiki info so we can make updates. Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jordan Justen Sent: Monday, April 24, 2017 6:57 PM To: Prakhya, Sai Praneeth <sai.praneeth.prakhya@intel.com>; Laszlo Ersek <lersek@redhat.com> Cc: edk2-devel@lists.01.org Subject: Re: [edk2] Unable to boot OVMF on qemu-x86_64 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot OVMF on qemu-x86_64 2017-04-25 19:13 ` Richardson, Brian @ 2017-04-26 19:17 ` Sai Praneeth Prakhya 0 siblings, 0 replies; 6+ messages in thread From: Sai Praneeth Prakhya @ 2017-04-26 19:17 UTC (permalink / raw) To: Richardson, Brian; +Cc: Justen, Jordan L, Laszlo Ersek, edk2-devel@lists.01.org On Tue, 2017-04-25 at 12:13 -0700, Richardson, Brian wrote: > The Ubuntu wiki info isn't quite up to date. We're maintaining updated build instructions on the TianoCore Wiki: > https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Native-GCC#Ubuntu_1604_LTS__Ubuntu_1610 > https://github.com/tianocore/tianocore.github.io/wiki/How-to-build-OVMF > > The README in OvmfPkg is going to be more up to date for OVMF specific info, but the wiki will have more general build info for different OS/compiler configurations. > > Please let us know if you see issues with the wiki info so we can make updates. > Thanks a lot! for the reply Brian. I am able to build and boot OVMF successfully on qemu. The issue I mentioned was specific to *only* my dev machine. I will try to narrow it down if it's my build environment issue or maybe Ubuntu 15.04 issue. Regards, Sai > Thanks ... br > --- > Brian Richardson, Senior Technical Marketing Engineer, Intel Software > brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) > https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson > > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jordan Justen > Sent: Monday, April 24, 2017 6:57 PM > To: Prakhya, Sai Praneeth <sai.praneeth.prakhya@intel.com>; Laszlo Ersek <lersek@redhat.com> > Cc: edk2-devel@lists.01.org > Subject: Re: [edk2] Unable to boot OVMF on qemu-x86_64 > > 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 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unable to boot OVMF on qemu-x86_64 2017-04-24 22:56 ` Jordan Justen 2017-04-25 19:13 ` Richardson, Brian @ 2017-04-26 19:12 ` Sai Praneeth Prakhya 1 sibling, 0 replies; 6+ messages in thread From: Sai Praneeth Prakhya @ 2017-04-26 19:12 UTC (permalink / raw) To: Jordan Justen; +Cc: Laszlo Ersek, edk2-devel@lists.01.org On Mon, 2017-04-24 at 15:56 -0700, Jordan Justen wrote: > 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! :) Sorry! for the late reply and thanks a lot for responding. Yes, I have enabled "-DDEBUG_ON_SERIAL_PORT=TRUE" but thanks for letting me know, I will use the debug.log method. > > > > 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) > Sure, I actually tried those and they work :) The issue, I think is related to my specific dev machine setup (which runs Ubuntu 15.04). Because, on two different machines running Ubuntu 16.04, I was able to build and boot OVMF successfully on qemu (both x86-64 and 32-bit) and the same image boots on my dev machine as well. I see the problem *only* when OVMF is built on my dev machine. So, I will try to figure it out. But, thanks a lot for the suggestions :) Regards, Sai > Yeah. This is more up to date than the Ubuntu wiki. It also has the > debugcon info... > > -Jordan ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-04-26 19:21 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2017-04-25 19:13 ` Richardson, Brian 2017-04-26 19:17 ` Sai Praneeth Prakhya 2017-04-26 19:12 ` Sai Praneeth Prakhya
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox