qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/6] ppc/prep: add IBM RS/6000 43p machine
@ 2013-03-14 22:12 Hervé Poussineau
  2013-03-14 22:12 ` [Qemu-devel] [RFC 1/6] pci: add MPC105 PCI host bridge emulation Hervé Poussineau
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Hervé Poussineau @ 2013-03-14 22:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andreas Färber, Hervé Poussineau

Hi,

This patchset (sent as RFC) adds an emulation of the IBM RS/6000 43p, also known as 7248.
It contains the strict minimum to be able to boot a PReP boot partition on a IDE hard disk.

It has been tested with the official firmware, named P93H1904.IMG.
However, Andreas has already some preliminary patches for OpenBIOS to support PReP machines.

Command line may look like
qemu-system-ppc -M 43p -bios P93H1904.IMG -readconfig ibm_43p.cfg
-device ide-hd,drive=hd0 -drive if=none,id=hd0,cache=writeback,file="hda.qcow2"

Known bugs/missing parts:
- incomplete MPC105 (PCI host bridge) emulation (IRQs, memory controller)
- no video card (should be a S3)
- can't boot from IDE cdroms (overlapping commands not supported by QEMU IDE emulation)
- can't boot from floppies (READ commands are issued, but it seems completion is ignored)
- can't boot from network
- hack added in the m48t59 device (anyone knowing the m48t59 emulation to comment?)
- QEMU can't change endianness at runtime

Patchet also doesn't pass checkpatch.pl yet.

Please comment.

Regards,

Hervé

Hervé Poussineau (6):
  pci: add MPC105 PCI host bridge emulation
  prep: add IBM RS/6000 7248 (43p) machine emulation
  prep: add RS/6000 debug device
  m48t59: move ISA ports registration to QOM constructor
  m48t59: hack(?) to make it work on IBM 43p
  prep: QOM'ify System I/O

 default-configs/ppc-softmmu.mak |    1 +
 docs/ibm_43p.cfg                |   48 +++++
 hw/Makefile.objs                |    1 +
 hw/m48t59.c                     |   11 +-
 hw/mpc105.c                     |  419 +++++++++++++++++++++++++++++++++++++++
 hw/pci/pci_ids.h                |    1 +
 hw/ppc/Makefile.objs            |    2 +
 hw/ppc/prep.c                   |   94 +++++++++
 hw/ppc/prep_systemio.c          |  290 +++++++++++++++++++++++++++
 hw/ppc/rs6000_debug.c           |  260 ++++++++++++++++++++++++
 trace-events                    |   11 +
 11 files changed, 1133 insertions(+), 5 deletions(-)
 create mode 100644 docs/ibm_43p.cfg
 create mode 100644 hw/mpc105.c
 create mode 100644 hw/ppc/prep_systemio.c
 create mode 100644 hw/ppc/rs6000_debug.c

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-14 22:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 22:12 [Qemu-devel] [RFC 0/6] ppc/prep: add IBM RS/6000 43p machine Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 1/6] pci: add MPC105 PCI host bridge emulation Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 2/6] prep: add IBM RS/6000 7248 (43p) machine emulation Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 3/6] prep: add RS/6000 debug device Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 4/6] m48t59: move ISA ports registration to QOM constructor Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 5/6] m48t59: hack(?) to make it work on IBM 43p Hervé Poussineau
2013-03-14 22:12 ` [Qemu-devel] [RFC 6/6] prep: QOM'ify System I/O Hervé Poussineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).