[BACK]Return to hppa.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/hppa.html, Revision 1.65

1.3       fn          1: <!DOCTYPE HTML PUBLIC  "-//IETF//DTD HTML Strict//EN">
                      2: <html>
1.1       deraadt     3: <head>
                      4: <title>OpenBSD/hppa</title>
1.3       fn          5: <link rev=made href=mailto:www@openbsd.org>
                      6: <meta name="resource-type" content="document">
                      7: <meta name="description" content="the OpenBSD/hppa page">
                      8: <meta name="keywords" content="openbsd,hppa">
                      9: <meta name="distribution" content="global">
1.55      horacio    10: <meta name="copyright" content="This document copyright 1996-2002 by OpenBSD.">
1.3       fn         11: </head>
                     12:
1.8       johns      13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
1.65    ! mickey     14: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
1.3       fn         15:
1.65    ! mickey     16: <h2><font color=#e00000>hppa</font><hr></h2>
1.30      deraadt    17:
1.64      mickey     18: <h3><font color=#0000e0><strong>Status and History:</strong></font></h3>
                     19: Systems boot to multi-user and full snapshots are made periodically.
                     20: There are several projects being under development to support
                     21: SCSI controllers and input devices,
                     22: certain stability issues.
                     23: <p>
1.38      mickey     24: This project was started in one of those days when the only
                     25: open source operating systems for HP PA-RISC computers were
                     26: <a href=http://www.cs.utah.edu/projects/flux/lites/html>Lites</a> and
                     27: <a href=http://www.osf.org/mall/os/pa-mklinux>MkLinux</a>.
                     28: These two sources were a major supply of information and
                     29: code for initial development of the OpenBSD/hppa port.
                     30: The <a href=http://www.cs.utah.edu/~mike/hpbsd/hpbsd.html>HPBSD</a>
                     31: is encumbered by HP proprietary code and USL licensing and is
                     32: not publicly available.
                     33: One of the major direct benefits from previous porting efforts
                     34: (besides the code, of course ;) is
                     35: support for HP PA-RISC in GCC and binutils, which allowed quick
                     36: build of cross-tools environment for development.
                     37: <p>
                     38: Later on HP decided to sponsor a
1.58      mickey     39: <a href=http://www.parisc-linux.org/>Linux</a> port to PA-RISC
1.46      pvalchev   40: machines which actually resulted in some proprietary documentation
1.38      mickey     41: release, even they target different class of 9000 machines.
                     42: <p>
1.64      mickey     43:
                     44: <h3><font color=#0000e0><strong>Supported Hardware:</strong></font></h3>
                     45:
1.16      mickey     46: <ul>
1.64      mickey     47: <li>CPUs (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=intro&sektion=4&arch=hppa">intro</a> and (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cpu&sektion=4&arch=hppa">cpu</a>)):
                     48:        <ul>
                     49:        <li>PA7000-based: 705, 710, 720, 730, 750 (currently under development)
                     50:        <li>PA7100-based: 715/33, 715/50, 715/75, 725/50, 725/75, 735/100, 755/100
                     51:        <li>PA7100LC-based: 712, 715/64, 715/80, 715/100, 715/100XC, 725/64, 725/100
                     52:        <li>PA7150-based: 735/125, 755/125
                     53:        <li>PA7200-based: J200, J210
                     54:        </ul>
                     55: <li>bus/IO controllers:
                     56:        <ul>
                     57:        <li> GSC (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gsc&sektion=4&arch=hppa">gsc</a>): LASI (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lasi&sektion=4&arch=hppa">lasi</a>), ASP (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asp&sektion=4&arch=hppa">asp</a>)
                     58:        </ul>
                     59: <li>SCSI controllers (currently under development):
                     60:        <ul>
                     61:        <li>NCR53C710 SCSI I/O Processors (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop&sektion=4">osiop</a>)
                     62:        <li>NCR53C720 SCSI I/O Processors (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop&sektion=4">siop</a>)
                     63:        </ul>
                     64: <li>SGC/GSC graphics (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sti&sektion=4">sti</a>):
                     65:        <ul>
                     66:        <li>Artist (as found on 712)
                     67:        <li>CRX-8, CRX-24, HCRX-8, HCRX-24
                     68:        </ul>
                     69: <li>RS-232 devices:
                     70:        <ul>
                     71:        <li>On-board ns16550 or similar (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=com&sektion=4">com</a>)
                     72:        </ul>
                     73: <li>Input devices (currently under development):
                     74:        <ul>
                     75:        <li>PS/2 keyboard and mouse
                     76:        <li>HIL keyboard and mouse
                     77:        </ul>
                     78: </ul>
                     79: Systems which may work (eventually):
                     80: <ul>
                     81: <li>PA2.0 systems (in 32-bit mode);
                     82: <li>HP 9000 834, 835, 836, 844, 845, 846;
                     83: <li>HP 9000 E23, E25, E35, E45, E55;
                     84: <li>HP 3000 908, 918, 928, 938;
                     85: <li>Hitachi VQ200, VQ210, and some other non-HP workstations;
                     86: <li>Precision Book from RDI Computer Corporation (well, unlikely)
                     87: <li>HP VME and VXI single board systems (requires VME at least)
1.16      mickey     88: </ul>
1.64      mickey     89: <br>
                     90: Hardware is needed for this project,
                     91: see <a href="want.html">"Wanted List"</a>
                     92: (contact <a href=mailto:mickey@openbsd.org>mickey</a>).
                     93:
                     94: <h3><font color=#0000e0><strong>Documentation</strong></font></h3>
1.16      mickey     95:
1.38      mickey     96: <small>(most of which was released by HP for the
1.58      mickey     97: <a href=http://www.parisc-linux.org/>Linux/parisc</a> project)</small>:
1.38      mickey     98: <ol type=1>
1.58      mickey     99: <li>HP PA-RISC CPUs
1.38      mickey    100:        <ol type=a>
1.58      mickey    101: <li><a href=http://ftp.parisc-linux.org/docs/PCXL_ers.ps>PA7100LC CPU ERS</a>
                    102: <li><a href=http://ftp.parisc-linux.org/docs/pcxl2_ers.ps>PA7300LC CPU ERS</a>
1.38      mickey    103:        </ol>
                    104: <li><b>Processor Dependent Code/I/O Dependent Code Interface</b><br> <small>(selected chapters from "PA-RISC I/O Architecture Specification")</small>
                    105:        <ol type=a>
1.58      mickey    106: <li><a href=http://ftp.parisc-linux.org/docs/pdc32.pdf>PDC 1.1</a>
                    107: <li><a href=http://ftp.parisc-linux.org/docs/iodc.pdf>IODC 1.1</a>
                    108: <li><a href=http://ftp.parisc-linux.org/docs/ver_nums.pdf>Version and Identification Number Allocation</a>
                    109: <li><a href=http://ftp.parisc-linux.org/docs/data_formats.pdf>Memory Data Formats 2.0</a>
                    110: <li><a href=http://ftp.parisc-linux.org/docs/pdc.pdf>PDC Procedures 2.0</a>
                    111: <li><a href=http://ftp.parisc-linux.org/docs/pdce.pdf>PDC Entry Points 2.0</a>
                    112: <li><a href=http://ftp.parisc-linux.org/docs/os_interface.pdf>OS Interface 2.0</a>
1.38      mickey    113:        </ol>
1.39      miod      114: <li><b>Bus controllers/bridges/adaptors</b>
1.38      mickey    115:        <ol type=a>
1.60      mickey    116: <li><a href=http://ftp.parisc-linux.org/docs/hardball_ers.pdf>ASP</a>
1.58      mickey    117: <li><a href=http://ftp.parisc-linux.org/docs/lasi_ers.ps>LASI Core Bus Adapter (including lan, scsi, serial, lpt controllers)</a>
                    118: <li><a href=http://ftp.parisc-linux.org/docs/dino_ers.ps>Dino PCI bridge</a>,
                    119: and <a href=http://ftp.parisc-linux.org/docs/Dino_3_1_Errata.html>Errata</a>
                    120: <li><a href=http://ftp.parisc-linux.org/docs/elroy_ers.ps>Elroy ERS (Edited for Open Source)</a>
                    121: <li>Astro <a href=http://ftp.parisc-linux.org/docs/astro_intro.ps>Overview</a>, <a href=http://ftp.parisc-linux.org/docs/astro_errors.ps>Error handling</a>,<a href=http://puffin.external.hp.com/docs/astro_ioc.ps>R2I Operations</a>, <a href=http://puffin.external.hp.com/docs/astro_regmap.ps>Registers Map</a>, <a href=http://puffin.external.hp.com/docs/astro_runway.ps>Runway Interface</a>, <a href=http://puffin.external.hp.com/docs/astro_sysmap.ps>System Mamory Map</a>
1.38      mickey    122:        </ol>
1.58      mickey    123: <li><a href=http://ftp.parisc-linux.org/docs/sti.pdf>Stinger graphics</a>
                    124: <li><a href=http://www.lsilogic.com/techlib/techdocs/old_storage/770_2_0.pdf>NCR 53C700/710/720 SCSI I/O Processors</a>
1.40      mickey    125:     <small>(the doc is actually for 770, which is claimed as compatible)</small>
                    126: <li>Intel <a href=http://developer.intel.com/design/network/datashts/290219.htm>i82596DX/SX</a> and <a href=http://developer.intel.com/design/network/datashts/290218.htm>i82596CA</a> Ethernet Controllers
1.38      mickey    127: </ol>
1.60      mickey    128: Or see more information at <a href=http://www.openpa.net/>OpenPA</a>.
1.38      mickey    129:
1.64      mickey    130: <hr>
                    131:
                    132: <h3><font color=#0000e0><strong>Building Cross-Tools</strong></font></h3>
1.15      mickey    133: <pre>
                    134: cd /usr/src
                    135: sudo make TARGET=hppa cross-tools
1.18      mickey    136: </pre>
                    137: </p>
                    138: <p>
                    139: cross-tools build process may fail in the libc stage, consider that's
                    140: all right, since libc support is not finished yet.
                    141: </p>
1.43      jufi      142: <a name="boot_lif"></a>
1.15      mickey    143: <h4>Build boot.lif file using cross-tools:</h4>
1.18      mickey    144: <p>
                    145: <pre>
1.15      mickey    146: cd /sys/arch/hppa/stand
                    147: make obj
1.26      todd      148: set cross=(/usr/cross/hppa/usr/bin)
1.32      mickey    149: make MACHINE=hppa MACHINE_ARCH=hppa \
1.56      mickey    150:        "AS=$cross/as" "CC=$cross/cc" "CXX=$cross/c++" \
1.26      todd      151:        "CPP=$cross/cpp" "LD=$cross/ld" \
                    152:        "AR=$cross/ar" "STRIP=$cross/strip" \
                    153:        "LORDER=$cross/lorder" "NM=$cross/nm" \
                    154:        "RANLIB=$cross/ranlib" "SIZE=$cross/size"
1.15      mickey    155: </pre>
1.18      mickey    156: </p>
                    157: <p>
1.47      mickey    158: One will have a <a href=http://hppa.lucifier.net/#boot_lif><em>boot.lif</em></a>
1.28      todd      159: file to boot then in the obj-directory.
1.18      mickey    160: That image may include <em>diskless</em> kernel image if one was available
1.32      mickey    161: in the <em>sys/arch/hppa/compile/SHEPHERD_PIE/bsd</em>.
1.18      mickey    162: <br>
1.44      jufi      163: Kernel cross-build process is similar to the one for boot, consult
1.28      todd      164: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=config&apropos=0&sektion=0
                    165: &manpath=OpenBSD+Current&format=html>config(8)</a>
                    166: and
                    167: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=options&apropos=0&sektion=0&manpath=OpenBSD+Current&format=html>options(8)</a>
                    168: for kernel build options and configuration.
1.15      mickey    169: </p>
1.3       fn        170: <hr>
1.47      mickey    171: In order to use the <a href=http://hppa.lucifier.net/#boot_lif>boot.lif</a> files
1.28      todd      172: you must prepare your server and instruct your machine to boot off the network:
1.45      miod      173: <ol>
                    174:   <li>Server setup</li><br>
                    175:     <ul>
1.48      mickey    176:     <li> For older machines (705, 7[1235]0, old 715)
                    177:        <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=rbootd&apropos=0&sektion=0&manpath=OpenBSD+Current&format=html>rbootd</a> must be setup and started.<br>
1.45      miod      178:       <ul>
                    179:       <li><b>/etc/<a href=http://www.openbsd.org/cgi-bin/man.cgi?query=rbootd&apropos=0&sektion=0&manpath=OpenBSD+Current&format=html>rbootd</a>.conf</b>
                    180: contains a single line per machine you entered to boot from the server.
                    181: Each line contains the ethernet address of the client hppa machine, and
                    182: the filename to be loaded from the tftp server.  For example:
1.28      todd      183:        <pre>
                    184:        8:0:9:70:c4:11    <a href=#boot_lif>boot.lif</a>    # 9000/720
                    185:        8:0:9:19:fb:a0    <a href=#boot_lif>boot.lif</a>    # 9000/725
                    186:        </pre>
1.45      miod      187:       </li>
                    188:       </ul>
                    189:     </li>
1.48      mickey    190:     <li>Recent machines (712, new 715, 725) won't look for rbootd at all, but require a
1.51      mickey    191: <b>bootp</b> setup.<br>
1.45      miod      192:       <ul>
                    193:       <li><b>/etc/<a href=http://www.openbsd.org/cgi-bin/man.cgi?query=bootptab&apropos=0&sektion=5&manpath=OpenBSD+Current&format=html>bootptab</a></b> contains an information block for each machine.  For example:
                    194:        <pre>
                    195:        # 9000/715
1.49      miod      196:        boron:\
1.45      miod      197:                ha=0800095f5a6e:\
                    198:                bf=boot.lif:\
                    199:                hd=:\
                    200:                ht=ethernet:\
1.52      miod      201:                ip=10.0.1.143:\
1.53      mickey    202:                rp=/usr/local/exports/boron/root:\
1.45      miod      203:                sm=255.255.255.0:\
                    204:                td=/tftpboot:
                    205:        </pre>
                    206:       </li>
1.48      mickey    207:        <li>
                    208:        Create directory /tftpboot and put the <a href=#boot_lif>boot.lif</a> in it.<br>
                    209:        </li>
                    210:        <li>
                    211:        Write an entry for your hppa in the <b>/etc/ethers</b> file:<br>
                    212:        <pre>
1.49      miod      213:        08:00:09:5f:5a:6e       boron
1.48      mickey    214:        </pre>
                    215:        </li>
                    216:        <li>
1.49      miod      217:        Write an entry for 'boron' in the <b>/etc/hosts</b> file:<br>
1.48      mickey    218:        <pre>
1.52      miod      219:        10.0.1.143      boron
1.48      mickey    220:        </pre>
                    221:        </li>
                    222:        <li>
1.49      miod      223:        Create directory /usr/local/exports/boron/root and put <a href=http://hppa.lucifier.net/root/dev/MAKEDEV>/dev/MAKEDEV</a>,
1.48      mickey    224:         <a href=http://hppa.lucifier.net/root/sbin/init>/sbin/init</a>, <a href=http://hppa.lucifier.net/root/bin/ksh>/bin/ksh</a>
                    225:         in their relative locations.
                    226:        </li>
                    227:        <li>
                    228:        Write an entry in <b>/etc/exports</b> so the root directory gets exported to the client:
                    229:        <pre>
1.49      miod      230:        /usr/local/exports/boron/root boron
1.48      mickey    231:        </pre>
                    232:        </li>
                    233:        <li>
                    234:        Remember you will have to enable <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=bootpd&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>bootpd</a>
1.51      mickey    235:         and <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=tftpd&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>tftpd</a>
                    236:                in /etc/inetd.conf, and restart <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=inetd&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>inetd</a>.
                    237:
                    238:        </li>
1.48      mickey    239:        <li>
                    240:        Also remember to enable <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=nfsd&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>nfs_server</a>
1.51      mickey    241:        , <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=rarpd&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>rarpd</a>
                    242:
1.48      mickey    243:        and <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=portmap&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>portmap</a>
                    244:        in <a
                    245: href=http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html>/etc/rc.conf</a>.
                    246:        </li>
                    247:        </ul>
1.45      miod      248:     </li>
                    249:     <li>For further reading on server setup for network booting in general, see also: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=diskless&apropos=0&sektion=0&manpath=OpenBSD+Current&format=html>diskless(8)</a>.</li>
                    250:     </ul>
                    251:   <li>Client Network Boot</li><br>
                    252:   <ul>
                    253:     <li>BOOT_ADMIN<br>
1.59      mickey    254:        In order to get to the BOOT_ADMIN prompt, you must hit <em>&lt;esc&gt;</em> as the
1.28      todd      255:        machine is coming up.  Once it probes bootable devices, type 'a' for
                    256:        the 'BOOT_ADMIN' prompt.
                    257:     </li>
                    258:     <li>network boot command <br>
                    259:        Once at the 'BOOT_ADMIN' prompt, type:
                    260: <pre>
                    261:        BOOT_ADMIN> boot lan isl
                    262: </pre>
                    263:        ... and you are on your way to booting boot.lif!
                    264:     </li>
1.45      miod      265:   </ul>
1.28      todd      266: </ol>
                    267: <hr>
1.9       pauls     268: <a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
1.1       deraadt   269: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.3       fn        270: <br>
1.65    ! mickey    271: <small>$OpenBSD: hppa.html,v 1.64 2002/11/08 18:46:54 mickey Exp $</small>
1.3       fn        272:
                    273: </body>
                    274: </html>