Subject: Re: vax bootstrap [matt@netbsd.org: CVS commit: syssrc]
To: Simon Burge <simonb@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 05/23/2000 17:48:38
At 10:11 AM 5/24/2000 +1000, Simon Burge wrote:
>Matt Thomas wrote:
>
> > Module Name:  syssrc
> > Committed By: matt
> > Date:         Tue May 23 23:34:21 UTC 2000
> >
> > Modified Files:
> >
> >       syssrc/sys/arch/vax/boot/boot: boot.c
> >       syssrc/sys/arch/vax/boot/xxboot: bootxx.c
> >
> > Log Message:
> >
> > Allow for boot.vax and netbsd.vax when booting.  this allows a multi
> > architecture CD to be made which includes VAX support.
>
>Where does the vax look on the boot media for the location of xxboot?
>It'd be nice if this didn't overlay with the pmax, alpha and sparc
>locations.

It depends on the VAX.  The vaxes that can have CDs use bytes 2-7 and then
can control what bytes they use.

>In sector 0, the pmax uses bytes 8-31, the alpha uses the last 32 bytes
>and I'm not sure what the sparc uses, but some of it overlaps what the
>alpha uses...

barely no conflict.

>Also, alpha at the moment can only use sector 1-15 for it's xxboot.
>Pmax defaults to using the same, but can be told to use elsewhere.
>Alpha should be able to do the same, but there hasn't been a need for
>this so far.

The vax can load from anywhere but it currently doesn't use this feature.
Indeed I'd to write a installboot for vax that deals sector 0 and xxboot
as separte items.  So that /mdec/xxboot.vax could be on the CD and have
VMB (the vax monitor bootstrap) load it directly instead of having it in
the first 8KB of the disk.
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message