1 @node Sparc64 System emulator
2 @section Sparc64 System emulator
3 @cindex system emulation (Sparc64)
5 Use the executable @file{qemu-system-sparc64} to simulate a Sun4u
6 (UltraSPARC PC-like machine), Sun4v (T1 PC-like machine), or generic
7 Niagara (T1) machine. The Sun4u emulator is mostly complete, being
8 able to run Linux, NetBSD and OpenBSD in headless (-nographic) mode. The
9 Sun4v emulator is still a work in progress.
11 The Niagara T1 emulator makes use of firmware and OS binaries supplied in the S10image/ directory
12 of the OpenSPARC T1 project @url{http://download.oracle.com/technetwork/systems/opensparc/OpenSPARCT1_Arch.1.5.tar.bz2}
13 and is able to boot the disk.s10hw2 Solaris image.
15 qemu-system-sparc64 -M niagara -L /path-to/S10image/ \
17 -drive if=pflash,readonly=on,file=/S10image/disk.s10hw2
21 QEMU emulates the following peripherals:
25 UltraSparc IIi APB PCI Bridge
27 PCI VGA compatible card with VESA Bochs Extensions
29 PS/2 mouse and keyboard
31 Non Volatile RAM M48T59
33 PC-compatible serial ports
35 2 PCI IDE interfaces with hard disk and CD-ROM support
42 The following options are specific to the Sparc64 emulation:
46 @item -prom-env @var{string}
48 Set OpenBIOS variables in NVRAM, for example:
51 qemu-system-sparc64 -prom-env 'auto-boot?=false'
54 @item -M [sun4u|sun4v|niagara]
56 Set the emulated machine type. The default is sun4u.