qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, benh@kernel.crashing.org
Subject: Re: [Qemu-devel] [PATCH 0/5] Add qemu_vga.ndrv MacOS PPC VGA driver from QemuMacDrivers
Date: Tue, 2 May 2017 11:50:02 +1000	[thread overview]
Message-ID: <20170502015002.GD10741@umbus.fritz.box> (raw)
In-Reply-To: <1493646214-3342-1-git-send-email-mark.cave-ayland@ilande.co.uk>

[-- Attachment #1: Type: text/plain, Size: 3133 bytes --]

On Mon, May 01, 2017 at 02:43:29PM +0100, Mark Cave-Ayland wrote:
> Last year Ben posted an initial set of patches for OpenBIOS which provided a
> MacOS PPC VGA driver enabling MacOS guests to control the colour depth and
> resolution of the QEMU stdvga device. The QemuMacDrivers repository was set up on
> qemu-project.org [1] but due to personal circumstances in the second half of last
> year, I was unable to spend much time on it.
> 
> Over the last few months I've reworked the OpenBIOS patches and applied all the
> required dependencies upstream which makes it possible to enable the driver with
> a fairly simple patch [2] to OpenBIOS's vga.fs (binary provided for testing, but not
> to be included in the final merge).
> 
> The main change I've made is that instead of serving the driver binary directly
> through the VGA PCI BAR (with the relevant binary inlined within OpenBIOS), the
> driver is now hosted by QEMU and is installed via the fw_cfg interface by the
> OpenBIOS vga.fs driver during startup. Not only does this make it possible to
> further develop the driver without also having to rebuild OpenBIOS every time but
> it also leaves us with the ability to serve a proper IEEE-1275 FCode ROM via the
> VGA PCI BAR later if needed.
> 
> In addition to this I've added a new OpenBIOS NVRAM variable "vga-ndrv?" which
> defaults to "true" but can be overidden via -prom-env to force disable the
> driver if any incompatibilities are found. I've tested it locally against my
> OS X 10.2 and MacOS 9.2.1 images and it seems to work there, but as I don't
> have an exhaustive set of MacOS images available I'd be grateful for some more
> testing.
> 
> [1] https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg06159.html
> [2] https://mail.coreboot.org/pipermail/openbios/2017-May/009909.html
> 
> This patchset can also be found on my github repository at
> https://github.com/mcayland/qemu/tree/ppc-vga-upstream.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Applied to ppc-for-2.10, thanks.


> 
> 
> Mark Cave-Ayland (5):
>   Add QemuMacDrivers as submodule
>   Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built as submodule
>   ppc: add qemu_vga.ndrv ROM to fw_cfg interface for OldWorld Macs
>   ppc: add qemu_vga.ndrv ROM to fw_cfg interface for NewWorld Macs
>   [Testing] Provide NDRV-capable openbios-ppc binary for testing
> 
>  .gitmodules           |    3 +++
>  Makefile              |    3 ++-
>  hw/ppc/mac_newworld.c |   18 +++++++++++++++++-
>  hw/ppc/mac_oldworld.c |   18 +++++++++++++++++-
>  pc-bios/README        |    3 +++
>  pc-bios/openbios-ppc  |  Bin 750840 -> 754936 bytes
>  pc-bios/qemu_vga.ndrv |  Bin 0 -> 14752 bytes
>  roms/QemuMacDrivers   |    1 +
>  8 files changed, 43 insertions(+), 3 deletions(-)
>  create mode 100644 pc-bios/qemu_vga.ndrv
>  create mode 160000 roms/QemuMacDrivers
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2017-05-02  1:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 13:43 [Qemu-devel] [PATCH 0/5] Add qemu_vga.ndrv MacOS PPC VGA driver from QemuMacDrivers Mark Cave-Ayland
2017-05-01 13:43 ` [Qemu-devel] [PATCH 1/5] Add QemuMacDrivers as submodule Mark Cave-Ayland
2017-05-01 13:43 ` [Qemu-devel] [PATCH 2/5] Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built " Mark Cave-Ayland
2017-05-01 13:43 ` [Qemu-devel] [PATCH 3/5] ppc: add qemu_vga.ndrv ROM to fw_cfg interface for OldWorld Macs Mark Cave-Ayland
2017-05-01 13:43 ` [Qemu-devel] [PATCH 4/5] ppc: add qemu_vga.ndrv ROM to fw_cfg interface for NewWorld Macs Mark Cave-Ayland
2017-05-01 13:43 ` [Qemu-devel] [PATCH 5/5] [Testing] Provide NDRV-capable openbios-ppc binary for testing Mark Cave-Ayland
2017-05-02  1:50 ` David Gibson [this message]
2017-05-02  7:38   ` [Qemu-devel] [PATCH 0/5] Add qemu_vga.ndrv MacOS PPC VGA driver from QemuMacDrivers Mark Cave-Ayland
2017-05-03  2:31     ` David Gibson
2017-05-02 15:52 ` [Qemu-devel] [Qemu-ppc] " Howard Spoelstra
2017-05-02 18:32   ` Mark Cave-Ayland

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=20170502015002.GD10741@umbus.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=benh@kernel.crashing.org \
    --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).