<br><font size=2 face="sans-serif">OK,</font>
<br>
<br><font size=2 face="sans-serif">I already tried with this code.</font>
<br>
<br><font size=2 face="Comic Sans MS">       fp = fopen("/dev/console_b",
"r+");</font>
<br><font size=2 face="Comic Sans MS">        if(fp
== NULL)</font>
<br><font size=2 face="Comic Sans MS">         
  std::cout << strerror(errno) << std::endl;</font>
<br><font size=2 face="Comic Sans MS"> </font>
<br><font size=2 face="Comic Sans MS">....</font>
<br>
<br><font size=2 face="Comic Sans MS">    fprintf(fp, string);</font>
<br><font size=2 face="Comic Sans MS">    fflush(fp);</font>
<br>
<br><font size=2 face="sans-serif">where string is a </font><font size=2 face="Comic Sans MS">char*</font><font size=2 face="sans-serif">
passed as an argument to the routine containing the fprintf.</font>
<br>
<br><font size=2 face="sans-serif">The problem is that the fopen routine
returns </font><font size=2 face="Comic Sans MS">"No such file or
directory"</font><font size=2 face="sans-serif"> error.</font>
<br>
<br><font size=2 face="sans-serif">In the RTEMS configuration file this
options are specified</font>
<br>
<br><font size=2 face="Comic Sans MS">#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
   10</font>
<br><font size=2 face="Comic Sans MS">#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS
          2</font>
<br><font size=2 face="Comic Sans MS">#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM</font>
<br>
<br>
<br><font size=2 face="sans-serif">In principle, as far as I read, should
work, but it does not. Has anybody any clue?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Cheers,</font>
<br><font size=2 face="sans-serif">        Aitor</font>
<br>
<br>
<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+aitor.viana.sanchez=esa.int@rtems.org</font>
<p><font size=1 face="sans-serif">31/08/2007 15:21</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-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: Two UARTS</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2>could be using the devices /dev/console and /dev/console_b</font><font size=3>
</font>
<br>
<br><font size=2>Cheers</font><font size=3> </font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1><b>Aitor.Viana.Sanchez@esa.int</b> </font><font size=3> </font>
<br><font size=1>Sent by: rtems-users-bounces+aitor.viana.sanchez=esa.int@rtems.org</font><font size=3>
</font>
<br>
<br><font size=1>31/08/2007 15:16</font><font size=3> </font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td width=24%>
<div align=right><font size=1>To</font></div>
<td width=75%><font size=1>RTEMS Users <rtems-users@rtems.org></font><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1>cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1>Subject</font></div>
<td><font size=1>Two UARTS</font></table>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br>
<br></table>
<br>
<br>
<br><font size=2>Hi everyone,</font><font size=3>  </font>
<br>
<br><font size=2>I've got, for sure, and stupid question. I am working
with the RTEMS for LEON architecture. I know that the standard output is
connected with the UART1, but I also have an UART2. I would like, from
a user application, to send some trace information out through the UART2...which
the easiest way to do that?</font><font size=3>  </font>
<br>
<br><font size=2>Cheers,</font><font size=3>  </font>
<br><font size=2>        Aitor</font><font size=3>
 </font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1><b>Joel Sherrill <joel.sherrill@oarcorp.com></b>
</font><font size=3>  </font>
<br><font size=1>Sent by: rtems-users-bounces+aitor.viana.sanchez=esa.int@rtems.org</font><font size=3>
 </font>
<br>
<br><font size=1>30/08/2007 15:39</font><font size=3>  </font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td width=24%>
<div align=right><font size=1>To</font></div>
<td width=75%><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-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: MacOS Tools</font></table>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br>
<br>
<br></table>
<br>
<br><font size=2><tt>Aitor.Viana.Sanchez@esa.int wrote:</tt></font><font size=3>
</font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> I tried to install the sparc-rtems-gcc using
macports but did not</tt></font><font size=3> </font>
<br><font size=2><tt>> work. I don't know whether all the RTEMS related
tools listed in the</tt></font><font size=3> </font>
<br><font size=2><tt>> macports SVN work properly or not. Does anybody
know the status of</tt></font><font size=3> </font>
<br><font size=2><tt>> these tools?</tt></font><font size=3> </font>
<br><font size=2><tt>I suspect the port files are horribly out of date.
 For sure, they do not</tt></font><font size=3> </font>
<br><font size=2><tt>distinguish between 4.6, 4.7, and 4.8.  So that's
a bad sign.</tt></font><font size=3> </font>
<br><font size=2><tt>Here are the tool versions listed in the arm-rtems-gcc
Portfile:</tt></font><font size=3> </font>
<br><font size=3>  </font>
<br><font size=2><tt>gcc 3.2.3</tt></font><font size=3> </font>
<br><font size=2><tt>newlib 1.11.0</tt></font><font size=3> </font>
<br><font size=2><tt>gcc-${version}-rtems-20030507a.diff</tt></font>
<br><font size=2><tt>newlib-${newlibversion}-rtems-20030605.diff</tt></font><font size=3>
</font>
<br><font size=3>  </font>
<br><font size=2><tt>That looks suspiciously like an older 4.6 toolset.</tt></font><font size=3>
</font>
<br><font size=3>  </font>
<br><font size=2><tt>$ /opt/rtems-4.6/bin/arm-rtems-gcc --version</tt></font><font size=3>
</font>
<br><font size=2><tt>arm-rtems-gcc (GCC) 3.2.3 (OAR Corporation</tt></font><font size=3>
</font>
<br><font size=2><tt>gcc-3.2.3-20040420/newlib-1.11.0-20030605-4)</tt></font><font size=3>
</font>
<br><font size=3>  </font>
<br><font size=2><tt>So it needs to be updated in various ways.</tt></font><font size=3>
</font>
<br><font size=3>  </font>
<br><font size=2><tt>--joel</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> Cheers,</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> A..</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> *Joel Sherrill <joel.sherrill@oarcorp.com>*</tt></font>
<br><font size=2><tt>> Sent by: rtems-users-bounces+aitor.viana.sanchez=esa.int@rtems.org</tt></font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> 29/08/2007 20:39</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> To</tt></font><font size=3> </font>
<br><font size=2><tt>>         RTEMS Users <rtems-users@rtems.org></tt></font>
<br><font size=2><tt>> cc</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> Subject</tt></font><font size=3> </font>
<br><font size=2><tt>>         MacOS Tools</tt></font><font size=3>
</font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> Hi,</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> I was curious about how to package tools for
MacOS and</tt></font><font size=3> </font>
<br><font size=2><tt>> went prowling on the web.  I knew about
BSD ports but didn't</tt></font><font size=3> </font>
<br><font size=2><tt>> know about this site which has a lot of RTEMS
ones</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> http://svn.macports.org/repository/macports/trunk/dports/cross</tt></font><font size=3>
</font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> Is someone on this list responsible for them?
 They appear to</tt></font><font size=3> </font>
<br><font size=2><tt>> be old since the gcc is 3.2.3 and there is no
mention of</tt></font><font size=3> </font>
<br><font size=2><tt>> rtems 4.7 or 4.8.</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> I am hoping this provides a starting point for
someone who</tt></font><font size=3> </font>
<br><font size=2><tt>> is interested in providing MacOS hosted RTEMS
tools.</tt></font><font size=3> </font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> --joel</tt></font><font size=3> </font>
<br><font size=2><tt>> _______________________________________________</tt></font><font size=3>
</font>
<br><font size=2><tt>> rtems-users mailing list</tt></font><font size=3>
</font>
<br><font size=2><tt>> rtems-users@rtems.com</tt></font><font size=3>
</font>
<br><font size=2><tt>> http://rtems.rtems.org/mailman/listinfo/rtems-users</tt></font><font size=3>
</font>
<br><font size=2><tt>> ------------------------------------------------------------------------</tt></font><font size=3>
</font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=2><tt>> _______________________________________________</tt></font><font size=3>
</font>
<br><font size=2><tt>> rtems-users mailing list</tt></font><font size=3>
</font>
<br><font size=2><tt>> rtems-users@rtems.com</tt></font><font size=3>
</font>
<br><font size=2><tt>> http://rtems.rtems.org/mailman/listinfo/rtems-users</tt></font><font size=3>
</font>
<br><font size=2><tt>></tt></font><font size=3> </font>
<br><font size=3>  </font>
<br><font size=2><tt>_______________________________________________</tt></font><font size=3>
</font>
<br><font size=2><tt>rtems-users mailing list</tt></font><font size=3>
</font>
<br><font size=2><tt>rtems-users@rtems.com</tt></font><font size=3> </font>
<br><font size=2><tt>http://rtems.rtems.org/mailman/listinfo/rtems-users</tt></font><font size=3>
 </font>
<br>
<br><font size=2><tt>_______________________________________________</tt></font>
<br><font size=2><tt>rtems-users mailing list</tt></font>
<br><font size=2><tt>rtems-users@rtems.com</tt></font>
<br><font size=2><tt>http://rtems.rtems.org/mailman/listinfo/rtems-users</tt></font><font size=3>
</font>
<br>
<br>
<br><font size=2><tt>_______________________________________________<br>
rtems-users mailing list<br>
rtems-users@rtems.com<br>
http://rtems.rtems.org/mailman/listinfo/rtems-users</tt></font>
<br>
<br>