From: Todd Inglett <tinglett@vnet.ibm.com>
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: zImage now holds vmlinux, System.map and config in sections. (fwd)
Date: 26 Feb 2003 14:01:14 -0600 [thread overview]
Message-ID: <1046289675.21297.11.camel@q.rchland.ibm.com> (raw)
In-Reply-To: <20030225175204.B21014@flint.arm.linux.org.uk>
On Tue, 2003-02-25 at 11:52, Russell King wrote:
> Well, rather than creating yet another archive system, maybe we should
> just tar the lot up and make all boot loaders aware of the tar format?
> After all, everyone understands tar and .debs better than RPMs, don't
> they?
I'm not sure ELF should really be considered "yet another archive
system." This is analogous with keeping debug in another ELF section
for user apps. You can keep it, you can strip it, etc. Other formats
would work, but as you say you'd have to modify the bootloaders to
accept them.
These sections don't have to be thrown away after boot either. While
the sections should be marked as no-load, it may be useful to actually
load them and have the kernel explicitly toss them if it finds no use
for them. Real uses would including exporting to /proc/config.gz (if
you like that kind of thing), or providing the System.map to kdb if kdb
is enabled.
Note that we also supply the initial ramdisk (which is loaded of course)
this way. In theory you could remove the ramdisk and replace it by
using objcopy, but we still have some things to fix before that will
work. This *is* useful for people who netboot (at least for ppc64
systems).
-todd
next prev parent reply other threads:[~2003-02-26 19:51 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 6:28 Mikael Starvik
2003-02-25 9:25 ` Russell King
2003-02-25 11:07 ` Ville Herva
2003-02-25 11:35 ` Russell King
2003-02-25 12:03 ` Ville Herva
2003-02-25 14:34 ` Jeremy Jackson
2003-02-26 18:41 ` Peter Bergner
2003-02-25 22:00 ` Bryan Andersen
2003-02-25 12:50 ` Remco Post
2003-02-25 13:35 ` Russell King
2003-02-25 16:38 ` Randy.Dunlap
2003-02-25 17:52 ` Russell King
2003-02-26 20:01 ` Todd Inglett [this message]
2003-02-26 20:45 ` Peter Bergner
2003-02-25 19:22 ` Ville Herva
2003-02-25 16:23 ` Randy.Dunlap
2003-02-25 20:00 ` H. Peter Anvin
2003-02-25 21:24 ` Russell King
2003-02-25 21:52 ` H. Peter Anvin
2003-02-25 23:21 ` Magnus Danielson
[not found] <Pine.LNX.4.33.0302241010200.1088-100000@localhost.localdomain>
2003-02-24 19:58 ` Randy.Dunlap
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=1046289675.21297.11.camel@q.rchland.ibm.com \
--to=tinglett@vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/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®