Messages in this thread |  | | Date | Mon, 4 Sep 2000 21:22:14 +0100 | From | Philipp Rumpf <> | Subject | Re: [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/
|  |