[OpenBIOS] Cross-compiling and testing sparc64 on Mac OS X
Andreas Färber
andreas.faerber at web.de
Sun Nov 29 16:35:43 CET 2009
Hello Mark,
Am 29.11.2009 um 14:43 schrieb Mark Cave-Ayland:
> Andreas Färber wrote:
>
>> qemu: fatal: Trap 0x0010 while trap level (5) >= MAXTL (5), Error
>> state
>> pc: 0000000000004200 npc: 0000000000004204
>> General Registers:
>> %g0: 0000000000000000 %g1: 0000000000000000 %g2:
>> 0000000008000000 %g3: 0000000000000000 %g4:
>> 0000000000000000 %g5: 0000000000000000 %g6:
>> 0000000000000000 %g7: 0000000000000000 Current Register Window:
>> %o0: 00000000ffe00000 %o1: 00000000ffe01000 %o2:
>> 000001fff0100000 %o3: 000001fff0000000 %o4:
>> 0000000000000000 %o5: 0000000000000000 %o6:
>> 0000000000000000 %o7: 000001ff00000000 %l0:
>> 0000000007e80000 %l1: 000001ff00000000 %l2:
>> 000001fff0080000 %l3: 0000000000000000 %l4:
>> 0000000000000000 %l5: 0000000000000000 %l6:
>> 0000000000000000 %l7: 0000000000000000 %i0:
>> 0000000000000000 %i1: 0000000000000000 %i2:
>> 0000000000000000 %i3: 0000000000000000 %i4:
>> 0000000000000000 %i5: 0000000000000000 %i6:
>> 0000000000000000 %i7: 0000000000000000 Floating Point Registers:
>> %f00: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f04: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f08: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f12: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f16: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f20: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f24: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> %f28: 000000000.000000 000000000.000000 000000000.000000
>> 000000000.000000
>> pstate: 0x00000015 ccr: 0x99 asi: 0x00 tl: 5 fprs: 0
>> cansave: 6 canrestore: 0 otherwin: 0 wstate 0 cleanwin 6 cwp 7
>> fsr: 0x00000000
>> ../qemu-solaris-sparc.command: line 3: 3289 Abort
>> trap /Users/andreas/Q/latest/bin/qemu-system-sparc64 -
>> nographic -boot d -cdrom /Users/andreas/Q/sol-10-u3-ga-sparc-dvd.iso
>> This looks different from what you've posted and is identical with
>> QEMU's version of openbios-sparc64. Same with or without -nographic.
>> Any ideas?
>
> Hmmm that's a tricky one. Does it not even get to the OpenBIOS prompt?
Nope. Not ruling out a QEMU issue, but it's specific to sparc64 on Mac
OS X host.
I never got further on sparc64, so the errors you are discussing now
seemed like a leap forward. ;)
On Linux/amd64 I do get the OpenBIOS prompt with either 'open is not
unique' or 'byte-load exception' (testing Solaris 10 U3, Solaris
Nevada b127 and MilaX 0.3.2).
> You need to be using a recent git master for Qemu as well as
> OpenBIOS SVN [...]
I'm at OpenBIOS trunk HEAD (r635) and was at QEMU master
63e86b2e13396310feff1fe1a5988b5742487636.
> Can you try launching a PPC Qemu instance with both the supplied
> openbios-ppc and then building your own to confirm that they both
> display the same behaviour?
With ppc or sparc32 emulation I do not have this issue. Debian/sparc32
boots fine 'til login and Debian/ppc has some graphic glitches
(penguin miscolored on OSX/Cocoa, missing on Linux/SDL) but gets to
the first installation screen.
Andreas
More information about the OpenBIOS
mailing list