[OpenBIOS] Mac OS X support

Amadeusz Sławiński amade at asmblr.net
Fri Dec 21 02:56:41 CET 2012


On Tue, Dec 18, 2012 at 11:01:25PM +0100, Amadeusz Sławiński wrote:
> On Tue, Dec 18, 2012 at 03:04:31PM -0500, Programmingkid wrote:
> > 
> > On Nov 16, 2012, at 1:54 PM, Amadeusz Sławiński wrote:
> > 
> > > On Fri, Nov 16, 2012 at 11:29:04AM -0500, Programmingkid wrote:
> > >> 
> > >> On Nov 16, 2012, at 7:08 AM, Amadeusz Sławiński wrote:
> > >> 
> > >>> On Thu, Nov 15, 2012 at 05:44:54PM -0500, Programmingkid wrote:
> > >>>> Could you send me your OpenBIOS-qemu.elf file? I tried the link that was on that page you sent me, but I only see an error message that says "Wrong IP" when I try to download it. 
> > >>>> 
> > >>>> Here is the problem link: http://free-uploading.com/t0uwrodvvxkz/ ... u.elf.html
> > >>>> 
> > >>>> May I suggest using mediafire.com instead.
> > >>> 
> > >>> Sorry, this file seems to be lost and I also get "Wrong IP" message,
> > >>> however when applying patches from GSOC onto current trunk I was able to
> > >>> get it into similar state (it even stopped in same places).
> > >>> I will redo this later (I deleted my working dir) and send you newer one.
> > >> 
> > >> Thank you.
> > > 
> > > And here it is, both stripped and not stripped
> > > I tested it with Mac OS X 10.0 and 10.2 install cd, boots similarly to
> > > what was on screenshots
> > > 
> > > I run it as follows:
> > > qemu-system-ppc -bios openbios-qemu.elf -cdrom Mac\ OS\ 10.0.img -g 800x600x32 -m 1024
> > > 
> > > Please tell me if you got them as gmail can do weird things whan it
> > > comes to mailing attachments.
> > > <openbios-qemu.elf><openbios-qemu.elf.nostrip>
> > 
> > I recently decided to try your openbios files you sent me a while back. This time I tried them in QEMU 1.2.2 and 0.12.5. Both times, the boot process stops at the same place. It is where this is displayed in the log:
> > 
> >  >> claim(0x05000000, 4194304, 0) = 0x05000000
> > >> claim(0x05400000, 2097152, 0) = 0x05400000
> > >> claim(0x04000000, 16777216, 0) = 0x04000000
> > >> claim(0x00004000, 67092480, 0) = 0x00004000
> > 
> > The only way I can go further is the alter a few lines in ofmem.c. Did you make any changes to QEMU?
> 
> I test mainly on git qemu rebuild every few days, I didn't change anything in it.
> 
> Amadeusz

Check my latest trunk tests, the logs from 10.4 seem to end in the same
place.

Although when claim is run manually it seems to work fine:
copy pasteable input:
dev /memory
.properties
HEX 05000000
DECIMAL 4194304
0
claim
HEX 05400000
DECIMAL 2097152
0
claim
HEX 04000000
DECIMAL 16777216
0
claim
HEX 00004000
DECIMAL 67092480
0
claim
HEX .
HEX .
HEX .
HEX .
.properties


Mine output:

0 > dev /memory  ok
0 > .properties 
name                      "memory"
device_type               "memory"
reg                       00000000   08000000
available                 00004000   07c54000
 ok
0 > HEX 05000000  ok
1 > DECIMAL 4194304  ok
2 > 0  ok
3 > claim  ok
1 > HEX 05400000  ok
2 > DECIMAL 2097152  ok
3 > 0  ok
4 > claim  ok
2 > HEX 04000000  ok
3 > DECIMAL 16777216  ok
4 > 0  ok
5 > claim  ok
3 > HEX 00004000  ok
4 > DECIMAL 67092480  ok
5 > 0  ok
6 > claim  ok
4 > HEX . 4000  ok
3 > HEX . 4000000  ok
2 > HEX . 5400000  ok
1 > HEX . 5000000  ok
0 > .properties 
name                      "memory"
device_type               "memory"
reg                       00000000   08000000
available                 05600000   02658000
 ok




More information about the OpenBIOS mailing list