If you have the ELF file in a ramdisk, it's already in memory.
> Is this possible? Any pointers will be greatly
> appreciated.
No, a linux kernel can't work without a filesystem.
> PS: Currently I use CRAMFS to get the ELF file into
> ramdisk. Then I load the ELF file into memory using
> CRAMFS. I want to get rid of the CRAMFS on top of ELF.
Why not use the cramfs as your rootfs?
Erik
-- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/