<html 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Helvetica Neue";
panose-1:2 0 5 3 0 0 0 2 0 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;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">NASA’s Core Flight System open source bundle has support for the RTEMS 4.11 pc686 BSP.<o:p></o:p></p>
<p class="MsoNormal">RTEMS is built with the following options:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">../rtems/configure --target=i386-rtems4.11 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --enable-rtemsbsp=pc686 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --prefix=${HOME}/rtems-4.11 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --enable-networking \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --enable-cxx \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --disable-posix \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> --disable-deprecated \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> BSP_ENABLE_VGA=0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> CLOCK_DRIVER_USE_TSC=1 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> USE_COM1_AS_CONSOLE=1 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> BSP_PRESS_KEY_FOR_RESET=0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> BSP_RESET_BOARD_AT_EXIT=1
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And the code (or samples such as ticker) are run with the following QEMU command:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre><span style="font-size:9.0pt;font-family:Consolas;color:#24292E">qemu-system-i386 -m 128 \ <o:p></o:p></span></pre>
<pre><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> -kernel core-cpu1.exe \<o:p></o:p></span></pre>
<pre><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> -drive file=fat:rw:${INSTALL_DIR}/cpu1,format=raw \<o:p></o:p></span></pre>
<pre><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> -nographic \<o:p></o:p></span></pre>
<pre><span style="font-size:9.0pt;font-family:Consolas;color:#24292E"> -no-reboot<o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(Where core-cpu1.exe is the cross compiled application. I can also run ticker.exe and other samples with this command )<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I build the pc686 BSP with the same examples and try running on QEMU with the same options, QEMU returns immediately.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there a different set of options I should use for the pc686 BSP on RTEMS 5.1?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Alan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>