Hi Hervé, On Wed, Jun 10, 2015 at 11:18 PM, Hervé Poussineau <hpous...@reactos.org> 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 > 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. 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, 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 > > -- > 2.1.4 > -- Regards, Artyom Tarasenko SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu