From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2xRV-0008Kj-DK for qemu-devel@nongnu.org; Thu, 11 Jun 2015 04:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2xRU-0002tf-3V for qemu-devel@nongnu.org; Thu, 11 Jun 2015 04:02:29 -0400 MIME-Version: 1.0 In-Reply-To: <1433971135-24587-1-git-send-email-hpoussin@reactos.org> References: <1433971135-24587-1-git-send-email-hpoussin@reactos.org> From: Artyom Tarasenko Date: Thu, 11 Jun 2015 10:02:05 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/4] PPC IBM 40p PReP emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Herv=C3=A9_Poussineau?= Cc: =?UTF-8?Q?Andreas_F=C3=A4rber?= , qemu-ppc@nongnu.org, qemu-devel Hi Herv=C3=A9, On Wed, Jun 10, 2015 at 11:18 PM, Herv=C3=A9 Poussineau wrote: > Hi, > > This patchset adds the emulation of the IBM RS/6000 7020 (40p). Well done! Congratulations on a good job! > 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 f= irmware. > Patch 2 has been of a great help when using official firmware. However, i= f 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. Solaris would likely have the same problem: it's little-endian on PReP. > To test, download firmware a http://tyom.de/qprepofw-serial-svn-3738.rom = . Thanks Artyom! You are welcome. I see your machine is using a S3 graphic card. If you like I can add a driver for it. Not within the next days though. Out of curiosity: is the proprietary firmware also able to use a Cirrus Logic card? Regards, 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, a= s 40p storage is SCSI. > > Herv=C3=A9 > > Herv=C3=A9 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 > > -- > 2.1.4 > --=20 Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/q= emu