old-www/HOWTO/Framebuffer-HOWTO/x914.html

357 lines
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Using framebuffer devices on SPARC platforms</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Framebuffer HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Using framebuffer devices on Alpha platforms"
HREF="x902.html"><LINK
REL="NEXT"
TITLE="Using framebuffer devices on MIPS platforms"
HREF="x995.html"></HEAD
><BODY
CLASS="section"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Framebuffer HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x902.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x995.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="AEN914"
></A
>8. Using framebuffer devices on SPARC platforms</H1
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN916"
></A
>8.1. Which graphic cards can work on the SPARC</H2
><P
>This lists all the graphic cards
available:</P
><P
></P
><UL
><LI
><P
>MG1 / MG2 - SBus
or integrated on Sun3 - max
1600 x 1200 &#38; mono
(BWtwo)</P
></LI
><LI
><P
>CGthree - Similar
to MG1 / MG2 but supports
colour</P
></LI
><LI
><P
>GX - SBus - max. 1152 x 900
&#38; 8 bit
(CGsix)</P
></LI
><LI
><P
>TurboGX - SBus - max. 1152 x
900 &#38; 8 bit
(CGsix)</P
></LI
><LI
><P
>SX (SS10 / SS20 only) - max.
1280 x 1024 &#38; 24 bit
(CGfourteen)</P
></LI
><LI
><P
>ZX (TZX) - SBus - accelerated
24 bit 3D card
(Leo)</P
></LI
><LI
><P
>TCX (Sparc 4 only) - max 1280 x
1024 &#38; 8
bit</P
></LI
><LI
><P
>TCX (Sparc 5 only) - max 1152 x
900 &#38; 24
bit</P
></LI
><LI
><P
>Creator - SBus - max 1280 x
1024 &#38; 24 bit
(FFB</P
></LI
><LI
><P
>Creator3D - SBus - max 1920 x
1200 &#38; 24 bit
(FFB</P
></LI
><LI
><P
>ATI Mach64 - PCI - accelerated
8 / 24 bit UltraSparc
only</P
></LI
></UL
><P
>There is the option to use the PROM to output
characters to the display or to a serial
console.</P
><P
>Also, have a look at the Sparc Frame Buffer FAQ
at <A
HREF="http://c3-a.snvl1.sfba.home.com/Framebuffer.html"
TARGET="_top"
>http://c3-a.snvl1.sfba.home.com/Framebuffer.html</A
></P
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN954"
></A
>8.2. Configuring the framebuffer devices</H2
><P
>During make config, you need to choose whether to
compile promcon and / or
fbcon. You can select both, but if
you do this, you will need to set the kernel
flags to select the device. fbcon
always takes precedence if not set. If
promcon is not selected in, on
boot up, it defaults to dummycon.
If promcon is selected, it will
use this device. Once the buses are booted, and
fbcon is compiled in, the kernel
probes for the above framebuffers and will use
fbcon. If there is no framebuffer
devices, it will default to
promcon</P
><P
>Here are the kernel options</P
><P
></P
><UL
><LI
><P
>video=sbus:options</P
></LI
><LI
STYLE="list-style-type: none"
><P
></P
><UL
><LI
STYLE="list-style-type: none"
><P
>where options
is a comma
separated
list:</P
></LI
><LI
STYLE="list-style-type: none"
><P
></P
><UL
><LI
STYLE="list-style-type: none"
><P
>nomargins
-
sets
margins
to
0,
0</P
></LI
><LI
STYLE="list-style-type: none"
><P
>margins=12x24
-
sets
margins
to
12,
24
(default
is
computed
from
resolution)</P
></LI
><LI
STYLE="list-style-type: none"
><P
>off
-
don't
probe
for
any
SBus
/
UPA
framebuffers</P
></LI
><LI
STYLE="list-style-type: none"
><P
>font=SUN12x22
-
use
a
specific
font</P
></LI
></UL
></LI
></UL
></LI
></UL
><P
>So for example, booting with
video=sbus:nomargins,font=SUN12x22
gives you a nice fast text console with a text
resolution of 96x40, looks similar to a Solaris
console but with colours and virtual terminals
just like on the x86 platform.</P
><P
>If you want to use the SUN12x22
font, you need to enable it during make config
(disable the fontwidth != 8
option). The accelerated framebuffers can
support any font width between one to sixteen
pixels, whilst dumb frame buffers only supports
4, 8, 12 and 16 pixel font widths.</P
><P
>It is recommended that you grab a recent
consoletools packages.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x902.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x995.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Using framebuffer devices on Alpha platforms</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Using framebuffer devices on MIPS platforms</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>