From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Rick Warner <rick@microway.com>, linux-kernel@vger.kernel.org
Subject: Re: zImage on 2.6?
Date: Tue, 3 May 2005 14:01:02 -0400 [thread overview]
Message-ID: <20050503180102.GC2297@csclub.uwaterloo.ca> (raw)
In-Reply-To: <20050503164012.GE11937@animx.eu.org>
On Tue, May 03, 2005 at 12:40:12PM -0400, Wakko Warner wrote:
> This is a little project I'm doing to beable to load a system onto a hard
> drive. The linux system is short lived by design and will run out of a
> tmpfs root populated by various tgz files found either on CDs or a USB
> stick.
>
> My goal (which I realize may not be achivable nor is it important in the
> long run) is to get the kernel and the initrd onto a single floppy disk
> (Currently, I'm ~80kb too large for this).
>
> I decided (remembering 2.2 days and prior when zImage was normally used) to
> try zImage to see what happened. I was going to compare the size of the
> resulting images. That's when I hit the problem.
>
> I understand that upx can compress the kernel better and I also remember
> hearing about utilizing bzip2 as the compressor for the kernel and initrd
> images.
>
> As far as my question, it still stands. Is bzImage required (i386/x86) for
> a 2.6 kernel?
Due to the 640k base memory limitations, you need to use bzImage for
any kernel that is over about 500k compressed. There is absolutely no
reason I can think of for not using bzImage. All the boot loaders
support it just fine, and the result is the same after loading. It
doesn't change the size of the kernel, just how large a kernel the boot
loader can load.
With the size of 2.6 kernels I consider zImage imposible to use anymore,
and it has never caused me any trouble to use bzImage. It seems that
practically bzImage is requried on x86 for 2.6 kernels. I don't know
how small you could make it if you left out everything except initrd and
cramfs support (assuming your kernel supports cramfs initrd's). Even
ext2 is rather big.
Len Sorensen
next prev parent reply other threads:[~2005-05-03 18:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-03 1:29 Wakko Warner
2005-05-03 2:35 ` Randy.Dunlap
2005-05-03 10:45 ` Wakko Warner
2005-05-03 14:26 ` Randy.Dunlap
2005-05-03 16:33 ` Wakko Warner
2005-05-03 16:59 ` Randy.Dunlap
2005-05-03 22:19 ` Wakko Warner
2005-05-03 22:27 ` segin
2005-05-03 22:31 ` Wakko Warner
2005-05-03 23:15 ` segin
2005-05-04 0:28 ` shogunx
2005-05-04 1:29 ` Wakko Warner
2005-07-12 4:55 ` H. Peter Anvin
2005-05-03 22:37 ` Randy.Dunlap
2005-05-03 23:05 ` Wakko Warner
2005-05-03 23:16 ` Randy.Dunlap
2005-07-12 4:54 ` H. Peter Anvin
2005-05-03 18:28 ` Krzysztof Halasa
2005-07-12 4:58 ` H. Peter Anvin
2005-05-03 16:06 ` Rick Warner
2005-05-03 16:40 ` Wakko Warner
2005-05-03 18:01 ` Lennart Sorensen [this message]
2005-05-03 18:44 ` Brian Gerst
2005-05-03 22:20 ` Wakko Warner
2005-05-03 21:42 ` Rick Warner
2005-05-03 22:23 ` Wakko Warner
2005-07-12 5:00 ` H. Peter Anvin
2005-05-04 13:50 ` Wakko Warner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050503180102.GC2297@csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=rick@microway.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®