Re: Ramdisk image on flash.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-02-20 at 11:30, Tibor Polgar wrote:
> Pete Popov wrote:
> > 
> > On Wed, 2003-02-19 at 22:05, Krishnakumar. R wrote:
> > > Hi,
> > >
> > > Is there any way that I can keep
> > > a ramdisk image (containing the root filesystem)
> > > in a flash device and boot to it.
> > 
> > Yes, and other architectures have support for passing arguments to the
> > kernel that tell it where the ramdisk is. I don't know that we've done
> > that for MIPS, yet.  It wouldn't be too hard to do and maybe someone on
> > this list is already working on it (I think someone actually is working
> > on it and was preparing a patch for Ralf).
> 
> For having separate initrd and kernel load we also need an aware bootloader
> that knows where to find the ramdisk.   RedBoot, from what i read, seems to be
> i386 specific.    The Yamon i've patched "COULD" be made to do it.   

I haven't looked at how initrd support is really done in other arches. But I
think the kernel copies the initrd image from its original location to a
new location, so I don't see why the original location couldn't be in
flash.  You could just pass the physical address to the kernel, and have
the kernel load it from flash to ram. 
 
Pete



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux