diff options
Diffstat (limited to 'docs/system/target-sparc.texi')
-rw-r--r-- | docs/system/target-sparc.texi | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/docs/system/target-sparc.texi b/docs/system/target-sparc.texi new file mode 100644 index 0000000000..7fe0aec9c3 --- /dev/null +++ b/docs/system/target-sparc.texi @@ -0,0 +1,96 @@ +@node Sparc32 System emulator +@section Sparc32 System emulator +@cindex system emulation (Sparc32) + +Use the executable @file{qemu-system-sparc} to simulate the following +Sun4m architecture machines: +@itemize @minus +@item +SPARCstation 4 +@item +SPARCstation 5 +@item +SPARCstation 10 +@item +SPARCstation 20 +@item +SPARCserver 600MP +@item +SPARCstation LX +@item +SPARCstation Voyager +@item +SPARCclassic +@item +SPARCbook +@end itemize + +The emulation is somewhat complete. SMP up to 16 CPUs is supported, +but Linux limits the number of usable CPUs to 4. + +QEMU emulates the following sun4m peripherals: + +@itemize @minus +@item +IOMMU +@item +TCX or cgthree Frame buffer +@item +Lance (Am7990) Ethernet +@item +Non Volatile RAM M48T02/M48T08 +@item +Slave I/O: timers, interrupt controllers, Zilog serial ports, keyboard +and power/reset logic +@item +ESP SCSI controller with hard disk and CD-ROM support +@item +Floppy drive (not on SS-600MP) +@item +CS4231 sound device (only on SS-5, not working yet) +@end itemize + +The number of peripherals is fixed in the architecture. Maximum +memory size depends on the machine type, for SS-5 it is 256MB and for +others 2047MB. + +Since version 0.8.2, QEMU uses OpenBIOS +@url{https://www.openbios.org/}. OpenBIOS is a free (GPL v2) portable +firmware implementation. The goal is to implement a 100% IEEE +1275-1994 (referred to as Open Firmware) compliant firmware. + +A sample Linux 2.6 series kernel and ram disk image are available on +the QEMU web site. There are still issues with NetBSD and OpenBSD, but +most kernel versions work. Please note that currently older Solaris kernels +don't work probably due to interface issues between OpenBIOS and +Solaris. + +@c man begin OPTIONS + +The following options are specific to the Sparc32 emulation: + +@table @option + +@item -g @var{W}x@var{H}x[x@var{DEPTH}] + +Set the initial graphics mode. For TCX, the default is 1024x768x8 with the +option of 1024x768x24. For cgthree, the default is 1024x768x8 with the option +of 1152x900x8 for people who wish to use OBP. + +@item -prom-env @var{string} + +Set OpenBIOS variables in NVRAM, for example: + +@example +qemu-system-sparc -prom-env 'auto-boot?=false' \ + -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single' +@end example + +@item -M [SS-4|SS-5|SS-10|SS-20|SS-600MP|LX|Voyager|SPARCClassic] [|SPARCbook] + +Set the emulated machine type. Default is SS-5. + +@end table + +@c man end + |