External RAM filesystem

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Tue Nov 13 16:47:44 UTC 2007


yes, it should be possible. There still exists a ram disk driver, which
performs this function, see:


We used it for our very first tests of the FATFS. If I recall correctly,
these are the steps to work with it:

- define a rtems_ramdisk_config data structure (e.g. in the init module)
with the fixed name "rtems_ramdisk_configuration".

- you can/must define the block size, the number of blocks and location
in this structure

- If you add the RAMDISK_DRIVER_TABLE_ENTRY to your device driver table,
it will initialize automatically when your system comes up

- Or, you can initialize the ramdisk with "ramdisk_initialize".

- Next, you must format the ramdisk (use msdos_format function in

- Then you can mount the ramdisk as a (unpartitioned) volume with

I hope I am rather acurate on these steps.

It would be nice if you could give us feedback, when things work.

And it would be even nicer, if you could write a wiki entry on this
under www.rtems.com/wiki


Aitor.Viana.Sanchez at esa.int schrieb:
> Hi all,
> is it possible to configure RTEMS somehow to access and external RAM
> memory address where a FAT32 (for instance) file system is placed? Is it
> possible to configure the address and size?
> Thanks in advance.
> Aitor
> ------------------------------------------------------------------------
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users

embedded brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
Tel. : +49-89-18 90 80 79-2
Fax  : +49-89-18 90 80 79-9
email: Thomas.Doerfler at embedded-brains.de
PGP public key available on request

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list