<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style>
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">Was this the common pitfall of not having RTS tied to CTS or something else?
If it is something someone else could easily hit, we want to warn them.
Also if the Eclipse plugin could have figured out what you got wrong and flagged you, that is a good thing to know for a future enhancement.
Open source improves as each makes the path easier for those who follow them. :)
--joel
williamssimonp@gmail.com wrote:
</pre>
<div>
<div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;">
<div>Don’t worry, it was a problem with the serial terminal. I can confirm myself the RKI runs on a Model A board!</div>
<div data-signatureblock="true">
<div> </div>
<div>Sent from Windows Mail</div>
<div> </div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;">
<div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;"><b>From:</b> williamssimonp@gmail.com<br>
<b>Sent:</b> Saturday, 10 August 2013 20:38<br>
<b>To:</b> rtems-users@rtems.org</font></div>
</div>
<div> </div>
<div>Just a quickie, I am having problems getting RKI to run. I don’t think that this is actually a problem with RKI as I have built it from the unchanged git repository in case there was a problem with my build mechanism in Eclipse and it behaves in the same
way. I am not getting anything on the terminal. I think that the problem is probably with the serial terminal setup, but I just wondered if anyone could rule out for me that it is an issue with the Model A board? I don’t think it can be memory as the linker
script only defines 128Mb of RAM anyway. The lack of networking hardware should not be an issue as networking is disabled by default in RKI, but it would be helpful I anyone could tell me that they have run RKI on a Model A!</div>
<div> </div>
<div>I am using a Model A as the lower weight and power consumption make it a better choice than the Model B for installation on a model aircraft!</div>
<div> </div>
<div>Probably more usefully, could anyone advise me on debugging a serial terminal connection to the Pi? I haven’t had to set up a serial terminal since about 1990!</div>
<div data-signatureblock="true">
<div> </div>
<div>Sent from Windows Mail</div>
<div> </div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;">
<div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;"><b>From:</b> williamssimonp@gmail.com<br>
<b>Sent:</b> Saturday, 10 August 2013 00:03<br>
<b>To:</b> rtems-users@rtems.org</font></div>
</div>
<div> </div>
<div>Well, the Eclipse plugin does work! It took a bit of messing around, but ended up being quite simple, it was down to mis-specifying the msys location. Persuading it to build the ram disk binary image was a bit of a challenge, but we got there. At the
moment I am assuming it’s going to work. We’ll find out tomorrow, assuming I can find the UART to USB cable I bought six months ago!</div>
<div>
<div> </div>
<div>Sent from Windows Mail</div>
<div> </div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;">
<div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;"><b>From:</b> Alan
Cudmore<br>
<b>Sent:</b> Friday, 9 August 2013 12:37<br>
<b>To:</b> williamssimonp@gmail.com<br>
<b>Cc:</b> rtems-users@rtems.org</font></div>
</div>
<div> </div>
<div class="moz-cite-prefix">I can get my RKI project to build on windows ( from a command prompt , without a mingw or cygwin shell )
<br>
If you can build it in a command prompt, it should build in eclipse.<br>
For my windows setup, I have the following lines in the makefile:<br>
## <br>
## Windows paths<br>
RTEMS_TOOL_BASE=c:\opt\rtems\4.11<br>
RTEMS_BSP_BASE=e:\Projects\rtems\bsps\rtems-4.11<br>
<br>
<br>
Your project sounds neat, I would love to find out more about your avionics board. Let me know if you make any progress with the I2C on the Raspberry Pi, I was going to tackle that when I get some free time.<br>
<br>
Alan<br>
<br>
<br>
On 8/9/2013 4:08 AM, <a title="mailto:williamssimonp@gmail.com" class="moz-txt-link-abbreviated" href="mailto:williamssimonp@gmail.com" target="_parent">
williamssimonp@gmail.com</a> wrote:<br>
</div>
<blockquote style="margin-top: 0px; margin-bottom: 0px;" cite="mid:5204b628.486b0e0a.49a0.6b2c@mx.google.com">
<div>Thanks for that Chris, using this build set gave me working a compiler. I hadn't been able to get RTEMS source Builder to work on Windows, but I didn’t try very hard as your build set removed the need. I built the Raspberry Pi BSP and all appears to
be well.</div>
<div> </div>
<div>I am trying to get RKI to build, but this is early days. I eventually need to use C++ and I like to use the Eclipse IDE and so I have imported the source into Eclipse with a view to getting the original C code to work, prior to porting it to C++ as a
base for my project. I am getting undefined references in the link, but I can sort this out, I just need to find which libraries are missing.</div>
<div> </div>
<div>The project I am working on is for a Raspberry Pi based autopilot. I have designed an avionics board containing the sensors. This board will interface to the Pi using I2C. I had made a small and insignificant start to writing the autopilot code, but
it was a huge job! Linux is not suitable for this kind of application and so I was going to use my own microkernel. Doing this is insanely complicated however. Using RTEMS will save me a huge amount of time as I can concentrate on writing an autopilot and
leave the details of memory management, scheduling, etc. to a proven RTOS. Once the autopilot code is in a suitable form, I will be making it, along with the avionics design, available under GPL. Any RTEMS device drivers that I write for the generic Pi peripherals,
I will make available as soon as I am happy they work so that they can be considered for inclusion in the BSP.</div>
<div> </div>
<div>Please don’t expect miracles. Although I have a lot of experience with low level programming, most of it was a while ago (early 90’s) and I have not used RTEMS before. Also, this is very much a hobby and I do have a life!</div>
<div>
<div> </div>
<div>Sent from Windows Mail</div>
<div> </div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;">
<div><font face="Calibri, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao UI', Ebrima, sans-serif" style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, "Segoe UI", Meiryo, "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "Khmer UI", "Nirmala UI", Tunga, "Lao UI", Ebrima, sans-serif; font-size: 11pt;"><b>From:</b> Chris
Johns<br>
<b>Sent:</b> Thursday, 8 August 2013 02:04<br>
<b>To:</b> <a title="mailto:rtems-users@rtems.org" class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org" target="_parent">rtems-users@rtems.org</a></font></div>
</div>
<div> </div>
Sebastian Huber wrote:<br>
><br>
> you can use the RTEMS Source Builder (RSB) for this:<br>
><br>
> <a title="http://wiki.rtems.org/wiki/index.php/RTEMS_Source_Builder" class="moz-txt-link-freetext" href="http://wiki.rtems.org/wiki/index.php/RTEMS_Source_Builder" target="_parent">
http://wiki.rtems.org/wiki/index.php/RTEMS_Source_Builder</a><br>
><br>
> I normally build the MinGW tools on Linux.<br>
><br>
<br>
I just built a new ARM compiler for MinGW using the RSB on FreeBSD using ...<br>
<br>
../source-builder/sb-set-builder --host=mingw32 --trace --log=log_arm <br>
--prefix=/opt/rtems/4.11 --no-install --bset-tar-file 4.11/rtems-arm<br>
<br>
You can find the tar file with the binaries at ...<br>
<br>
<a title="http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/" class="moz-txt-link-freetext" href="http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/" target="_parent">http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/</a><br>
<br>
I will add more architectures as they become available. These tools <br>
contain all required patches and should work on RTEMS 4.11 master.<br>
<br>
Using autoconf and automake in MSYS may require 'mount c:/opt/rtems/4.11 <br>
/opt/rtems/4.11" where "c:/opt/rtems/4.11" is the path to where you <br>
unpacked the tar file. The tool such as arm-rtems4.11-as, <br>
arm-rtems4.11-gcc should be relocatable.<br>
<br>
Chris<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a title="mailto:rtems-users@rtems.org" class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org" target="_parent">rtems-users@rtems.org</a><br>
<a title="http://www.rtems.org/mailman/listinfo/rtems-users" class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_parent">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
rtems-users mailing list
<a title="mailto:rtems-users@rtems.org" class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org" target="_parent">rtems-users@rtems.org</a>
<a title="http://www.rtems.org/mailman/listinfo/rtems-users" class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_parent">http://www.rtems.org/mailman/listinfo/rtems-users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</body>
</html>