xref: /openbmc/qemu/docs/system/target-sparc.rst (revision e116b92d01c2cd75957a9f8ad1d4932292867b81)
1324b2298SPaolo Bonzini.. _Sparc32-System-emulator:
2324b2298SPaolo Bonzini
3324b2298SPaolo BonziniSparc32 System emulator
4324b2298SPaolo Bonzini-----------------------
5324b2298SPaolo Bonzini
6324b2298SPaolo BonziniUse the executable ``qemu-system-sparc`` to simulate the following Sun4m
7324b2298SPaolo Bonziniarchitecture machines:
8324b2298SPaolo Bonzini
9324b2298SPaolo Bonzini-  SPARCstation 4
10324b2298SPaolo Bonzini
11324b2298SPaolo Bonzini-  SPARCstation 5
12324b2298SPaolo Bonzini
13324b2298SPaolo Bonzini-  SPARCstation 10
14324b2298SPaolo Bonzini
15324b2298SPaolo Bonzini-  SPARCstation 20
16324b2298SPaolo Bonzini
17324b2298SPaolo Bonzini-  SPARCserver 600MP
18324b2298SPaolo Bonzini
19324b2298SPaolo Bonzini-  SPARCstation LX
20324b2298SPaolo Bonzini
21324b2298SPaolo Bonzini-  SPARCstation Voyager
22324b2298SPaolo Bonzini
23324b2298SPaolo Bonzini-  SPARCclassic
24324b2298SPaolo Bonzini
25324b2298SPaolo Bonzini-  SPARCbook
26324b2298SPaolo Bonzini
27324b2298SPaolo BonziniThe emulation is somewhat complete. SMP up to 16 CPUs is supported, but
28324b2298SPaolo BonziniLinux limits the number of usable CPUs to 4.
29324b2298SPaolo Bonzini
30*49ce37e3SThomas HuthThe list of available CPUs can be viewed by starting QEMU with ``-cpu help``.
31*49ce37e3SThomas HuthOptional boolean features can be added with a "+" in front of the feature name,
32*49ce37e3SThomas Huthor disabled with a "-" in front of the name, for example
33*49ce37e3SThomas Huth``-cpu TI-SuperSparc-II,+float128``.
34*49ce37e3SThomas Huth
35324b2298SPaolo BonziniQEMU emulates the following sun4m peripherals:
36324b2298SPaolo Bonzini
37324b2298SPaolo Bonzini-  IOMMU
38324b2298SPaolo Bonzini
39324b2298SPaolo Bonzini-  TCX or cgthree Frame buffer
40324b2298SPaolo Bonzini
41324b2298SPaolo Bonzini-  Lance (Am7990) Ethernet
42324b2298SPaolo Bonzini
43324b2298SPaolo Bonzini-  Non Volatile RAM M48T02/M48T08
44324b2298SPaolo Bonzini
45324b2298SPaolo Bonzini-  Slave I/O: timers, interrupt controllers, Zilog serial ports,
466b90a4cdSHenrik Carlqvist   :ref:`keyboard` and power/reset logic
47324b2298SPaolo Bonzini
48324b2298SPaolo Bonzini-  ESP SCSI controller with hard disk and CD-ROM support
49324b2298SPaolo Bonzini
50324b2298SPaolo Bonzini-  Floppy drive (not on SS-600MP)
51324b2298SPaolo Bonzini
52324b2298SPaolo Bonzini-  CS4231 sound device (only on SS-5, not working yet)
53324b2298SPaolo Bonzini
54324b2298SPaolo BonziniThe number of peripherals is fixed in the architecture. Maximum memory
55324b2298SPaolo Bonzinisize depends on the machine type, for SS-5 it is 256MB and for others
56324b2298SPaolo Bonzini2047MB.
57324b2298SPaolo Bonzini
58324b2298SPaolo BonziniSince version 0.8.2, QEMU uses OpenBIOS https://www.openbios.org/.
59324b2298SPaolo BonziniOpenBIOS is a free (GPL v2) portable firmware implementation. The goal
60324b2298SPaolo Bonziniis to implement a 100% IEEE 1275-1994 (referred to as Open Firmware)
61324b2298SPaolo Bonzinicompliant firmware.
62324b2298SPaolo Bonzini
63*49ce37e3SThomas HuthPlease note that currently older Solaris kernels don't work; this is probably
64*49ce37e3SThomas Huthdue to interface issues between OpenBIOS and Solaris.
65