On Mon, 7 May 2007, Ori Idan wrote:

I have an embedded system with SRAM (sperated from main DRAM memory) This
SRAM is several Kbytes in size and is battery backed up. I would like to put
on it a file system with minimal overhead.
What file system would you advise using and also how do I set the file
system so it will reside on the SRAM?
I understand I can not use standard RAM disk as RAM disk resides in Linux
buffers space and thus I can not define the base address it uses.

I am not sure a standard file system on a block device is a good idea for several KB (how much is a several?). Fat12 was use on 160KB devices, so it probably does not have a high overhead.

If you do select this route, and the SRAM is mapped somewhere in memory address space, you need one of slram or phram. They are part of mtd, and (at least one of them) is included in any kernel that includes mtd.


--
Matan.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to