[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: booting qemu sparc gives black window



On 18/05/16 11:57, David Griffith wrote:

>> Excellent! If you drop the -bios ss5.bin from the command line and use
>> the in-built OpenBIOS ROM then you can use -boot d on the command line -
>> that really is the easiest option IMO.
>>
>> Otherwise you need to manually type "boot disk2:d" into the BIOS on
>> every boot as per
>> http://tyom.blogspot.co.uk/2009/12/solaris-under-qemu-how-to.html.
> 
> Why should the boot command work differently under QEMU from how it
> works on real hardware?

The short version is that the QEMU NVRAM format is different from that
of a real SS-5 machine (and indeed QEMU doesn't support NVRAM
persistence for that interface yet) which is why it appears corrupted to
a real PROM and so it has to ask for the boot device.

OpenBIOS uses the QEMU fw_cfg interface to obtain the boot device
directly from the hypervisor which is why it can do this directly, and
is generally preferred where possible for licensing reasons as the legal
position on distributing real Sun ROMs is unclear.


ATB,

Mark.


Reply to: