I'm curious whether support exists for sparcstation's 10 & 20 yet. Any comments?
-Brian
On Wed, May 25, 2011 at 12:25 AM, Brian Vandenberg phantall@gmail.com wrote:
I'm curious whether support exists for sparcstation's 10 & 20 yet. Any comments?
OpenBIOS can be used as the BIOS for QEMU and for this combination, SS-10 and SS-20 work pretty well.
If instead you'd like to use OpenBIOS as a replacement for the OBP, then this is not supported. It would be possible to replace QEMU specific parts (for example fw_cfg) with bare metal versions, but so far nobody has been interested enough to start hacking. Being able to run on real HW would certainly improve the level of realism, for example SBus probing is not implemented.
On 05/26/11 01:58 PM, Blue Swirl wrote:
On Wed, May 25, 2011 at 12:25 AM, Brian Vandenbergphantall@gmail.com wrote:
I'm curious whether support exists for sparcstation's 10& 20 yet. Any comments?
OpenBIOS can be used as the BIOS for QEMU and for this combination, SS-10 and SS-20 work pretty well.
If instead you'd like to use OpenBIOS as a replacement for the OBP, then this is not supported. It would be possible to replace QEMU specific parts (for example fw_cfg) with bare metal versions, but so far nobody has been interested enough to start hacking. Being able to run on real HW would certainly improve the level of realism, for example SBus probing is not implemented.
Am I missing something, or do the QEMU SS-10 and SS-20 not have the CS4231 wired up as a serial console?
Nathan
On Mon, Jun 6, 2011 at 6:13 AM, Nathan Kunkee nkunkee42@hotmail.com wrote:
On 05/26/11 01:58 PM, Blue Swirl wrote:
On Wed, May 25, 2011 at 12:25 AM, Brian Vandenbergphantall@gmail.com wrote:
I'm curious whether support exists for sparcstation's 10& 20 yet. Any comments?
OpenBIOS can be used as the BIOS for QEMU and for this combination, SS-10 and SS-20 work pretty well.
If instead you'd like to use OpenBIOS as a replacement for the OBP, then this is not supported. It would be possible to replace QEMU specific parts (for example fw_cfg) with bare metal versions, but so far nobody has been interested enough to start hacking. Being able to run on real HW would certainly improve the level of realism, for example SBus probing is not implemented.
Am I missing something, or do the QEMU SS-10 and SS-20 not have the CS4231 wired up as a serial console?
I don't think real SS-10/20 used CS4231 (Crystal semi audio) either, that was only on SS-5. Maybe you are thinking of the AMD serial/audio/ISDN chip, DBRI? That one is not implemented. The console uses Zilog serial.
It's been a few years since I did any qemu and openbios hacking and I want to give it another try. I'm using ubuntu 10.10 on a PC but my last development work was on redhat 9 so things have changed.
I need to start from scratch so could I get some advice on what compiler and glibc version everyone is using. I remember getting a working crosstool took some effort but I don't remember what I did.
I assume people are still using crosstool-0.43? It that still true? What about crosstool-ng? Something else?
Thanks in advance,
Bob.
Try this out.
From: Robert Reif reif@earthlink.net To: openbios@openbios.org Sent: Friday, June 17, 2011 11:28 PM Subject: [OpenBIOS] need help building sparc32 crosstool
It's been a few years since I did any qemu and openbios hacking and I want to give it another try. I'm using ubuntu 10.10 on a PC but my last development work was on redhat 9 so things have changed.
I need to start from scratch so could I get some advice on what compiler and glibc version everyone is using. I remember getting a working crosstool took some effort but I don't remember what I did.
I assume people are still using crosstool-0.43? It that still true? What about crosstool-ng? Something else?
Thanks in advance,
Bob.
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you
On Sat, Jun 18, 2011 at 6:28 AM, Robert Reif reif@earthlink.net wrote:
It's been a few years since I did any qemu and openbios hacking and I want to give it another try. I'm using ubuntu 10.10 on a PC but my last development work was on redhat 9 so things have changed.
I need to start from scratch so could I get some advice on what compiler and glibc version everyone is using. I remember getting a working crosstool took some effort but I don't remember what I did.
I assume people are still using crosstool-0.43? It that still true? What about crosstool-ng? Something else?
I didn't use anything special. OpenBIOS does not need glibc or kernel headers, so that makes things a bit simpler.
$ sparc-elf-ld -V GNU ld (GNU Binutils) 2.18 Supported emulations: elf32_sparc elf64_sparc $ sparc-elf-gcc -v Using built-in specs. COLLECT_GCC=sparc-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sparc-elf/4.6.0/lto-wrapper Target: sparc-elf Configured with: ../configure --target=sparc-elf --enable-targets=sparc-elf --disable-nls --disable-threads --enable-languages=c --disable-shared --disable-libssp --disable-multilib Thread model: single gcc version 4.6.0 20100925 (experimental) (GCC) $ sparc-elf-gdb -v GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=sparc-elf".
On 18/06/11 04:28, Robert Reif wrote:
It's been a few years since I did any qemu and openbios hacking and I want to give it another try. I'm using ubuntu 10.10 on a PC but my last development work was on redhat 9 so things have changed.
Great news! Are you interested at looking at some of the outstanding Solaris issues at all?
I need to start from scratch so could I get some advice on what compiler and glibc version everyone is using. I remember getting a working crosstool took some effort but I don't remember what I did.
I assume people are still using crosstool-0.43? It that still true? What about crosstool-ng? Something else?
I ended up just building my own from scratch following various guides on the internet, starting with binutils etc. Currently I use GCC 4.5 for my SPARC32/SPARC64/PPC32 testing.
HTH,
Mark.
Mark Cave-Ayland wrote:
On 18/06/11 04:28, Robert Reif wrote:
It's been a few years since I did any qemu and openbios hacking and I want to give it another try. I'm using ubuntu 10.10 on a PC but my last development work was on redhat 9 so things have changed.
Great news! Are you interested at looking at some of the outstanding Solaris issues at all?
I am interested in getting more of SuperSPARC working. The problem is most of the interesting stuff in the CPU is accessed using memory addresses rather than ASIs by OBP and even bds knows about some of the addresses. I had exposed both MBus and XBus functionality so Sun4D development is possible.
I believe I posted my SuperSPARC work a few years ago for someone to pick up but no one did so I'm considering picking it up myself again.
I have a lot of real hardware. I have at least one of every Sun4M machine (I only have 1 java station) so I can compare QEMU/OpenBios to real hardware.