version 1.44, 2001/05/18 20:48:09 |
version 1.45, 2001/06/04 04:42:10 |
|
|
|
|
<h4>Build cross-tools:</h4> |
<h4>Build cross-tools:</h4> |
<p> |
<p> |
|
Currently, the in-tree binutils can't be used to generate cross-tools. |
|
You should use a 2.7 source tree to build them, 2.8 and later will not |
|
work. |
|
<p> |
<pre> |
<pre> |
cd /usr/src |
cd /usr/src |
sudo make TARGET=hppa cross-tools |
sudo make TARGET=hppa cross-tools |
|
|
<hr> |
<hr> |
In order to use the <a href=http://hppa.fries.net/#boot_lif>boot.lif</a> files |
In order to use the <a href=http://hppa.fries.net/#boot_lif>boot.lif</a> files |
you must prepare your server and instruct your machine to boot off the network: |
you must prepare your server and instruct your machine to boot off the network: |
<ol><li>Server setup</li><br> |
<ol> |
<ul><li> |
<li>Server setup</li><br> |
<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> |
<ul> |
<ul><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> contains a single line per machine |
<li><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> |
you entered to boot from the server. Each line contains the |
<ul> |
ethernet address of the client hppa machine, and the filename |
<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> |
to be loaded from the tftp server. For example: |
contains a single line per machine you entered to boot from the server. |
|
Each line contains the ethernet address of the client hppa machine, and |
|
the filename to be loaded from the tftp server. For example: |
<pre> |
<pre> |
8:0:9:70:c4:11 <a href=#boot_lif>boot.lif</a> # 9000/720 |
8:0:9:70:c4:11 <a href=#boot_lif>boot.lif</a> # 9000/720 |
8:0:9:19:fb:a0 <a href=#boot_lif>boot.lif</a> # 9000/725 |
8:0:9:19:fb:a0 <a href=#boot_lif>boot.lif</a> # 9000/725 |
</pre> |
</pre> |
</li></ul></li> |
</li> |
<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> |
</ul> |
</ul> |
</li> |
<li>Client Network Boot</li><br> |
<li>Recent machines won't look for rbootd at all, but require a |
<ul><li>BOOT_ADMIN <br> |
<b>bootp</b> setup.<br> |
|
<ul> |
|
<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: |
|
<pre> |
|
# 9000/715 |
|
boron:\ |
|
ha=0800095f5a6e:\ |
|
bf=boot.lif:\ |
|
hd=:\ |
|
ht=ethernet:\ |
|
ip=192.168.3.43:\ |
|
rp=/netboot/boron/root:\ |
|
sm=255.255.255.0:\ |
|
td=/tftpboot: |
|
</pre> |
|
</li> |
|
<li>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> 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>. |
|
</li> |
|
</ul> |
|
</li> |
|
<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> |
|
</ul> |
|
<li>Client Network Boot</li><br> |
|
<ul> |
|
<li>BOOT_ADMIN<br> |
In order to get to the BOOT_ADMIN prompt, you must hit <em>\<esc\></em> as the |
In order to get to the BOOT_ADMIN prompt, you must hit <em>\<esc\></em> as the |
machine is coming up. Once it probes bootable devices, type 'a' for |
machine is coming up. Once it probes bootable devices, type 'a' for |
the 'BOOT_ADMIN' prompt. |
the 'BOOT_ADMIN' prompt. |
|
|
</pre> |
</pre> |
... and you are on your way to booting boot.lif! |
... and you are on your way to booting boot.lif! |
</li> |
</li> |
</ul> |
</ul> |
</ol> |
</ol> |
<hr> |
<hr> |
<a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a> |
<a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a> |