[OpenBIOS] [Patch] Fix model string
Programmingkid
programmingkidx at gmail.com
Thu Feb 7 16:00:20 CET 2013
On Feb 6, 2013, at 5:20 PM, Mark Cave-Ayland wrote:
> On 06/02/13 18:28, Programmingkid wrote:
>
>> This patch corrects the model string so OpenBIOS reports a value of PowerMac1,1. This string represents the blue and white Power Mac G3.
>>
>> signed-off-by: John Arbuckle<programmingkidx at gmail.com>
>>
>> Index: arch/ppc/qemu/init.c
>> ===================================================================
>> --- arch/ppc/qemu/init.c (revision 1098)
>> +++ arch/ppc/qemu/init.c (working copy)
>> @@ -734,12 +734,12 @@
>>
>> /* model */
>>
>> - push_str("PowerMac2,1");
>> + push_str("PowerMac1,1");
>> fword("model");
>>
>> /* compatible */
>>
>> - push_str("PowerMac2,1");
>> + push_str("PowerMac1,1");
>> fword("encode-string");
>> push_str("MacRISC");
>> fword("encode-string");
>
> Is this just a cosmetic change, or does it actually do anything with regard to Darwin boot on -M mac99?
>
>
> ATB,
>
> Mark.
It appears to have eliminated an error message I would see when trying to boot Mac OS 10.0. The error message would say "Unable to find driver for platform: PowerMac2,1".
A recent patch for QEMU 1.3.1 made it so that it no longer panics when booting. This means we are closer to booting Mac OS X on QEMU :)
I was able to successfully boot from my Debian CD without any problems after applying the patches.
More information about the OpenBIOS
mailing list