From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXznQ-0002Qn-Qc for qemu-devel@nongnu.org; Thu, 02 May 2013 16:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXznP-0000oT-6i for qemu-devel@nongnu.org; Thu, 02 May 2013 16:08:04 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 2 May 2013 22:08:57 +0200 Message-Id: <1367525344-7755-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/7] ppc/prep: add IBM RS/6000 43p machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , qemu-ppc@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Hi, This patchset adds an emulation of the IBM RS/6000 43p, also known as 724= 8. I've fixed comments of Blue Swirl in this series, so I'm sending it as PA= TCH instead of RFC. Andreas did some preliminary patches for OpenBIOS to support PReP machine= s, available at git://repo.or.cz/openbios/afaerber.git branch prep. 43p emulation has been tested with this firmware, and also with the offic= ial firmware, named P93H1904.IMG. Command line may look like qemu-system-ppc -M 43p -readconfig ibm_43p.cfg Changes RFC v2 -> PATCH v1: - rebased on master - add a Nvram interface on m48t59 - kept ISA io_base in patch 3 - renamed QOM parent objects as parent_obj Changes RFC v1 -> RFC v2: - rebased on master - works with OpenBIOS - rework on m48t59 patches - remove rs6000 debug port emulation (not strictly required) - checkpatch.pl doesn't complain anymore Known bugs/missing parts: - incomplete MPC105 (PCI host bridge) emulation (memory controller) - no video card (should be a S3) - QEMU can't change endianness at runtime OpenBIOS status: - detects CPU and memory, then freezes with a "Dictionary space overflow" Official firmware status: - can boot from a IDE hard disk containing a PReP boot partition - 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 comple= tion is ignored) - can't boot from network (detects the netcard, but doesn't use it) - needs a hack to m48t59 device to work Regards, Herv=C3=A9 Herv=C3=A9 Poussineau (7): pci: add MPC105 PCI host bridge emulation qom: handle registration of new types when initializing the first ones m48t59: move ISA ports/memory regions registration to QOM constructor m48t59: register a QOM type for each nvram type we support m48t59: add a Nvram interface prep: add IBM RS/6000 7248 (43p) machine emulation prep: QOM'ify System I/O default-configs/ppc-softmmu.mak | 1 + docs/ibm_43p.cfg | 43 ++++ hw/pci-host/Makefile.objs | 1 + hw/pci-host/mpc105.c | 488 +++++++++++++++++++++++++++++++++= ++++++ hw/ppc/Makefile.objs | 1 + hw/ppc/prep.c | 213 +++++++++++++++++ hw/ppc/prep_systemio.c | 298 ++++++++++++++++++++++++ hw/timer/m48t59.c | 304 ++++++++++++++++++------ include/hw/pci/pci_ids.h | 1 + include/hw/timer/m48t59.h | 24 ++ qom/object.c | 45 +++- trace-events | 11 + 12 files changed, 1349 insertions(+), 81 deletions(-) create mode 100644 docs/ibm_43p.cfg create mode 100644 hw/pci-host/mpc105.c create mode 100644 hw/ppc/prep_systemio.c --=20 1.7.10.4