Next: , Previous: QEMU PowerPC System emulator, Up: QEMU System emulator for non PC targets


4.2 Sparc32 System emulator

Use the executable qemu-system-sparc to simulate a SPARCstation 5, SPARCstation 10, SPARCstation 20, SPARCserver 600MP (sun4m architecture), SPARCstation 2 (sun4c architecture), SPARCserver 1000, or SPARCcenter 2000 (sun4d architecture). 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/sun4d peripherals:

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 http://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. Please note that currently NetBSD, OpenBSD or Solaris kernels don't work.

The following options are specific to the Sparc32 emulation:

-g WxHx[xDEPTH]
Set the initial TCX graphic mode. The default is 1024x768x8, currently the only other possible mode is 1024x768x24.
-prom-env string
Set OpenBIOS variables in NVRAM, for example:
     qemu-system-sparc -prom-env 'auto-boot?=false' \
      -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single'

-M [SS-5|SS-10|SS-20|SS-600MP|SS-2|SS-1000|SS-2000]
Set the emulated machine type. Default is SS-5.