[Top] [All Lists]

Re: Embedded system with RAM Disk

To: "Harald Koerfgen" <>, "Victor Wells" <>
Subject: Re: Embedded system with RAM Disk
From: "Bradley D. LaRonde" <>
Date: Wed, 26 Jan 2000 14:21:53 -0500
Cc: <>, <>
References: <>
In case it should go into mainstream Linux/MIPS, I think this functionality
is already provided in the back-sync patch that we sent to Ralf.  Just
removed the #ifdef #endif around it maybe.


----- Original Message -----
From: "Harald Koerfgen" <>
To: "Victor Wells" <>
Cc: <>; <>
Sent: Wednesday, January 26, 2000 2:15 PM
Subject: RE: Embedded system with RAM Disk

> On 25-Jan-00 Victor Wells wrote:
> > I am developing an embedded system that will boot from flash.
> > I would like to load a RAM based file system to physical memory
> > and then have the kernel mount the RAM disk as the Root
> > file system.
> [...]
> >
> > Our boot process is to:
> > 1.) Load the kernel
> > 2.) Load the RAM disk/Root file system
> > 3.) Mount the RAM disk as the Root file system within the kernel
> >
> > How can I hard code the kernel to know where the RAM disk will
> > exist in physical memory?
> Once upon a time I had a hack which did something similar, linking a
> image into the kernel image which resulted in a single file for
> This is not only a nice feature for installation kernels but a must for
> which are only capable to boot a single file, for example via TFTP.
> The current mechanism, i.e. "addinitrd", works for some boxen which boot
> kernel images, but even not for all of them. Creating an kernel+ramdisk
> image and converting that into ECOFF, on the other hand, even works for
> DECstations. Depending on how you fiddle with the linker scripts the
> image can easily reside in ROM or flash or whatever.
> Well, somehow this hack didn't make it into the mainstream kernel but came
to a
> new life within the LinuxCE project and I am beginning to wonder if we
> make this the default.
> Opinions?
> ---
> Regards,
> Harald

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