[BACK]Return to sparc.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/sparc.html, Revision 1.189

1.119     miod        1: <!DOCTYPE HTML PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN"
                      2:        "http://www.w3.org/TR/html4/loose.dtd">
1.3       fn          3: <html>
1.1       deraadt     4: <head>
1.25      johns       5: <title>OpenBSD/sparc</title>
1.119     miod        6: <link rev="made" href="mailto:www@openbsd.org">
                      7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1.3       fn          8: <meta name="resource-type" content="document">
1.25      johns       9: <meta name="description" content="the OpenBSD/sparc page">
1.3       fn         10: <meta name="keywords" content="openbsd,sparc">
                     11: <meta name="distribution" content="global">
1.187     steven     12: <meta name="copyright" content="This document copyright 1996-2008 by OpenBSD.">
1.3       fn         13: </head>
                     14:
1.119     miod       15: <body bgcolor="#ffffff" text="#000000" link="#23238e">
                     16: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
                     17: <p>
                     18: <h2><font color="#e00000">OpenBSD/sparc</font></h2>
1.1       deraadt    19:
1.3       fn         20: <hr>
1.50      jason      21:
                     22: <p>
                     23: OpenBSD/sparc runs on most of the 32bit Sun SPARC workstations, including
1.119     miod       24: the sun4, sun4c, and sun4m architecture families
                     25: (but not the 64bit UltraSPARC computers, which are supported by
1.106     jason      26: <a href="sparc64.html">OpenBSD/sparc64</a>).
1.119     miod       27: </p>
                     28:
                     29: <p>
                     30: A mailing list dedicated to the OpenBSD/sparc and OpenBSD/sparc64 ports is
                     31: available at <u><font color="#23238e">sparc@openbsd.org</font></u>.
                     32: To join the OpenBSD/sparc mailing list, send a message body of <b>"subscribe
                     33: sparc"</b> to <a href="mailto:majordomo@openbsd.org">majordomo@openbsd.org</a>.
                     34: Please be sure to check our <a href="mail.html">mailing list policy</a> before
                     35: subscribing.
                     36: </p>
                     37:
                     38: <p>
                     39: The current port maintainer is Art Grabowski
                     40: (<a href="mailto:art@openbsd.org">art@openbsd.org</a>), with the help of
1.160     miod       41: mainly Jason Wright, Theo de Raadt, and Miod Vallat.
1.56      aaron      42: Others are definitely welcome to contribute!
1.50      jason      43: </p>
                     44:
1.183     nick       45: <a name="toc"></a>
1.118     jufi       46: <h3><font color="#0000e0"><i>Table of contents</i></font></h3>
1.29      downsj     47: <p>
                     48: <ul>
1.123     jufi       49:   <li><a href="#history">History of the port</a>
1.119     miod       50:   <li><a href="#status">Current status</a>
                     51:   <li><a href="#projects">Project list</a>
1.154     nick       52:   <li><a href="#hardware">Supported hardware</a>
1.185     deraadt    53:   <li><a href="#hwdocs">Hardware documentation</a>
1.119     miod       54:   <li><a href="#install">Getting and installing OpenBSD/sparc</a>
1.29      downsj     55: </ul>
                     56:
                     57: <hr>
1.119     miod       58: <a name="history"></a>
1.118     jufi       59: <h3><font color="#0000e0"><strong>History:</strong></font></h3>
1.3       fn         60:
                     61: <p>
1.126     jufi       62: The original 4.4BSD port was done by Chris Torek as a contract to
1.50      jason      63: LBL. The code was released by Chris in mid-1993, and Theo de Raadt
1.1       deraadt    64: worked it into shape for the NetBSD tree.  Theo and Markus Wild worked
                     65: on improving Chris' original SunOS compatibility code into a highly
                     66: complete and reliable emulation. Chuck Cranor ported the sun4c code to
1.119     miod       67: the 8KB pagesize sun4 architecture, and Theo merged this code in a
1.1       deraadt    68: way that would allow the same kernel and programs to run on either
1.64      jason      69: sun4c or sun4 machines (unlike Sun's separate kernel environments).
1.1       deraadt    70: This last change also required a rewrite of the device configuration
1.25      johns      71: code.  Just after the NetBSD/sparc 1.0 release, Peter Galbavy wrote an
1.154     nick       72: ESP SCSI device driver as a replacement for Chris' sparc-specific SCSI
1.119     miod       73: code.
1.3       fn         74: </p>
1.1       deraadt    75:
                     76: <p>
                     77: At this point a conflict emerged between Theo and the other people he
                     78: started the NetBSD project with, and Theo was forced by the core group
                     79: to resign from NetBSD.  After Theo left NetBSD, a few people in the
                     80: NetBSD group did some other things for the port: Paul Kranenburg
                     81: ported a floppy driver and started writing support for the 4/400.
                     82: Chuck spent many long hours working on the ie, xy, xd device drivers.
1.3       fn         83: </p>
1.1       deraadt    84:
                     85: <p>
                     86: Theo continued working independently, and made a number of additions:
1.119     miod       87: P4 support, flexible boot strategy, a few graphics drivers with the help
                     88: from John Stone, and masses of bug fixes.
1.3       fn         89: </p>
1.1       deraadt    90:
                     91: <p>
1.25      johns      92: Work on porting OpenBSD/sparc to the sun4m platform was started by Theo,
1.36      todd       93: but tendinitis problems with his wrists and the problems with the NetBSD
1.119     miod       94: core combined made him stop this work. The initial sun4m work was passed
1.7       deraadt    95: to Aaron Brown of Harvard, who was paid out of Margo Seltzer's research
1.119     miod       96: funds. This initial stuff consisted mostly of a few attempts at building
1.8       deraadt    97: pmap structure that could support all 3 MMU types efficiently.  Also,
1.119     miod       98: David Miller of the UltraLinux project got a little bit involved.
1.7       deraadt    99: </p>
                    100:
                    101: <p>
1.27      downsj    102: Theo and Jason Downs merged the NetBSD sparc code back into OpenBSD, making
1.50      jason     103: OpenBSD/sparc usable again.  Jason Wright wrote a few new SBus Ethernet
1.119     miod      104: drivers with information from the UltraLinux project and has merged a few bits
1.50      jason     105: from NetBSD sources to improve the stability of this architecture.
1.119     miod      106: Over the time, Art Grabowski fixed various stability or reliability issues,
                    107: and added non-executable stack and heap on sun4m machines.
                    108: The frame buffer and console code was completely overhauled for OpenBSD 3.2,
                    109: improving display speed with some frame buffers, and supporting more cards.
1.50      jason     110: </p>
                    111:
                    112: <p>
                    113: And work continues...
1.3       fn        114: </p>
1.1       deraadt   115:
1.28      downsj    116: <hr>
1.119     miod      117: <a name="status"></a>
                    118: <h3><font color="#0000e0"><strong>Current status:</strong></font></h3>
1.28      downsj    119:
1.1       deraadt   120: <p>
1.119     miod      121: Currently, all the hardware listed in the
1.154     nick      122: <a href="#hardware">supported hardware</a> section below boots
1.119     miod      123: multi-user, and supports enough (if not all) of the on-board devices to
1.153     pedro     124: be generally usable.
1.129     miod      125: A growing set of third-party SBus cards are also supported.
1.50      jason     126: </p>
                    127:
                    128: <p>
1.169     matthieu  129: The X Window System works on all supported frame buffers, including
1.119     miod      130: multi-head configurations.
                    131: No accelerated server is provided at the moment, although this is being
                    132: worked on.
1.6       downsj    133: </p>
                    134:
                    135: <p>
1.25      johns     136: An important note about OpenBSD/sparc is that it is designed so that
1.167     jsg       137: a single kernel can run on <b>ALL SUPPORTED</b> SPARC machines.  Whereas
1.92      jufi      138: SunOS and Solaris have always had separate `kernel architectures', i.e. sun4,
1.26      downsj    139: sun4c, and sun4m, the same `GENERIC' OpenBSD kernel will run on all the
                    140: supported models.
1.15      grr       141: </p>
                    142:
                    143: <p>
1.50      jason     144: Most of the problems with OpenBSD/sparc are believed to stem from the wide
1.167     jsg       145: variety of SPARC processor and cache implementations along with their
1.161     jsg       146: undocumented bugs, rather than general kernel problems.
1.15      grr       147: Feedback on which models do and do not work reliably is
1.77      deraadt   148: appreciated, particularly with newer models or upgrades.
1.15      grr       149: </p>
                    150:
1.119     miod      151: <hr>
                    152: <a name="projects"></a>
                    153: <h3><font color="#0000e0"><strong>Projects (in no particular order):
                    154: </strong></font></h3>
                    155:
1.15      grr       156: <p>
1.119     miod      157: <ul>
                    158:   <li>Write drivers for more unsupported devices (audio, frame buffer...)
                    159:   <li>Provide an accelerated X server for the cgsix frame buffer
                    160:   <li>Merge in useful NetBSD work.
                    161: </ul>
1.3       fn        162:
                    163: <hr>
1.119     miod      164: <a name="hardware"></a>
                    165: <h3><font color="#0000e0"><strong>Supported hardware:</strong></font></h3>
1.3       fn        166:
1.22      johns     167: <p>
1.119     miod      168: <h4>Supported machines</h4>
1.1       deraadt   169:
1.119     miod      170: <p>
1.3       fn        171: <ul>
1.70      deraadt   172: <li> sun4: the VME series
                    173:        <ul>
1.167     jsg       174:        <li>4/100: Original SPARC with VME.  Many hardware bugs.
1.70      deraadt   175:        <li>4/200: A fairly decent VME-only machine
                    176:        <li>4/300: a 25MHz VME machine with many devices built onto the main board.
1.85      miod      177:            In other respects, it is quite similar to the SS1+.
1.70      deraadt   178:        </ul>
1.119     miod      179:
1.70      deraadt   180: <li> sun4c:
                    181:        <ul>
1.73      deraadt   182:        <li>SS1: the original 20MHz sun4c.
                    183:                (Hardware limitations prevent SBus DMA peripherals from working
                    184:                in some of the slots).
                    185:        <li>SS1+: 25MHz version of the above.
                    186:                (Hardware limitations prevent SBus DMA peripherals from working
                    187:                in some of the slots).
1.95      miod      188:        <li>IPC: SS1+ in a cube, with bwtwo graphics builtin
1.79      rohee     189:        <li>SLC: SS1+ built into a B&amp;W monitor
1.70      deraadt   190:        <li>SS2: 40MHz version of the SS1
                    191:        <li>IPX: SS2 in a cube, with cgsix graphics builtin
1.79      rohee     192:        <li>ELC: SS2-performance built into a B&amp;W monitor
1.70      deraadt   193:        </ul>
1.119     miod      194:
1.70      deraadt   195: <li> sun4m:
                    196:        <ul>
1.119     miod      197:        <li>600MP: The original Sun4m machine.
                    198:            This is a <a href="#mbus">mbus</a> machine with SBus and VME buses.
1.73      deraadt   199:        <li>LC: 50MHz MicroSPARC-1 based machines (aka Classic)
1.70      deraadt   200:        <li>LX: LC with a few more devices
1.75      deraadt   201:        <li>SS4: Reduced cost version of the SS5, available at 70MHz and 110MHz
1.77      deraadt   202:        <li>SS5: MicroSPARC-2 based machines available in 60, 70, 85,
                    203:            and 110 MHz versions
1.152     xsa       204:        <li>SS5: TurboSPARC CPUs in accelerated SS5 machines, running at 170 MHz
1.118     jufi      205:        <li>SS10: Pizzabox <a href="#mbus">mbus</a>-based machine
                    206:        <li>SS20: Improved Pizzabox <a href="#mbus">mbus</a>-based machine
1.136     miod      207:        <li>Sun Voyager
1.70      deraadt   208:        </ul>
1.119     miod      209: </ul>
1.73      deraadt   210:
1.70      deraadt   211: <p>
1.167     jsg       212: The following SPARC clones are also supported: (non exhaustive list)
1.119     miod      213: <ul>
1.73      deraadt   214:        <li>Aries Research Inc, Parrot II (SS2 clone)
1.84      art       215:        <li>Axil 243 and 245 (and possibly other models) (SS5 clones)
1.89      art       216:        <li>Axil 320 (SS20 clone)
1.134     miod      217:        <li>CPU5V: VME card by Force Computer (sun4m)
                    218:        <li>DTKstation/Classic+
                    219:        <li>Fujitsu S-4/Leia2 (MicroSPARC-2 laptop)
                    220:        <li>Goldstar GWS-40 (SS2 clone)
1.73      deraadt   221:        <li>Opus 5000 (SS1 clone)
                    222:        <li>Opus 5250 (SS1 clone)
1.134     miod      223:        <li>RDI,PowerLite: sun4m models, available in 50MHz, 85MHz, and 110MHz
                    224:        <li>RDI,BrigeLite
1.142     miod      225:        <li>SPARCbook 3, 3GS, 3GX, 3TX and 3XP by Tadpole (MicroSPARC-2 laptops)
1.111     miod      226:        <li>Tatung micro COMPstation 5 (SS5 clone)
1.73      deraadt   227:        <li>Tatung micro COMPstation LX (LX clone)
1.134     miod      228:        <li>Tatung TWS,SuperCOMPstation-20S (SS20 clone)
1.73      deraadt   229:        <li>Transtec SS5/170
1.3       fn        230: </ul>
1.50      jason     231:
1.119     miod      232: <p>
1.50      jason     233: <h4>Supported devices</h4>
                    234:
1.119     miod      235: <p>
                    236: This list of devices basically declares that any ``stock'' sun4c or sun4m
1.129     miod      237: ``SPARCstation'' or ``SPARCserver'' machine will probably work; for sun4
                    238: machines one must be more careful.
1.119     miod      239: </p>
1.50      jason     240:
1.118     jufi      241: <a name=mbus></a>
1.119     miod      242: <p>
1.3       fn        243: <ul>
1.119     miod      244: <li><strong>Mbus CPU modules</strong>
1.71      deraadt   245:   <ul>
1.119     miod      246:    <li>SM30:   30 or 36 MHz SuperSPARC with no secondary cache
                    247:    <li>SM40:   40 MHz SuperSPARC with no secondary cache
                    248:    <li>SM41:   40 MHz SuperSPARC with 1MB of secondary cache
                    249:    <li>SM50:   50 MHz SuperSPARC with no secondary cache
                    250:    <li>SM51:   50 MHz SuperSPARC with 1MB of secondary cache
                    251:    <li>SM51-2: 50 MHz SuperSPARC with 2MB of secondary cache
                    252:    <li>SM61:   60 MHz SuperSPARC with 1MB of secondary cache
                    253:    <li>SM61-2: 60 MHz SuperSPARC with 2MB of secondary cache
                    254:    <li>SM71:   75 MHz SuperSPARC with 1MB of secondary cache
                    255:    <li>SM81:   85 MHz SuperSPARC with 1MB of secondary cache
                    256:    <li>SM81-2: 85 MHz SuperSPARC with 2MB of secondary cache
1.135     miod      257:    <li>SM100:  dual 40 MHz Cypress 7C605 with 64KB of primary cache
1.167     jsg       258:    <li>Ross HyperSPARC RT620/RT625 at 90MHz, with 256KB of primary cache
                    259:    <li>Ross HyperSPARC RT620/RT625 at 125MHz, with 256KB of primary cache
                    260:    <li>Ross HyperSPARC RT620/RT625 at 150MHz, with 512KB of primary cache
                    261:    <li>Ross HyperSPARC RT620/RT625 at 166MHz, with 512KB of primary cache
                    262:    <li>Ross HyperSPARC RT620/RT625 at 180MHz, with 512KB of primary cache
1.71      deraadt   263:   </ul>
                    264:
1.119     miod      265: <li><strong>Sun keyboard and mouse</strong>
1.50      jason     266:   <ul>
1.119     miod      267:    <li>Type 2, 3, 4, and 5 keyboards with several layouts
                    268: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zskbd&amp;sektion=4&amp;arch=sparc">zskbd</a>)
1.50      jason     269:   </ul>
1.19      johns     270:
1.119     miod      271: <li><strong>Floppy drives</strong>
1.19      johns     272:   <ul>
1.119     miod      273:    <li>sun4c and sun4m floppy disk drive
                    274: <!-- (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fd&amp;sektion=4&amp;arch=sparc">fd</a>) -->
1.19      johns     275:   </ul>
                    276:
1.119     miod      277: <li><strong>Serial ports</strong>
1.19      johns     278:   <ul>
1.119     miod      279:    <li>ttya and ttyb on-board serial ports
                    280: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zs&amp;sektion=4&amp;arch=sparc">zs</a>)
                    281:        (can be used as console if needed)
                    282:    <li>4/300 ttyc and ttyd on-board serial ports
                    283: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zs&amp;sektion=4&amp;arch=sparc">zs</a>)
                    284:    <li>SBus magma serial port cards, including: 4Sp, 8Sp, 12Sp, 16Sp, LC2+1Sp,
                    285:        2+1Sp, 4+1Sp, 8+2Sp, and 2+1HS Sp.
                    286: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=magma&amp;sektion=4&amp;arch=sparc">magma</a>)
                    287:    <li>SBus Serial/Parallel Interfaces (SUNW,spif, 501-1931)
                    288: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spif&amp;sektion=4&amp;arch=sparc">spif</a>)
1.19      johns     289:   </ul>
                    290:
1.119     miod      291: <li><strong>Audio support</strong>
1.19      johns     292:   <ul>
1.55      aaron     293:    <li>on-board audio support for systems with AMD79C30 8-bit audio chips
1.66      jason     294:        (this includes sun4c models, SPARCclassic, and 600MP)
1.119     miod      295: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=audioamd&amp;sektion=4&amp;arch=sparc">audioamd</a>)
                    296:    <li>SUNW,CS4231 16-bit audio chips found on SPARCstation 4/5
1.129     miod      297: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=audiocs&amp;sektion=4&amp;arch=sparc">audiocs</a>)
1.19      johns     298:   </ul>
                    299:
1.119     miod      300: <li><strong>Frame buffers</strong>
1.19      johns     301:   <ul>
1.111     miod      302:   <li>SBus and sun4c/sun4m on-board video:
1.19      johns     303:     <ul>
1.118     jufi      304:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=bwtwo&amp;sektion=4">bwtwo</a> - black and white
                    305:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgthree&amp;sektion=4">cgthree</a> - 8-bit color, unaccelerated
1.50      jason     306:        <br>The cgthree driver also supports the cgRDI, an onboard
1.119     miod      307:            cgthree-like frame buffer found in some laptops.
1.118     jufi      308:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=cgsix">cgsix</a> - 8-bit color, accelerated (GX, GX+, TGX, TGX+)
1.50      jason     309:        <br>This should work with most faithful emulations/clones of the
                    310:            SBus cgsix.
1.118     jufi      311:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=cgtwelve">cgtwelve</a> - 24-bit color, accelerated (but the driver does not support hardware acceleration)
                    312:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=cgfourteen">cgfourteen</a> - 8 or 24-bit color, accelerated (but the driver does not support hardware acceleration)
1.128     miod      313:      <li>Fujitsu AG-10e
                    314: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=agten">agten</a>)
                    315: - 24-bit color, accelerated (currently only supported in unaccelerated 8-bit
1.136     miod      316: mode)
1.127     miod      317:      <li>Parallax XVideo and PowerVideo
                    318: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=tvtwo">tvtwo</a>)
                    319: - 24-bit color, accelerated (but the driver does not support hardware
1.136     miod      320: acceleration)
1.150     miod      321:      <li>RasterFlex family
                    322: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=rfx">rfx</a>)
                    323: - 8/24-bit color, accelerated (currently only supported in unaccelerated 8-bit
                    324: mode)
1.138     miod      325:      <li>Southland Media Systems MGX and MGXPlus (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=mgx">mgx</a>)
                    326: - 24-bit color, accelerated (currently only supported in unaccelerated 8-bit
                    327: mode)
1.118     jufi      328:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=tcx">tcx</a> - 8 or 24-bit color, accelerated
1.148     david     329:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=vigra">Vigra</a> VS10, VS11 and VS12 SBus frame buffers - 8-bit color, unaccelerated, selectable VGA and Sun-compatible video modes
1.143     miod      330:      <li>Weitek Power9000 (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=pninek">pninek</a>) - found in Tadpole SPARCbook 3 (8-bit color, accelerated)
1.142     miod      331:      <li>Weitek Power9100 (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=pnozz">pnozz</a>) - found in Tadpole SPARCbook 3GS, 3GX, 3TX and 3XP (8, 16 or 32-bit color, accelerated)
1.130     miod      332:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;sektion=4&amp;query=zx">ZX</a>
                    333:        (aka <i>Leo</i>) - 8 or 24-bit color, overlay planes,
1.131     miod      334:        double-buffered, 3-D acceleration <font color="#e00000">*</font>
1.19      johns     335:     </ul>
                    336:
1.119     miod      337:   <li>4/200 on-board <a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=bwtwo&amp;sektion=4">bwtwo</a>
1.19      johns     338:
1.119     miod      339:   <li>P4 video (4/100 and 4/300):
1.19      johns     340:     <ul>
1.118     jufi      341:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=bwtwo&amp;sektion=4">bwtwo</a> - black and white
                    342:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgthree&amp;sektion=4">cgthree</a> - 8-bit color, unaccelerated
                    343:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgfour&amp;sektion=4">cgfour</a> - 8-bit color, 1-bit overlay, unaccelerated
                    344:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgsix&amp;sektion=4">cgsix</a> - 8-bit color, accelerated
                    345:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgeight&amp;sektion=4">cgeight</a> - 24-bit color, 1-bit overlay, unaccelerated
1.19      johns     346:     </ul>
                    347:
1.119     miod      348:   <li>VME video (sun4):
1.19      johns     349:     <ul>
1.118     jufi      350:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgtwo&amp;sektion=4">cgtwo</a> - 8-bit color, unaccelerated
                    351:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgthree&amp;sektion=4">cgthree</a> - 8-bit color, unaccelerated
                    352:      <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=cgsix&amp;sektion=4">cgsix</a> - 8-bit color, accelerated
1.19      johns     353:     </ul>
                    354:   </ul>
                    355:
1.119     miod      356: <li><strong>Ethernet adapters</strong>
1.19      johns     357:   <ul>
1.118     jufi      358:    <li>on-board AMD Lance Ethernet (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=le&amp;sektion=4">le</a>)
                    359:    <li>SBus AMD Lance Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=le&amp;sektion=4">le</a>)
1.119     miod      360:    <li>SBus cards containing both AMD Lance
                    361: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=le&amp;sektion=4">le</a>)
                    362: and SCSI
                    363: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=esp&amp;sektion=4">esp</a>)
1.118     jufi      364:    <li>on-board Intel 82586 Ethernet 4/100 and 4/200 (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=ie&amp;sektion=4">ie</a>)
                    365:    <li>VME Intel 82586 Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=ie&amp;sektion=4">ie</a>)
1.125     fgsch     366:    <li>SBus 10/100Mbit qec+be found on Sun FastEthernet cards (SUNW,501-2450)
1.118     jufi      367:        (aka. Sun Fast Ethernet 1.x) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=be&amp;sektion=4">be</a>)
                    368:    <li>SBus Quad 10Mbit qec+qe found on Sun Quad Ethernet cards (SUNW,501-2062) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=qe&amp;sektion=4">qe</a>)
                    369:    <li>SBus 10/100Mbit hme Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=hme&amp;sektion=4">hme</a>)
                    370: <font color="#e00000">*</font>
                    371:    <li>SBus 10/100Mbit SunSwift SUNW,fas Ethernet+SCSI cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=hme&amp;sektion=4">hme</a>)
                    372: <font color="#e00000">*</font>
1.107     deraadt   373:    <li>SBus Quad 10/100Mbit hme and qfe Ethernet cards
1.118     jufi      374:         (aka. Sun Quad Fast Ethernet 2.x) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=hme&amp;sektion=4">hme</a>)
                    375: <font color="#e00000">*</font>
1.19      johns     376:   </ul>
                    377:
1.119     miod      378: <li><strong>SCSI controllers</strong>
1.19      johns     379:   <ul>
1.118     jufi      380:    <li>on-board SCSI controller (sun4c, sun4m, and 4/300) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=esp&amp;sektion=4">esp</a>)
1.111     miod      381:    <li>SBus SCSI controllers (Also works with several 3rd party
1.118     jufi      382:        compatible boards) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=esp&amp;sektion=4">esp</a>)
                    383:    <li>SBus cards containing both AMD Lance and SCSI (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=esp&amp;sektion=4">esp</a>)
1.163     miod      384:    <li>SBus SUNW,fas Ethernet+SCSI cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=esp&amp;sektion=4">esp</a>)
                    385: <font color="#e00000">*</font>
1.118     jufi      386:    <li>VME "SUN-3"/"si" SCSI controller (interrupt driven DMA) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=si&amp;sektion=4">si</a>)
                    387:    <li>4/110 "SCSI Weird" on-board controller (polled DMA) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=sw&amp;sektion=4">sw</a>)
                    388:    <li>QSP/ISP SCSI controllers (i.e. "PTI,ptisp", "ptisp", "SUNW,isp" and "QLGC,isp") (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=isp&amp;sektion=4">isp</a>)
1.19      johns     389:   </ul>
                    390:
1.119     miod      391: <li><strong>SMD and other disk controllers</strong>
1.19      johns     392:   <ul>
1.118     jufi      393:    <li>Xylogics 7053 VME SMD disk controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=xd&amp;sektion=4">xd</a>)
                    394:    <li>Xylogics 450/451 VME SMD disk controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=xy&amp;sektion=4">xy</a>)
1.19      johns     395:   </ul>
                    396:
1.144     miod      397: <li><strong>PC Cards (PCMCIA)</strong>
                    398:   <ul>
                    399:     <li>PCMCIA Controllers:
                    400:     <ul>
1.156     mickey    401:       <li>SBus PCMCIA bridge (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=stp&amp;arch=sparc&amp;sektion=4">stp</a>)
                    402:       <li>Tadpole PCMCIA controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=tslot&amp;arch=sparc&amp;sektion=4">tslot</a>)
1.144     miod      403:     </ul>
1.188     jsg       404:     <li>WaveLAN/IEEE, PRISM 2-3, and Spectrum24 IEEE 802.11b PCMCIA/Compact Flash adapters (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wi&amp;arch=sparc&amp;sektion=4">wi</a>)
                    405:     <li>NE2000 based Ethernet Adapters (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ne&amp;arch=sparc&amp;sektion=4">ne</a>)
                    406:     <li>3Com EtherLink (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ep&amp;arch=sparc&amp;sektion=4">ep</a>) LAN PC Cards
1.144     miod      407:   </ul>
                    408:
1.119     miod      409: <li><strong>Miscellaneous</strong>
1.65      jason     410:   <ul>
1.118     jufi      411:    <li>SBus Expansion Subsystem (SUNW,xbox) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=xbox&amp;sektion=4">xbox</a>)
                    412:    <li>Force FGA5000 VME/SBus bridge (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=fga&amp;sektion=4">fga</a>)
                    413:    <li>Force system configuration registers (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=scf&amp;sektion=4">scf</a>)
                    414:    <li>Force flash memory (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=flash&amp;sektion=4">flash</a>)
1.178     martin    415:    <li>Tadpole microcontroller (power/system control) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=tctrl&amp;sektion=4">tctrl</a>)
1.138     miod      416:    <li>Prestoserve NVRAM SBus cards (limited support) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&amp;query=presto&amp;sektion=4">presto</a>)
1.65      jason     417:   </ul>
1.3       fn        418: </ul>
1.131     miod      419: <font color="#e00000">*</font> Not supported in sun4c-class machines due
                    420: to PROM limitations.
1.144     miod      421: <br>
1.119     miod      422:
                    423: <p>
                    424: <h4>Unsupported machines</h4>
1.1       deraadt   425:
1.119     miod      426: <p>
1.3       fn        427: <ul>
1.129     miod      428:  <li>sun4: 4/400 (lacks support for the I/O cache, and has ethernet problems)
1.119     miod      429:  <li>sun4d machines:
                    430:    <ul>
                    431:       <li>SPARC Server 1000</li>
                    432:       <li>SPARC Center 2000</li>
                    433:    </ul>
1.129     miod      434:    These machines use XD-Bus instead of M-Bus for their CPUs, which is not
                    435:    supported yet.
1.119     miod      436:  <li>JavaStation-NC (lacks support for this machine's PCI bus)
1.164     miod      437:  <li>sun4u: UltraSPARC 64-bit machines.  Most of these are supported in the
1.97      miod      438:       <a href="sparc64.html">OpenBSD/sparc64</a> port.
1.129     miod      439:  <li>Solbourne machines: these machines are quite different, and some are
1.166     jsg       440:    plagued by processor bugs.  Some of them are covered by the
                    441:    <a href="solbourne.html">OpenBSD/solbourne</a> port.
1.135     miod      442:  <li>Tadpole SPARCbook 1, LC and 2: these machines use quite unusual components,
                    443:    and do not have a Sun-compatible PROM.
1.3       fn        444: </ul>
1.119     miod      445:
                    446: <p>
                    447: <h4>Unsupported Devices</h4>
                    448:
                    449: <p>
                    450: First of all, there are MANY unsupported devices.
                    451: A comprehensive list can probably not be written.
                    452: </p>
1.19      johns     453:
1.119     miod      454: <p>
1.3       fn        455: <ul>
1.119     miod      456: <li><strong>Serial Cards</strong>
1.19      johns     457:   <ul>
1.50      jason     458:    <li> VME mti 16-port serial card
                    459:    <li> VME alm2 16-port serial card
1.111     miod      460:    <li> VME mcp 4-port serial card (or is it 8-port)
1.19      johns     461:   </ul>
                    462:
1.119     miod      463: <li><strong>Disk Controllers</strong>
1.19      johns     464:   <ul>
1.50      jason     465:    <li> VME "sc" SCSI controller
                    466:    <li> VME IPI controller
1.19      johns     467:   </ul>
                    468:
1.119     miod      469: <li><strong>Frame buffers</strong>
1.19      johns     470:   <ul>
1.50      jason     471:    <li> VME cgfive, 8-bit color, 1-bit overlay, double-buffered,
                    472:        unaccelerated without GP/GP2
                    473:    <li> VME cgnine, 24-bit color, 1-bit overlay, double-buffered,
                    474:        unaccelerated without GP/GP2
                    475:    <li> VME GP/GP2 Graphics Processor (drives a cgfive or cgnine)
                    476:    <li> SBus cgeight 24-bit color, unaccelerated
                    477:        (note: SBus cgeight is quite different from VME/P4 cgeight)
                    478:    <li> SBus GT, 24-bit color, 8-bit color, overlay planes, double-buffered,
                    479:        3-D acceleration (aka Graphics Tower)
                    480:   </ul>
                    481:
1.74      deraadt   482: <li><strong>On-board Audio and ISDN</strong><br>
1.119     miod      483:   This is present on some sun4m systems (LX, LC, SPARCstation 10/20).
                    484:
1.74      deraadt   485: <li><strong>Multiple Processors/Modules in sun4m systems</strong><br>
1.119     miod      486:   OpenBSD will sometimes not boot on some machines with multiple processors.
                    487:   If this is the case, the extra CPUs must be removed.
                    488:
1.111     miod      489: <li><strong>SBus SUNW,bpp (parallel port)</strong><br>
1.119     miod      490:   A driver exists in the source tree, but it does not work.  None of the
                    491:   developers have printers or cables to work with, to make it work, but
                    492:   we really would prefer to receive a fixed driver.
                    493:
                    494: <li><strong>SBus FDDI cards</strong>
                    495:
1.121     miod      496: <li><strong>SBus cards other than those listed above...</strong>
1.3       fn        497: </ul>
1.1       deraadt   498:
1.3       fn        499: <hr>
1.185     deraadt   500: <a name="hwdocs"></a>
                    501: <h3><font color="#0000e0"><strong>Hardware documentation:</strong></font></h3>
                    502:
                    503: Previous to 2007, it was extremely difficult or impossible to get much of
1.186     sthen     504: the necessary hardware documentation for these machines.   Members of our
1.185     deraadt   505: team (in particular David Gwynne) were instrumental in pressuring and
                    506: convincing Sun to go back into their archives and dig up the data sheets
                    507: that they had written in-house, describing the operation of their chips to
                    508: their own engineers.  These documents can now be found at
                    509: <a href="http://wikis.sun.com/display/FOSSdocs/Home">
                    510: http://wikis.sun.com/display/FOSSdocs/Home</a>.
                    511: Some documents are still missing at that site, so we ask that interested
                    512: developers contact Sun and request additional information.
                    513: <p>
                    514:
                    515: <hr>
1.122     miod      516: <a name="install"></a>
                    517: <h3><font color="#0000e0">
                    518: <strong>Getting and installing OpenBSD/sparc:</strong>
                    519: </font></h3>
                    520:
                    521: <p>
                    522: The latest supported OpenBSD/sparc release is
1.189   ! miod      523: <a href="44.html">OpenBSD 4.4</a>.
1.122     miod      524: Here are the
1.189   ! miod      525: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/4.4/sparc/INSTALL.sparc">
        !           526: OpenBSD/sparc 4.4 installation instructions
1.122     miod      527: </a>.
                    528: </p>
                    529:
                    530: <p>
                    531: Snapshots are made available from time to time, in
                    532: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sparc">this location</a>
                    533: as well as in a few
                    534: <a href="ftp.html">mirrors</a>.
                    535: Here are the
                    536: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sparc/INSTALL.sparc">
                    537: OpenBSD/sparc snapshot installation instructions
                    538: </a> as well.
                    539: </p>
                    540:
                    541: <p>
                    542: There are several installation media provided, so that
                    543: OpenBSD/sparc can be installed or upgraded via CD, floppy boot images on
                    544: sun4c and sun4m, miniroot images for machines without floppies
                    545: (and sun4 machines), as well as network and diskless installs.
                    546: <ul>
                    547:   <li><strong>CD boot</strong>
                    548:   <p>
1.126     jufi      549:   Booting off the CD provides a small ffs filesystem with a GENERIC kernel with
1.167     jsg       550:   drivers for all supported devices found on SPARC machines.<br>
1.122     miod      551:   For the latest list of drivers available on this image, take a look at the
                    552: <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/sparc/conf/GENERIC?rev=HEAD">GENERIC</a>
                    553: kernel configuration file.
                    554:   The CD can be booted off the OpenPROM prompt with
                    555: <pre>
1.189   ! miod      556:   boot cdrom 4.4/sparc/bsd.rd
1.122     miod      557: </pre>
1.148     david     558:   </li>
1.189   ! miod      559:   <li><strong>Floppy</strong> (floppy44.fs)
1.122     miod      560:   <p>
                    561:   Booting off the floppy provides a small ffs filesystem with a kernel
1.167     jsg       562:   containing drivers for the most popular devices found on SPARC machines.<br>
1.122     miod      563:   For the latest list of drivers available on this image, take a look at the
                    564: <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/sparc/conf/RAMDISK?rev=HEAD">RAMDISK</a>
                    565: kernel configuration file.
                    566:   The floppy can be booted off the OpenPROM prompt with
                    567: <pre>
                    568:   boot floppy
                    569: </pre>
1.148     david     570:   </li>
1.189   ! miod      571:   <li><strong>Miniroot</strong> (miniroot44.fs)
1.122     miod      572:   <p>
                    573:   The miniroot provides the same installation environment as the bootable CD,
                    574:   and is intended for easy bootstrap if there is already an operating system
                    575:   installed on the machine.
                    576:   After dumping the miniroot to the primary swap partition with dd, the
                    577:   miniroot can be booted off the OpenPROM prompt with a command such as
                    578: <pre>
                    579:   boot disk:b
                    580: </pre>
                    581:   (the disk designation may be different, depending on the chosen swap
                    582:   partition).
1.148     david     583:   <p>
                    584:   </li>
1.122     miod      585:   <li><strong>Netboot</strong> (boot.net, bsd.rd)
                    586:   <p>
                    587:   Using a diskless setup, it is also possible to boot the OpenBSD/sparc
                    588:   boot loader, <tt>boot.net</tt>, from the network via tftp, and access
                    589:   the <tt>bsd.rd</tt> standalone miniroot over NFS.
                    590:   Refer to the
                    591:   <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=diskless&amp;sektion=8">diskless(8)</a>
                    592:   manual page for details on how to setup a network boot environment.
                    593:   </p></li>
                    594: </ul>
                    595:
                    596: <hr>
1.119     miod      597: <a href="plat.html">
                    598: <img height="24" width="24" src="back.gif" border="0" alt="Supported platforms">
                    599: </a>
                    600: <br>
                    601: <small><a href="mailto:www@openbsd.org">www@openbsd.org</a></small>
1.3       fn        602: <br>
1.189   ! miod      603: <small>$OpenBSD: sparc.html,v 1.188 2008/09/29 12:20:27 jsg Exp $</small>
1.3       fn        604:
                    605: </body>
                    606: </html>