xref: /qemu/docs/system/target-sparc.rst (revision aa09b3d5f8e2819d53a6fd81e655ddb3ef107a47)
1 .. _Sparc32-System-emulator:
2 
3 Sparc32 System emulator
4 -----------------------
5 
6 Use the executable ``qemu-system-sparc`` to simulate the following Sun4m
7 architecture 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 
27 The emulation is somewhat complete. SMP up to 16 CPUs is supported, but
28 Linux limits the number of usable CPUs to 4.
29 
30 QEMU 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    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 
49 The number of peripherals is fixed in the architecture. Maximum memory
50 size depends on the machine type, for SS-5 it is 256MB and for others
51 2047MB.
52 
53 Since version 0.8.2, QEMU uses OpenBIOS https://www.openbios.org/.
54 OpenBIOS is a free (GPL v2) portable firmware implementation. The goal
55 is to implement a 100% IEEE 1275-1994 (referred to as Open Firmware)
56 compliant firmware.
57 
58 A sample Linux 2.6 series kernel and ram disk image are available on the
59 QEMU web site. There are still issues with NetBSD and OpenBSD, but most
60 kernel versions work. Please note that currently older Solaris kernels
61 don't work probably due to interface issues between OpenBIOS and
62 Solaris.
63