Re: zImage on 2.6?

From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 05/03/05

  • Next message: Nishanth Aravamudan: "Re: [RFC][PATCH] new timeofday-based soft-timer subsystem"
    Date:	Tue, 3 May 2005 09:59:13 -0700
    To: Wakko Warner <wakko@animx.eu.org>
    
    

    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 majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Nishanth Aravamudan: "Re: [RFC][PATCH] new timeofday-based soft-timer subsystem"

    Relevant Pages

    • Re: zImage on 2.6?
      ... 724k as well and succeeds. ... My initrd is using ramdisk, ... Lab tests show that use of micro$oft causes cancer in lab animals ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.0-test9 status report
      ... Radeon framebuffer ... At boot time, since like kernel 2.5.59, there is a pile of random junk ... and sometimes when I hit the backspace i get a little ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] [3/48] Suspend2 2.1.9.8 for 2.6.12: 301-proc-acpi-sleep-activate-hook.patch
      ... When the user has an initrd or initramfs, ... image, encryption keys and so on have been set up, but the root fs has ... probably will result in hard disk corruption if they echo to do_resume ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: The "best" value of HZ
      ... > boot time instead of at compile time? ... > Do you think it would be a desired feature the knowledge of the best value ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test9 vs sound
      ... |> saw an announcement regarding a new modutils tool set last night, ... | You need the new module-init-tools. ... boot time, otherwise write a script. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)