From: BALATON Zoltan <balaton@eik.bme.hu>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: Howard Spoelstra <hsp.cat7@gmail.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v7 0/8] Mac Old World ROM experiment
Date: Mon, 29 Jun 2020 20:55:26 +0200 [thread overview]
Message-ID: <cover.1593456926.git.balaton@eik.bme.hu> (raw)
This is now a minimal set of patches needed to make it possible to
experiment with a firmware ROM from real hardware. After finding out
that the board firmware does not probe PCI devices but expects them at
known fixed addresses we only need to change the address of the macio
device to get the firmware correctly map it. This allows dropping
workarounds in previous versions for this and now only the minimal set
of patches are included to get the firmware loaded and do something.
(Also excluded the grackle revision and machine ID pathes for now that
may be needed as the firmware accesses these but seems to go further
without them so until we hit a problem we can live without it,
although I wonder if this causes us unnecessary debugging later so
unless they cause regressions they could be merged).
I still don't get video output but at least it talks to the GPU chip
now so it can be debugged and improved (this will either need
emulating the correct chip the firmware has a driver for or an OF
compliant ROM for the emulated card).
As before the I2C part (patches 6-8) is RFC and unfinished but the
first 5 patches should be good enough now. I hope someone can take
care of I2C, I can look at the ati-vga side later.
Regards,
BALATON Zoltan
BALATON Zoltan (8):
mac_oldworld: Allow loading binary ROM image
mac_newworld: Allow loading binary ROM image
mac_oldworld: Drop a variable, use get_system_memory() directly
mac_oldworld: Drop some variables
mac_oldworld: Change PCI address of macio to match real hardware
i2c: Match parameters of i2c_start_transfer and i2c_send_recv
WIP macio/cuda: Attempt to add i2c support
mac_oldworld: Add SPD data to cover RAM
hw/display/sm501.c | 2 +-
hw/i2c/core.c | 34 +++++++-------
hw/i2c/ppc4xx_i2c.c | 2 +-
hw/misc/macio/cuda.c | 76 ++++++++++++++++++++++++++++++-
hw/ppc/mac.h | 2 -
hw/ppc/mac_newworld.c | 22 +++++----
hw/ppc/mac_oldworld.c | 86 +++++++++++++++++++++++-------------
include/hw/i2c/i2c.h | 4 +-
include/hw/misc/macio/cuda.h | 1 +
9 files changed, 167 insertions(+), 62 deletions(-)
--
2.21.3
next reply other threads:[~2020-06-29 19:28 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-29 18:55 BALATON Zoltan [this message]
2020-06-29 18:55 ` [PATCH v7 4/8] mac_oldworld: Drop some variables BALATON Zoltan
2020-10-13 19:47 ` Philippe Mathieu-Daudé
2020-06-29 18:55 ` [PATCH v7 6/8] i2c: Match parameters of i2c_start_transfer and i2c_send_recv BALATON Zoltan
2020-06-29 18:55 ` [PATCH v7 5/8] mac_oldworld: Change PCI address of macio to match real hardware BALATON Zoltan
2020-06-30 19:15 ` Mark Cave-Ayland
2020-06-29 18:55 ` [PATCH v7 8/8] mac_oldworld: Add SPD data to cover RAM BALATON Zoltan
2020-10-13 19:50 ` Philippe Mathieu-Daudé
2020-10-13 22:15 ` BALATON Zoltan via
2020-10-13 22:28 ` BALATON Zoltan via
2020-06-29 18:55 ` [PATCH v7 1/8] mac_oldworld: Allow loading binary ROM image BALATON Zoltan
2020-06-30 19:13 ` Mark Cave-Ayland
2020-06-30 21:45 ` BALATON Zoltan
2020-07-05 7:31 ` David Gibson
2020-07-05 17:45 ` BALATON Zoltan
2020-07-06 20:24 ` Mark Cave-Ayland
2020-06-29 18:55 ` [RFC PATCH v7 7/8] WIP macio/cuda: Attempt to add i2c support BALATON Zoltan
2020-06-29 18:55 ` [PATCH v7 2/8] mac_newworld: Allow loading binary ROM image BALATON Zoltan
2020-10-13 19:45 ` Philippe Mathieu-Daudé
2020-06-29 18:55 ` [PATCH v7 3/8] mac_oldworld: Drop a variable, use get_system_memory() directly BALATON Zoltan
2020-10-13 19:44 ` Philippe Mathieu-Daudé
2020-06-30 19:30 ` [PATCH v7 0/8] Mac Old World ROM experiment Mark Cave-Ayland
2020-06-30 20:49 ` BALATON Zoltan
2020-07-02 6:59 ` Howard Spoelstra
2020-07-02 7:59 ` BALATON Zoltan
2023-01-22 15:35 ` BALATON Zoltan
2023-01-22 16:00 ` BALATON Zoltan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1593456926.git.balaton@eik.bme.hu \
--to=balaton@eik.bme.hu \
--cc=david@gibson.dropbear.id.au \
--cc=hsp.cat7@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).