aboutsummaryrefslogtreecommitdiff
path: root/docs/system/target-sparc64.rst
blob: ca76ba9c48884a66eedb325ac3705037d83d5f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. _Sparc64-System-emulator:

Sparc64 System emulator
-----------------------

Use the executable ``qemu-system-sparc64`` to simulate a Sun4u
(UltraSPARC PC-like machine), Sun4v (T1 PC-like machine), or generic
Niagara (T1) machine. The Sun4u emulator is mostly complete, being able
to run Linux, NetBSD and OpenBSD in headless (-nographic) mode. The
Sun4v emulator is still a work in progress.

The Niagara T1 emulator makes use of firmware and OS binaries supplied
in the S10image/ directory of the OpenSPARC T1 project
http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2
and is able to boot the disk.s10hw2 Solaris image.

::

   qemu-system-sparc64 -M niagara -L /path-to/S10image/ \
                       -nographic -m 256 \
                       -drive if=pflash,readonly=on,file=/S10image/disk.s10hw2

QEMU emulates the following peripherals:

-  UltraSparc IIi APB PCI Bridge

-  PCI VGA compatible card with VESA Bochs Extensions

-  PS/2 mouse and keyboard

-  Non Volatile RAM M48T59

-  PC-compatible serial ports

-  2 PCI IDE interfaces with hard disk and CD-ROM support

-  Floppy disk

The following options are specific to the Sparc64 emulation:

``-prom-env string``
   Set OpenBIOS variables in NVRAM, for example:

   ::

      qemu-system-sparc64 -prom-env 'auto-boot?=false'

``-M [sun4u|sun4v|niagara]``
   Set the emulated machine type. The default is sun4u.