From: "Andreas Färber" <afaerber@suse.de>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCHv3 0/2] sun4m: Implement Sun CG3 framebuffer for QEMU
Date: Wed, 19 Feb 2014 14:01:23 +0100 [thread overview]
Message-ID: <5304AB23.506@suse.de> (raw)
In-Reply-To: <1392800720-2765-1-git-send-email-mark.cave-ayland@ilande.co.uk>
Am 19.02.2014 10:05, schrieb Mark Cave-Ayland:
> This patchset provides QEMU with an implementation of the Sun CG3 8-bit
> framebuffer. It is based upon Bob Breuer's original work which has been
> rebased onto git master, and is now capable of running with an OpenBIOS CG3
> FCode ROM instead of requiring copies of proprietary Sun ROMs.
>
> The motivation behind this patch is that older operating systems such as
> Debian Woody and Solaris (running OpenWindows) do not contain drivers for the
> TCX framebuffer and as a result currently cannot run in graphical mode. The
> screenshots linked below show qemu-system-sparc successfully running both
> Debian Woody and the Solaris 8 installer in graphical mode during testing:
>
> http://www.ilande.co.uk/tmp/debian-woody.png
> http://www.ilande.co.uk/tmp/sol8-1.png
> http://www.ilande.co.uk/tmp/sol8-2.png
>
> The CG3 framebuffer is selected by passing -vga cg3 on the command line to
> qemu-system-sparc. If either -vga tcx is specified (or the -vga argument is
> omitted) then qemu-system-sparc defaults to using the existing TCX
> framebuffer to maintain compatibility.
>
> v3:
> - Rebased to git master
> - Fix DEBUG_CG3 macro
> - Use register constants based upon Linux/BSD drivers
> - Use qemu_log(LOG_UNIMP ... ) to capture unrecognised register accesses
> - Rename device type from SUNW,cgthree to cgthree (matches OBP)
> - Use error_report() instead of fprintf(stderr ... )
> - Convert from init to realizefn
>
> v2:
> - Rebased to git master
> - Updated QEMU,cgthree.bin ROM to latest OpenBIOS version
> - Added Peter Maydell to CC
>
>
> Mark Cave-Ayland (2):
> sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM
> sun4m: Add Sun CG3 framebuffer initialisation function
Reviewed-by: Andreas Färber <afaerber@suse.de>
There's some lines we could extract from the realizefn into an
instance_init, but can be done as follow-up when needed.
Two small questions, are vram_size and prom_addr for compatibility? New
convention for QOM properties would be dashes.
Regards,
Andreas
>
> Makefile | 2 +-
> default-configs/sparc-softmmu.mak | 1 +
> hw/display/Makefile.objs | 1 +
> hw/display/cg3.c | 384 +++++++++++++++++++++++++++++++++++++
> hw/sparc/sun4m.c | 62 +++++-
> include/sysemu/sysemu.h | 1 +
> pc-bios/QEMU,cgthree.bin | Bin 0 -> 850 bytes
> pc-bios/README | 4 +-
> vl.c | 24 +++
> 9 files changed, 473 insertions(+), 6 deletions(-)
> create mode 100644 hw/display/cg3.c
> create mode 100644 pc-bios/QEMU,cgthree.bin
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2014-02-19 13:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 9:05 [Qemu-devel] [PATCHv3 0/2] sun4m: Implement Sun CG3 framebuffer for QEMU Mark Cave-Ayland
2014-02-19 9:05 ` [Qemu-devel] [PATCHv3 1/2] sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM Mark Cave-Ayland
2014-02-19 13:35 ` Leandro Dorileo
2014-02-19 21:39 ` Mark Cave-Ayland
2014-02-20 12:23 ` Leandro Dorileo
2014-05-08 14:34 ` Andreas Färber
2014-05-19 13:03 ` Mark Cave-Ayland
2014-05-19 17:09 ` Andreas Färber
2014-03-05 10:05 ` Paolo Bonzini
2014-05-07 19:56 ` Paolo Bonzini
2014-05-08 14:44 ` Mark Cave-Ayland
2014-05-08 14:49 ` Paolo Bonzini
2014-02-19 9:05 ` [Qemu-devel] [PATCHv3 2/2] sun4m: Add Sun CG3 framebuffer initialisation function Mark Cave-Ayland
2014-02-19 13:01 ` Andreas Färber [this message]
2014-02-19 21:35 ` [Qemu-devel] [PATCHv3 0/2] sun4m: Implement Sun CG3 framebuffer for QEMU Mark Cave-Ayland
2014-02-23 17:42 ` 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=5304AB23.506@suse.de \
--to=afaerber@suse.de \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@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).