Hello, v2 adds missing file that's omitted from original series, still based on "[PATCH v2 0/3] Fix up sam460ex fixes"
Based-on: <cover.1610143658.git.bala...@eik.bme.hu> This is adding a new PPC board called pegasos2 currently posted as RFC because it depends on not yet merged VT8231 emulation currently under review. A working version with all patches can be found here: https://osdn.net/projects/qmiga/scm/git/qemu/tree/pegasos2/ This may need some changes like a test case but I'm posting it now for getting feedback on what's needed to merge this. More info on it can be found at: https://osdn.net/projects/qmiga/wiki/SubprojectPegasos2 Currently it needs a firmware ROM image that I cannot include due to original copyright holder (bPlan) did not release it under a free licence but I have plans to write a replacement in the future. With that firmware it can boot MorphOS now as: qemu-system-ppc -M pegasos2 -cdrom morphos.iso -device ati-vga,romfile="" -serial stdio then enter "boot cd boot.img" at the firmware "ok" prompt as described in the MorphOS.readme. To boot Linux use same command line with e.g. -cdrom debian-8.11.0-powerpc-netinst.iso then enter "boot cd install/pegasos" Patch 2 adds the actual board code after patch 1 adding MV64361 system controller chip. The mv643xx.h header file is taken from Linux and produces a bunch of checkpatch warnings due to different formatting rules it follows, I'm not sure we want to adopt it or keep it as it is given that it does not appear any more in recent Linux versions so we could reformat it as it's unlikely to get updated in the future. Regards, BALATON Zoltan BALATON Zoltan (2): hw/pci-host: Add emulation of Marvell MV64361 PPC system controller hw/ppc: Add emulation of Genesi/bPlan Pegasos II default-configs/devices/ppc-softmmu.mak | 2 + hw/pci-host/Kconfig | 3 + hw/pci-host/meson.build | 2 + hw/pci-host/mv64361.c | 966 ++++++++++++++++++++++++ hw/pci-host/mv643xx.h | 919 ++++++++++++++++++++++ hw/pci-host/trace-events | 6 + hw/ppc/Kconfig | 10 + hw/ppc/meson.build | 2 + hw/ppc/pegasos2.c | 144 ++++ include/hw/pci-host/mv64361.h | 8 + include/hw/pci/pci_ids.h | 1 + 11 files changed, 2063 insertions(+) create mode 100644 hw/pci-host/mv64361.c create mode 100644 hw/pci-host/mv643xx.h create mode 100644 hw/ppc/pegasos2.c create mode 100644 include/hw/pci-host/mv64361.h -- 2.21.3