[OpenBIOS] QEMU OpenBIOS booting?
steven at uplinklabs.net
Wed Apr 15 07:46:51 CEST 2009
On Sun, Apr 12, 2009 at 1:39 AM, Laurent Vivier <Laurent at lvivier.info> wrote:
> Le samedi 11 avril 2009 à 18:06 -0700, Steven Noonan a écrit :
>> Hi folks,
>> I've been trying to use OpenBIOS with QEMU, and I've had trouble
>> getting it to boot any PowerPC-based OS discs (Linux, Mac OS X, etc).
>> OpenBIOS just doesn't seem to find anything bootable. If I try booting
>> QEMU with -nographic, I get this output (I get the same with a
>> self-built openbios-qemu.elf from the OpenBIOS SVN as well):
> OpenBIOS is not able to boot MacOS X.
Well, that's a silly limitation. Is there a reason this isn't
implemented? I see that the Mac-on-Linux OpenBIOS version has such
support, so it seems strange that the QEMU version does not.
> To boot a linux CDROM type "boot cd:" at prompt.
>> ---- snip ----
>> >> =============================================================
>> >> OpenBIOS 1.0 [Apr 12 2009 00:55]
>> >> Configuration device id QEMU version 1 machine id 1
>> >> CPUs: 1
>> >> Memory: 128M
>> >> UUID: 00000000-0000-0000-0000-000000000000
>> >> CPU type PowerPC,970FX
>> Welcome to OpenBIOS v1.0 built on Apr 12 2009 00:55
>> >> ELF - yaboot_startup: Entering boot, no path
>> >> ELF - try_bootinfo: Trying hd:0,ppc\bootinfo.txt
>> >> ELF - try_bootinfo: Can't open hd:0,ppc\bootinfo.txt
>> >> ELF - try_path: Trying hd:2,\ofclient
>> >> ELF - try_path: Can't open hd:2,\ofclient
>> >> ELF - try_path: Trying hd:2,\yaboot conf=hd:2,\yaboot.conf
>> >> ELF - try_path: Can't open hd:2,\yaboot
>> >> *** Boot failure! No secondary bootloader specified ***
>> ---- snip ----
>> Laurent Vivier suggested in this conversation in February
>> that there could be a bug in partition map decoding. Has such a bug
>> been confirmed? I was trying to find the bug myself (I am an
> I've tried to correct this but it introduces new problems.
>> experienced C/C++ programmer), but the bug seems to be subtle, and my
>> lack of familiarity with the code base doesn't help much.
>> I've been trying to figure this out for 7 hours straight now... Any
>> advice or other help would be much appreciated!
More information about the OpenBIOS