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

Annotation of www/hppa.html, Revision 1.40

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.38      mickey     10: <meta name="copyright" content="This document copyright 1996-2000 by OpenBSD.">
1.3       fn         11: </head>
                     12:
1.8       johns      13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
1.3       fn         14:
1.30      deraadt    15: <h2>OpenBSD/hppa</h2>
1.1       deraadt    16:
1.3       fn         17: <hr>
1.30      deraadt    18:
1.20      mickey     19: This port is aimed to support the following HP 9000 models:
1.32      mickey     20: 705, 710, <b>712</b>, <b>715</b>, 720, <b>725</b>,
1.35      mickey     21: 730, <b>735</b>, 750, <b>755</b>, J200, J210, J210XC, C100, C110,
                     22: B132L, B160L, B180L, C132L, C160L, C180L
1.20      mickey     23: (bold means "known to be working").
                     24: Other similiar to those hardware configurations may be supported
                     25: as far as if they based upon:
1.18      mickey     26: <ul>
1.35      mickey     27: <li>HP PA-RISC 7000, 7100, 7150, 7100LC, 7200, 7300LC processors;
1.23      mickey     28: <li>Viper (others ?) memory controller;
1.28      todd       29: <li>LASI, ASP, WAX bus/IO controller;
1.20      mickey     30: <li>and EISA bus controller;
1.23      mickey     31: <li>NCR53C700, NCR53C710, NCR53C720 SCSI I/O Processor;
                     32: <li>Venom, CRX-8, CRX-24, HCRX-8, HCRX-24 video controllers;
                     33: <li>HIL or PS/2 keyboard and mouse;
                     34: <li>EISA devices will work, but they won't be usefull for booting,
1.28      todd       35:        but some of those manufactured by HP for 700/800 systems.
1.18      mickey     36: </ul>
1.24      mickey     37: Systems which may work (eventualy):
1.21      mickey     38: <ul>
1.28      todd       39: <li>pa8k-based systems (in 32-bit mode);
1.24      mickey     40: <li>HP 9000 834, 835, 836, 844, 845, 846;
1.33      mickey     41: <li>HP 9000 E23, E25, E35, E45, E55;
1.24      mickey     42: <li>HP 3000 908, 918, 928, 938;
1.28      todd       43: <li>Hitachi VQ200, VQ210, and some other non-HP workstations;
1.24      mickey     44: <li>Precision Book from RDI Computer Corporation (well, unlikely)
                     45: <li>HP VME and VXI single board systems (requires VME at least)
1.21      mickey     46: </ul>
1.20      mickey     47: <br>
                     48: Hardware is needed for this project,
1.28      todd       49: see <a href="want.html">"Wanted List"</a>. (contact <a href=mailto:mickey@openbsd.org>mickey</a>).
1.20      mickey     50:
                     51: <h3><strong>Status:</strong></h3>
1.28      todd       52: Got System autoconfig using <a href=http://hppa.fries.net/#boot_lif>bootable images</a>, heading for single-user.
1.16      mickey     53:
                     54: <h3><strong>History:</strong></h3>
1.38      mickey     55: This project was started in one of those days when the only
                     56: open source operating systems for HP PA-RISC computers were
                     57: <a href=http://www.cs.utah.edu/projects/flux/lites/html>Lites</a> and
                     58: <a href=http://www.osf.org/mall/os/pa-mklinux>MkLinux</a>.
                     59: These two sources were a major supply of information and
                     60: code for initial development of the OpenBSD/hppa port.
                     61: The <a href=http://www.cs.utah.edu/~mike/hpbsd/hpbsd.html>HPBSD</a>
                     62: is encumbered by HP proprietary code and USL licensing and is
                     63: not publicly available.
                     64: One of the major direct benefits from previous porting efforts
                     65: (besides the code, of course ;) is
                     66: support for HP PA-RISC in GCC and binutils, which allowed quick
                     67: build of cross-tools environment for development.
                     68: <p>
                     69: Later on HP decided to sponsor a
                     70: <a href=http://thepuffingroup.com/parisc/>Linux</a> port to PA-RISC
                     71: machines which actually resulted in some proprietory documentaion
                     72: release, even they target different class of 9000 machines.
                     73: <p>
                     74: So far here is a history of OpenBSD/hppa port
                     75: <small>(it has no dates, but use
                     76: <a href=anoncvs.html>cvs</a> to see what happened when)</small>:
1.16      mickey     77: <ul>
1.37      mickey     78: <li>kernel symbol table loading by /boot (symbolic debugging !)
1.36      mickey     79: <li>init(8) execs fine, subsequent single-user shell <u>exits</u>,
                     80:        meaning probably it found some problem initializing itself
                     81: <li>root on nfs, swap on nfs
1.32      mickey     82: <li>i82596-based ethernet (if_ie), in uncached memory mode
1.31      mickey     83: <li>Most of the MD kernel code written
1.32      mickey     84: <li>DDB support except watchpoints and single-stepping
1.31      mickey     85: <li>disk boot working
1.33      mickey     86: <li>Stinger (*CRX-*) graphics boards driver
1.22      mickey     87: <li>LASI, ASP, WAX and EISA bus adapters
1.17      mickey     88: <li>com, lpt, fdc drivers (no fd yet ;)
1.18      mickey     89: <li>PDC driver
1.16      mickey     90: <li>kernel bootstrap working
                     91: <li>network boot working through the LIF image
                     92: <li>cross-tools compiling/working
                     93: </ul>
                     94:
1.38      mickey     95: <h4>Documentation</h4>
                     96: <small>(most of which was released by HP for the
                     97: <a href=http://thepuffingroup.com/parisc/>Linux/parisc</a> project)</small>:
                     98: <ol type=1>
                     99: <li><a href=http://devresource.hp.com/devresource/Docs/Refs/PA1_1/>HP PA-RISC CPUs</a>
                    100:        <ol type=a>
                    101: <li><a href=http://puffin.external.hp.com/docs/PCXL_ers.ps>PA7100LC CPU ERS</a>
                    102: <li><a href=http://puffin.external.hp.com/docs/pcxl2_ers.ps>PA7300LC CPU ERS</a>
                    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>
                    106: <li><a href=http://puffin.external.hp.com/docs/pdc32.pdf>PDC 1.1</a>
                    107: <li><a href=http://puffin.external.hp.com/docs/iodc.pdf>IODC 1.1</a>
                    108: <li><a href=http://puffin.external.hp.com/docs/ver_nums.pdf>Version and Identification Number Allocation</a>
                    109: <li><a href=http://puffin.external.hp.com/docs/data_formats.pdf>Memory Data Formats 2.0</a>
                    110: <li><a href=http://puffin.external.hp.com/docs/pdc.pdf>PDC Procedures 2.0</a>
                    111: <li><a href=http://puffin.external.hp.com/docs/pdce.pdf>PDC Entry Points 2.0</a>
                    112: <li><a href=http://puffin.external.hp.com/docs/os_interface.pdf>OS Interface 2.0</a>
                    113:        </ol>
1.39      miod      114: <li><b>Bus controllers/bridges/adaptors</b>
1.38      mickey    115:        <ol type=a>
                    116: <li><a href=http://puffin.external.hp.com/docs/lasi_ers.ps>LASI Core Bus Adapter (including lan, scsi, serial, lpt controllers)</a>
                    117: <li><a href=http://puffin.external.hp.com/docs/dino_ers.ps>Dino PCI bridge</a>,
                    118: and <a href=http://puffin.external.hp.com/docs/Dino_3_1_Errata.html>Errata</a>
                    119: <li><a href=http://puffin.external.hp.com/docs/elroy_ers.ps>Elroy ERS (Edited for Open Source)</a>
                    120: <li>Astro <a href=http://puffin.external.hp.com/docs/astro_intro.ps>Overview</a>, <a href=http://puffin.external.hp.com/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>
                    121:        </ol>
1.40    ! mickey    122: <li><a href=http://puffin.external.hp.com/docs/sti.pdf>Stinger graphics</a>
        !           123: <li><a href=http://www.lsilogic.com/techlib/techdocs/io_standard/770_2_0.pdf>NCR 53C700/710/720 SCSI I/O Processors</a>
        !           124:     <small>(the doc is actually for 770, which is claimed as compatible)</small>
        !           125: <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    126: </ol>
                    127:
1.15      mickey    128: <h4>Build cross-tools:</h4>
1.18      mickey    129: <p>
1.15      mickey    130: <pre>
                    131: cd /usr/src
                    132: sudo make TARGET=hppa cross-tools
1.18      mickey    133: </pre>
                    134: </p>
                    135: <p>
                    136: cross-tools build process may fail in the libc stage, consider that's
                    137: all right, since libc support is not finished yet.
                    138: </p>
1.15      mickey    139:
                    140: <h4>Build boot.lif file using cross-tools:</h4>
1.18      mickey    141: <p>
                    142: <pre>
1.15      mickey    143: cd /sys/arch/hppa/stand
                    144: make obj
1.26      todd      145: set cross=(/usr/cross/hppa/usr/bin)
1.32      mickey    146: make MACHINE=hppa MACHINE_ARCH=hppa \
1.26      todd      147:        "AS=$cross/as" "CC=$cross/cc" \
                    148:        "CPP=$cross/cpp" "LD=$cross/ld" \
                    149:        "AR=$cross/ar" "STRIP=$cross/strip" \
                    150:        "LORDER=$cross/lorder" "NM=$cross/nm" \
                    151:        "RANLIB=$cross/ranlib" "SIZE=$cross/size"
1.15      mickey    152: </pre>
1.18      mickey    153: </p>
                    154: <p>
1.28      todd      155: One will have a <a href=http://hppa.fries.net/#boot_lif><em>boot.lif</em></a>
                    156: file to boot then in the obj-directory.
1.18      mickey    157: That image may include <em>diskless</em> kernel image if one was available
1.32      mickey    158: in the <em>sys/arch/hppa/compile/SHEPHERD_PIE/bsd</em>.
1.18      mickey    159: <br>
                    160: Kernel cross-build process is similiar to the one for boot, consult
1.28      todd      161: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=config&apropos=0&sektion=0
                    162: &manpath=OpenBSD+Current&format=html>config(8)</a>
                    163: and
                    164: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=options&apropos=0&sektion=0&manpath=OpenBSD+Current&format=html>options(8)</a>
                    165: for kernel build options and configuration.
1.15      mickey    166: </p>
                    167: <h4>Recent development:</h4>
1.14      mickey    168: <pre>
1.34      mickey    169: BOOT_ADMIN&gt; boot lan isl
1.14      mickey    170:
                    171: Booting
                    172:
                    173:
                    174:
                    175:
                    176:
1.34      mickey    177: &gt;&gt; OpenBSD/hppa BOOT 0.5
                    178: boot&gt; boot bsd
1.31      mickey    179: booting lf0a:/bsd: 991232+61440+208896 total=0x15a408 start 0x13000
                    180: [preserving 82952 bytes of bsd symbol table ]
1.14      mickey    181: Copyright (c) 1982, 1986, 1989, 1991, 1993
                    182: The Regents of the University of California.  All rights reserved.
1.28      todd      183: Copyright (c) 1995-1999 OpenBSD. All right Reserved.  http://www.OpenBSD.org
1.14      mickey    184:
1.32      mickey    185: OpenBSD 2.6-current (SHEPHERD_PIE) #1938: Sun Dec 12 13:02:59 EST 1999
1.31      mickey    186:     mickey@lucifier:/sys/arch/hppa/compile/SHEPHERD_PIE
1.28      todd      187: HP9000/712/80 (King Gecko) PA-RISC 1.1
1.31      mickey    188: real mem = 16777216 (73728 reserved for PROM, 12582912 used by OpenBSD)
1.32      mickey    189: avail mem = 14028800
1.31      mickey    190: using 200 buffers containing 819200 bytes of memory
1.28      todd      191: mainbus0 (root) [flex fff80000]
1.18      mickey    192: pdc0 at mainbus0
1.34      mickey    193: mem0 at mainbus0 hpa fffbf000: viper rev 0, ctrl 40400100&lt;eisa_prf&gt;, size 16M
1.32      mickey    194: cpu0 at mainbus0 hpa fffbe000: PA7000 v0.0, lev 1, cat A, 80 MHz clock
                    195: cpu0: shadows, 128K/128K D/I cache, 64 shared TLB, 8 shared BTLB
1.31      mickey    196: lasi0 at mainbus0 hpa f0100000 irq 28: ver 0
1.28      todd      197: gsc0 at lasi0
                    198: "PS/2 port" at gsc0 (type a, sv 84) hpa f0108100 not configured
                    199: "PS/2 port" at gsc0 (type a, sv 84) hpa f0108000 not configured
                    200: "floppy controller" at gsc0 (type a, sv 83) hpa f010a000 not configured
                    201: "Advanced audio (no beeper)" at gsc0 (type a, sv 7b) hpa f0104000 not configured
                    202: lpt0 at gsc0 hpa f0102000 irq 7
1.31      mickey    203: com0 at gsc0 hpa f0105000 irq 5: ns16550a, 16 byte fifo
1.32      mickey    204: ie0 at gsc0 hp f0107000 irq 8: LASI/i82596CA rev 0, address 08:00:09:1b:3c:08
1.28      todd      205: "Core SCSI" at gsc0 (type a, sv 82) hpa f0106000 not configured
1.31      mickey    206: sti0 at mainbus0 hpa f8000000: HPA208LC1280 rev 8.4, rom @ 0xf0080000
                    207: sti0: 2048x1024 frame buffer, 1280x1024 display, offset 0x0
                    208: sti0: 8x16 font type 1, 16 bpc, charset 0-255
1.14      mickey    209:
1.18      mickey    210: </pre>
1.3       fn        211: </p>
1.18      mickey    212: <small>info was typed from screen, sorry for typos</small>
1.3       fn        213: <hr>
1.28      todd      214: In order to use the <a href=http://hppa.fries.net/#boot_lif>boot.lif</a> files
                    215: you must prepare your server and instruct your machine to boot off the network:
                    216: <ol><li>Server setup</li><br>
                    217:   <ul><li>
                    218: <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>
                    219:     <ul><li><bold>/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 </bold> contains a single line per machine
                    220:                you ented to boot from the server.  Each line contains the
                    221:                ethernet address of the client hppa machine, and the filename
                    222:                to be loaded from the tftp server.  For example:
                    223:        <pre>
                    224:        8:0:9:70:c4:11    <a href=#boot_lif>boot.lif</a>    # 9000/720
                    225:        8:0:9:19:fb:a0    <a href=#boot_lif>boot.lif</a>    # 9000/725
                    226:        </pre>
                    227:        </li></ul></li>
                    228:      <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>
                    229:  </ul>
                    230: <li>Client Network Boot</li><br>
                    231: <ul><li>BOOT_ADMIN <br>
                    232:        In order to get to the BOOT_ADMIN prompt, you must hit <em>\<esc\></em> as the
                    233:        machine is coming up.  Once it probes bootable devices, type 'a' for
                    234:        the 'BOOT_ADMIN' prompt.
                    235:     </li>
                    236:     <li>network boot command <br>
                    237:        Once at the 'BOOT_ADMIN' prompt, type:
                    238: <pre>
                    239:        BOOT_ADMIN> boot lan isl
                    240: </pre>
                    241:        ... and you are on your way to booting boot.lif!
                    242:     </li>
                    243: </ul>
                    244: </ol>
                    245: <hr>
1.9       pauls     246: <a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
1.1       deraadt   247: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.3       fn        248: <br>
1.40    ! mickey    249: <small>$OpenBSD: hppa.html,v 1.39 2000/06/13 23:42:34 miod Exp $</small>
1.3       fn        250:
                    251: </body>
                    252: </html>