Re: zImage on 2.6?

From: Randy.Dunlap
Date: Tue May 03 2005 - 18:20:43 EST


On Tue, 3 May 2005 19:05:32 -0400 Wakko Warner wrote:

| Randy.Dunlap wrote:
| > On Tue, 3 May 2005 18:19:22 -0400 Wakko Warner wrote:
| >
| > | Randy.Dunlap wrote:
| > | > On Tue, 3 May 2005 12:33:43 -0400 Wakko Warner wrote:
| > | > | Yes, I do recall it says "System is 724k". zImage failes. bzImage says
| > | > | 724k as well and succeeds.
| > | >
| > | > The image size needs to be <= 0x7f000 (520192 bytes, 508 KB).
| > | >
| > | > (No, I don't know why, just that this is what is being
| > | > enforced.)
| > | >
| > | > Just cut more out of the kernel image...
| > |
| > | Any suggestions? All that I know of that is modularizable is a module,
| > | except for keyboard, ext2, unix sockets, ramdisk+initrd. Some of the options I need since
| > | this is supposed to support all relevent hardware that we use where I work.
| > | (all scsi,ide,sata,raid cards,ethernet cards that we have)
| >
| > Are those (mostly) modular?
|
| Yes.
|
| > Is this supposed to be a kernel that is used on a regular basis,
| > not just a temporary quick boot thing?
|
| I'd say it would be used frequently, but short lived.
|
| > You want one kernel that handles many configurations but fits
| > in < 510 KB? That is aggressive. :)
|
| =) hehe, if I can.
|
| > I think of this as being a custom kernel, but it sounds
| > like you want a very general-purpose (small) one.
|
| Yes, very custom.
|
|
| > | SCSI_PROC_FS=y
| > drop this one
| >
| > | AIC7XXX_DEBUG_ENABLE=y
| > | AIC7XXX_REG_PRETTY_PRINT=y
| > | AIC79XX_DEBUG_ENABLE=y
| > | AIC79XX_REG_PRETTY_PRINT=y
| > drop these.
|
| All SCSI is a module, these I assume are just capabilites in the modules.

OK.

| > | SOUND_GAMEPORT=y
| > drop.
|
| Couldn't find a configure option to disable this. It caught my eye too. I
| don't have gameport in input configured.

OK, probably hidden.

| > | VT=y
| > | VT_CONSOLE=y
| > | HW_CONSOLE=y
| > | VGA_CONSOLE=y
| > | DUMMY_CONSOLE=y
| > drop that ^^^^^
|
| All of those or DUMMY_CONSOLE?

I meant just DUMMY_CONSOLE.

|
| > so what's the problem with using a bzImage kernel?
|
| Nothing, I wanted to see if zImage would be smaller. As others have stated,
| it's not. However, I did not know this.
|
| I do appriate your time in helping me. I'm real close to getting this on a
| single floppy (if I formatted to 1.7mb, it would be easy. I know some of
| our systems that I would need this on can't use these). One goal is to use
| the same kernel for all booting.

Good luck, have fun.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/