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

Re: loading a compressed ramdisk image



Michael Schmitz wrote:
> 
> > I'm trying to set up a system that will load a compressed root image
> > from the disk (eventually flash) into a ramdisk and run the root
> > filesystem from ram.  I was wondering if there is an "rdev" type utility
> > for the PPC that lets the kernel know that it wants to load a compressed
> > image into ram and what device that image lives on.
> 
> That's the bootloader's job on PPC. With a sane OF implementation, your
> boot loader would be yaboot and something like initrd=<of-path to
> ramdisk> and append="root=/dev/ram" should do.
> 
>         Michael

Is this functionality missing from the PPC or is it just convention to
let the bootloader handle this?  

My problem with having the bootloader do this is that we're writing our
own bootloader and I don't want to make it any more complex than it has
to be.

Andy



Reply to: