Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 19:01:32 +0200 (SAST)
From:      Robert Nordier <rnordier@nordier.com>
To:        rizzo@aciri.org (Luigi Rizzo)
Cc:        rnordier@nordier.com, hackers@freebsd.org
Subject:   Re: boot1 changes and etherboot support
Message-ID:  <200102171701.TAA11901@siri.nordier.com>
In-Reply-To: <200102171322.f1HDMZe16659@iguana.aciri.org> from Luigi Rizzo at "Feb 17, 2001  5:22:34 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:

> > Luigi Rizzo wrote:
> > 
> > > I have spent some time trying to put etherboot[1] code onto the
> > > hard disk so that it can be selected using the FreeBSD boot
> > > manager. I ended up doing it with a small amt of modifications
> > > to the "boot1" code, for which a patch is attached.
> > > 
> > > Maybe it could be interesting in applying this patch to the standard
> > > boot1 code (apart for the PRT_BSD change, which should be unmodified).
> > 
> > The size of the boot1 code must be <= 446 bytes.  The code already gets
> > customised a lot, for example, in embedded work and space needs to be
> > left to allow for that.  So I wouldn't personally be in favour of adding 
> > this to the standard boot1.
 
> On the other hand, the ability to load a rom image is very useful,
> so i wonder what do you think is the best approach among the following:
> 
>   + put some conditional-compilation code in boot1.s
>   + have a separate file, say bootrom.s, maybe in the same directory
>     as the existing boot1
>   + pass the modified code to the etherboot people so they can include
>     in their source tree.
> 
> in all sincerity i'd love to have this code in the FreeBSD source tree
> rather than have to resort to some external repository.

My preference would be for a separate file in a separate directory, 
more or less similar to cdldr and pxeldr; I'd be least keen on handling
this with conditional-compilation.

That's just me, though, and this probably isn't a case where the views
of the author/maintainer should have any special weight.

-- 
Robert Nordier

rnordier@nordier.com  //  Le monde est plein de fous, et qui n'en veut pas voir
rnordier@FreeBSD.org  //  Doit se tenir tout seul, et casser son miroir.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102171701.TAA11901>