Messages in this thread | | | Date | Wed, 16 Jan 2002 20:11:38 +0100 | From | Erik Mouw <> | Subject | Re: Interpreting ELF file on a ramdisk (block device) |
| |
On Wed, Jan 16, 2002 at 04:40:08AM -0800, prodyut hazarika wrote: > I get an ELF file on a ramdisk using TFTP. I want to > interpret the ELF file in the ramdisk, and load it > into memory (SDRAM) using the ramdisk as a block > device, but without using any file system.
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/
| |