<html 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
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:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:2001695280;
        mso-list-type:hybrid;
        mso-list-template-ids:-1035405058 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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I am trying to run RTEMS on QEMU using ideally the mpc750 target and as a secondary PReP. I have run into a few issues so far and will outline them below.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1) This is more of a curiosity thing than  something majorly important, but is the Power PC 750 target mis-labeled as “mcp750”? All the documentation I have come across says “MPC750” and searching for “MCP750” via Google pulls up mostly
 RTEMS documentation and one Motorola document that is not available, but cached by Google with headings as “MCP750”, but in the body text uses “MPC750”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2) I ideally want to run the 750 target and am able to build RTEMS just fine, but cannot find documentation on using that particular target in QEMU. If anyone can point me in the right direction, the rest of the issues below become less
 important.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">3) I decided to try the “qemu” targets for PPC. I found both “qemuppc” and “qemuprep” at
<a href="https://devel.rtems.org/wiki/TBR/BSP">https://devel.rtems.org/wiki/TBR/BSP</a> and only “qemuprep” at
<a href="https://devel.rtems.org/wiki/TBR/Website/Board_Support_Packages#PowerPCBSPs">
https://devel.rtems.org/wiki/TBR/Website/Board_Support_Packages#PowerPCBSPs</a>.  I was wary of “qemuprep” since it has question marks next to it, so I tried “qemuppc”. That built just fine, but did not see any documentation using “qemuppc” RTEMS in QEMU. I
 was going to adapt <a href="https://devel.rtems.org/wiki/Developer/Simulators/QEMU/Preparation">
https://devel.rtems.org/wiki/Developer/Simulators/QEMU/Preparation</a> , but did not see a built fakerom bin file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">4) I then tried “qemuprep” since it has documentation, but it fails building for “fsdosfssync01.exe” (ld returned 1 exit status) See below actual output<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So I guess has anyone had success running RTEMS in QEMU using any of the above PPC targets or something close enough to the above targets that I can get a sample working?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">QEMUPReP Build Error Output:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    Making all in fsdosfssync01<o:p></o:p></p>
<p class="MsoNormal">    make[6]: Entering directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests/fsdosfssync01'<o:p></o:p></p>
<p class="MsoNormal">    powerpc-rtems4.11-gcc -B../../../../../qemuprep/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../Source/c/src/../../testsuites/fstests/fsdosfssync01 -I..  -I../../../../../../../Source/c/src/../../testsuites/fstests/../support/include  
 -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../Source/c/src/../../testsuites/fstests/fsdosfssync01/init.c<o:p></o:p></p>
<p class="MsoNormal">    mv -f .deps/init.Tpo .deps/init.Po<o:p></o:p></p>
<p class="MsoNormal">    powerpc-rtems4.11-gcc -B../../../../../qemuprep/lib/ -specs bsp_specs -qrtems -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs   
 -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic   -o fsdosfssync01.exe init.o
<o:p></o:p></p>
<p class="MsoNormal">    collect2: error: ld returned 1 exit status<o:p></o:p></p>
<p class="MsoNormal">    Makefile:618: recipe for target 'fsdosfssync01.exe' failed<o:p></o:p></p>
<p class="MsoNormal">    make[6]: *** [fsdosfssync01.exe] Error 1<o:p></o:p></p>
<p class="MsoNormal">    make[6]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests/fsdosfssync01'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:585: recipe for target 'all-local' failed<o:p></o:p></p>
<p class="MsoNormal">    make[5]: *** [all-local] Error 1<o:p></o:p></p>
<p class="MsoNormal">    make[5]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:247: recipe for target 'all' failed<o:p></o:p></p>
<p class="MsoNormal">    make[4]: *** [all] Error 2<o:p></o:p></p>
<p class="MsoNormal">    make[4]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites/fstests'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:314: recipe for target 'all-recursive' failed<o:p></o:p></p>
<p class="MsoNormal">    make[3]: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoNormal">    make[3]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep/testsuites'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:425: recipe for target 'all-recursive' failed<o:p></o:p></p>
<p class="MsoNormal">    make[2]: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoNormal">    make[2]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c/qemuprep'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:286: recipe for target 'all-recursive' failed<o:p></o:p></p>
<p class="MsoNormal">    make[1]: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoNormal">    make[1]: Leaving directory '/home/xubuntu/Development/RTEMS/RTEMS_OS/build/powerpc-rtems4.11/c'<o:p></o:p></p>
<p class="MsoNormal">    Makefile:410: recipe for target 'all-recursive' failed<o:p></o:p></p>
<p class="MsoNormal">    make: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">- Joey D.<o:p></o:p></p>
</div>

<DIV>
<BR>
<BR>
This message and any enclosures are intended only for the addressee.  Please <BR>
notify the sender by email if you are not the intended recipient.  If you are <BR>
not the intended recipient, you may not use, copy, disclose, or distribute this <BR>
message or its contents or enclosures to any other person and any such actions <BR>
may be unlawful.  Ball reserves the right to monitor and review all messages <BR>
and enclosures sent to or from this email address.<BR>
</DIV></body>
</html>