xref: /openbmc/qemu/docs/system/target-sparc.rst (revision 53c7c924)
1.. _Sparc32-System-emulator:
2
3Sparc32 System emulator
4-----------------------
5
6Use the executable ``qemu-system-sparc`` to simulate the following Sun4m
7architecture machines:
8
9-  SPARCstation 4
10
11-  SPARCstation 5
12
13-  SPARCstation 10
14
15-  SPARCstation 20
16
17-  SPARCserver 600MP
18
19-  SPARCstation LX
20
21-  SPARCstation Voyager
22
23-  SPARCclassic
24
25-  SPARCbook
26
27The emulation is somewhat complete. SMP up to 16 CPUs is supported, but
28Linux limits the number of usable CPUs to 4.
29
30QEMU emulates the following sun4m peripherals:
31
32-  IOMMU
33
34-  TCX or cgthree Frame buffer
35
36-  Lance (Am7990) Ethernet
37
38-  Non Volatile RAM M48T02/M48T08
39
40-  Slave I/O: timers, interrupt controllers, Zilog serial ports,
41   :ref:`keyboard` and power/reset logic
42
43-  ESP SCSI controller with hard disk and CD-ROM support
44
45-  Floppy drive (not on SS-600MP)
46
47-  CS4231 sound device (only on SS-5, not working yet)
48
49The number of peripherals is fixed in the architecture. Maximum memory
50size depends on the machine type, for SS-5 it is 256MB and for others
512047MB.
52
53Since version 0.8.2, QEMU uses OpenBIOS https://www.openbios.org/.
54OpenBIOS is a free (GPL v2) portable firmware implementation. The goal
55is to implement a 100% IEEE 1275-1994 (referred to as Open Firmware)
56compliant firmware.
57
58A sample Linux 2.6 series kernel and ram disk image are available on the
59QEMU web site. There are still issues with NetBSD and OpenBSD, but most
60kernel versions work. Please note that currently older Solaris kernels
61don't work probably due to interface issues between OpenBIOS and
62Solaris.
63