Subject: Re: Adding bootverbose
To: =?ISO-8859-1?Q?Jarom=EDr_Dole=E8ek?= <dolecek@ibis.cz>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 07/06/2000 17:32:43
On Thu, 6 Jul 2000, Jarom=EDr Dole=E8ek wrote:

> Ben Harris wrote:
> > In article <200007061206.e66C6MY03203@saruman.ics.muni.cz> you write:
> > >Couple of issues: amigappc,arm26,mac68k don't seem to pass/recognize
> > >any boot flags. Is the info passed other way ?
> >=20
> > arm26 passes a binary structure from the bootloader to the kernel.  Loo=
k in
> > sys/arch/arm26/include/boot.h.
>=20
> Ah, I should have grepped for 'howto' even for arm26 :) Would following
> be right for arm26 ?
[snip]

Seems fine to me, yes.

> > Well, in sys/arch/vax/vax/subr.s, the VAX seems to get its boothowto fr=
om
> > R11 on old bootloaders:
> >=20
> >         movl    r11,_boothowto                  # Howto boot (single et=
c...)
> >=20
> > On later bootloaders, it's passed in the RPB (in rpb_bootr5) (see locor=
e.c):
> >=20
> >         boothowto =3D prpb->rpb_bootr5;
>=20
> Well, I did found this, just couldn't find where either r11 or prpb->rpb_=
bootr5
> is initialized, i.e. if there is way for user to specify boot flags
> similar way to i386's : boot FILE -s
> Okay, I'll look a bit further :)

Well, vax/boot/boot/boot.c sets bootr5 based on options it gets
interactively.  vax/boot/xxboot/bootxx.c seems to initialise it from the
environment, presumably so you can type "B/3" at MicroVAX etc consoles.

--=20
Ben Harris                                                   <bjh21@netbsd.=
org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm=
26/>