Subject: Working hp300 network boot code!
To: None <port-hp300@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 09/01/1995 22:55:58
I'm happy to announce new working network boot code for NetBSD/hp300.
The system works similar to a Sun, except for the method of getting the
boot code to the machine, which is done with rbootd rather than with tftp.
Note that in order to netboot an hp300, you're going to need the latest
version of rarpd. Earlier versions were `married' to tftp, which posed a
problem for hp300s.
Also note that you're currently going to need a big-endian machine for
the rbootd server ... it's currently not byte-order safe, and seems to
rely heavily to how structures are put together on m68k boxes. Someone
is working on this problem, and it will hopefully be resolved soon.
Don't be discouraged if you think that the kernel is taking too long
to load ... It may depend on how fast the machine is (I tested it on
a 16.67MHz 68020) ... But the spinning bar definitely tells you that it's
doing _something_ :-)
Also -- remember, you need at least a Rev C boot rom to netboot. You
_cannot_ netboot an hp320.
I haven't had a chance to update the diskless(8) manpage yet, but for
those not familiar with diskless booting, read it anyhow, along with the
manpage for rbootd(8). Note that you can ignore the tftp-related stuff
in diskless(8) as far as the hp300 is concerned.
Since I have a long weekend, I'm going to try and get a binary snapshot
put up on ftp.NetBSD.ORG, including GENERIC and DISKLESS kernels, and
the SYS_NBOOT lif file.
If you have any problems using this stuff, please let me know. In any
case, I have a 319 running quite happily:
NetBSD 1.0A (DISKLESS) #2: Fri Sep 1 19:07:33 PDT 1995
thorpej@basalt:/work/netbsd/src/sys/arch/hp300/compile/DISKLESS
HP9000/318/319/330 (16.67MHz MC68020 CPU, MC68851 MMU, 16.67MHz MC68881 FPU)
real mem = 8380416
avail mem = 5808128
using 204 buffers containing 835584 bytes of memory
hil1: US ASCII keyboard
dma: 98620C with 2 channels, 32 bit DMA
grf0: 1024 x 768 64 color lo-res catseye display
grf0 csr 0x560000
dca0 at sc9, ipl 5, flags 0x1
le0: hardware address 08:00:09:01:23:e6
le0 at sc21, ipl 5
nfs_boot: using network interface 'le0'
nfs_boot: client_addr=0xccbc9814
nfs_boot: server_addr=0xccbc9801
nfs_boot: hostname=granite.SJ.Xenotropic.COM
root on basalt:/u3/granite/root
swap on basalt:/u3/granite/swap
granite (thorpej) ~ 102% df
Filesystem 1024-blocks Used Avail Capacity Mounted on
basalt:/u3/granite/root 669710 467465 135274 78% /
basalt:/usr 49479 46128 877 98% /usr
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
fdesc 1 1 0 100% /dev
amd:58 0 0 0 100% /nfs
[ . . . ]
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939