From owner-freebsd-current Fri Jan 8 13:20:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26955 for freebsd-current-outgoing; Fri, 8 Jan 1999 13:20:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (slip139-92-122-30.joh.za.ibm.net [139.92.122.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26945 for ; Fri, 8 Jan 1999 13:20:43 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id XAA00229; Fri, 8 Jan 1999 23:17:47 +0200 (SAT) From: Robert Nordier Message-Id: <199901082117.XAA00229@ceia.nordier.com> Subject: Re: can't boot from CD and floppy after make release In-Reply-To: <199901081608.IAA02956@dingo.cdrom.com> from Mike Smith at "Jan 8, 99 08:08:38 am" To: mike@smith.net.au (Mike Smith) Date: Fri, 8 Jan 1999 23:17:44 +0200 (SAT) Cc: rnordier@nordier.com, abial@nask.pl, jkh@zippy.cdrom.com, dillon@apollo.backplane.com, mike@smith.net.au, andreas@klemm.gtn.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > Bear in mind, though, that you'll need additional 100kB of place on the > > > floppy (that's approx. the difference between kzip stubs and the > > > /boot/loader). > > > > > > In this light it makes sense to do what rnordier suggested - namely, to > > > write a small BTX application which would only be able to load kernel.gz. > > > I _may_ embark on such a project if I have some docs about how to use BTX. > > > > If it's likely to be used, I don't mind writing this. It might make a > > good example application for the BTX docs I'm trying to write. > > It'd definitely be useful for the PicoBSD people, and anyone else that > didn't need the loader's functionality. I'd also be interested in > knowing if you have any compression/decompression tools suitable for > use with BTX eg. to compress the application data/expand it when BTX > relocates. I quite like Jordan's suggestion of kzip'ing the loader. The compression is not especially efficient: -r-xr-xr-x 1 rnordier wheel 122880 Jan 3 23:55 loader -rwxr-xr-x 1 rnordier wheel 70760 Jan 8 23:05 loader.kz but boot1/boot2 don't have a problem with loader.kz. But maybe this isn't the compression you had in mind (I'm assuming "when BTX relocates" refers to what the btxldr code does when unpacking the composite /boot/loader object before invoking the BTX kernel). -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message