<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">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. </font>
<br>
<br><font size=2 face="sans-serif">        char
ramdisk[30*1024];</font>
<br>
<br><font size=2 face="sans-serif">        #include
<rtems/bdbuf.h></font>
<br><font size=2 face="sans-serif">        rtems_bdbuf_config
rtems_bdbuf_configuration[] = {</font>
<br><font size=2 face="sans-serif">         
{ 512, 40, (unsigned char*)ramdisk }</font>
<br><font size=2 face="sans-serif">        };</font>
<br><font size=2 face="sans-serif">        int
rtems_bdbuf_configuration_size = 1;</font>
<br><font size=2 face="sans-serif">        </font>
<br><font size=2 face="sans-serif">        rtems_ramdisk_config
rtems_ramdisk_configuration[] = {</font>
<br><font size=2 face="sans-serif">         
{</font>
<br><font size=2 face="sans-serif">         
   512, 40, (void *) ramdisk</font>
<br><font size=2 face="sans-serif">         
}</font>
<br><font size=2 face="sans-serif">        };</font>
<br>
<br><font size=2 face="sans-serif">I supposed then, that if I changed the
array address puting instead another ram memory address it would work but
it does not.</font>
<br>
<br><font size=2 face="sans-serif">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:</font>
<br>
<br><font size=2 face="sans-serif">fsmount: mounting of "/dev/ramdisk0"
to "/mnt/ramdisk" failed: No such file or directory</font>
<br>
<br><font size=2 face="sans-serif">where I think, it refers to the /dev/ramdisk0
file.</font>
<br>
<br><font size=2 face="sans-serif">Do you have an idea why this is hapenning?</font>
<br>
<br><font size=2 face="sans-serif"><br>
//avs<br>
<br>
-----------------------------<br>
Aitor Viana Sánchez<br>
<br>
ESA - European Space Technology Centre (ESTEC)<br>
TEC-EDD - Computer and Data Systems Section<br>
ESA/ESTEC P.O. Box 299 / 2200AG Noordwijk ZH, The Netherlands<br>
Tel (+31) 71 565 6727<br>
Email: aitor.viana.sanchez@esa.int</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Thomas Doerfler <Thomas.Doerfler@embedded-brains.de></b>
</font>
<br><font size=1 face="sans-serif">Sent by: rtems-users-bounces@rtems.org</font>
<p><font size=1 face="sans-serif">11/15/2007 09:54 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Aitor.Viana.Sanchez@esa.int</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">rtems-users@rtems.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: External RAM filesystem</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br><tt><font size=2>Hi,<br>
</font></tt>
<br><tt><font size=2>Aitor.Viana.Sanchez@esa.int schrieb:<br>
><br>
> Hi,<br>
><br>
> I got everything ready to send an example and to include a wiki entry<br>
> but fist...the example is only working in rtems-4.7.99.2-1.0.3. I
also<br>
> tried with RTEMS 4.6.5 but looks like some functions are not implemented<br>
> in this version. This is the compilation output.<br>
</font></tt>
<br><tt><font size=2>ys you are right, I implemented the msdos_format function
somewhere<br>
after 4.6.5, so you might have missed it in that version.<br>
</font></tt>
<br><tt><font size=2>See:<br>
</font></tt>
<br><tt><font size=2>http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/cpukit/libfs/src/dosfs/msdos_format.c<br>
</font></tt>
<br><tt><font size=2>The module should be back-portable if required, but
there might be some<br>
other unresolved references then.<br>
</font></tt>
<br><tt><font size=2>Are you currently stuck to 4.6.5 in your work? Which
architecture are<br>
you working on?<br>
</font></tt>
<br><tt><font size=2>wkr,<br>
Thomas.<br>
</font></tt>
<br><tt><font size=2>--<br>
--------------------------------------------<br>
Embedded Brains GmbH<br>
Thomas Doerfler           Obere Lagerstr. 30<br>
D-82178 Puchheim          Germany<br>
email: Thomas.Doerfler@embedded-brains.de<br>
Phone: +49-89-18908079-2<br>
Fax:   +49-89-18908079-9<br>
_______________________________________________<br>
rtems-users mailing list<br>
rtems-users@rtems.com<br>
http://rtems.rtems.org/mailman/listinfo/rtems-users</font></tt>
<br>