lkml.org 
[lkml]   [2000]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.2: /proc/config.gz
On Mon, Sep 04, 2000 at 12:24:02PM +0200, Werner Almesberger wrote:
> Philipp Rumpf wrote:
> > Most architectures can boot ELF images -- defining section names for
> > .config.gz and the version string in the ELF file can be done in an
> > architecture-independent fashion.
>
> Yep, then add some magic number and a checksum, and you can have an
> architecture-independent retrieval program.

Actually, wouldn't it be best to define bzImage to be
1. a traditional bzImage
2. an ELF file
3. the length of the elf file in decimal
catted together ?

The same thing could be done for other non-ELF boot image formats, and real
ELF can just keep the additional sections.

I don't know any image format it's incompatible with, it allows us to add
further data (and code, should we ever need it), and it's still relatively
simple to implement (not as simple as a magic nuber, but it's reliable and
extensible).

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.061 / U:18.060 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site