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