Skip to content

PPC IBM 40p PReP emulation

Hervé Poussineau qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4prep: QOM'ify System I/Ohw/ppc/Makefile.objs hw/ppc/prep_systemio.c trace-events+305 -00 replies
2/4prep: add RS/6000 debug devicedefault-configs/ppc-softmmu.mak hw/ppc/Makefile.objs hw/ppc/rs6000_debug.c+262 -00 replies
3/4prep: add IBM RS/6000 7020 (40p) memory controllerdefault-configs/ppc-softmmu.mak hw/ppc/Makefile.objs hw/ppc/rs6000_mc.c +1 more+238 -00 replies
4/4prep: add IBM RS/6000 7020 (40p) machine emulationdefault-configs/ppc-softmmu.mak docs/ibm_40p.cfg hw/ppc/prep.c+143 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] PPC IBM 40p PReP emulation

Hi,

This patchset adds the emulation of the IBM RS/6000 7020 (40p). The real machine is able to run AIX (up to 4.3.3), Windows NT (up to 4.0 SP1), the beta of OS/2 PowerPC, Solaris, Linux, NetBSD/PReP ...

I've tested current emulation with Open Firmware PReP and with official firmware. Patch 2 has been of a great help when using official firmware. However, if required, I can drop it.

Linux kernel runs.
Windows NT starts up to the point where it wants to change endianness. Other OSes have not been tested.

To test, download firmware a http://tyom.de/qprepofw-serial-svn-3738.rom . Thanks Artyom! Then, run:
qemu-system-ppc -M 40p -bios qprepofw-serial-svn-3738.rom -readconfig ibm_40p.cfg -serial stdio

Note that you can't natively boot from a hard disk using Open Firmware, as 40p storage is SCSI.

Hervé

Hervé Poussineau (4):
prep: QOM'ify System I/O
prep: add RS/6000 debug device
prep: add IBM RS/6000 7020 (40p) memory controller
prep: add IBM RS/6000 7020 (40p) machine emulation

 default-configs/ppc-softmmu.mak |   4 +
 docs/ibm_40p.cfg                |  42 ++++++
 hw/ppc/Makefile.objs            |   3 +
 hw/ppc/prep.c                   |  99 +++++++++++++
 hw/ppc/prep_systemio.c          | 300 ++++++++++++++++++++++++++++++++++++++++
 hw/ppc/rs6000_debug.c           | 260 ++++++++++++++++++++++++++++++++++
 hw/ppc/rs6000_mc.c              | 229 ++++++++++++++++++++++++++++++
 trace-events                    |  11 ++
 8 files changed, 948 insertions(+)
 create mode 100644 docs/ibm_40p.cfg
 create mode 100644 hw/ppc/prep_systemio.c
 create mode 100644 hw/ppc/rs6000_debug.c
 create mode 100644 hw/ppc/rs6000_mc.c
Signature · 1 line
2.1.4