Annotation of www/sparc.html, Revision 1.77
1.3 fn 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
1.1 deraadt 3: <head>
1.25 johns 4: <title>OpenBSD/sparc</title>
1.3 fn 5: <link rev=made href=mailto:www@openbsd.org>
6: <meta name="resource-type" content="document">
1.25 johns 7: <meta name="description" content="the OpenBSD/sparc page">
1.3 fn 8: <meta name="keywords" content="openbsd,sparc">
9: <meta name="distribution" content="global">
1.16 deraadt 10: <meta name="copyright" content="This document copyright 1996 by OpenBSD">
1.3 fn 11: </head>
12:
1.50 jason 13: <body bgcolor="#FFFFFF" text="#000000" link="#23238E">
1.3 fn 14:
1.50 jason 15: <img alt="[OpenBSD]" src="images/bsd_small.gif">
1.1 deraadt 16:
1.3 fn 17: <hr>
1.50 jason 18:
19: <p>
20: OpenBSD/sparc runs on most of the 32bit Sun SPARC workstations, including
21: the sun4, sun4c, and sun4m architectures
22: (not the 64bit <a href="sparc64.html">Ultra SPARC</a> computers).
23: The current port maintainer is
1.73 deraadt 24: Art Grabowski (<a href="mailto:art@openbsd.org">art@openbsd.org</a>).
1.56 aaron 25: Others are definitely welcome to contribute!
1.50 jason 26: </p>
27:
1.38 downsj 28: <img align=right vspace=5 hspace=5 src="images/sparc.gif">
1.37 deraadt 29: <h3><font color=#0000e0><i>Table of contents</i></font></h3>
1.29 downsj 30: <p>
31: <ul>
1.50 jason 32: <li><a href="#history">Past history of the port</a>
33: <li><a href="#status">Current status</a>
34: <li><a href="#info">Where to get it</a>
35: <li><a href="#hardware">Supported hardware list</a>
36: <li><a href="#projects">Project list</a>
1.29 downsj 37: </ul>
38: </p>
39:
40: <hr>
41: <a name=history>
1.37 deraadt 42: <h3><font color=#0000e0><strong>History:</strong></font></h3>
1.3 fn 43:
44: <p>
1.1 deraadt 45: The original BSD4.4 port was done by Chris Torek as a contract to
1.50 jason 46: LBL. The code was released by Chris in mid-1993, and Theo de Raadt
1.1 deraadt 47: worked it into shape for the NetBSD tree. Theo and Markus Wild worked
48: on improving Chris' original SunOS compatibility code into a highly
49: complete and reliable emulation. Chuck Cranor ported the sun4c code to
50: the 8KB pagesized Sun4 architecture, and Theo merged this code in a
51: way that would allow the same kernel and programs to run on either
1.64 jason 52: sun4c or sun4 machines (unlike Sun's separate kernel environments).
1.1 deraadt 53: This last change also required a rewrite of the device configuration
1.25 johns 54: code. Just after the NetBSD/sparc 1.0 release, Peter Galbavy wrote an
55: ESP scsi device driver as a replacement for Chris' sparc-specific scsi
1.50 jason 56: code, this new driver unfortunately had some problems and was eventually
57: replaced.
1.3 fn 58: </p>
1.1 deraadt 59:
60: <p>
61: At this point a conflict emerged between Theo and the other people he
62: started the NetBSD project with, and Theo was forced by the core group
63: to resign from NetBSD. After Theo left NetBSD, a few people in the
64: NetBSD group did some other things for the port: Paul Kranenburg
65: ported a floppy driver and started writing support for the 4/400.
66: Chuck spent many long hours working on the ie, xy, xd device drivers.
1.3 fn 67: </p>
1.1 deraadt 68:
69: <p>
70: Theo continued working independently, and made a number of additions:
71: P4 support, flexible boot strategy, a few graphics drivers with help
72: from John Stone, and masses of bug fixes. Many people will be most
73: interested that the ESP scsi driver has been completely replaced by
74: Theo, and that it supports disconnect/reconnect.
1.3 fn 75: </p>
1.1 deraadt 76:
77: <p>
1.25 johns 78: Work on porting OpenBSD/sparc to the sun4m platform was started by Theo,
1.36 todd 79: but tendinitis problems with his wrists and the problems with the NetBSD
1.7 deraadt 80: core conspired, and he stopped work. Theo passed his initial sun4m work
81: to Aaron Brown of Harvard, who was paid out of Margo Seltzer's research
82: funds. This initial stuff consisted mostly of a few attempts at building
1.8 deraadt 83: pmap structure that could support all 3 MMU types efficiently. Also,
1.50 jason 84: David Miller of the S/Linux project got a little bit involved.
1.7 deraadt 85: </p>
86:
87: <p>
1.27 downsj 88: Theo and Jason Downs merged the NetBSD sparc code back into OpenBSD, making
1.50 jason 89: OpenBSD/sparc usable again. Jason Wright wrote a few new SBus Ethernet
90: drivers with information from the S/Linux project and has merged a few bits
91: from NetBSD sources to improve the stability of this architecture.
92: </p>
93:
94: <p>
95: And work continues...
1.3 fn 96: </p>
1.1 deraadt 97:
1.28 downsj 98: <hr>
1.29 downsj 99: <a name=status>
1.37 deraadt 100: <h3><font color=#0000e0><strong>Current Status:</strong></font></h3>
1.28 downsj 101:
1.1 deraadt 102: <p>
1.50 jason 103: The people working the most on OpenBSD/sparc are
104: Jason Wright, Theo de Raadt, and Todd Fries.
105: </p>
106:
107: <p>
1.34 johns 108: Email may be sent to the maintainers and users of the OpenBSD/sparc port at
109: <a href="mailto:sparc@openbsd.org">sparc@openbsd.org</a>.
110: To join the OpenBSD/sparc mailing list, send a message body of <b>"help"</b>
111: to <a href="mailto:majordomo@OpenBSD.org">majordomo@OpenBSD.org</a>
1.50 jason 112: and you will receive a reply outlining all of your options.
1.6 downsj 113: </p>
114:
115: <p>
1.25 johns 116: An important note about OpenBSD/sparc is that it is designed so that
1.30 downsj 117: a single kernel can run on <b>ALL SUPPORTED</b> sparc machines. Whereas
1.26 downsj 118: SunOS and Solaris have always had separate `kernel architectures', ie. sun4,
119: sun4c, and sun4m, the same `GENERIC' OpenBSD kernel will run on all the
120: supported models.
1.15 grr 121: </p>
122:
123: <p>
1.50 jason 124: Most of the problems with OpenBSD/sparc are believed to stem from the wide
125: variety of sparc processor and cache implementations along with their
126: undocumented bugs, rather then general kernel problems.
1.15 grr 127: Feedback on which models do and do not work reliably is
1.77 ! deraadt 128: appreciated, particularly with newer models or upgrades.
1.15 grr 129: </p>
130:
131: <p>
1.73 deraadt 132: OpenBSD/sparc can be installed or upgraded via floppy boot images on
133: sun4c and sun4m, miniroot images for machines without floppies
134: (and sun4 machines), as well as network and diskless installs.
1.3 fn 135: </p>
136:
137: <hr>
1.29 downsj 138: <a name=info>
1.37 deraadt 139: <h3><font color=#0000e0><strong>Where to get it:</strong></font></h3>
1.29 downsj 140:
1.1 deraadt 141: <p>
1.22 johns 142: <ul>
143: <li><a href=ftp.html>Snapshots are made available from time to time.</a>
1.73 deraadt 144: <li><a href=ftp://ftp.openbsd.org/pub/OpenBSD/2.6/sparc/INSTALL.sparc>Installation information for the 2.6 release of OpenBSD/sparc</a>
1.22 johns 145: </ul>
146: </p>
1.3 fn 147:
1.22 johns 148: <p>
1.3 fn 149: <hr>
1.29 downsj 150: <a name=hardware>
1.50 jason 151: <h3><font color=#0000e0><strong>Supported hardware list:</strong></font></h3>
1.1 deraadt 152:
1.25 johns 153: <h4>OpenBSD/sparc runs on the following classes of machines:</h4>
1.3 fn 154: <ul>
1.70 deraadt 155: <li> sun4: the VME series
156: <ul>
157: <li>4/100: Original sparc with VME. Many hardware bugs.
158: <li>4/200: A fairly decent VME-only machine
159: <li>4/300: a 25MHz VME machine with many devices built onto the main board.
160: In other respects, it is quite similar to the SSS1+.
161: </ul>
162: <p>
163: <li> sun4c:
164: <ul>
1.73 deraadt 165: <li>SS1: the original 20MHz sun4c.
166: (Hardware limitations prevent SBus DMA peripherals from working
167: in some of the slots).
168: <li>SS1+: 25MHz version of the above.
169: (Hardware limitations prevent SBus DMA peripherals from working
170: in some of the slots).
1.70 deraadt 171: <li>IPC: SS1+ in a cube, with cgtree graphics builtin
172: <li>SLC: SS1+ built into a B&W monitor
173: <li>SS2: 40MHz version of the SS1
174: <li>IPX: SS2 in a cube, with cgsix graphics builtin
175: <li>ELC: SS2-performance built into a B&W monitor
176: </ul>
177: <p>
178: <p>
179: <li> sun4m:
180: <ul>
1.73 deraadt 181: <li>600MP: The original Sun4m machine. This is a <a href=#mbus>mbus</a> machine
182: with SBUS and VME busses.
183: <li>LC: 50MHz MicroSPARC-1 based machines (aka Classic)
1.70 deraadt 184: <li>LX: LC with a few more devices
1.75 deraadt 185: <li>SS4: Reduced cost version of the SS5, available at 70MHz and 110MHz
1.77 ! deraadt 186: <li>SS5: MicroSPARC-2 based machines available in 60, 70, 85,
! 187: and 110 MHz versions
! 188: <li>SS5: TurboSPARC cpus in accelerated SS5 machines, running at 170 MHz
1.73 deraadt 189: <li>SS10: Pizzabox <a href=#mbus>mbus</a>-based machine
190: <li>SS20: Improved Pizzabox <a href=#mbus>mbus</a>-based machine
191: <li>Sun Voyager (untested)
1.70 deraadt 192: </ul>
1.73 deraadt 193:
1.70 deraadt 194: <p>
1.73 deraadt 195: <li>As well, the following clones:
196: <ul>
197: <li>Aries Research Inc, Parrot II (SS2 clone)
198: <li>Opus 5000 (SS1 clone)
199: <li>Opus 5250 (SS1 clone)
200: <li>SPARCbook 3GX, 3GS, and 3XP by Tadpole (MicroSPARC-2)
201: <li>CPU5V: VME card by Force Computer (sun4m)
202: <li>TWS,SuperCOMPstation-20S (SS20 clone).
203: <li>TATUNG micro COMPstation 5 (SS5 clone)
204: <li>Tatung micro COMPstation LX (LX clone)
205: <li>RDI,PowerLite: sun4m models, available in 50MHz, 85MHz, and 110MHz
206: <li>RDI,BrigeLite
207: <li>DTKstation/Classic+
208: <li>Transtec SS5/170
209: </ul>
210:
1.3 fn 211: </ul>
1.50 jason 212:
213: <h4>Supported devices</h4>
214:
215: <p> This list of basically declares that any `stock' sun4c or sun4m
216: "sparcstation" or "sparcserver" machine will probably work; for sun4 machines
217: one must be more careful.
218:
1.3 fn 219: <ul>
1.73 deraadt 220: <a name=mbus></a>
221: <li><strong> Mbus CPU modules</strong>
1.71 deraadt 222: <ul>
1.77 ! deraadt 223: <li> SM30: 30 or 36 MHz Supersparc with no secondary cache
! 224: <li> SM40: 40 MHz SuperSPARC with no secondary cache
! 225: <li> SM41: 40 MHz SuperSPARC with 1MB of secondary cache
! 226: <li> SM50: 50 MHz SuperSPARC with no seconary cache
! 227: <li> SM51: 50 MHz SuperSPARC with 1MB of secondary cache
! 228: <li> SM51-2: 50 MHz SuperSPARC with 2MB of secondary cache
! 229: <li> SM61: 60 MHz SuperSPARC with 1MB of secondary cache
! 230: <li> SM61-2: 60 MHz SuperSPARC with 2MB of secondary cache
! 231: <li> SM71: 75 MHz SuperSPARC with 1MB of secondary cache
! 232: <li> SM81: 85 MHz SuperSPARC with 1MB of secondary cache
1.73 deraadt 233: <li> SM81-2: 85 MHz SuperSPARC with 2MB of secondary cache
1.77 ! deraadt 234: <li> SM100: dual 40 MHz Cypress 7C601 with 64KB of primary cache
! 235: <li> Ross HyperSparc RT620/RT625 at 125MHz, with 256KB of primary cache
! 236: <li> Ross HyperSparc RT620/RT625 at 150MHz, with 512KB of primary cache
1.71 deraadt 237: </ul>
1.77 ! deraadt 238: <p>
1.71 deraadt 239:
1.73 deraadt 240: <li><strong> Sun keyboard and mouse</strong>
1.50 jason 241: <ul>
242: <li> Type 2, 3, 4, and 5 keyboards with several layouts
243: </ul>
1.19 johns 244:
1.73 deraadt 245: <li><strong> Floppy drives:</strong>
1.19 johns 246: <ul>
1.50 jason 247: <li> sun4c and sun4m floppy disk drive
1.19 johns 248: </ul>
249:
1.73 deraadt 250: <li><strong> Serial ports:</strong>
1.19 johns 251: <ul>
1.50 jason 252: <li> ttya and ttyb on-board serial ports (can be used as console if needed)
253: <li> 4/300 ttyc and ttyd on-board serial ports
254: <li> SBus magma serial port cards, including: 4Sp, 8Sp, 12Sp, 16Sp, LC2+1Sp,
1.43 deraadt 255: 2+1Sp, 4+1Sp, and 8+2Sp.
1.60 jason 256: <li> SBus Serial/Parallel Interfaces (SUNW,spif, 501-1931)
1.19 johns 257: </ul>
258:
259:
1.73 deraadt 260: <li><strong> Audio support:</strong>
1.19 johns 261: <ul>
1.55 aaron 262: <li>on-board audio support for systems with AMD79C30 8-bit audio chips
1.66 jason 263: (this includes sun4c models, SPARCclassic, and 600MP)
264: <li>SUNW,CS4231 16-bit audio chips found on SPARCstation 4/5, but on-board
1.62 jason 265: audio for other sun4m systems is not supported
1.19 johns 266: </ul>
267:
1.73 deraadt 268: <li><strong> Framebuffers:</strong>
1.19 johns 269: <ul>
1.33 downsj 270: <li>SBus, MBus and sun4c/sun4m on-board video:
1.19 johns 271: <ul>
1.50 jason 272: <li>bwtwo - black and white.
273: <li>cgthree - 8-bit color, unaccelerated.
274: <br>The cgthree driver also supports the cgRDI, an onboard
275: cgthree-like framebuffer found in some laptops.
276: <li>cgsix - 8-bit color, accelerated (GX, GX+, TGX, TGX+).
277: <br>This should work with most faithful emulations/clones of the
278: SBus cgsix.
279: <li>cgfourteen - 8-bit color (24-bit MBus accelerated card, but the
280: driver only properly emulates a cgthree).
1.69 jason 281: <li>p9100 - found in Tadpole SPARCbook 3GS and 3GX (8bit unaccelated)
1.73 deraadt 282: (called "pnozz")
1.50 jason 283: <li>TCX - 8-bit color (24-bit, but driver currently emulates a cgthree).
1.19 johns 284: </ul>
285:
286: <li> 4/200 on-board bwtwo
287:
288: <li> P4 video (4/100 and 4/300):
289: <ul>
1.50 jason 290: <li> bwtwo - black and white
291: <li> cgthree - 8-bit color, unaccelerated
292: <li> cgfour - 8-bit color, 1-bit overlay, unaccelerated
293: <li> cgsix - 8-bit color, accelerated
294: <li> cgeight - 24-bit color, 1-bit overlay, unaccelerated
1.19 johns 295: </ul>
296:
297: <li> VME video (sun4):
298: <ul>
1.50 jason 299: <li> cgtwo - black and white
300: <li> cgthree - 8-bit color, unaccelerated
301: <li> cgsix - 8-bit color, accelerated
1.19 johns 302: </ul>
303: </ul>
304:
1.73 deraadt 305: <li><strong> Ethernet adapters:</strong>
1.19 johns 306: <ul>
1.50 jason 307: <li> on-board AMD Lance Ethernet
308: <li> SBus AMD Lance Ethernet cards
309: <li> SBus cards containing both AMD Lance and "esp" scsi
310: <li> on-board Intel 82586 Ethernet (ie0 on 4/100 and 4/200)
311: <li> VME Intel 82586 Ethernet cards
1.60 jason 312: <li> SBus 10/100Mbit qec+be found on Sun FastEthernet cards (SUNW,501-2655)
1.54 jason 313: (aka. Sun Fast Ethernet 1.x)
314: <li> SBus Quad 10Mbit qec+qe found on Sun Quad Ethernet cards (SUNW,595-3198)
1.67 jason 315: <li> SBus 10/100Mbit hme Ethernet cards
316: <li> SBus 10/100Mbit SunSwift SUNW,fas Ethernet+SCSI cards
317: <li> SBus Quad 10/100Mbit hme and qfe Ethernet cards
1.54 jason 318: (aka. Sun Quad Fast Ethernet 2.x)
1.19 johns 319: </ul>
320:
1.73 deraadt 321: <li><strong> SCSI controllers:</strong>
1.19 johns 322: <ul>
1.50 jason 323: <li> on-board "esp" SCSI controller (sun4c, sun4m, and 4/300)
324: <li> SBus "esp" SCSI controller (Also works with several 3rd party
1.41 deraadt 325: esp compatible boards)
1.50 jason 326: <li> SBus cards containing both AMD Lance and "esp" scsi
327: <li> VME "SUN-3"/"si" SCSI controller (interrupt driven DMA)
328: <li> 4/110 "SCSI Weird"/"sw" on-board controller (polled DMA)
1.63 deraadt 329: <li> QSP/ISP scsi controllers (ie. "PTI,ptisp", "ptisp", "SUNW,isp" and "QLGC,isp").
1.19 johns 330: </ul>
331:
1.73 deraadt 332: <li><strong> SMD and other disk controllers:</strong>
1.19 johns 333: <ul>
1.50 jason 334: <li> Xylogics 7053 VME/SMD disk controller ("xd")
335: <li> Xylogics 450/451 VME disk controller ("xy")
1.19 johns 336: </ul>
337:
1.73 deraadt 338: <li><strong> Miscellaneous:</strong>
1.65 jason 339: <ul>
340: <li> SBus Expansion Subsystem ("xbox")
1.68 jason 341: <li> Force FGA5000 VME/SBus bridge ("fga")
342: <li> Force sysconfig registers ("scf")
343: <li> Force flash memory ("flash")
1.69 jason 344: <li> Tadpole microcontroller (power/system control) ("tctrl")
1.65 jason 345: </ul>
1.3 fn 346: </ul>
1.1 deraadt 347:
1.25 johns 348: <h4>OpenBSD/sparc does *not* run on these machines (yet):</h4>
1.3 fn 349: <ul>
1.50 jason 350: <li> sun4: 4/400 (lacks support for the I/O cache, and has Ethernet problems)
1.74 deraadt 351: <li> sun4d machines<br>
352: SPARC Server 1000<br>
353: SPARC Center 2000<br>
354: These machines use XD-Bus instead of M-Bus for their CPUs, and we do
355: not support that yet.
1.50 jason 356: <li> sun4u (<a href="sparc64.html">sparc64</a>): UltraSPARC 64-bit machines.
357: <li> It does not work on most Solbourne machines, which are quite different.
1.77 ! deraadt 358: (However, it works on the sun4c/sun4m compatible machines.)
1.3 fn 359: </ul>
1.19 johns 360:
1.1 deraadt 361: <h4>Unsupported Devices. First of all, there are MANY unsupported devices.
362: A comprehensive list can probably not be written.</h4>
1.3 fn 363: <ul>
1.73 deraadt 364: <li><strong> Serial Cards:</strong>
1.19 johns 365: <ul>
1.50 jason 366: <li> VME mti 16-port serial card
367: <li> VME alm2 16-port serial card
368: <li> VME mcp 4-port serial card (or is it 8 port)
1.19 johns 369: </ul>
370:
1.73 deraadt 371: <li><strong>Disk Controllers:</strong>
1.19 johns 372: <ul>
1.50 jason 373: <li> VME "sc" SCSI controller
374: <li> VME IPI controller
1.19 johns 375: </ul>
376:
1.73 deraadt 377: <li><strong> Framebuffers:</strong>
1.19 johns 378: <ul>
1.50 jason 379: <li> VME cgfive, 8-bit color, 1-bit overlay, double-buffered,
380: unaccelerated without GP/GP2
381: <li> VME cgnine, 24-bit color, 1-bit overlay, double-buffered,
382: unaccelerated without GP/GP2
383: <li> VME GP/GP2 Graphics Processor (drives a cgfive or cgnine)
384: <li> SBus cgeight 24-bit color, unaccelerated
385: (note: SBus cgeight is quite different from VME/P4 cgeight)
386: <li> SBus GS, 24-bit color, 8-bit color, overlay planes, double-buffered,
387: 3-D acceleration (aka cgtwelve)
388: <li> SBus GT, 24-bit color, 8-bit color, overlay planes, double-buffered,
389: 3-D acceleration (aka Graphics Tower)
390: <li> SBus ZX, 24-bit color, 8-bit color, overlay planes, double-buffered,
391: 3-D acceleration (aka Leo)
392: </ul>
1.74 deraadt 393: <p>
1.50 jason 394:
1.74 deraadt 395: <li><strong>On-board Audio and ISDN</strong><br>
396: This is present on some sun4m systems (LX, LC, SPARCstation 10/20).
397: <p>
398: <li><strong>Multiple Processors/Modules in sun4m systems</strong><br>
399: OpenBSD will not currently boot on machines with multiple processors.
400: You must remove the extra CPUs.
401: <p>
402: <li><strong>SBUS SUNW,bpp (parallel port)</strong><br>
403: A driver exists in the source tree, but it does not work. None of the
404: developers have printers or cables to work with, to make it work, but
405: we really would prefer to receive a fixed driver.
406: <p>
407: <li><strong>SBUS FAS scsi controllers</strong><br>
408: The FAS-only card is not supposed. The HME+FAS card only supports the
409: HME part of the card.
410: <p>
411: <li><strong>SBUS FDDI cards</strong><br>
1.77 ! deraadt 412: We are trying to get documentation from <a href=www.npix.com>NPI</a>
! 413: (who built the card for Sun).
1.74 deraadt 414: <p>
415: <li><strong>Tadpole PCMCIA bridge</strong>
416: <p>
417: <li><strong>SBus cards other those listed above...</strong>
418: <p>
1.3 fn 419: </ul>
1.1 deraadt 420:
1.3 fn 421: <hr>
1.29 downsj 422: <a name=projects>
1.50 jason 423: <h3><font color=#0000e0>Project list:</font></h3>
1.21 johns 424: <ul>
1.50 jason 425: <li>Merge in useful NetBSD work.
426: <li>Start work on device drivers for unsupported framebuffers.
1.21 johns 427: </ul>
428:
429: <hr>
1.26 downsj 430:
1.44 pauls 431: <a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
1.1 deraadt 432: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.3 fn 433: <br>
1.76 art 434: <small>$OpenBSD: sparc.html,v 1.75 2000/02/17 20:54:38 deraadt Exp $</small>
1.3 fn 435:
436: </body>
437: </html>