[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

External RAM filesystem



Hi,

i got another problem mounting the ramdisk. In the first example I made, 
the rtems_ramdisk_configuration was initialized to mount an array as the 
ramdisk. 

        char ramdisk[30*1024];

        #include <rtems/bdbuf.h>
        rtems_bdbuf_config rtems_bdbuf_configuration[] = {
          { 512, 40, (unsigned char*)ramdisk }
        };
        int rtems_bdbuf_configuration_size = 1;
 
        rtems_ramdisk_config rtems_ramdisk_configuration[] = {
          {
             512, 40, (void *) ramdisk
          }
        };

I supposed then, that if I changed the array address puting instead 
another ram memory address it would work but it does not.

I am working with a LEON2 based board which has an SDRAM from the 
0x60000000 address (64MB size), and I would like to placed the ramdisk 
from this address on. But when I tried to do that, I got this error:

fsmount: mounting of "/dev/ramdisk0" to "/mnt/ramdisk" failed: No such 
file or directory

where I think, it refers to the /dev/ramdisk0 file.

Do you have an idea why this is hapenning?


//avs

-----------------------------
Aitor Viana S?nchez

ESA - European Space Technology Centre (ESTEC)
TEC-EDD - Computer and Data Systems Section
ESA/ESTEC P.O. Box 299 / 2200AG Noordwijk ZH, The Netherlands
Tel (+31) 71 565 6727
Email: aitor.viana.sanchez at esa.int



Thomas Doerfler <Thomas.Doerfler at embedded-brains.de> 
Sent by: rtems-users-bounces at rtems.org
11/15/2007 09:54 PM

To
Aitor.Viana.Sanchez at esa.int
cc
rtems-users at rtems.org
Subject
Re: External RAM filesystem





Hi,

Aitor.Viana.Sanchez at esa.int schrieb:
>
> Hi,
>
> I got everything ready to send an example and to include a wiki entry
> but fist...the example is only working in rtems-4.7.99.2-1.0.3. I also
> tried with RTEMS 4.6.5 but looks like some functions are not implemented
> in this version. This is the compilation output.

ys you are right, I implemented the msdos_format function somewhere
after 4.6.5, so you might have missed it in that version.

See:

http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/cpukit/libfs/src/dosfs/msdos_format.c


The module should be back-portable if required, but there might be some
other unresolved references then.

Are you currently stuck to 4.6.5 in your work? Which architecture are
you working on?

wkr,
Thomas.

--
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9
_______________________________________________
rtems-users mailing list
rtems-users at rtems.com
http://rtems.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20071116/0ece47ab/attachment.html