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