External RAM filesystem

Aitor.Viana.Sanchez at esa.int Aitor.Viana.Sanchez at esa.int
Wed Nov 14 09:10:49 UTC 2007


Hi,


thanks a lot for the information...i will try to set it up. I will let you 
know once the things are working.


Cheers,

Aitor

Thomas Doerfler <Thomas.Doerfler at embedded-brains.de> wrote on 11/13/2007 
05:47:44 PM:

> Hi,

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

> cpukit/libblock/src/ramdisk.c

> 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
> cpukit/libfs/src/dosfs/msdos_format.c).

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

> 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

> wkr,
> Thomas.

> 
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20071114/be4fb2d7/attachment-0001.html>


More information about the users mailing list