[PATCH 0/3] Add emulation of AmigaOne XE board

BALATON Zoltan posted 3 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1696542537.git.balaton@eik.bme.hu
Maintainers: John Snow <jsnow@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, BALATON Zoltan <balaton@eik.bme.hu>
There is a newer version of this series
MAINTAINERS                             |   8 +
configs/devices/ppc-softmmu/default.mak |   1 +
hw/ide/via.c                            |  35 +++-
hw/pci-host/Kconfig                     |   5 +
hw/pci-host/articia.c                   | 266 ++++++++++++++++++++++++
hw/pci-host/meson.build                 |   2 +
hw/ppc/Kconfig                          |   7 +
hw/ppc/amigaone.c                       | 164 +++++++++++++++
hw/ppc/meson.build                      |   2 +
include/hw/pci-host/articia.h           |  17 ++
10 files changed, 502 insertions(+), 5 deletions(-)
create mode 100644 hw/pci-host/articia.c
create mode 100644 hw/ppc/amigaone.c
create mode 100644 include/hw/pci-host/articia.h
[PATCH 0/3] Add emulation of AmigaOne XE board
Posted by BALATON Zoltan 7 months ago
This small series adds amigaone PPC machine which can be emulated
mostly reusing existing models used by pegasos2 as these machines are
very similar. The reason to add another board is that AmigaOS has
different versions for different machines that only run on that
machine and the AmigaOne version is more common than the PegasosII one.
Also it's useful for debugging to be able to test with both machines
as problems in emulation can be identified if they occur on both
machines as opposed to problems specific only to one version. Since
this only needs a very minimal north bridge emulation and a simple
board code with everything else shared with pegasos2 it is not a big
maintenance burden.

The board uses a modofied U-Boot that is needed to boot AmigaOS which
is freely available and distributable under GPL (see comment in
hw/ppc/amigaone.c added in patch 3 for details on how to get firmware
binary) but the sources for it could not be recovered so I could not
reproduce it from source. Ideally this firmware should be included
here for convenience which should be OK due to its GPL licence but
since there's only a binary I did not include it here. Let me know if
that would be OK to include but even without that firmware adding the
machine is useful as users can get the rom binary separately which
they are used to as pegasos2 also needed a firmware image to boot
AmigaOS until recently.

I hope this could be merged for 8.2 with this series being the minimum
set of patches needed to add this machine. This was tested by a Few
people already and can run AmigaOS and Linux distro for AmigaOne well.

Regards,
BALATON Zoltan

BALATON Zoltan (3):
  via-ide: Fix legacy mode emulation
  hw/pci-host: Add emulation of Mai Logic Articia S
  hw/ppc: Add emulation of AmigaOne XE board

 MAINTAINERS                             |   8 +
 configs/devices/ppc-softmmu/default.mak |   1 +
 hw/ide/via.c                            |  35 +++-
 hw/pci-host/Kconfig                     |   5 +
 hw/pci-host/articia.c                   | 266 ++++++++++++++++++++++++
 hw/pci-host/meson.build                 |   2 +
 hw/ppc/Kconfig                          |   7 +
 hw/ppc/amigaone.c                       | 164 +++++++++++++++
 hw/ppc/meson.build                      |   2 +
 include/hw/pci-host/articia.h           |  17 ++
 10 files changed, 502 insertions(+), 5 deletions(-)
 create mode 100644 hw/pci-host/articia.c
 create mode 100644 hw/ppc/amigaone.c
 create mode 100644 include/hw/pci-host/articia.h

-- 
2.30.9