Annotation of www/sparc.html, Revision 1.209
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: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1.3 fn 7: <meta name="resource-type" content="document">
1.25 johns 8: <meta name="description" content="the OpenBSD/sparc page">
1.3 fn 9: <meta name="keywords" content="openbsd,sparc">
10: <meta name="distribution" content="global">
1.195 jasper 11: <meta name="copyright" content="This document copyright 1996-2010 by OpenBSD.">
1.3 fn 12: </head>
13:
1.119 miod 14: <body bgcolor="#ffffff" text="#000000" link="#23238e">
15: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
16: <p>
17: <h2><font color="#e00000">OpenBSD/sparc</font></h2>
1.1 deraadt 18:
1.3 fn 19: <hr>
1.50 jason 20:
21: <p>
22: OpenBSD/sparc runs on most of the 32bit Sun SPARC workstations, including
1.196 miod 23: the sun4, sun4c, sun4e and sun4m architecture families
1.119 miod 24: (but not the 64bit UltraSPARC computers, which are supported by
1.106 jason 25: <a href="sparc64.html">OpenBSD/sparc64</a>).
1.119 miod 26: </p>
27:
28: <p>
29: A mailing list dedicated to the OpenBSD/sparc and OpenBSD/sparc64 ports is
30: available at <u><font color="#23238e">sparc@openbsd.org</font></u>.
31: To join the OpenBSD/sparc mailing list, send a message body of <b>"subscribe
32: sparc"</b> to <a href="mailto:majordomo@openbsd.org">majordomo@openbsd.org</a>.
33: Please be sure to check our <a href="mail.html">mailing list policy</a> before
34: subscribing.
35: </p>
36:
1.183 nick 37: <a name="toc"></a>
1.118 jufi 38: <h3><font color="#0000e0"><i>Table of contents</i></font></h3>
1.29 downsj 39: <p>
40: <ul>
1.123 jufi 41: <li><a href="#history">History of the port</a>
1.119 miod 42: <li><a href="#status">Current status</a>
43: <li><a href="#projects">Project list</a>
1.154 nick 44: <li><a href="#hardware">Supported hardware</a>
1.185 deraadt 45: <li><a href="#hwdocs">Hardware documentation</a>
1.119 miod 46: <li><a href="#install">Getting and installing OpenBSD/sparc</a>
1.29 downsj 47: </ul>
48:
49: <hr>
1.119 miod 50: <a name="history"></a>
1.118 jufi 51: <h3><font color="#0000e0"><strong>History:</strong></font></h3>
1.3 fn 52:
53: <p>
1.126 jufi 54: The original 4.4BSD port was done by Chris Torek as a contract to
1.50 jason 55: LBL. The code was released by Chris in mid-1993, and Theo de Raadt
1.1 deraadt 56: worked it into shape for the NetBSD tree. Theo and Markus Wild worked
57: on improving Chris' original SunOS compatibility code into a highly
58: complete and reliable emulation. Chuck Cranor ported the sun4c code to
1.119 miod 59: the 8KB pagesize sun4 architecture, and Theo merged this code in a
1.1 deraadt 60: way that would allow the same kernel and programs to run on either
1.64 jason 61: sun4c or sun4 machines (unlike Sun's separate kernel environments).
1.1 deraadt 62: This last change also required a rewrite of the device configuration
1.25 johns 63: code. Just after the NetBSD/sparc 1.0 release, Peter Galbavy wrote an
1.154 nick 64: ESP SCSI device driver as a replacement for Chris' sparc-specific SCSI
1.119 miod 65: code.
1.3 fn 66: </p>
1.1 deraadt 67:
68: <p>
69: At this point a conflict emerged between Theo and the other people he
70: started the NetBSD project with, and Theo was forced by the core group
71: to resign from NetBSD. After Theo left NetBSD, a few people in the
72: NetBSD group did some other things for the port: Paul Kranenburg
73: ported a floppy driver and started writing support for the 4/400.
74: Chuck spent many long hours working on the ie, xy, xd device drivers.
1.3 fn 75: </p>
1.1 deraadt 76:
77: <p>
78: Theo continued working independently, and made a number of additions:
1.119 miod 79: P4 support, flexible boot strategy, a few graphics drivers with the help
80: from John Stone, and masses of bug fixes.
1.3 fn 81: </p>
1.1 deraadt 82:
83: <p>
1.25 johns 84: Work on porting OpenBSD/sparc to the sun4m platform was started by Theo,
1.36 todd 85: but tendinitis problems with his wrists and the problems with the NetBSD
1.119 miod 86: core combined made him stop this work. The initial sun4m work was passed
1.7 deraadt 87: to Aaron Brown of Harvard, who was paid out of Margo Seltzer's research
1.119 miod 88: funds. This initial stuff consisted mostly of a few attempts at building
1.8 deraadt 89: pmap structure that could support all 3 MMU types efficiently. Also,
1.119 miod 90: David Miller of the UltraLinux project got a little bit involved.
1.7 deraadt 91: </p>
92:
93: <p>
1.27 downsj 94: Theo and Jason Downs merged the NetBSD sparc code back into OpenBSD, making
1.50 jason 95: OpenBSD/sparc usable again. Jason Wright wrote a few new SBus Ethernet
1.119 miod 96: drivers with information from the UltraLinux project and has merged a few bits
1.50 jason 97: from NetBSD sources to improve the stability of this architecture.
1.119 miod 98: Over the time, Art Grabowski fixed various stability or reliability issues,
99: and added non-executable stack and heap on sun4m machines.
100: The frame buffer and console code was completely overhauled for OpenBSD 3.2,
101: improving display speed with some frame buffers, and supporting more cards.
1.50 jason 102: </p>
103:
104: <p>
105: And work continues...
1.3 fn 106: </p>
1.1 deraadt 107:
1.28 downsj 108: <hr>
1.119 miod 109: <a name="status"></a>
110: <h3><font color="#0000e0"><strong>Current status:</strong></font></h3>
1.28 downsj 111:
1.1 deraadt 112: <p>
1.119 miod 113: Currently, all the hardware listed in the
1.154 nick 114: <a href="#hardware">supported hardware</a> section below boots
1.119 miod 115: multi-user, and supports enough (if not all) of the on-board devices to
1.153 pedro 116: be generally usable.
1.129 miod 117: A growing set of third-party SBus cards are also supported.
1.50 jason 118: </p>
119:
120: <p>
1.169 matthieu 121: The X Window System works on all supported frame buffers, including
1.119 miod 122: multi-head configurations.
123: No accelerated server is provided at the moment, although this is being
124: worked on.
1.6 downsj 125: </p>
126:
127: <p>
1.25 johns 128: An important note about OpenBSD/sparc is that it is designed so that
1.167 jsg 129: a single kernel can run on <b>ALL SUPPORTED</b> SPARC machines. Whereas
1.92 jufi 130: SunOS and Solaris have always had separate `kernel architectures', i.e. sun4,
1.196 miod 131: sun4c, sun4e and sun4m, the same `GENERIC' OpenBSD kernel will run on all the
1.26 downsj 132: supported models.
1.15 grr 133: </p>
134:
135: <p>
1.50 jason 136: Most of the problems with OpenBSD/sparc are believed to stem from the wide
1.167 jsg 137: variety of SPARC processor and cache implementations along with their
1.161 jsg 138: undocumented bugs, rather than general kernel problems.
1.15 grr 139: Feedback on which models do and do not work reliably is
1.77 deraadt 140: appreciated, particularly with newer models or upgrades.
1.15 grr 141: </p>
142:
1.119 miod 143: <hr>
144: <a name="projects"></a>
145: <h3><font color="#0000e0"><strong>Projects (in no particular order):
146: </strong></font></h3>
147:
1.15 grr 148: <p>
1.119 miod 149: <ul>
1.194 sthen 150: <li>Support for multiprocessor systems
1.119 miod 151: <li>Write drivers for more unsupported devices (audio, frame buffer...)
152: <li>Provide an accelerated X server for the cgsix frame buffer
1.194 sthen 153: <li>Merge in useful NetBSD work
1.119 miod 154: </ul>
1.3 fn 155:
156: <hr>
1.119 miod 157: <a name="hardware"></a>
158: <h3><font color="#0000e0"><strong>Supported hardware:</strong></font></h3>
1.3 fn 159:
1.22 johns 160: <p>
1.119 miod 161: <h4>Supported machines</h4>
1.1 deraadt 162:
1.119 miod 163: <p>
1.3 fn 164: <ul>
1.70 deraadt 165: <li> sun4: the VME series
166: <ul>
1.167 jsg 167: <li>4/100: Original SPARC with VME. Many hardware bugs.
1.70 deraadt 168: <li>4/200: A fairly decent VME-only machine
169: <li>4/300: a 25MHz VME machine with many devices built onto the main board.
1.85 miod 170: In other respects, it is quite similar to the SS1+.
1.70 deraadt 171: </ul>
1.119 miod 172:
1.70 deraadt 173: <li> sun4c:
174: <ul>
1.73 deraadt 175: <li>SS1: the original 20MHz sun4c.
176: (Hardware limitations prevent SBus DMA peripherals from working
177: in some of the slots).
178: <li>SS1+: 25MHz version of the above.
179: (Hardware limitations prevent SBus DMA peripherals from working
180: in some of the slots).
1.95 miod 181: <li>IPC: SS1+ in a cube, with bwtwo graphics builtin
1.79 rohee 182: <li>SLC: SS1+ built into a B&W monitor
1.70 deraadt 183: <li>SS2: 40MHz version of the SS1
184: <li>IPX: SS2 in a cube, with cgsix graphics builtin
1.79 rohee 185: <li>ELC: SS2-performance built into a B&W monitor
1.70 deraadt 186: </ul>
1.119 miod 187:
1.197 jasper 188: <li> sun4e:
1.196 miod 189: <ul>
190: <li>SPARCengine 1e: a 6U VME cross between a sun4 and a sun4c,
191: similar to a Sun 4/300 with an OpenPROM interface.
192: </ul>
193:
1.70 deraadt 194: <li> sun4m:
195: <ul>
1.119 miod 196: <li>600MP: The original Sun4m machine.
197: This is a <a href="#mbus">mbus</a> machine with SBus and VME buses.
1.73 deraadt 198: <li>LC: 50MHz MicroSPARC-1 based machines (aka Classic)
1.70 deraadt 199: <li>LX: LC with a few more devices
1.75 deraadt 200: <li>SS4: Reduced cost version of the SS5, available at 70MHz and 110MHz
1.77 deraadt 201: <li>SS5: MicroSPARC-2 based machines available in 60, 70, 85,
202: and 110 MHz versions
1.152 xsa 203: <li>SS5: TurboSPARC CPUs in accelerated SS5 machines, running at 170 MHz
1.118 jufi 204: <li>SS10: Pizzabox <a href="#mbus">mbus</a>-based machine
205: <li>SS20: Improved Pizzabox <a href="#mbus">mbus</a>-based machine
1.136 miod 206: <li>Sun Voyager
1.70 deraadt 207: </ul>
1.119 miod 208: </ul>
1.73 deraadt 209:
1.70 deraadt 210: <p>
1.192 jasper 211: The following SPARC clones are also supported (non exhaustive list):
1.119 miod 212: <ul>
1.73 deraadt 213: <li>Aries Research Inc, Parrot II (SS2 clone)
1.84 art 214: <li>Axil 243 and 245 (and possibly other models) (SS5 clones)
1.89 art 215: <li>Axil 320 (SS20 clone)
1.134 miod 216: <li>CPU5V: VME card by Force Computer (sun4m)
217: <li>DTKstation/Classic+
218: <li>Fujitsu S-4/Leia2 (MicroSPARC-2 laptop)
219: <li>Goldstar GWS-40 (SS2 clone)
1.73 deraadt 220: <li>Opus 5000 (SS1 clone)
221: <li>Opus 5250 (SS1 clone)
1.199 miod 222: <li>RDI BriteLite
223: <li>RDI PowerLite: sun4m models, available at 50MHz, 85MHz, and 110MHz
1.192 jasper 224: <li>Solair WS19L (SS10 clone)
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
1.196 miod 238: and sun4e 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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&query=bwtwo&sektion=4">bwtwo</a> - black and white
305: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgthree&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&sektion=4&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&query=bwtwo&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&query=bwtwo&sektion=4">bwtwo</a> - black and white
342: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgthree&sektion=4">cgthree</a> - 8-bit color, unaccelerated
343: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgfour&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&query=cgsix&sektion=4">cgsix</a> - 8-bit color, accelerated
345: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgeight&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&query=cgtwo&sektion=4">cgtwo</a> - 8-bit color, unaccelerated
351: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgthree&sektion=4">cgthree</a> - 8-bit color, unaccelerated
352: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=cgsix&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&query=le&sektion=4">le</a>)
359: <li>SBus AMD Lance Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=le&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&query=le&sektion=4">le</a>)
362: and SCSI
363: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=esp&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&query=ie&sektion=4">ie</a>)
365: <li>VME Intel 82586 Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=ie&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&query=be&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&query=qe&sektion=4">qe</a>)
369: <li>SBus 10/100Mbit hme Ethernet cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=hme&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&query=hme&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&query=hme&sektion=4">hme</a>)
375: <font color="#e00000">*</font>
1.193 deraadt 376: <li>SBus Gigabit Ethernet 1.0/1.1 (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=ti&sektion=4">ti</a>)
377: <font color="#e00000">*</font>
378: <li>SBus Gigabit Ethernet 2.0 (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=gem&sektion=4">gem</a>)
379: <font color="#e00000">*</font>
1.19 johns 380: </ul>
381:
1.119 miod 382: <li><strong>SCSI controllers</strong>
1.19 johns 383: <ul>
1.196 miod 384: <li>on-board SCSI controller (sun4c, sun4e, sun4m, and 4/300) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=esp&sektion=4">esp</a>)
1.111 miod 385: <li>SBus SCSI controllers (Also works with several 3rd party
1.118 jufi 386: compatible boards) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=esp&sektion=4">esp</a>)
387: <li>SBus cards containing both AMD Lance and SCSI (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=esp&sektion=4">esp</a>)
1.163 miod 388: <li>SBus SUNW,fas Ethernet+SCSI cards (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=esp&sektion=4">esp</a>)
389: <font color="#e00000">*</font>
1.118 jufi 390: <li>VME "SUN-3"/"si" SCSI controller (interrupt driven DMA) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=si&sektion=4">si</a>)
391: <li>4/110 "SCSI Weird" on-board controller (polled DMA) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=sw&sektion=4">sw</a>)
392: <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&query=isp&sektion=4">isp</a>)
1.19 johns 393: </ul>
394:
1.119 miod 395: <li><strong>SMD and other disk controllers</strong>
1.19 johns 396: <ul>
1.118 jufi 397: <li>Xylogics 7053 VME SMD disk controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=xd&sektion=4">xd</a>)
398: <li>Xylogics 450/451 VME SMD disk controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=xy&sektion=4">xy</a>)
1.19 johns 399: </ul>
400:
1.144 miod 401: <li><strong>PC Cards (PCMCIA)</strong>
402: <ul>
403: <li>PCMCIA Controllers:
404: <ul>
1.156 mickey 405: <li>SBus PCMCIA bridge (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=stp&arch=sparc&sektion=4">stp</a>)
406: <li>Tadpole PCMCIA controller (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=tslot&arch=sparc&sektion=4">tslot</a>)
1.144 miod 407: </ul>
1.188 jsg 408: <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&arch=sparc&sektion=4">wi</a>)
409: <li>NE2000 based Ethernet Adapters (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ne&arch=sparc&sektion=4">ne</a>)
410: <li>3Com EtherLink (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ep&arch=sparc&sektion=4">ep</a>) LAN PC Cards
1.144 miod 411: </ul>
412:
1.119 miod 413: <li><strong>Miscellaneous</strong>
1.65 jason 414: <ul>
1.118 jufi 415: <li>SBus Expansion Subsystem (SUNW,xbox) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=xbox&sektion=4">xbox</a>)
416: <li>Force FGA5000 VME/SBus bridge (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=fga&sektion=4">fga</a>)
417: <li>Force system configuration registers (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=scf&sektion=4">scf</a>)
418: <li>Force flash memory (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=flash&sektion=4">flash</a>)
1.178 martin 419: <li>Tadpole microcontroller (power/system control) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=tctrl&sektion=4">tctrl</a>)
1.138 miod 420: <li>Prestoserve NVRAM SBus cards (limited support) (<a href="http://www.openbsd.org/cgi-bin/man.cgi?arch=sparc&query=presto&sektion=4">presto</a>)
1.65 jason 421: </ul>
1.3 fn 422: </ul>
1.196 miod 423: <font color="#e00000">*</font> Not supported in sun4c and sun4e class machines
424: due to PROM limitations.
1.144 miod 425: <br>
1.119 miod 426:
427: <p>
428: <h4>Unsupported machines</h4>
1.1 deraadt 429:
1.119 miod 430: <p>
1.3 fn 431: <ul>
1.129 miod 432: <li>sun4: 4/400 (lacks support for the I/O cache, and has ethernet problems)
1.119 miod 433: <li>sun4d machines:
434: <ul>
435: <li>SPARC Server 1000</li>
436: <li>SPARC Center 2000</li>
437: </ul>
1.129 miod 438: These machines use XD-Bus instead of M-Bus for their CPUs, which is not
439: supported yet.
1.119 miod 440: <li>JavaStation-NC (lacks support for this machine's PCI bus)
1.164 miod 441: <li>sun4u: UltraSPARC 64-bit machines. Most of these are supported in the
1.97 miod 442: <a href="sparc64.html">OpenBSD/sparc64</a> port.
1.129 miod 443: <li>Solbourne machines: these machines are quite different, and some are
1.166 jsg 444: plagued by processor bugs. Some of them are covered by the
445: <a href="solbourne.html">OpenBSD/solbourne</a> port.
1.135 miod 446: <li>Tadpole SPARCbook 1, LC and 2: these machines use quite unusual components,
447: and do not have a Sun-compatible PROM.
1.3 fn 448: </ul>
1.119 miod 449:
450: <p>
451: <h4>Unsupported Devices</h4>
452:
453: <p>
454: First of all, there are MANY unsupported devices.
455: A comprehensive list can probably not be written.
456: </p>
1.19 johns 457:
1.119 miod 458: <p>
1.3 fn 459: <ul>
1.119 miod 460: <li><strong>Serial Cards</strong>
1.19 johns 461: <ul>
1.50 jason 462: <li> VME mti 16-port serial card
463: <li> VME alm2 16-port serial card
1.111 miod 464: <li> VME mcp 4-port serial card (or is it 8-port)
1.19 johns 465: </ul>
466:
1.196 miod 467: <li><strong>Disk and Tape Controllers</strong>
1.19 johns 468: <ul>
1.50 jason 469: <li> VME "sc" SCSI controller
470: <li> VME IPI controller
1.196 miod 471: <li> VME "xt" Tape controller
1.19 johns 472: </ul>
473:
1.119 miod 474: <li><strong>Frame buffers</strong>
1.19 johns 475: <ul>
1.50 jason 476: <li> VME cgfive, 8-bit color, 1-bit overlay, double-buffered,
477: unaccelerated without GP/GP2
478: <li> VME cgnine, 24-bit color, 1-bit overlay, double-buffered,
479: unaccelerated without GP/GP2
480: <li> VME GP/GP2 Graphics Processor (drives a cgfive or cgnine)
481: <li> SBus cgeight 24-bit color, unaccelerated
482: (note: SBus cgeight is quite different from VME/P4 cgeight)
483: <li> SBus GT, 24-bit color, 8-bit color, overlay planes, double-buffered,
484: 3-D acceleration (aka Graphics Tower)
485: </ul>
486:
1.74 deraadt 487: <li><strong>On-board Audio and ISDN</strong><br>
1.119 miod 488: This is present on some sun4m systems (LX, LC, SPARCstation 10/20).
489:
1.74 deraadt 490: <li><strong>Multiple Processors/Modules in sun4m systems</strong><br>
1.119 miod 491: OpenBSD will sometimes not boot on some machines with multiple processors.
492: If this is the case, the extra CPUs must be removed.
493:
1.111 miod 494: <li><strong>SBus SUNW,bpp (parallel port)</strong><br>
1.119 miod 495: A driver exists in the source tree, but it does not work. None of the
496: developers have printers or cables to work with, to make it work, but
497: we really would prefer to receive a fixed driver.
498:
499: <li><strong>SBus FDDI cards</strong>
500:
1.121 miod 501: <li><strong>SBus cards other than those listed above...</strong>
1.3 fn 502: </ul>
1.1 deraadt 503:
1.3 fn 504: <hr>
1.185 deraadt 505: <a name="hwdocs"></a>
506: <h3><font color="#0000e0"><strong>Hardware documentation:</strong></font></h3>
507:
508: Previous to 2007, it was extremely difficult or impossible to get much of
1.186 sthen 509: the necessary hardware documentation for these machines. Members of our
1.185 deraadt 510: team (in particular David Gwynne) were instrumental in pressuring and
511: convincing Sun to go back into their archives and dig up the data sheets
512: that they had written in-house, describing the operation of their chips to
513: their own engineers. These documents can now be found at
1.207 landry 514: <a href="http://web.archive.org/web/20111209011516/http://wikis.sun.com/display/FOSSdocs/Home">
1.185 deraadt 515: http://wikis.sun.com/display/FOSSdocs/Home</a>.
516: Some documents are still missing at that site, so we ask that interested
517: developers contact Sun and request additional information.
518: <p>
519:
520: <hr>
1.122 miod 521: <a name="install"></a>
522: <h3><font color="#0000e0">
523: <strong>Getting and installing OpenBSD/sparc:</strong>
524: </font></h3>
525:
526: <p>
527: The latest supported OpenBSD/sparc release is
1.208 sthen 528: <a href="54.html">OpenBSD 5.4</a>.
1.122 miod 529: Here are the
1.208 sthen 530: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/5.4/sparc/INSTALL.sparc">
531: OpenBSD/sparc 5.4 installation instructions
1.122 miod 532: </a>.
533: </p>
534:
535: <p>
536: Snapshots are made available from time to time, in
1.205 sthen 537: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sparc">this location</a>
1.122 miod 538: as well as in a few
539: <a href="ftp.html">mirrors</a>.
540: Here are the
1.205 sthen 541: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/snapshots/sparc/INSTALL.sparc">
1.122 miod 542: OpenBSD/sparc snapshot installation instructions
543: </a> as well.
544: </p>
545:
546: <p>
547: There are several installation media provided, so that
1.196 miod 548: OpenBSD/sparc can be installed or upgraded via CD and floppy boot images on
1.122 miod 549: sun4c and sun4m, miniroot images for machines without floppies
1.196 miod 550: (such as sun4 machines), as well as network and diskless installs.
1.122 miod 551: <ul>
552: <li><strong>CD boot</strong>
553: <p>
1.126 jufi 554: Booting off the CD provides a small ffs filesystem with a GENERIC kernel with
1.167 jsg 555: drivers for all supported devices found on SPARC machines.<br>
1.122 miod 556: For the latest list of drivers available on this image, take a look at the
557: <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/sparc/conf/GENERIC?rev=HEAD">GENERIC</a>
558: kernel configuration file.
559: The CD can be booted off the OpenPROM prompt with
560: <pre>
1.208 sthen 561: boot cdrom 5.4/sparc/bsd.rd
1.122 miod 562: </pre>
1.148 david 563: </li>
1.208 sthen 564: <li><strong>Floppy</strong> (floppy54.fs)
1.122 miod 565: <p>
566: Booting off the floppy provides a small ffs filesystem with a kernel
1.167 jsg 567: containing drivers for the most popular devices found on SPARC machines.<br>
1.122 miod 568: For the latest list of drivers available on this image, take a look at the
569: <a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/sparc/conf/RAMDISK?rev=HEAD">RAMDISK</a>
570: kernel configuration file.
571: The floppy can be booted off the OpenPROM prompt with
572: <pre>
573: boot floppy
574: </pre>
1.148 david 575: </li>
1.208 sthen 576: <li><strong>Miniroot</strong> (miniroot54.fs)
1.122 miod 577: <p>
578: The miniroot provides the same installation environment as the bootable CD,
579: and is intended for easy bootstrap if there is already an operating system
580: installed on the machine.
581: After dumping the miniroot to the primary swap partition with dd, the
582: miniroot can be booted off the OpenPROM prompt with a command such as
583: <pre>
584: boot disk:b
585: </pre>
586: (the disk designation may be different, depending on the chosen swap
587: partition).
1.148 david 588: <p>
589: </li>
1.122 miod 590: <li><strong>Netboot</strong> (boot.net, bsd.rd)
591: <p>
592: Using a diskless setup, it is also possible to boot the OpenBSD/sparc
593: boot loader, <tt>boot.net</tt>, from the network via tftp, and access
594: the <tt>bsd.rd</tt> standalone miniroot over NFS.
595: Refer to the
596: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=diskless&sektion=8">diskless(8)</a>
597: manual page for details on how to setup a network boot environment.
598: </p></li>
599: </ul>
1.3 fn 600:
601: </body>
602: </html>