Re: zImage on 2.6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 May 2005 12:33:43 -0400 Wakko Warner wrote:

| Randy.Dunlap wrote:
| > On Tue, 3 May 2005 06:45:03 -0400 Wakko Warner wrote:
| > | > It's supported in arch/i386/Makefile (and some others).
| > | > For i386, you'll need to disable enough (lots of) options to make the
| > | > resulting output file small enough...
| > | 
| > | The resultant bzImage is ~760kb.  I compiled out everything I could, only
| > | ram disk/initrd, and ext2 are compiled in.
| > | 
| > | If you'd like to see the .config, I'll send it up.
| > 
| > Are you saying that zImage still fails (image is too large?) ?
| 
| 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...

| > I built one, but I wouldn't want to boot it.  :)
| > It looks like you would need to put almost everything into
| > an initrd to make it usable.
| 
| That was the idea in this.  Once I get my stuff the way I want it, I'll
| probably move on to using initramfs.  My initrd is using ramdisk, my / is on
| tmpfs and is populated by .tgz files on other media (The boot time is
| generally short lived by design anyway)


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux