<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>
<div>Hello Noble,</div>
<div><br>
</div>
<div>When you build an application, the kernel (library) gets linked in. Look at the source code for the Hello World example as start.</div>
<div><br>
</div>
<div>Many of us are VxWorksified in our thinking, where the Kernel is active and expects you to dynamically load the object files. RTEMS is different.</div>
<div><br>
</div>
<div>Regards,</div>
<div>
<div>
<div>
<div>-----------</div>
<div>* Amalaye Oyake                                       *</div>
<div>* Instrument Product Software Development Group  */\  *</div>
<div>* Jet Propulsion Laboratory, Pasadena            *||  *</div>
<div>* CA 91109 818.393.7168 work   626.399.1707 cell /||\ *</div>
<div>**************************************************^^***</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="text-align: left; border-bottom-width: medium; border-bottom-style: none; border-bottom-color: initial; border-left-width: medium; border-left-style: none; border-left-color: initial; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; border-top-style: solid; border-right-width: medium; border-right-style: none; border-right-color: initial; padding-top: 3pt; ">
<span style="font-weight:bold">From: </span>"Noble N. Nkwocha" <<a href="mailto:Noble.N.Nkwocha@nasa.gov">Noble.N.Nkwocha@nasa.gov</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, January 15, 2014 8:13 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a>" <<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a>><br>
<span style="font-weight:bold">Subject: </span>RTEMS Installation & Configuration<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:304816465;
        mso-list-type:hybrid;
        mso-list-template-ids:-484149918 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">Hi everyone,<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">My name is Noble N. Nkwocha and I am new to and with RTEMS.<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">I was successful “I believe”, in installing and Configuring RTEMS 4.10.2 for the i386 and PowerPC target processors.   I used the pre-built tools and binary versions.    Would someone please
 help with the following questions?<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoListParagraph" style="text-indent: -0.25in; "><!--[if !supportLists]--><font class="Apple-style-span" face="Courier"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><!--[endif]-->Where is the resulting RTEMS Kernel after a successful configuration?   What is its filename?   Should I expect to have a file named “i386-rtems4.10-run” and another one named “powerpc-rtems4.10-run” after the successful build of
 RTEMS4.10.2?<o:p></o:p></font></p>
<p class="MsoListParagraph"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoListParagraph" style="text-indent: -0.25in; "><!--[if !supportLists]--><font class="Apple-style-span" face="Courier"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><!--[endif]-->Why is it that I cannot not get a successful RTEMS configuration for “powerpc” and “rad750” as target and BSP options respectively?   I get an error message indicating that a branch for the BSP (rad750) was not found.   The same
 problem occurs when I try “qemuprep” for a “powerpc” BSP.     The RTEMS Documentations I have, state that both the “rad750” and “qemuprep” are included in the standard RTEMS PowerPC BSPs distribution.   What am I not doing correct, here?<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoListParagraph" style="text-indent: -0.25in; "><!--[if !supportLists]--><font class="Apple-style-span" face="Courier"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span><!--[endif]-->Why do I get the System Error message below, each time I try the following:   <o:p></o:p></font></p>
<p class="MsoListParagraph"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoListParagraph" style="line-height: 7.55pt; "><font class="Apple-style-span" face="Courier">$<span style="letter-spacing:2.05pt"></span>i386-rtems4.10-gdb<span style="letter-spacing:2.05pt">
</span>`f<span style="letter-spacing:-.05pt">i</span>nd<span style="letter-spacing:.35pt"> </span>. -name
<span style="letter-spacing:1.5pt"> </span>ticker.exe`<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier"><img width="314" height="203" id="Picture_x0020_1" src="cid:image003.png@01CF11E2.C6AA62D0"><o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">This the command I used for my configurations.  “powerpc” and “psim” were substituted for the target and BSP for our successful PowerPC configuration<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in; "><b><font class="Apple-style-span" face="Courier">    ../rtems-4.10.2/configure --target=i386-rtems4.10 --enable-rtemsbsp=i386ex --enable-cxx --enable-tests=samples<o:p></o:p></font></b></p>
<p class="MsoNormal" style="margin-left: 0.5in; "><b><font class="Apple-style-span" face="Courier">    make all<o:p></o:p></font></b></p>
<p class="MsoNormal" style="margin-left: 0.5in; "><b><font class="Apple-style-span" face="Courier">    make install<o:p></o:p></font></b></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">Thank you,<o:p></o:p></font></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<div>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">Noble N. Nkwocha<o:p></o:p></font></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">(681) 753-5218 Work<o:p></o:p></font></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">(304) 816-3718 Home<o:p></o:p></font></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">(505) 238-5927 Cellular (Evenings, Nights and Weekends
<b><u>ONLY</u></b>)<o:p></o:p></font></p>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier"><a href="mailto:Noble.N.Nkwocha@nasa.gov" target="_blank">Noble.N.Nkwocha@NASA.Gov</a><o:p></o:p></font></p>
</div>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><font class="Apple-style-span" face="Courier"><b>From:</b> <a href="mailto:rtems-users-bounces@rtems.org">
rtems-users-bounces@rtems.org</a> [<a href="mailto:rtems-users-bounces@rtems.org">mailto:rtems-users-bounces@rtems.org</a>]
<b>On Behalf Of </b>Joel Sherrill<br>
<b>Sent:</b> Monday, January 06, 2014 12:24 PM<br>
<b>To:</b> John Harwell; <a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<b>Subject:</b> Re: RTEMS Posix lock failure<o:p></o:p></font></p>
</div>
</div>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<p class="MsoNormal"><o:p><font class="Apple-style-span" face="Courier"> </font></o:p></p>
<div>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">On 1/6/2014 10:58 AM, John Harwell wrote:<o:p></o:p></font></p>
</div>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt; ">
<p class="MsoNormal" style="margin-bottom:12.0pt"><font class="Apple-style-span" face="Courier">Hello,<br>
<br>
When RTEMS entries the Internal_error_Occurred() routine, it is within the context of an ISR, according to the value of _ISR_Nest_level.<br>
After reading the documentation on rtems_fire_after() <a href="http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__ClassicTimer.html#gad9785a6bd78ab5a591a134d147b2bdd3">
here</a>, I realized that because my function attempts to acquire a global<br>
mutex lock within an ISR context, RTEMS will correctly lockup. Now that I know the cause, restructuring my code should be<br>
relatively simple.<o:p></o:p></font></p>
</blockquote>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">You could use the timer server version of the calls but acquiring a lock potentially could<br>
potentially negatively impact other timers managed by the server.<br>
<br>
<o:p></o:p></font></p>
<p class="MsoNormal" style="margin-bottom: 12pt; "><font class="Apple-style-span" face="Courier">Thanks for your help,<o:p></o:p></font></p>
<div>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier">-- <br>
John Harwell<br>
Engineer<br>
High Reliability Software Section<br>
Communications and Embedded Systems Department<br>
<br>
<a href="mailto:john.harwell@swri.org">john.harwell@swri.org</a><br>
Office: 210-522-5965<br>
Southwest Research Institute (SwRI)<br>
6220 Culebra Road, San Antonio, TX 78238-5166<o:p></o:p></font></p>
</div>
<p class="MsoNormal"><font class="Apple-style-span" face="Courier"><br>
<br>
<o:p></o:p></font></p>
<pre><font class="Apple-style-span" face="Courier" size="3">-- <o:p></o:p></font></pre>
<pre><font class="Apple-style-span" face="Courier" size="3">Joel Sherrill, Ph.D.             Director of Research & Development<o:p></o:p></font></pre>
<pre><font class="Apple-style-span" face="Courier" size="3"><a href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a>        On-Line Applications Research<o:p></o:p></font></pre>
<pre><font class="Apple-style-span" face="Courier" size="3">Ask me about RTEMS: a free RTOS  Huntsville AL 35805<o:p></o:p></font></pre>
<pre><font class="Apple-style-span" face="Courier" size="3">Support Available                (256) 722-9985</font><font class="Apple-style-span" face="Courier,sans-serif" style="color: rgb(0, 0, 0); font-size: 16px; "><o:p></o:p></font></pre>
</div>
</div>
</div>
</span>
</body>
</html>