xref: /openbmc/qemu/docs/system/target-sparc64.rst (revision ffe98631)
1.. _Sparc64-System-emulator:
2
3Sparc64 System emulator
4-----------------------
5
6Use the executable ``qemu-system-sparc64`` to simulate a Sun4u
7(UltraSPARC PC-like machine), Sun4v (T1 PC-like machine), or generic
8Niagara (T1) machine. The Sun4u emulator is mostly complete, being able
9to run Linux, NetBSD and OpenBSD in headless (-nographic) mode. The
10Sun4v emulator is still a work in progress.
11
12The Niagara T1 emulator makes use of firmware and OS binaries supplied
13in the S10image/ directory of the OpenSPARC T1 project
14http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2
15and is able to boot the disk.s10hw2 Solaris image.
16
17::
18
19   qemu-system-sparc64 -M niagara -L /path-to/S10image/ \
20                       -nographic -m 256 \
21                       -drive if=pflash,readonly=on,file=/S10image/disk.s10hw2
22
23QEMU emulates the following peripherals:
24
25-  UltraSparc IIi APB PCI Bridge
26
27-  PCI VGA compatible card with VESA Bochs Extensions
28
29-  PS/2 mouse and keyboard
30
31-  Non Volatile RAM M48T59
32
33-  PC-compatible serial ports
34
35-  2 PCI IDE interfaces with hard disk and CD-ROM support
36
37-  Floppy disk
38