Re: [PATCH 1/5] kbuild: default kernel image

From: Tom Rini (trini_at_kernel.crashing.org)
Date: 06/16/04

  • Next message: Eugeny S. Mints: "ooops, addition to my recent question - I'm interested in a UP case"
    Date:	Wed, 16 Jun 2004 08:34:32 -0700
    To: Christoph Hellwig <hch@infradead.org>, Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>
    
    

    On Tue, Jun 15, 2004 at 11:07:39PM +0200, Sam Ravnborg wrote:
    > On Tue, Jun 15, 2004 at 09:59:52AM +0100, Christoph Hellwig wrote:
    > > In fact I'd love to reduce what the kernel builds to just
    > > vmlinux and vmlinux.gz, but I guess all those lilo user will kill me ;-)
    > I do not see the point in this.
    > Better make life easier - but in a nice and structured way.
    > Take a look at arch/ppc/boot/simple to see that the bootloader step is not trivial..

    That's not a good example of why it's not trivial, really :)
    - 2/5th are what final frob'ing do I need to run for the f/w.
    - 1/5th are what extension to use in /tftpboot/
    - 2/5th are what platform-specific bits do I need
    And 1 (so I'm a bit of 100%, shoot me :)) is for an actual CONFIG
    option, that we only use in the bootloader code as on very small memory
    machines you might not want to load at the default address for your
    platform.

    We've actually talked about moving all of that code out and using, for
    example, a stripped down U-Boot (the point of arch/ppc/boot/ stuffs is
    to not depend on the f/w to do anything aside from load us into memory)
    that'd just load up the kernel and let it go. All of the information
    that would be needed by such a program are already avail via IKCONFIG
    (and could be stripped out afterwards I believe for size).

    > The concept with a clean and lean kernel that cannot be used in real-life without
    > doing lot's of stuff is a dead end.

    Define "lot's of stuff". IIRC, sparc* has always been just a vmlinux,
    and 99% of pmac users use yaboot + vmlinux.

    -- 
    Tom Rini
    http://gate.crashing.org/~trini/
    -
    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: Eugeny S. Mints: "ooops, addition to my recent question - I'm interested in a UP case"

    Relevant Pages

    • Re: How to use vxworks bootloader to load monta vista linux kernel image?
      ... The linux didn't come up. ... Can vxworks boot loader load binary kernel? ... >>file size is even smaller than the vmlinux. ...
      (comp.os.linux.embedded)
    • Re: [Alsa-devel] 2.6.15-rc6: boot failure in saa7134-alsa.c
      ... They then load in the wrong order and bad things happen, resulting in the recommendation that alsa should always be modules. ... In this basis, we should not have to change the code in alsa at all, but instead change the kernel to understand the load order, even if compiled into the kernel and not as modules. ... 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/ ...
      (Linux-Kernel)
    • Re: Switch back to Real mode and then boot strap
      ... it is really good if I have to load another kernel. ... > the hard disk has been imaged with requested operating system by a user. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] new timeofday core subsystem (v. A3)
      ... > be unable to load the kernel or load an executable. ... self-modifying code. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.4 : 100% CPU use on EIDE disk operarion, VIA chipset
      ... >> deadline elevator or increased readahead for your load. ... > If the processor and the kernel could do other things during wa, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)