Annotation of www/mvme88k.html, Revision 1.72
1.29 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>
5: <title>OpenBSD/mvme88k</title>
1.29 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">
9: <meta name="description" content="the OpenBSD/mvme88k page">
10: <meta name="keywords" content="openbsd,mvme88k">
11: <meta name="distribution" content="global">
1.72 ! saad 12: <meta name="copyright" content="This document copyright 1996-2008 by OpenBSD.">
1.3 fn 13: </head>
14:
1.29 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/mvme88k</font></h2>
19:
20: <hr>
1.3 fn 21:
1.29 miod 22: <p>
1.45 miod 23: OpenBSD/mvme88k is an effort to port OpenBSD to the systems built upon
24: Motorola's 881x0-based VME motherboard family.
1.1 deraadt 25:
1.29 miod 26: <p>
1.64 miod 27: A mailing list for m88k-based ports is available at
28: <u><font color="#23238e">m88k@openbsd.org</font></u>.
29: To join the OpenBSD/m88k mailing list, send a message body of
30: <b>"subscribe m88k"</b> to
31: <a href="mailto:majordomo@openbsd.org">majordomo@openbsd.org</a>.
32: Please be sure to check our <a href="mail.html">mailing list policy</a> before
33: subscribing.
34:
35: <p>
1.60 miod 36: The current port maintainer is Miod Vallat
1.37 miod 37: (<a href="mailto:miod@openbsd.org">miod@openbsd.org</a>), with the help of
38: Steve Murphree. Others are definitely welcome to contribute!
1.3 fn 39:
1.67 nick 40: <a name="toc"></a>
1.29 miod 41: <h3><font color="#0000e0"><i>Table of contents</i></font></h3>
1.3 fn 42: <p>
1.13 smurph 43: <ul>
1.31 jufi 44: <li><a href="#history">History of the port</a>
1.29 miod 45: <li><a href="#status">Current status</a>
46: <li><a href="#projects">Project list</a>
1.56 nick 47: <li><a href="#hardware">Supported hardware</a>
1.29 miod 48: <li><a href="#install">Getting and installing OpenBSD/mvme88k</a>
49: <li><a href="#details">Hardware details</a>
1.13 smurph 50: </ul>
51:
52: <hr>
1.29 miod 53: <a name="history"></a>
54: <h3><font color="#0000e0"><strong>History:</strong></font></h3>
1.13 smurph 55:
56: <p>
1.16 smurph 57: The Motorola 88k processor is said to be the best RISC processor ever
1.17 deraadt 58: devised. Its simplicity and elegance combine to make the mvme88k a
1.16 smurph 59: hearty, robust platform.
1.29 miod 60:
1.13 smurph 61: <p>
1.29 miod 62: Nivas Madhur started the initial mvme88k port for the MVME187 card, but
63: has since moved on to another employer.
64: The port was brought in the OpenBSD tree by Dale Rahn, but he did not
65: have enough time to work on it.
66: Steve Murphree, Jr. eventually completed the port to the MVME187 in
67: November 1998.
1.13 smurph 68:
69: <p>
1.29 miod 70: Unfortunately, at the same time, a compiler upgrade from gcc 2.8.1 to
71: egcs revealed a lot of problems in the mvme88k support in gcc, which
72: could not be fixed in time for mvme88k to be a supported OpenBSD 2.5
73: release.
1.13 smurph 74:
75: <p>
1.29 miod 76: The lack of an in-tree toolchain did not prevent further work on the port,
77: and a lot of changes were made to the codebase, such as revamped autoconf
78: and on-board SCSI driver, greatly expanded VME bus support, working install
79: process that correctly creates a Motorola VID block on the disks,
80: and support for MVME188 as well as improving support for MVME197.
1.13 smurph 81:
1.34 miod 82: <p>
83: During summer 2003, an effort to fix the toolchain eventually produced a
84: working gcc 2.95 compiler, and allowed the port to be self-hosting again.
1.54 miod 85: With the help of Mark Kettenis, the toolchain effort eventually produced
86: working binutils and gdb in late may 2004.
1.34 miod 87:
1.69 miod 88: <p>
89: Work towards multiprocessor support on the MVME188 boards started in
90: summer 2005 and, after a lot of tedious bugfixing, was eventually
91: completed shortly after the 4.2 release in november 2007.
92:
1.70 miod 93: <p>
94: The next step was getting the 88110-based MVME197 designs to work.
95: Single-processor kernels started to run reliably in december 2007.
96:
1.29 miod 97: <hr>
98: <a name="status"></a>
99: <h3><font color="#0000e0"><strong>Current status:</strong></font></h3>
100:
1.13 smurph 101: <p>
1.70 miod 102: Currently, MVME187, MVME188 and MVME197 boards, as well as similar
1.46 miod 103: designs, are booting multi-user, supporting most of the on-board devices.
1.39 david 104: There are still a few caveats; depending on your exact hardware setup,
105: your mileage may vary.
1.70 miod 106: Work is on progress to fix the remaining problems.
1.13 smurph 107:
1.29 miod 108: <hr>
109: <a name="projects"></a>
110: <h3><font color="#0000e0"><strong>Projects (in no particular order):
111: </strong></font></h3>
1.19 smurph 112:
113: <p>
114: <ul>
1.70 miod 115: <li>MVME197DP multi-processor support.
1.37 miod 116: <li>Work on unsupported device cards (MVME327, MVME374...).
117: <li>Write code for new binutils (and gdb), switch to ELF and, later,
1.32 miod 118: shared libraries.
1.19 smurph 119: </ul>
120:
1.13 smurph 121: <hr>
1.29 miod 122: <a name="hardware"></a>
123: <h3><font color="#0000e0"><strong>Supported hardware:</strong></font></h3>
1.13 smurph 124:
125: <p>
1.29 miod 126: <h4>Supported processor boards</h4>
1.13 smurph 127:
128: <p>
129: <ul>
1.35 miod 130: <li><strong>MVME187</strong><br>
131: A single 88100 processor-based version of the <a href="mvme68k.html">mvme68k</a>
1.36 miod 132: MVME167 and MVME177 boards. Features two 88200 CMMUs with 16KB cache
1.35 miod 133: each, SRAM, and on-board ethernet and SCSI controllers, as well as four serial
134: ports and one parallel port.<br>
1.55 miod 135: <li><strong>MVME188 and MVME188A</strong><br>
1.38 miod 136: Contrary to the other MVME processor boards, this board has no on-board
137: devices; it just acts as a container for an <i>HYPERmodule</i> which provides
1.69 miod 138: one, two or four 88100 processors, and two or four 88200 (16KB cache) or 88204
1.38 miod 139: (64KB cache) CMMUs per processor.<br>
1.55 miod 140: All HYPERmodules combinations are supported, but M88200 1P128 and 1P512 have
141: not been tested.<br>
1.38 miod 142: External cards specific to the MVME188 family provide memory and serial ports.
1.70 miod 143: <br>
144: Multi-processor kernels are supported on these boards in <tt>-CURRENT</tt>.
145: <li><strong>MVME197LE</strong><br>
146: An entry-level design similar to the MVME187, but based on the 88110 processor
147: with integrated MMU and cache controller.<br>
148: These boards are supported in <tt>-CURRENT</tt>.
149: <li><strong>MVME197SP and MVME197DP</strong><br>
150: Improved versions of the MVME197LE, with one (SP) or two (DP) 88110 processors,
151: and one 88410 external cache controller per processor.<br>
152: These boards are supported in <tt>-CURRENT</tt> with single-processor
153: kernels only so far.
1.13 smurph 154: </ul>
155:
1.29 miod 156: <p>
1.45 miod 157: Besides various Motorola complete systems (<strong>M8120</strong>,
158: MVME187-based <strong>series 900</strong>, etc), this port also runs on the
159: MVME187-based <strong>Triton Dolphin System 100</strong>.
160:
161: <p>
1.29 miod 162: <h4>Supported on-board devices</h4>
1.13 smurph 163:
1.29 miod 164: <p>
1.13 smurph 165: <ul>
1.70 miod 166: <li><strong>MVME187 and MVME197</strong>
1.13 smurph 167: <ul>
1.49 miod 168: <li>Cirrus Logic CL2400 serial ports (tty00-tty03/tty07<i>[M8120]</i>) (cl)
1.45 miod 169: <li>Intel 82596CA Ethernet interface
1.43 miod 170: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ie&sektion=4&arch=mvme88k">ie</a>)
1.45 miod 171: <li>NCR53c710 SCSI Controller
1.53 miod 172: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop&sektion=4&arch=mvme88k">osiop</a>)
1.45 miod 173: <li>128KB SRAM (/dev/sram0)
174: <li>8KB NVRAM (/dev/nvram0)
1.13 smurph 175: </ul>
1.45 miod 176: </li>
177: <li><strong>MVME188</strong>
1.13 smurph 178: <ul>
1.45 miod 179: <li>serial ports on <i>SYSCON</i> board (ttya-ttyb) (dart)
180: <li>2KB NVRAM (/dev/nvram0)
1.13 smurph 181: </ul>
1.45 miod 182: </li>
1.29 miod 183: </ul>
1.13 smurph 184:
1.29 miod 185: <p>
1.45 miod 186: <h4>Supported VME boards</h4>
1.13 smurph 187:
1.29 miod 188: <p>
1.13 smurph 189: <ul>
1.45 miod 190: <li><strong>MVME328</strong> High Performance SCSI Controller
1.43 miod 191: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vs&sektion=4&arch=mvme88k">vs</a>)
1.45 miod 192: <li><strong>MVME332XT</strong> High Performance Serial I/O Controller
1.42 miod 193: (8 serial ports, 1 parallel port) (vx)
1.45 miod 194: <li><strong>MVME376</strong> Ethernet Communications Controller
1.44 miod 195: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=le&sektion=4&arch=mvme88k">le</a>)
1.13 smurph 196: </ul>
197:
1.33 miod 198: <p>
199: <h4>Unsupported processor boards</h4>
200: <p>
201:
202: <p>
1.70 miod 203: These boards are currently not supported. There is nothing, apart from lack
1.72 ! saad 204: of available hardware, preventing them from being supported eventually.
1.33 miod 205: <ul>
1.48 miod 206: <li><strong>MVME180 <i>``Angelfire''</i> and MVME181</strong><br>
207: A low-cost, entry level board, featuring a single 88100 processor, two 88200
208: CMMUs and two on-board serial ports.
1.33 miod 209: </ul>
210:
1.13 smurph 211: <hr>
1.29 miod 212: <a name="install"></a>
213: <h3><font color="#0000e0">
214: <strong>Getting and installing OpenBSD/mvme88k:</strong>
215: </font></h3>
216:
217: <p>
1.52 david 218: The latest supported OpenBSD/mvme88k release is
1.68 miod 219: <a href="42.html">OpenBSD 4.2</a>.
1.52 david 220: Here are the
1.68 miod 221: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/4.2/mvme88k/INSTALL.mvme88k">
222: OpenBSD/mvme88k 4.2 installation instructions
1.52 david 223: </a>.
224:
225: <p>
1.38 miod 226: Snapshots are made available from time to time, in
1.52 david 227: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/mvme88k">this location</a>
1.33 miod 228: as well as in a few
229: <a href="ftp.html">mirrors</a>.
230: Here are the
1.52 david 231: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/mvme88k/INSTALL.mvme88k">
1.33 miod 232: OpenBSD/mvme88k snapshot installation instructions
233: </a> as well.
1.1 deraadt 234:
1.3 fn 235: <hr>
1.30 miod 236: <a name="details"></a>
1.29 miod 237: <h3><font color="#0000e0"><strong>Hardware details:</strong></font></h3>
1.13 smurph 238:
1.14 smurph 239: <p>
1.29 miod 240: As VME hardware is quite uncommon in the average retail place, and Motorola
241: 881x0-based hardware is even more rare, this section is here to satisfy the
242: well-founded curiosity about the mvme88k hardware.
243:
1.48 miod 244: <p>
245: A comprehensive reference about the m88k processor and the various designs
246: built upon it is being gathered by Paul Weissmann at
1.57 miod 247: <a href="http://badabada.org/">badabada</a>.
1.48 miod 248:
1.52 david 249: <a name="pics"></a>
1.29 miod 250: <p>
251: Pictures of a Motorola 900 modular chassis, with a 33MHz MVME187 CPU board,
252: 32MB RAM, 4 MVME332XT serial boards, and an Archive 250MB QIC tape drive.
1.14 smurph 253: <ul>
1.29 miod 254: <li><a href="images/mvme187-1.jpg">MVME187 Series 900 (front view)</a>
1.14 smurph 255: <li><a href="images/mvme187-2.jpg">MVME187 Series 900 (rear view)</a>
256: <li><a href="images/mvme187-3.jpg">MVME187 Series 900 (rear view w/terminal)</a>
257: <li><a href="images/mvme187-4.jpg">MVME187 Series 900 (rear view close up)</a>
258: <li><a href="images/mvme188-2.jpg">MVME188 Dual proc board</a>
259: </ul>
1.15 smurph 260:
1.19 smurph 261: <p>
1.71 miod 262: This is a boot log of an MVME197 system.
1.19 smurph 263: <pre>
1.71 miod 264: [ using 179870 bytes of bsd a.out symbol table ]
1.21 miod 265: Copyright (c) 1982, 1986, 1989, 1991, 1993
1.33 miod 266: The Regents of the University of California. All rights reserved.
1.71 miod 267: Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org
1.21 miod 268:
1.71 miod 269: OpenBSD 4.2-current (GENERIC) #178: Tue Dec 25 20:55:33 GMT 2007
1.43 miod 270: miod@ramade.gentiane.org:/usr/src/sys/arch/mvme88k/compile/GENERIC
1.71 miod 271: real mem = 402653184 (384MB)
272: avail mem = 384249856 (366MB)
273: mainbus0 at root: Motorola MVME197, 50MHz
274: cpu0: M88110 version 0xf, 8K I/D caches
275: cpu0: external M88410 cache controller
276: bussw0 at mainbus0 addr 0xfff00000: rev 4
277: pcctwo0 at bussw0 offset 0x0: rev 0
278: nvram0 at pcctwo0 offset 0xc0000: MK48T08
279: cl0 at pcctwo0 offset 0x45000 ipl 3: console
280: osiop0 at pcctwo0 offset 0x47000 ipl 2: NCR53C710 rev 2, 50MHz, SCSI ID 7
281: scsibus0 at osiop0: 8 targets
282: vme0 at pcctwo0 offset 0x40000: system controller
1.33 miod 283: vme0: using BUG parameters
1.71 miod 284: vme0: 1phys 0x18000000-0xefff0000 to VME 0x18000000-0xefff0000
1.33 miod 285: vme0: vme to cpu irq level 1:1
1.21 miod 286: vmes0 at vme0
1.71 miod 287: le0 at vmes0 addr 0xffff1200 ipl 3 vec 0x80: address 00:00:77:83:ac:56
288: le0: 128 receive buffers, 32 transmit buffers
289: vs0 at vmes0 addr 0xffff9000 ipl 2 vec 0x81 vec 0x82: SCSI ID 7/7
1.38 miod 290: scsibus1 at vs0: 8 targets
291: sd0 at scsibus1 targ 0 lun 0: <COMPAQPC, DCAS-32160, S6CA> SCSI2 0/direct fixed
1.33 miod 292: sd0: 2006MB, 8188 cyl, 3 head, 167 sec, 512 bytes/sec, 4110000 sec total
1.71 miod 293: scsibus2 at vs0: 8 targets
1.21 miod 294: vmel0 at vme0
1.71 miod 295: ie0 at pcctwo0 offset 0x46000 ipl 3: address 08:00:3e:23:ed:e8
296: softraid0 at root
1.21 miod 297: boot device: sd0
1.71 miod 298: root on sd0a swap on sd0b dump on sd0b
1.33 miod 299: Automatic boot in progress: starting file system checks.
300: /dev/rsd0a: file system is clean; not checking
301: /dev/rsd0d: file system is clean; not checking
302: /dev/rsd0e: file system is clean; not checking
1.71 miod 303: /dev/rsd0h: file system is clean; not checking
1.33 miod 304: /dev/rsd0f: file system is clean; not checking
305: /dev/rsd0g: file system is clean; not checking
306: setting tty flags
307: ddb.console: 0 -> 1
1.71 miod 308: kern.splassert: 1 -> 2
1.33 miod 309: starting network
310: starting system logger
1.71 miod 311: starting initial daemons: portmap ypbind rdate timed.
1.33 miod 312: savecore: no core dump
313: checking quotas: done.
314: building ps databases: kvm dev.
315: clearing /tmp
316: starting pre-securelevel daemons:.
317: setting kernel security level: kern.securelevel: 0 -> 1
1.71 miod 318: creating runtime link editor directory cache.
1.36 miod 319: preserving editor files
320: starting network daemons: sendmail inetd sshd.
1.33 miod 321: starting local daemons:.
322: standard daemons: cron.
1.71 miod 323: Tue Dec 25 20:58:47 GMT 2007
1.33 miod 324:
1.43 miod 325: OpenBSD/mvme88k (ramade.gentiane.org) (console)
1.33 miod 326:
1.71 miod 327: login:
1.19 smurph 328: </pre>
329:
1.15 smurph 330: <hr>
1.29 miod 331: <a href="plat.html">
332: <img height="24" width="24" src="back.gif" border="0" alt="Supported platforms">
333: </a>
334: <br>
335: <small><a href="mailto:www@openbsd.org">www@openbsd.org</a></small>
1.3 fn 336: <br>
1.72 ! saad 337: <small>$OpenBSD: mvme88k.html,v 1.71 2007/12/25 21:37:56 miod Exp $</small>
1.3 fn 338:
339: </body>
340: </html>