[Top] [All Lists]

Re: Embedded system with RAM Disk

To: Charles Lepple <>
Subject: Re: Embedded system with RAM Disk
From: Ralf Baechle <>
Date: Fri, 28 Jan 2000 01:03:01 +0100
Cc: Harald Koerfgen <>, Victor Wells <>,,
In-reply-to: <>
References: <> <>
On Wed, Jan 26, 2000 at 08:26:34PM -0500, Charles Lepple wrote:

> The PPC board that I used would not load ELF images with extra sections,
> so I resurrected some code that would convert the ramdisk (and gzipped
> vmlinux, actually -- I'm not sure if the MIPS code does anything like
> this) into assembly 'define word' statements, assemble the resulting
> file, and link it in. The file had symbols for initrd_start & _length,
> and the assembly was surprisingly quick. The ramdisk, in effect, became
> part of the data section of the kernel image (zImage, actually).

In which case the PPC's ELF loader is hopless broken.  An ELF loader is
a quite simple thing, it only needs to process all the PT_LOAD entries
in the programm header table, done.


PS: - I thought one's complement machines are dead
    by now ;-)

<Prev in Thread] Current Thread [Next in Thread>