<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=utf-8">
<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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";
mso-fareast-language:FR;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Yes, I re-downloaded your repo a few hours ago, and run bootstrap –p and bootstrap, but I’m having the same error again and again…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Hesham ALMatary [mailto:heshamelmatary@gmail.com]
<br>
<b>Sent:</b> Friday, September 18, 2015 2:34 PM<br>
<b>To:</b> TUAZ TORCHON, Dimitri<br>
<b>Cc:</b> users@rtems.org<br>
<b>Subject:</b> RE: Difficulties building RTEMS<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi,<o:p></o:p></p>
<p>I don't know why you are getting this error. Are you sure you're using my repo? And have you run bootstrap -p and bootstrap?
<o:p></o:p></p>
<div>
<p class="MsoNormal">On Sep 18, 2015 10:34 AM, "TUAZ TORCHON, Dimitri" <<a href="mailto:dimitri.tuaztorchon@airbus.com">dimitri.tuaztorchon@airbus.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi,<br>
<br>
Indeed, using RSB is more simple ! I configured it with option "--without-rtems" because I want to compile the version with the microblaze bsp.<br>
But when compiling rtems-microblaze (with configuration line --target=microblaze-rtems4.11 --disable-networking --disable-posix --disable-cxx --enable-rtemsbsp=microblaze_fpga --prefix=$HOME/rtems), I got an error :<br>
<br>
../../../../../microblaze_fpga/lib/librtemscpu.a(libcsupport_a-cachealignedalloc.o): In function `rtems_cache_aligned_malloc':<br>
/projets/1007/stage/rtos/b-rtems/microblaze-rtems4.11/c/microblaze_fpga/cpukit/libcsupport/../../../../../../rtems-microblaze/c/src/../../cpukit/libcsupport/src/cachealignedalloc.c:18: undefined reference to `rtems_cache_get_data_line_size'<br>
collect2: error: ld returned 1 exit status<br>
<br>
I checked cachealignedalloc.c, and this .c file include <rtems.h>, which include <rtems.h/cache.h> in which there is a declaration of rtems_cache_get_data_line_size. So I think the error occurs during the linking (and one line above, we see that ld returned
exit status.)<br>
<br>
In order to see if the linker works, I tried to create an executable with a simple .c file, and I got this warning :<br>
"$HOME/development/rtems/4.11/lib/gcc/microblaze-rtems4.11/4.9.3/../../../../microblaze-rtems4.11/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000000050"<br>
<br>
Does this mean that the linker can't find the linker script ? Yet, the source builder did not pick up any error...<br>
<br>
Thanks for your help<br>
<br>
-----Original Message-----<br>
From: Hesham ALMatary [mailto:<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>]<br>
Sent: Wednesday, September 16, 2015 11:03 AM<br>
To: TUAZ TORCHON, Dimitri<br>
Cc: <a href="mailto:users@rtems.org">users@rtems.org</a><br>
Subject: Re: Difficulties building RTEMS<br>
<br>
On Wed, Sep 16, 2015 at 9:54 AM, TUAZ TORCHON, Dimitri<br>
<<a href="mailto:dimitri.tuaztorchon@airbus.com">dimitri.tuaztorchon@airbus.com</a>> wrote:<br>
> I followed the guide "Getting started with RTEMS". But I've found a solution : I introduced the "creat()" in libgloss. And then I figured out than other functions were missing to (opendir, closed, readdir,...)<br>
><br>
You should use RTEMS Source Builder (RSB) [1] to install the<br>
MicroBlaze toolchain for RTEMS (if you haven't already). RTEMS is not<br>
using any libgloss stuff.<br>
<br>
[1] <a href="https://docs.rtems.org/rsb/" target="_blank">https://docs.rtems.org/rsb/</a><br>
> -----Original Message-----<br>
> From: Hesham ALMatary [mailto:<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>]<br>
> Sent: Wednesday, September 16, 2015 10:43 AM<br>
> To: TUAZ TORCHON, Dimitri<br>
> Cc: <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> Subject: Re: Difficulties building RTEMS<br>
><br>
> On Tue, Sep 15, 2015 at 9:09 AM, TUAZ TORCHON, Dimitri<br>
> <<a href="mailto:dimitri.tuaztorchon@airbus.com">dimitri.tuaztorchon@airbus.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> It's the configuration options I use, but when I make "make all", I still have the error :<br>
>><br>
>> "checking for creat... no<br>
>> configure: error: Missing function creat in libc<br>
>> configure: error: /bin/sh '../../../../../rtems-microblaze/c/src/../../cpukit/configure' failed for ../../cpukit<br>
>> gmake[2]: *** [microblaze_fpga] Error 1"<br>
>><br>
> How did you install the toolchain?<br>
><br>
>> And indeed, when I check into libc, there is no function creat. I figured out that it is an obsolete function now.<br>
>><br>
>> -----Original Message-----<br>
>> From: Hesham ALMatary [mailto:<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>]<br>
>> Sent: Friday, September 11, 2015 5:01 PM<br>
>> To: Joel Sherrill<br>
>> Cc: TUAZ TORCHON, Dimitri; <a href="mailto:users@rtems.org">users@rtems.org</a><br>
>> Subject: Re: Difficulties building RTEMS<br>
>><br>
>> On Fri, Sep 11, 2015 at 3:52 PM, Joel Sherrill<br>
>> <<a href="mailto:joel.sherrill@oarcorp.com">joel.sherrill@oarcorp.com</a>> wrote:<br>
>>><br>
>>><br>
>>> On 9/11/2015 9:38 AM, Hesham ALMatary wrote:<br>
>>>><br>
>>>> On Fri, Sep 11, 2015 at 2:51 PM, TUAZ TORCHON, Dimitri<br>
>>>> <<a href="mailto:dimitri.tuaztorchon@airbus.com">dimitri.tuaztorchon@airbus.com</a>> wrote:<br>
>>>>><br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> I’m using your repository, and I get the error I described.<br>
>>>>> So it is not possible to run complex RTEMS applications on a Microblaze ?<br>
>>>>> I have to use a Spartan6 card.<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>> What configuration options do you use? This is a simple configuration<br>
>>>> line the should work: "--target=rtems-microblaze<br>
>>>> --enable-rtemsbsp=microblaze_fdga --disable-networking<br>
>>>> --disable-posix"<br>
>>><br>
>>><br>
>>> I suspect that the argument for the target should be:<br>
>>><br>
>> Yeah sorry my bad.<br>
>><br>
>>> --target=microblaze-rtems4.11<br>
>>><br>
>>>> I am afraid only hello world sample would work. UART is the only BSP<br>
>>>> driver out there for this BSP currently. I got Hello World running on<br>
>>>> Atlys (Spartan 6) board.<br>
>>><br>
>>><br>
>>> We need to discuss if this is far enough along to merge again now that<br>
>>> we are past a branch. I recall some odd code issues with the vendor HAL<br>
>>> and not running on a simulator at all. But that is a dusty memory.<br>
>>><br>
>> I didn't run it on the simulator at all, instead I worked directory<br>
>> with the FPGA. I can see that there's some interest on this port,<br>
>> which is a good motivation to work on upstreaming it. I'll try to<br>
>> clean-up the code and send initial patches, but there're no timing<br>
>> guarantees since I'm pretty busy with school and moving out stuff.<br>
>><br>
>>><br>
>>>>><br>
>>>>> Thanks for your answer,<br>
>>>>><br>
>>>>> Dimitri<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> From: Hesham ALMatary [mailto:<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>]<br>
>>>>> Sent: Friday, September 11, 2015 3:41 PM<br>
>>>>> To: TUAZ TORCHON, Dimitri<br>
>>>>> Cc: <a href="mailto:users@rtems.org">users@rtems.org</a><br>
>>>>> Subject: Re: Difficulties building RTEMS<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> What repos are you using to build RTEMS for microblaze? FYI, there's no<br>
>>>>> microblaze port in RTEMS/upstream. I've worked on an initial port for it,<br>
>>>>> you can find it here [1]. It just runs Hello World sample.<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> [1] <a href="https://github.com/heshamelmatary/rtems-microblaze" target="_blank">
https://github.com/heshamelmatary/rtems-microblaze</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> Thanks,<br>
>>>>><br>
>>>>> Hesham<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Fri, Sep 11, 2015 at 11:04 AM, TUAZ TORCHON, Dimitri<br>
>>>>> <<a href="mailto:dimitri.tuaztorchon@airbus.com">dimitri.tuaztorchon@airbus.com</a>> wrote:<br>
>>>>><br>
>>>>> Hi,<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> I’m trying to build RTEMS for a Microblaze target, but I have troubles.<br>
>>>>> Indeed, the compiler tries to seek “creat()” function in libc, but this<br>
>>>>> function is not in libc.<br>
>>>>> So it generate an error, and I don’t know how I can fix it….<br>
>>>>><br>
>>>>> Thanks a lot,<br>
>>>>><br>
>>>>> Dimtiri Tuaz<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> ***************************************************************<br>
>>>>><br>
>>>>> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des<br>
>>>>> informations confidentielles et/ou protegees ou dont la diffusion est<br>
>>>>> restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le<br>
>>>>> copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en<br>
>>>>> avertir immediatement l'expediteur et d'effacer ce courriel de votre<br>
>>>>> systeme. Airbus Defence and Space et les sociétés Airbus Group declinent<br>
>>>>> toute responsabilite en cas de corruption par virus, d'alteration ou de<br>
>>>>> falsification de ce courriel lors de sa transmission par voie electronique.<br>
>>>>><br>
>>>>> This email (including any attachments) may contain confidential and/or<br>
>>>>> privileged information or information otherwise protected from disclosure.<br>
>>>>> If you are not the intended recipient, please notify the sender immediately,<br>
>>>>> do not copy this message or any attachments and do not use it for any<br>
>>>>> purpose or disclose its content to any person, but delete this message and<br>
>>>>> any attachments from your system. Airbus Defence and Space and Airbus Group<br>
>>>>> companies disclaim any and all liability if this email transmission was<br>
>>>>> virus corrupted, altered or falsified.<br>
>>>>><br>
>>>>> ---------------------------------------------------------------------<br>
>>>>><br>
>>>>> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital:<br>
>>>>> 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux,<br>
>>>>> France<br>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> users mailing list<br>
>>>>> <a href="mailto:users@rtems.org">users@rtems.org</a><br>
>>>>> <a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>><br>
>>>>> Hesham<br>
>>>>><br>
>>>>> ***************************************************************<br>
>>>>> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des<br>
>>>>> informations confidentielles et/ou protegees ou dont la diffusion est<br>
>>>>> restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le<br>
>>>>> copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en<br>
>>>>> avertir immediatement l'expediteur et d'effacer ce courriel de votre<br>
>>>>> systeme. Airbus Defence and Space et les sociétés Airbus Group declinent<br>
>>>>> toute responsabilite en cas de corruption par virus, d'alteration ou de<br>
>>>>> falsification de ce courriel lors de sa transmission par voie electronique.<br>
>>>>> This email (including any attachments) may contain confidential and/or<br>
>>>>> privileged information or information otherwise protected from disclosure.<br>
>>>>> If you are not the intended recipient, please notify the sender immediately,<br>
>>>>> do not copy this message or any attachments and do not use it for any<br>
>>>>> purpose or disclose its content to any person, but delete this message and<br>
>>>>> any attachments from your system. Airbus Defence and Space and Airbus Group<br>
>>>>> companies disclaim any and all liability if this email transmission was<br>
>>>>> virus corrupted, altered or falsified.<br>
>>>>> ---------------------------------------------------------------------<br>
>>>>> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital:<br>
>>>>> 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux,<br>
>>>>> France<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>><br>
>>> --<br>
>>> Joel Sherrill, Ph.D. Director of Research & Development<br>
<span lang="EN-US">>>> </span><a href="mailto:joel.sherrill@OARcorp.com"><span lang="EN-US">joel.sherrill@OARcorp.com</span></a><span lang="EN-US"> On-Line Applications Research<br>
>>> Ask me about RTEMS: a free RTOS Huntsville AL 35805<br>
>>> Support Available (256) 722-9985<br>
>><br>
>><br>
>><br>
>> --<br>
>> Hesham<br>
>><br>
>> This mail has originated outside your organization, either from an external partner or the Global Internet.<br>
>> Keep this in mind if you answer this message.<br>
>><br>
>><br>
>><br>
>><br>
>> ***********************************</span>****************************<br>
>> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer
le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification
de ce courriel lors de sa transmission par voie electronique.<br>
>> This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission
was virus corrupted, altered or falsified.<br>
>> ---------------------------------------------------------------------<br>
>> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France<br>
><br>
><br>
><br>
> --<br>
> Hesham<br>
><br>
> This mail has originated outside your organization, either from an external partner or the Global Internet.<br>
> Keep this in mind if you answer this message.<br>
><br>
><br>
><br>
><br>
> ***************************************************************<br>
> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer
le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification
de ce courriel lors de sa transmission par voie electronique.<br>
> This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission
was virus corrupted, altered or falsified.<br>
> ---------------------------------------------------------------------<br>
> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France<br>
<br>
<br>
<br>
--<br>
Hesham<br>
<br>
This mail has originated outside your organization, either from an external partner or the Global Internet.<br>
Keep this in mind if you answer this message.<br>
<br>
<br>
<br>
<br>
***************************************************************<br>
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le
contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification
de ce courriel lors de sa transmission par voie electronique.<br>
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments
and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted,
altered or falsified.<br>
---------------------------------------------------------------------<br>
Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France<o:p></o:p></p>
</div>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>***************************************************************
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France</pre></font></td></tr></table>