From owner-freebsd-hackers Sat Feb 17 8:59:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from siri.nordier.com (c4-dbn-213.dial-up.net [196.34.154.213]) by hub.freebsd.org (Postfix) with ESMTP id 410E937B491 for ; Sat, 17 Feb 2001 08:59:46 -0800 (PST) Received: (from rnordier@localhost) by siri.nordier.com (8.9.3/8.6.12) id TAA11901; Sat, 17 Feb 2001 19:01:32 +0200 (SAST) From: Robert Nordier Message-Id: <200102171701.TAA11901@siri.nordier.com> Subject: Re: boot1 changes and etherboot support In-Reply-To: <200102171322.f1HDMZe16659@iguana.aciri.org> from Luigi Rizzo at "Feb 17, 2001 5:22:34 am" To: rizzo@aciri.org (Luigi Rizzo) Date: Sat, 17 Feb 2001 19:01:32 +0200 (SAST) Cc: rnordier@nordier.com, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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