<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">Thank you Jan for responding. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">When building RTEMS ( 1st step ) everthings went fine until this line : </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><b><br></b></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><div class="gmail_default"><b>building: arm-rtems4.12-gdb-7.11-x86_64-linux-gnu-1</b></div><div class="gmail_default"><b>error: building arm-rtems4.12-gdb-7.11-x86_64-linux-gnu-1</b></div><div class="gmail_default"><b>Build FAILED</b></div><div class="gmail_default"><b>  See error report: rsb-report-arm-rtems4.12-gdb-7.11-x86_64-linux-gnu-1.txt</b></div><div class="gmail_default"><b>error: building arm-rtems4.12-gdb-7.11-x86_64-linux-gnu-1</b></div><div class="gmail_default"><b>Build Set: Time 1:38:43.259719</b></div><div class="gmail_default"><b>Build FAILED</b></div><div><br></div></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)">I had this error that I can't found anywhere the solution for it. I attached the report bug .. Can you please tell me what is going wrong ? </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(11,83,148)"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="verdana, sans-serif" color="#073763">________<br></font></div><div><font face="verdana, sans-serif" color="#073763"><br></font></div><font face="verdana, sans-serif" color="#073763"><b>Badr EL HIOUEL</b> </font><div><font face="verdana, sans-serif" color="#073763"><br></font><div><font face="verdana, sans-serif" color="#073763">Mail :<a href="mailto:elh.badr@gmail.com" target="_blank"> elh.badr@gmail.com</a></font></div><div><font face="verdana, sans-serif" color="#073763">Tel.  : 06.62.32.51.16</font></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-14 20:49 GMT+01:00 Jan Sommer <span dir="ltr"><<a href="mailto:soja-lists@aries.uberspace.de" target="_blank">soja-lists@aries.uberspace.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Belh,<br>
<br>
We only have the MicroZed board here, but many things should work pretty similar.<br>
First you need to build a cross-compiler toolchain for RTEMS.<br>
This is done using the RTEMS source builder. This nice tool will usually do everything for you.<br>
You can follow basically the direction from here: <a href="https://devel.rtems.org/wiki/Developer/Tools/RSB" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/Developer/Tools/RSB</a><br>
You just have to build the toolchain for your architecture, which would be 4.12/rtems-arm (assuming you want to build RTEMS 4.12)<br>
If that succeeds you have a working compiler, which can generate executables for arm-based computers.<br>
Add the binary directory of your new toolchain to your PATH environment variable.<br>
<br>
Next, you need to build an RTEMS-bsp. This will use the toolchain from the previous step and compile the RTEMS-kernel for your specific board.<br>
Clone into the rtems git-repository and first call ./bootstrap inside the directory.<br>
Then, it's a standard configure, make, make install process.<br>
1. Create a build directory outside of the source tree<br>
2. Run<br>
../rtems-git/configure --target=arm-rtems4.12 \<br>
--enable-rtemsbsp=xilinx_zynq_zedboard \<br>
--enable-tests=samples \<br>
--enable-cxx \<br>
--enable-posix \<br>
--prefix=/opt/rtems/bsps/4.12 BSP_ARM_A9MPCORE_PERIPHCLK=333333333U<br>
<br>
Change the prefix-path and the options according to your needed setup.<br>
3. Run: make && make install<br>
<br>
This should compile and install RTEMS for the zedboard to the given destination.<br>
Usually this includes some simple example programs like ticker.exe search for it in the install or build directory.<br>
<br>
The tricky part is now to actually execute the RTEMS program (i.e. ticker.exe) on your zedboard. For that you need a bootloader and<br>
a valid configuration for the FPGA. I basically installed XSDK and Vivado from Xilinx and then followed the tutorial for the microZed board from here: <a href="http://zedboard.org/support/design/1519/10" rel="noreferrer" target="_blank">http://zedboard.org/support/design/1519/10</a><br>
There, when creating the boot-images, instead of adding the elf-file of the hello-world program, I added the ticker.exe and then continued to write the image to the flash memory (or sd-card). The tutorials above are for the microZed board, but if you take a look at them you will probably be able to find sources for the normal zedboard.<br>
<br>
I hope this might help you to get started. If you have more specific questions maybe some of the people with a real zedboard can help.<br>
Unfortunately we haven't managed to run an RTEMS application using u-boot so far.<br>
<br>
Best regards,<br>
<br>
   Jan<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Am Monday 14 March 2016, 17:34:42 schrieb Badr El Hiouel:<br>
> Hello ,<br>
><br>
> I own a Zedboard and i don't know how to launch RTEMS on it. I followed<br>
> some instructions i found on the internet but i don't really understand<br>
> what i do. I have confusion between building RTEMS bsp and Xilinx bsp,<br>
> confusion where to build it on XSDK or as i saw on the internet using<br>
> U-boot ?<br>
><br>
> Can you please suggest me a workflow to follow , i really need this.<br>
><br>
> Thank you for your help.<br>
><br>
> Belh<br>
> ​<br>
<br>
</div></div></blockquote></div><br></div>