From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWB88-0007ur-3d for qemu-devel@nongnu.org; Tue, 15 Oct 2013 16:22:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWB81-0002rg-PQ for qemu-devel@nongnu.org; Tue, 15 Oct 2013 16:22:12 -0400 Received: from p15195424.pureserver.info ([82.165.34.74]:49272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWB81-0002r2-Ge for qemu-devel@nongnu.org; Tue, 15 Oct 2013 16:22:05 -0400 From: Mark Cave-Ayland Date: Tue, 15 Oct 2013 21:19:52 +0100 Message-Id: <1381868394-12656-1-git-send-email-mark.cave-ayland@ilande.co.uk> Subject: [Qemu-devel] [PATCH 0/2] sun4m: Implement Sun CG3 framebuffer for QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark Cave-Ayland This patchset follows on from the previous "Add FCode ROM for TCX framebuffer" patch and 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. Note this patch has been around for a month or so but has been waiting for the updated OpenBIOS images to be included in QEMU. Therefore while it has not yet been reviewed, it is a reasonably simple and self-contained patchset and has been updated to reflect the comments received from the associated "Add FCode ROM for TCX framebuffer" patch. For this reason, I feel that both these patches are a candidate for 1.7. 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. Signed-off-by: Mark Cave-Ayland Mark Cave-Ayland (2): sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM sun4m: Add Sun CG3 framebuffer initialisation function Makefile | 2 +- default-configs/sparc-softmmu.mak | 1 + hw/display/Makefile.objs | 1 + hw/display/cg3.c | 359 +++++++++++++++++++++++++++++++++++++ hw/sparc/sun4m.c | 60 ++++++- include/sysemu/sysemu.h | 1 + pc-bios/QEMU,cgthree.bin | Bin 0 -> 682 bytes pc-bios/README | 4 +- vl.c | 24 +++ 9 files changed, 447 insertions(+), 5 deletions(-) create mode 100644 hw/display/cg3.c create mode 100644 pc-bios/QEMU,cgthree.bin -- 1.7.10.4