[OpenBIOS] testing Max OS X boot on latest trunk (revision 1080)

Amadeusz Sławiński amade at asmblr.net
Fri Dec 21 12:01:59 CET 2012


Resending because it got stuck in moderation queue due to size
logs in separate mails

Here are results of my testing booting OS X on latest trunk
Logs in attachment

Not patched ones (fails without get-key-map):
10.0.log
10.2.log
10.4.log

Patched with gsoc get-key-map patch:
10.0-gkm.log
10.2-gkm-panic.log
10.4-gkm.log

Patched with gsoc divide by 0:
10.2-gkm-dvb0.log

Logs from patched boot without CIF:
all-without-cif.log


10.2 ones show that there is need for some solution regarding division
by 0, some notes from my talks with Mark:

My g5 machine returns 0 when dividing by 0, no warnings are printed:
0 > 0 0 /  ok
1 > .  ok
0 > 0

0 > 2 0 /  ok
1 > .  ok
0 > 0


Question is how to implement it, or maybe just use gsoc patch?


Also it seems that Mac OS X seems to provide it's own fill-rectangle and
+draw-rectangle
it prints:
FILL-RECTANGLE isn't unique.
and also similar message when I apply gsoc draw-rectangle patch
so it seems that this one isn't needed


Another problem is that it seems to be unable to open/load kernel.


On graphic side of things it seems to draw things better than with gsoc
patches, graphics are not weirdly resized, but there is not much to see
except boot folder graphic (10.0)/white apple(10.2, 10.4).

Amadeusz

-------------- next part --------------
% ./ppc-softmmu/qemu-system-ppc -bios /home/amade/workdir/openbios-devel+/obj-ppc/openbios-qemu.elf -cdrom /home/amade/emu/Mac\ OS\ 10.0.img -g 800x600x32 -m 512 -nographic             

>> =============================================================
>> OpenBIOS 1.0 [Dec 18 2012 11:06]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 512M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Dec 18 2012 11:06
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
No valid state has been set by load or init-program

0 > boot cd:,\\:tbxi 

Mac OS X Loader
FILL-RECTANGLE isn't unique.
Opening partition [cd:0]...
HFSInitPartition: 1fc5b720
UFSInitPartition: 1fc5b720
Ext2InitPartition: 1fc5b720
Opening partition [cd:0]...
HFSInitPartition: 1fc5b924
UFSInitPartition: 1fc5b924
Ext2InitPartition: 1fc5b924
Opening partition [cd:2]...
HFSInitPartition: 1fc5bb28
UFSInitPartition: 1fc5bb28
Ext2InitPartition: 1fc5bb28
Opening partition [cd:2]...
HFSInitPartition: 1fc5bd2c
UFSInitPartition: 1fc5bd2c
Ext2InitPartition: 1fc5bd2c
qemu: terminating on signal 15 from pid 17548
% ./ppc-softmmu/qemu-system-ppc -bios /home/amade/workdir/openbios-devel+/obj-ppc/openbios-qemu.elf -cdrom /home/amade/emu/Mac\ OS\ 10.2\ \(Disc\ 1\).img -g 800x600x32 -m 512 -nographic

>> =============================================================
>> OpenBIOS 1.0 [Dec 18 2012 11:06]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 512M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Dec 18 2012 11:06
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
No valid state has been set by load or init-program

0 > boot cd:,\\:tbxi 

Mac OS X Loader
FILL-RECTANGLE isn't unique.
Opening partition [cd:0]...
HFSInitPartition: 1fc5b720
UFSInitPartition: 1fc5b720
Ext2InitPartition: 1fc5b720
Opening partition [cd:0]...
HFSInitPartition: 1fc5b924
UFSInitPartition: 1fc5b924
Ext2InitPartition: 1fc5b924
Opening partition [cd:1]...
HFSInitPartition: 1fc5bb28
UFSInitPartition: 1fc5bb28
Ext2InitPartition: 1fc5bb28
Opening partition [cd:1]...
HFSInitPartition: 1fc5bd34
UFSInitPartition: 1fc5bd34
Ext2InitPartition: 1fc5bd34
Opening partition [cd:2]...
HFSInitPartition: 1fc5bf50
UFSInitPartition: 1fc5bf50
Ext2InitPartition: 1fc5bf50
Opening partition [cd:2]...
HFSInitPartition: 1fc5c16c
UFSInitPartition: 1fc5c16c
Ext2InitPartition: 1fc5c16c
qemu: terminating on signal 15 from pid 17568
% ./ppc-softmmu/qemu-system-ppc -bios /home/amade/workdir/openbios-devel+/obj-ppc/openbios-qemu.elf -cdrom /home/amade/emu/Mac\ OS\ 10.4.img -g 800x600x32 -m 512 -nographic

>> =============================================================
>> OpenBIOS 1.0 [Dec 18 2012 11:06]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 512M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Dec 18 2012 11:06
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
No valid state has been set by load or init-program

0 > boot cd:,\\:tbxi 

Mac OS X Loader
qemu: terminating on signal 15 from pid 17623


More information about the OpenBIOS mailing list