Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes/common Add sparc64 tags and info
details: https://anonhg.NetBSD.org/src/rev/ec1f39c6e67e
branches: trunk
changeset: 567155:ec1f39c6e67e
user: mbw <mbw%NetBSD.org@localhost>
date: Thu Jun 03 07:25:21 2004 +0000
description:
Add sparc64 tags and info
diffstat:
distrib/notes/common/netboot | 56 +++++++++++++++++++++++++++++++------------
1 files changed, 40 insertions(+), 16 deletions(-)
diffs (163 lines):
diff -r 2e2e2309b62d -r ec1f39c6e67e distrib/notes/common/netboot
--- a/distrib/notes/common/netboot Thu Jun 03 06:17:05 2004 +0000
+++ b/distrib/notes/common/netboot Thu Jun 03 07:25:21 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: netboot,v 1.20 2003/12/15 16:10:58 martin Exp $
+.\" $NetBSD: netboot,v 1.21 2004/06/03 07:25:21 mbw Exp $
.\"
.\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -112,6 +112,9 @@
In the past, these systems used RARP and BOOTPARAMS. JavaStations
booting from OpenFirmware use DHCP.
.\}
+.if \n[sparc64] \{\
+All \*M systems use a combination of RARP and DHCP for the discovery stage.
+.\}
.if !\n[hp300]:\n[hp700] \{\
TFTP is used in the bootstrap phase to download
.if \n[macppc] \{\
@@ -132,6 +135,12 @@
which is a version of boot.net in ELF format.
It is not linked to the IP address.
.\}
+.if \n[sparc64] \{\
+the bootstrap program,
+.Pa ofwboot.net ,
+which has been linked to a file name appropriate to the client's
+IP address as described in the TFTP section below.
+.\}
.if \n[evbppc] \{\
the kernel via the on-board Ethernet card by the firmware.
Thus,
@@ -227,7 +236,7 @@
.Pp
.It
.\} \" ! \n[hp300]:\n[hp700]
-.if \n[evbppc]:\n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc] \{\
+.if \n[evbppc]:\n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc]:\n[sparc64] \{\
.ie !\n[hp300] \{\
.Xr dhcpd 8
in
@@ -313,6 +322,7 @@
filename "boot";
.\} \" \n[next68k]
.\} \" !\n[hp300]
+
#
# The path on the NFS server.
#
@@ -365,8 +375,8 @@
.No # Ic "/etc/rc.d/dhcpd restart"
.disp)
.Pp
-.\} \" ! \n[evbppc]:\n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc]
-.if \n[sparc] \{\
+.\} \" ! \n[evbppc]:\n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc]:\n[sparc64]
+.if \n[sparc]:\n[sparc64] \{\
.Pp
.It
.Xr rarpd 8
@@ -405,7 +415,7 @@
.No # Ic "/etc/rc.d/rarpd restart"
.disp)
.Pp
-.\} \" ! \n[sparc]
+.\} \" ! \n[sparc]:\n[sparc64]
.if !\n[hp300] \{\
.Pp
.It
@@ -471,25 +481,36 @@
.No # Ic "cp boot /tftpboot"
.disp)
.\}
-.if \n[sparc] \{\
+.if \n[sparc]:\n[sparc64] \{\
Get
-.Pa boot.net
+.if \n[sparc] .Pa boot.net
+.if \n[sparc64] .Pa ofwboot.net
from the
.Pa installation/netboot
directory of the distribution.
.(disp
-.No # Ic "cp boot.net /tftpboot"
+.if \n[sparc] .No # Ic "cp boot.net /tftpboot"
+.if \n[sparc64] .No # Ic "cp ofwboot.net /tftpboot"
.disp)
.Pp
Now, you need to link
-.Pa boot.net
+.if \n[sparc] .Pa boot.net
+.if \n[sparc64] .Pa ofwboot.net
to the filename that your \*M will look for.
It will look for a filename composed of the machine's IP address
+.if \n[sparc] \{\
(in hexadecimal) followed by the machine's architecture,
separated by a period.
For example, a sun4c machine which has been assigned IP address
192.168.1.10, will make a TFTP request for
.Pa C0A8010A.SUN4C .
+.\}
+.if \n[sparc64] \{\
+(in hexadecimal).
+For example, a machine which has been assigned IP address
+192.168.1.10, will make a TFTP request for
+.Pa C0A8010A .
+.\}
.Pp
You can use
.Xr bc 1
@@ -507,10 +528,11 @@
A
.Ic quit
.No # Ic "cd /tftpboot"
-.No # Ic "ln -s boot.net C0A8010A.SUN4C"
+.if \n[sparc] .No # Ic "ln -s boot.net C0A8010A.SUN4C"
+.if \n[sparc64] .No # Ic "ln -s ofwboot.net C0A8010A"
.disp)
.Pp
-.\} \" \n[sparc]
+.\} \" \n[sparc]:\n[sparc64]
.if \n[sparc] \{\
For OpenFirmware based JavaStations you use the file
.Pa bootjs.net
@@ -681,7 +703,7 @@
.No # Ic "mv netbsd-GENERIC /export/client/root/netbsd"
.disp)
.\}
-.if \n[sparc] \{\
+.if \n[sparc]:\n[sparc64] \{\
Use
.Pa binary/kernel/netbsd-GENERIC.gz ) .
.Pp
@@ -692,12 +714,14 @@
.Pp
If you are netbooting the installer, copy the distribution files to
the client's root directory and extract the tools from
-.Pa installation/netboot/rootfs.tgz .
+.if \n[sparc] .Pa installation/netboot/rootfs.tgz .
+.if \n[sparc64] .Pa installation/misc/instfs.tgz .
.Pp
.(disp
.No # Ic "cp *tgz /export/client/root"
.No # Ic "cd /export/client/root"
-.No # Ic "tar -xpzf rootfs.tgz"
+.if \n[sparc] .No # Ic "tar -xpzf rootfs.tgz"
+.if \n[sparc64] .No # Ic "tar -xpzf instfs.tgz"
.disp)
.\}
.if \n[evbppc] \{\
@@ -822,10 +846,10 @@
.if \n[hp300]:\n[hp700] \{\
rbootd=YES rbootd_flags=""
.\}
-.if \n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc] \{\
+.if \n[hp300]:\n[hp700]:\n[macppc]:\n[next68k]:\n[sparc]:\n[sparc64] \{\
dhcpd=YES dhcpd_flags="-q"
.\}
-.if \n[sparc] \{\
+.if \n[sparc]:\n[sparc64] \{\
rarpd=YES rarpd_flags="-a"
.\}
nfs_server=YES # enable server daemons
Home |
Main Index |
Thread Index |
Old Index