Annotation of www/hppa.html, Revision 1.97
1.74 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/hppa</title>
1.74 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/hppa page">
10: <meta name="keywords" content="openbsd,hppa">
11: <meta name="distribution" content="global">
1.77 miod 12: <meta name="copyright" content="This document copyright 1996-2003 by OpenBSD.">
1.3 fn 13: </head>
14:
1.74 miod 15: <body bgcolor="#ffffff" text="#000000" link="#23238e">
1.65 mickey 16: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
1.74 miod 17: <p>
18: <h2><font color="#e00000">OpenBSD/hppa</font></h2>
19:
20: <hr>
21:
22: <p>
23: OpenBSD/hppa runs on a large set of the 32-bit Hewlett Packard Precision
24: Architecture workstations and servers (HP PA-RISC).
25: </p>
26:
27: <p>
28: A mailing list dedicated to the OpenBSD/hppa port is available at
29: <u><font color="#23238e">hppa@openbsd.org</font></u>.
30: To join the OpenBSD/hppa mailing list, send a message body of <b>"subscribe
31: hppa"</b> to <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: </p>
35:
36: <p>
37: The current port maintainer is
38: <a href="mailto:mickey@openbsd.org">Michael Shalayeff</a>.
39: Others are definitely welcome to contribute!
40: </p>
41:
42: <a href="#toc"></a>
43: <h3><font color="#0000e0"><i>Table of contents</i></font></h3>
44: <p>
45: <ul>
1.82 jufi 46: <li><a href="#history">History of the port</a>
1.74 miod 47: <li><a href="#status">Current status</a>
48: <li><a href="#projects">Project list</a>
49: <li><a href="#hardware">Supported hardware list</a>
50: <li><a href="#hwdocs">Hardware documentation</a>
51: <li><a href="#install">Getting and installing OpenBSD/hppa</a>
1.92 miod 52: <li><a href="#netboot">Netbooting the installation media</a>
1.74 miod 53: </ul>
54: </p>
1.3 fn 55:
1.66 jufi 56: <hr>
1.74 miod 57: <a name="history"></a>
58: <h3><font color="#0000e0"><strong>History:</strong></font></h3>
1.30 deraadt 59:
1.64 mickey 60: <p>
1.67 deraadt 61: This project was started in those days when the only
1.38 mickey 62: open source operating systems for HP PA-RISC computers were
1.66 jufi 63: <a href="http://www.cs.utah.edu/projects/flux/lites/html">Lites</a> and
1.68 jufi 64: <a href="http://www.mklinux.org">MkLinux</a>.
1.38 mickey 65: These two sources were a major supply of information and
66: code for initial development of the OpenBSD/hppa port.
1.67 deraadt 67: <a href="http://www.cs.utah.edu/~mike/hpbsd/hpbsd.html">HPBSD</a>
1.38 mickey 68: is encumbered by HP proprietary code and USL licensing and is
69: not publicly available.
70: One of the major direct benefits from previous porting efforts
1.74 miod 71: (besides the code, of course) was support for HP PA-RISC in GCC and
72: binutils, which allowed quick building of a cross-tools environment
73: for development.
74: </p>
75:
1.38 mickey 76: <p>
1.74 miod 77: Later on, Hewlett-Packard decided to sponsor a
78: <a href="http://www.parisc-linux.org/">Linux</a> port to the PA-RISC
79: family, which actually resulted in some proprietary documentation
80: being released, even though their target was a different class of 9000
81: machines back then.
82: </p>
83:
84: <hr>
85: <a name="status"></a>
86: <h3><font color="#0000e0"><strong>Current status:</strong></font></h3>
87:
1.38 mickey 88: <p>
1.92 miod 89: Although there have been no official releases of this port yet, the
90: supported systems boot to multi-user and full snapshots are made
1.74 miod 91: periodically.
92: </p>
1.64 mickey 93:
1.74 miod 94: <hr>
95: <a name="projects"></a>
96: <h3><font color="#0000e0"><strong>Projects (in no particular order):
97: </strong></font></h3>
1.64 mickey 98:
1.74 miod 99: <p>
1.16 mickey 100: <ul>
1.74 miod 101: <li>Improve overall stability
1.96 mickey 102: <li>Support the NCR53C700 SCSI Narrow SE controller
103: <li>Support the NCR53C720 SCSI FWD controller
1.84 mickey 104: <li>Installation procedures
1.74 miod 105: <li>Improve port-specific documentation
1.96 mickey 106: <li>Support booting from tape and CD-ROM
107: <li>Support for 7300LC and 8x00 CPUs
108: <li>Support for 7000 CPUs (the "original snakes" machines)
1.86 mickey 109: <li>HP-UX emulation
110: <li>PARISC/Linux emulation
111: <li>Shared libraries
1.74 miod 112: <li>X11 support
1.64 mickey 113: </ul>
1.74 miod 114: </p>
115:
116: <hr>
117: <a name="hardware"></a>
118: <h3><font color="#0000e0"><strong>Supported hardware:</strong></font></h3>
119:
120: <p>
121: <h4>Supported models</h4>
122: </p>
123:
124: <p>
1.64 mickey 125: <ul>
1.74 miod 126: <li>PA7100-based: 715/33, 715/50, 715/75, 725/50, 725/75, 735/100, 755/100
127: <li>PA7100LC-based: 712, 715/64, 715/80, 715/100, 715/100XC, 725/64, 725/100
128: <li>PA7150-based: 735/125, 755/125
129: <li>PA7200-based: J200, J210, J210XC, C100, C110
1.16 mickey 130: </ul>
1.74 miod 131: </p>
132:
133: <p>
134: <h4>Supported peripherals</h4>
135: </p>
136:
137: <p>
138: The list of supported hardware below is not meant to be exhaustive.
139: Hardware is needed for developers, to further help development and testing.
140: Please see our <a href="want.html">"Wanted List"</a>
1.66 jufi 141: (contact <a href="mailto:mickey@openbsd.org">mickey</a>).
1.74 miod 142: </p>
143:
144: <p>
145: <ul>
146: <li><strong>
147: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=io&sektion=4&arch=hppa">Bus/IO
148: controllers</a></strong>
149: <ul>
150: <li>Phantom PseudoBC GSC+ Port
151: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=phantomas&sektion=4&arch=hppa">phantomas</a>)
152: <li>GSC
153: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gsc&sektion=4&arch=hppa">gsc</a>):
154: LASI
155: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lasi&sektion=4&arch=hppa">lasi</a>),
156: ASP
157: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asp&sektion=4&arch=hppa">asp</a>)
158: </ul>
159: <li><strong>SGC/GSC graphics</strong>
160: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sti&sektion=4">sti</a>)
161: <ul>
162: <li>Artist (as found on 712)
163: <li>CRX-8, CRX-24, HCRX-8, HCRX-24
164: </ul>
165: <li><strong>Serial ports</strong>
166: <ul>
1.86 mickey 167: <li>On-board ns16550 and compatibles
1.74 miod 168: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=com&sektion=4">com</a>)
169: </ul>
170: <li><strong>Parallel ports</strong>
171: <ul>
172: <li>On-board parallel port
173: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lpt&sektion=4">lpt</a>)
174: </ul>
1.80 mickey 175: <li><strong>SCSI controllers</strong>
176: <ul>
1.96 mickey 177: <li>NCR53C710 SCSI Narrow SE controller
1.80 mickey 178: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop&sektion=4">osiop</a>)
179: </ul>
1.74 miod 180: <li><strong>Ethernet</strong>
181: <ul>
182: <li>On-board Intel i82596 ethernet
183: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ie&sektion=4&arch=hppa">ie</a>)
184: </ul>
1.85 jason 185: <li><strong>Audio devices</strong>
186: <ul>
187: <li>On-board harmony CS4215/AD1849
188: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=harmony&sektion=4&arch=hppa">harmony</a>)
189: </ul>
1.88 miod 190: <li><strong>Input devices</strong>
191: <ul>
192: <li>HIL keyboards
193: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hilkbd&sektion=4">hilkbd</a>)
1.89 miod 194: <li>HIL mice and graphics tablet
195: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hilms&sektion=4">hilms</a>)
1.88 miod 196: <li>PS/2 keyboards
197: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gsckbd&sektion=4&arch=hppa">gsckbd</a>)
1.94 miod 198: <li>PS/2 mice
199: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pms&sektion=4">pms</a>)
1.88 miod 200: </ul>
1.74 miod 201: <li><strong>Miscellaneous devices</strong>
202: <ul>
203: <li>Battery-backed real time clock
204: </ul>
205: </ul>
206: </p>
207:
208: <p>
209: <h4>Unsupported models</h4>
210: </p>
211:
212: <p>
213: The following systems may eventually work:
214: <ul>
215: <li>PA7000-based machines: 705, 710, 720, 730, 750
1.96 mickey 216: <li>PA7300LC-based machines: A180[C], B132L[+], B160L, B180L, C132L, C160L
1.74 miod 217: <li>PA2.0 systems (in 32-bit mode)
1.78 mickey 218: <li>HP 9000 836, 844, 845, 846
1.96 mickey 219: <li>HP 9000 E-Class (with limited I/O)
220: <li>HP 9000 D-Class, at least the 32-bit models
1.74 miod 221: <li>Hitachi VQ200, VQ210, and some other non-HP workstations
1.96 mickey 222: <li>Hitachi 9000V 3050RX/200, 3050RX/100C and 3500/*
1.74 miod 223: <li>Precision Book from RDI Computer Corporation (well, unlikely)
224: <li>HP VME and VXI single board systems (requires VME at least)
225: </ul>
226: </p>
227:
228: <p>
1.96 mickey 229: The following systems are very unlikely to be supported since they either have
230: incompatible firmware (the 3000s) or have almost completely undocumented I/O
231: subsystems:
232: <ul>
233: <li>HP 3000 900
234: <li>HP 9000 8x7 (F, G, H, I-Class)
235: </ul>
236: </p>
237:
238: <p>
1.79 mickey 239: These systems will, probably, never be supported by this port since
240: they are of 1.0 PA-RISC architecture, which is substantially
1.96 mickey 241: inferior to the 1.1:
1.78 mickey 242: <ul>
243: <li>HP 9000 600, 635, 645
244: <li>HP 9000 800, 808, 815, 822, 825, 832, 834, 835, 840, 842, 845, 850, 852, 855, 860, 865, 870, 890
1.97 ! mickey 245: <li>HP 9000 900
1.78 mickey 246: </ul>
247: </p>
248:
249: <p>
1.74 miod 250: <h4>Unsupported peripherals</h4>
251: </p>
252:
253: <p>
254: This list is not meant to be exhaustive either, but sums up the most commonly
255: encountered devices on hppa machines.
256: <ul>
257: <li><strong>Bus/IO controllers</strong>
258: <ul>
259: <li>EISA bus
260: <li>PCI bus
261: </ul>
262: <li><strong>SCSI controllers</strong>
263: <ul>
264: <li>NCR53C720 SCSI I/O Processors
265: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop&sektion=4">siop</a>)
266: </ul>
267: <li><strong>On-board floppy controller</strong>
268: </ul>
269: </p>
270:
271: <hr>
272: <a name="hwdocs"></a>
273: <h3><font color="#0000e0"><strong>Hardware documentation:</strong></font></h3>
1.64 mickey 274:
1.74 miod 275: <p><small>
276: Most of the following documents have been released by Hewlett-Packard for
277: the <a href="http://www.parisc-linux.org/">PA-RISC Linux</a> project.
278: </small></p>
1.16 mickey 279:
1.74 miod 280: <p>
1.38 mickey 281: <ol type=1>
1.58 mickey 282: <li>HP PA-RISC CPUs
1.38 mickey 283: <ol type=a>
1.66 jufi 284: <li><a href="http://ftp.parisc-linux.org/docs/PCXL_ers.ps">PA7100LC CPU ERS</a>
285: <li><a href="http://ftp.parisc-linux.org/docs/pcxl2_ers.ps">PA7300LC CPU ERS</a>
1.38 mickey 286: </ol>
1.74 miod 287: <li>Processor Dependent Code/I/O Dependent Code Interface<br> <small>(selected chapters from "PA-RISC I/O Architecture Specification")</small>
1.38 mickey 288: <ol type=a>
1.66 jufi 289: <li><a href="http://ftp.parisc-linux.org/docs/pdc32.pdf">PDC 1.1</a>
290: <li><a href="http://ftp.parisc-linux.org/docs/iodc.pdf">IODC 1.1</a>
291: <li><a href="http://ftp.parisc-linux.org/docs/ver_nums.pdf">Version and Identification Number Allocation</a>
292: <li><a href="http://ftp.parisc-linux.org/docs/data_formats.pdf">Memory Data Formats 2.0</a>
293: <li><a href="http://ftp.parisc-linux.org/docs/pdc.pdf">PDC Procedures 2.0</a>
294: <li><a href="http://ftp.parisc-linux.org/docs/pdce.pdf">PDC Entry Points 2.0</a>
295: <li><a href="http://ftp.parisc-linux.org/docs/os_interface.pdf">OS Interface 2.0</a>
1.38 mickey 296: </ol>
1.74 miod 297: <li>Bus controllers/bridges/adaptors
1.38 mickey 298: <ol type=a>
1.66 jufi 299: <li><a href="http://ftp.parisc-linux.org/docs/hardball_ers.pdf">ASP</a>
300: <li><a href="http://ftp.parisc-linux.org/docs/lasi_ers.ps">LASI Core Bus Adapter (including lan, scsi, serial, lpt controllers)</a>
301: <li><a href="http://ftp.parisc-linux.org/docs/dino_ers.ps">Dino PCI bridge</a>,
302: and <a href="http://ftp.parisc-linux.org/docs/Dino_3_1_Errata.html">Errata</a>
303: <li><a href="http://ftp.parisc-linux.org/docs/elroy_ers.ps">Elroy ERS (Edited for Open Source)</a>
1.95 mickey 304: <li>Astro
305: <a href="http://ftp.parisc-linux.org/docs/astro_intro.ps">Overview</a>,
306: <a href="http://ftp.parisc-linux.org/docs/astro_errors.ps">Error handling</a>,
307: <a href="http://ftp.parisc-linux.org/docs/astro_ioc.ps">R2I Operations</a>,
308: <a href="http://ftp.parisc-linux.org/docs/astro_regmap.ps">Registers Map</a>,
309: <a href="http://ftp.parisc-linux.org/docs/astro_runway.ps">Runway Interface</a>,
310: <a href="http://ftp.parisc-linux.org/docs/astro_sysmap.ps">System Mamory Map</a>
1.38 mickey 311: </ol>
1.74 miod 312: <li><a href="http://ftp.parisc-linux.org/docs/sti.pdf">Stinger
313: graphics</a>
1.83 mickey 314: <li><a href="http://www.lsilogic.com/techlib/techdocs/storage_stand_prod/SCSIControllers/770.pdf">NCR
1.74 miod 315: 53C700/710/720 SCSI I/O Processors</a>
1.40 mickey 316: <small>(the doc is actually for 770, which is claimed as compatible)</small>
1.74 miod 317: <li>Intel
318: <a href="http://developer.intel.com/design/network/datashts/290219.htm">i82596DX/SX</a>
319: and
320: <a href="http://developer.intel.com/design/network/datashts/290218.htm">i82596CA</a>
321: Ethernet Controllers
1.38 mickey 322: </ol>
1.74 miod 323: </p>
324:
325: <p>
326: Of course, no hppa page, be it OpenBSD or not, could pretend to be serious
327: without linking to the essential <a href="http://www.openpa.net/">OpenPA</a>
328: reference website.
329: </p>
1.38 mickey 330:
1.64 mickey 331: <hr>
1.74 miod 332: <a name="install"></a>
333: <h3><font color="#0000e0">
334: <strong>Getting and installing OpenBSD/hppa:</strong>
335: </font></h3>
1.64 mickey 336:
1.74 miod 337: <!-- not yet kiddies
1.18 mickey 338: <p>
1.74 miod 339: The latest supported OpenBSD/hppa release is
340: <a href="32.html">OpenBSD 3.2</a>.
341: Here are the
342: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/3.2/hppa/INSTALL.hppa">
343: OpenBSD/hppa 3.2 installation instructions
344: </a>.
345: </p>
346: -->
1.66 jufi 347:
1.18 mickey 348: <p>
1.74 miod 349: Snapshots are made available from time to time, in
350: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/hppa">this location</a>
351: as well as in a few
352: <a href="ftp.html">mirrors</a>.
353: Here are the
354: <a href="ftp://ftp.OpenBSD.org/pub/OpenBSD/snapshots/hppa/INSTALL.hppa">
355: OpenBSD/hppa snapshot installation instructions
356: </a> as well.
1.15 mickey 357: </p>
1.74 miod 358:
1.3 fn 359: <hr>
1.75 miod 360: <a name="netboot"></a>
1.92 miod 361: <h3><font color="#0000e0"><strong>Netbooting the installation media:</strong></font></h3>
1.74 miod 362:
363: <p>
1.93 miod 364: The <tt>lif33.fs</tt> file contains both a bootloader and an installation
1.92 miod 365: miniroot.
1.74 miod 366: To boot it from the network, a server machine has to be setup so as to
367: let the hppa machine retrieve it:
1.45 miod 368: <ol>
1.66 jufi 369: <li>Server setup
1.45 miod 370: <ul>
1.74 miod 371: <li>For older machines (705, 7[1235]0, old 715)
372: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rbootd&sektion=8">rbootd</a>
373: must be setup and started.
1.45 miod 374: <ul>
1.74 miod 375: <li><tt>/etc/rbootd.conf</tt> contains a single line per machine
376: needing to boot from the server. Each line contains the ethernet
377: address of the client hppa machine, and the filename to be loaded from
378: the tftp server (relative to <tt>/usr/mdec/rbootd</tt>).
379: For example:
1.28 todd 380: <pre>
1.93 miod 381: 8:0:9:70:c4:11 lif33.fs # 9000/720
382: 8:0:9:19:fb:a0 lif33.fs # 9000/725
1.28 todd 383: </pre>
1.45 miod 384: </li>
385: </ul>
386: </li>
1.74 miod 387: <li>Recent machines (712, newer 715, 725) will not look for rbootd at all,
388: but instead require a <b>bootp</b> setup.
1.45 miod 389: <ul>
1.74 miod 390: <li><tt>/etc/<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bootptab&sektion=5">bootptab</a></tt>
391: contains an information block for each machine. For example:
1.45 miod 392: <pre>
393: # 9000/715
1.49 miod 394: boron:\
1.45 miod 395: ha=0800095f5a6e:\
1.93 miod 396: bf=lif33.fs:\
1.45 miod 397: hd=:\
398: ht=ethernet:\
1.52 miod 399: ip=10.0.1.143:\
1.45 miod 400: sm=255.255.255.0:\
401: td=/tftpboot:
402: </pre>
403: </li>
1.48 mickey 404: <li>
1.74 miod 405: Create directory <tt>/tftpboot</tt> and put the
1.93 miod 406: <tt>lif33.fs</tt> file in it.<br>
1.48 mickey 407: </li>
408: <li>
1.74 miod 409: Write an entry for the hppa in <tt>/etc/ethers</tt>:
1.48 mickey 410: <pre>
1.49 miod 411: 08:00:09:5f:5a:6e boron
1.76 mickey 412: </pre>
1.48 mickey 413: </li>
414: <li>
1.74 miod 415: Write another entry for it in <tt>/etc/hosts</tt>:
1.48 mickey 416: <pre>
1.52 miod 417: 10.0.1.143 boron
1.76 mickey 418: </pre>
1.48 mickey 419: </li>
420: <li>
1.74 miod 421: The last step is to enable the necessary daemons for all of this to
422: work.
423: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bootpd&sektion=8">bootpd</a>
424: and
425: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftpd&sektion=8">tftpd</a>
426: are usually run from
427: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=inetd&sektion=8">inetd</a>,
428: so <tt>/etc/inetd.conf</tt> has to be modified and
429: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=inetd&sektion=8">inetd</a>
1.92 miod 430: restarted. Also,
1.74 miod 431: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rarpd&sektion=8">rarpd</a>
1.92 miod 432: needs to be enabled in
1.74 miod 433: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&sektion=5">rc.conf</a>.
1.48 mickey 434: </li>
435: </ul>
1.45 miod 436: </li>
1.74 miod 437: <li>For further reading on server setup for network booting in general,
438: please refer to the
439: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=diskless&sektion=8">diskless(8)</a>
440: manual page.
441: </li>
1.45 miod 442: </ul>
1.66 jufi 443: <p>
444: <li>Client Network Boot
1.45 miod 445: <ul>
446: <li>BOOT_ADMIN<br>
1.74 miod 447: In order to get to the BOOT_ADMIN prompt, hit the <em><esc></em>
448: key as the machine is coming up. Once it has probed bootable devices,
449: a menu will be displayed; if the prompt is <i>not</i> <b>BOOT_ADMIN</b>,
450: it will be necessary to type <i>``a''</i> to access it.
1.28 todd 451: </li>
1.74 miod 452: <li>Network boot command<br>
453: Once at the 'BOOT_ADMIN' prompt, the command
1.28 todd 454: <pre>
455: BOOT_ADMIN> boot lan isl
456: </pre>
1.93 miod 457: will proceed to the bootstrap of lif33.fs.
1.66 jufi 458: </ul>
1.74 miod 459: </li>
1.28 todd 460: </ol>
1.74 miod 461: </p>
462:
1.28 todd 463: <hr>
1.74 miod 464: <a href="plat.html">
465: <img height="24" width="24" src="back.gif" border="0" alt="Supported platforms">
1.76 mickey 466: </a>
1.3 fn 467: <br>
1.74 miod 468: <small><a href="mailto:www@openbsd.org">www@openbsd.org</a></small>
469: <br>
1.97 ! mickey 470: <small>$OpenBSD: hppa.html,v 1.96 2003/03/04 18:50:02 mickey Exp $</small>
1.3 fn 471: </body>
472: </html>