> Sally Glass wrote:
> 
> Hi,
> 
> I'm trying to embed a 1MB ram disc into the kernel. I have sort-of
> copied
> the bootpimage build, producing my own .lds file. The kernel hangs
> when it
> calls printk() for the first time in main(). I think this is because I
> have
> got something wrong with the memory layout. But what...?
> 
> Anyway, is there an easy way to do this? I want to link the ramdisk
> with the
> kernel, load it as one file, then have the kernel use the ramdisk on
> startup
> (I can tack a loader onto the start to move it out of the way).
> 
> I'm learning a lot more about the kernel than I'd hoped would be
> necessary
> and I'm all web-mailing-list-searched out!
> BTW, I'm porting to an ELF board from Inhand Electronics.


        Sun Javastations are booted this way - there's a pretty good how-to on
the subject of embedded root fs ramdisks at
http://www.linuxdoc.org/HOWTO/JavaStation-HOWTO/buildfilesystemchapter.html#EmbeddedRootProcedureSection

 - Eric

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to