From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 20 19:46:15 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93E7E98 for ; Sun, 20 Jul 2014 19:46:15 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id 6438A2512 for ; Sun, 20 Jul 2014 19:46:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id 2FC6D3806A for ; Sun, 20 Jul 2014 14:46:14 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id cAJlsFR73ix5 for ; Sun, 20 Jul 2014 14:46:14 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id E3F3C38069 for ; Sun, 20 Jul 2014 14:46:13 -0500 (CDT) Message-ID: <53CC1C85.5050809@freebsd.org> Date: Sun, 20 Jul 2014 12:46:13 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Subject: vt(4) support on SPARC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 19:46:15 -0000 I'm hoping to collect test results for the patch at http://people.freebsd.org/~nwhitehorn/vt-sparc64.diff It does the following things: 1. Adds vt to SPARC64 GENERIC as a run-time selectable feature. syscons is still the default, but you can try vt by setting kern.vty=vt at the boot loader. 2. Fix some bitrot in the sparc64 support in ofwfb, so that it compiles again on SPARC. 3. Removes some of the PCI-focused aspects of ofwfb and adds some other improvements to it (not all of them SPARC-related). This should work at least on all systems currently using machfb(4) and provides a working graphics console on my Ultra 5. It likely doesn't work on systems using creatorfb(4) -- I believe that will require a different driver -- though I would very much appreciate test results on such systems. It may also work on some systems that currently have no working graphics console at all. So, if you have a SPARC system with video hardware, I would really appreciate it if you could give this a try. If you don't set kern.vty at the loader prompt, it should not change anything. If you try it on a non-Mach64 system and it provides a working console, please let me know. If you try it and it does not work (no matter what kind of graphics hardware), please also let me know and tell me what kind of graphics card you have and send the output of "ofwdump -p screen". Any other comments or test results would also be appreciated. -Nathan