From owner-freebsd-hackers Mon Jan 26 22:15:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA16996 for hackers-outgoing; Mon, 26 Jan 1998 22:15:57 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA16951 for ; Mon, 26 Jan 1998 22:15:43 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id FAA01292; Tue, 27 Jan 1998 05:43:15 +0100 From: Luigi Rizzo Message-Id: <199801270443.FAA01292@labinfo.iet.unipi.it> Subject: Re: compressed bootloader ? To: mike@smith.net.au (Mike Smith) Date: Tue, 27 Jan 1998 05:43:15 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: <199801270047.LAA00745@word.smith.net.au> from "Mike Smith" at Jan 27, 98 11:16:44 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > > image. Thinking about the size problem of the secondary boot loader > > (7KB or so). gzipping the boot loader brings the size down from 7120 to > > 4496, so I believe that even adding some 5-700 bytes for the > > uncompression code would give us some additional space (assuming there > > is any use for it). Any taker ? > > If you have a compact self-extractor for boot images, go for it. Put > it in boot1 and have it extract boot2, if that's at all possible. well, the code I was talking about is part of http://www.slug.org.au/etherboot/etherboot-3.2.tar.gz and should be < 1K (they claim a tradeoff point of 1.5K when code compresses 60%). But isn't boot1 the 512 bytes and boot2 7120 ? I was thinking to put it into boot2. luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________