Can someone just give me a quick overview of the "right way" to start up QEMU so that it will load the OpenBIOS firmware instead of PROLL, and how to point QEMU to my Solaris installation CD image file.
Just rename openbios-builtin.elf.nostrip to proll.elf. I don't know if OpenBIOS can be compiled in Solaris, please report if you try.
Do I need any hacks / patches to QEMU to use OpenBIOS instead of PROLL ?
The attached patch to CVS version of Qemu fixes several critical problems in Sparc emulation.
What debugging switches should I enable with QEMU to help me figure out why things aren't working when trying to boot the SunOS 4.1.4 (Solaris 1.1.2) installation CD ?
Is there a "best way" to build OpenBIOS to ensure maximum useful debugging information is produced ?
I don't think Qemu debugging switches are that helpful, but enabling CONFIG_DEBUG_OBP in OpenBIOS shows the OBP calls.
If I'm repeating a whole lot of old questions, is there a FAQ for the QEMU
OpenBIOS (Sparc32) combination that someone can point me to ?
Well, the combination didn't even exist a couple of months ago...
_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
* Blue Swirl blueswir1@hotmail.com [060606 17:04]:
Can someone just give me a quick overview of the "right way" to start up QEMU so that it will load the OpenBIOS firmware instead of PROLL, and how to point QEMU to my Solaris installation CD image file.
Just rename openbios-builtin.elf.nostrip to proll.elf. I don't know if OpenBIOS can be compiled in Solaris, please report if you try.
It needs at least a GNU linker due to the ld scripts. And maybe GCC for ELF support (at least on x86 this was an issue some time ago)
Do I need any hacks / patches to QEMU to use OpenBIOS instead of PROLL ?
The attached patch to CVS version of Qemu fixes several critical problems in Sparc emulation.
cool!
What debugging switches should I enable with QEMU to help me figure out why things aren't working when trying to boot the SunOS 4.1.4 (Solaris 1.1.2) installation CD ?
Is there a "best way" to build OpenBIOS to ensure maximum useful debugging information is produced ?
I don't think Qemu debugging switches are that helpful, but enabling CONFIG_DEBUG_OBP in OpenBIOS shows the OBP calls.
definitely, when you are trying to get OS<->Firmware communication up and running.
Also, for compiling OpenBIOS/sparc32 on an x86 or amd64 machine I can recomment Dan Kegel's crosstool which provides an easy method of building cross compilers for about any platform: http://www.kegel.com/crosstool/
If I'm repeating a whole lot of old questions, is there a FAQ for the QEMU
OpenBIOS (Sparc32) combination that someone can point me to ?
Well, the combination didn't even exist a couple of months ago...
Almost weeks even. This is pretty new ground and things are going to improve over time..
* Blue Swirl blueswir1@hotmail.com [060606 17:04]:
The attached patch to CVS version of Qemu fixes several critical problems in Sparc emulation.
what exactly do they do? I attached them to yesterday's CVS and it did not fix booting solaris at least ;-)
The one problem with booting solaris is that it is supposed to push stuff to the stack which it doesn't do apparently, so OpenBIOS operates on wrong values when doing the v2_eval function on the forth code.
Its unlikely that this alone will fix booting solaris, but as it is definitely wrong at the moment and we dont get any error messages from solaris except an exception its at least a start...
Any help is appreciated here.
If someone has boot CDs or ISO images of SunOS 4 / Solaris 2.4 or older, any help in testing is very welcome.
Stefan
The attached patch to CVS version of Qemu fixes several critical problems in Sparc emulation.
what exactly do they do? I attached them to yesterday's CVS and it did not fix booting solaris at least ;-)
That's because Solaris has not reached userland yet. The fixes are: Fix for MMU no-fault mode (Linux userland works) RTC fix to correct the base year Patch from Joerg Platte to fix FPU problems (cures a lot of segfaulting)
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/