filesystem for battery-buffered SRAM

Björn Eriksson mdeans at algonet.se
Tue Oct 23 05:08:59 EDT 2001


On Mon, Oct 22, 2001 at 04:41:12PM +0200, Matthias Fuchs wrote:
> I have to setup an embedded Linux box that uses 1MB of battery buffered
> SRAM to store nonvolatile data.
> This memory is directly mapped into ma addressspace and needs no magic
> things to read or write to it.
> 
> What might be the best choice for a filesystem for this memory and is it
> possible to setup file access with MTD.
> With other words: Is MTD able to access normal RAM devices (no FLASH,
> but SRAM) ?

 Use mtdram with CONFIG_MTDRAM_ABS_POS. It's (the config option) there
for exactly this purpose.


-- 
//Björnen.




More information about the linux-mtd mailing list