From owner-freebsd-hackers Sun Feb 18 9:59:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 247F937B65D for ; Sun, 18 Feb 2001 09:59:11 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f1IHwmB27757; Sun, 18 Feb 2001 09:58:48 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102181758.f1IHwmB27757@iguana.aciri.org> Subject: Re: boot1 changes and etherboot support In-Reply-To: <200102171701.TAA11901@siri.nordier.com> from Robert Nordier at "Feb 17, 2001 7: 1:32 pm" To: rnordier@nordier.com (Robert Nordier) Date: Sun, 18 Feb 2001 09:58:48 -0800 (PST) Cc: rizzo@aciri.org, 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 > > + 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. ok.. do you mind then if i follow your advice and create /sys/i386/romldr/ and put there the modified boot1, makefile etc ? There has been no other feedback so i think most other people is neutral. On a separate issue, and for picobsd purposes, it would be very convenient to have yet another boot sector type that would just take an ELF kernel appended to it, load into memory and start it. I suppose this would be a variant of boot2, but do you have any idea on how complex would it be to write such a beast ? If we had it, we could just 'dd' the boot code and the kernel onto a compactflash and boot from it without having to worry about creating a filesystem. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message