aboutsummaryrefslogtreecommitdiff
path: root/docs/system/target-ppc.rst
blob: 43fadf3c00b97cec3142027c83003f176f73a3cb (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
50
51
52
53
54
55
56
57
58
59
60
61
.. _PowerPC-System-emulator:

PowerPC System emulator
-----------------------

Use the executable ``qemu-system-ppc`` to simulate a complete 40P (PREP)
or PowerMac PowerPC system.

QEMU emulates the following PowerMac peripherals:

-  UniNorth or Grackle PCI Bridge

-  PCI VGA compatible card with VESA Bochs Extensions

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

-  NE2000 PCI adapters

-  Non Volatile RAM

-  VIA-CUDA with ADB keyboard and mouse.

QEMU emulates the following 40P (PREP) peripherals:

-  PCI Bridge

-  PCI VGA compatible card with VESA Bochs Extensions

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

-  Floppy disk

-  PCnet network adapters

-  Serial port

-  PREP Non Volatile RAM

-  PC compatible keyboard and mouse.

Since version 0.9.1, QEMU uses OpenBIOS https://www.openbios.org/ for
the g3beige and mac99 PowerMac and the 40p machines. OpenBIOS is a free
(GPL v2) portable firmware implementation. The goal is to implement a
100% IEEE 1275-1994 (referred to as Open Firmware) compliant firmware.

The following options are specific to the PowerPC emulation:

``-g WxH[xDEPTH]``
   Set the initial VGA graphic mode. The default is 800x600x32.

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

   ::

      qemu-system-ppc -prom-env 'auto-boot?=false' \
       -prom-env 'boot-device=hd:2,\yaboot' \
       -prom-env 'boot-args=conf=hd:2,\yaboot.conf'

More information is available at
http://perso.magic.fr/l_indien/qemu-ppc/.