<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 9:54 AM, Raghav Nayak <span dir="ltr"><<a href="mailto:raghav.nayak@nxp.com" target="_blank">raghav.nayak@nxp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Joel,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">After bootstrap if I want to add something for configure do you have any steps?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> </span></p></div></div></blockquote><div><br></div><div>Normally, I configure something like this in a separate build tree:</div><div><br></div><div>mkdir b</div><div>cd b</div><div>../rtems/configure --target=CPU-rtems4.12 --enable-rtemsbsp=XXX --enable-tests=samples --disable-networking</div><div>make</div><div><br></div><div>CPU and BSP get replaced appropriately. </div><div><br></div><div>But there is NO aarch64 code in RTEMS right now. If you have a specific board in mind and do a BSP for it,</div><div>you could use the arm-rtems4.12 tools and treat the CPU core on that BSP as an ARMv7.</div><div><br></div><div>To do anything ARMv8 specific is going to require work somewhere. aarch64 needs a port</div><div>and a BSP. arm 32-bit armv8 will start with by treating the board as armv7 and possibly</div><div>adding a multilib variant to gcc to get access to specific instructions that are desirable.</div><div><br></div><div>--joel</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">With Regards
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> Raghav<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Joel Sherrill [mailto:<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>]
<br>
<b>Sent:</b> Monday, February 29, 2016 9:14 PM<br>
<b>To:</b> Raghav Nayak<br>
<b>Cc:</b> Chris Johns; Sebastian Huber; <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: RTEMS ARMv8 Query<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Feb 29, 2016 at 3:22 AM, Raghav Nayak <<a href="mailto:raghav.nayak@nxp.com" target="_blank">raghav.nayak@nxp.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
<br>
I could build the armv8 toolchain properly but do I need to do anything else to build RTEMS other than providing the toolchain path<u></u><u></u></p>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">There is no 64-bit aarch64 port of RTEMS. One would have to be written.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In the mean time, you can run 32-bit ARMv7 code on the same CPU but not take advantage of newer instructions in 32-bit ARMv8 mode.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span>With Regards</span><br>
<span> Raghav</span><br>
<br>
<span>-----Original Message-----</span><br>
<span>From: users [mailto:<a href="mailto:users-bounces@rtems.org" target="_blank">users-bounces@rtems.org</a>] On Behalf Of Chris Johns</span><br>
<span>Sent: Saturday, February 27, 2016 9:12 AM</span><br>
<span>To: <a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>; Sebastian Huber</span><br>
<span>Cc: <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a></span><br>
<span>Subject: Re: RTEMS ARMv8 Query</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On 27/02/2016 7:16 AM, Joel Sherrill wrote:<br>
><br>
> Chris.. hopefully you have time this weekend to do some quick (for<br>
> you) RSB work. :)<br>
><br>
<br>
Yes, I will do this once the next gcc snapshot is made which should be in a day or so.<br>
<br>
> + Jeff Johnston just cut a newlib snapshot which includes two things<br>
> I wanted. So the tools in general need to bump for this.<br>
> + I sent you the two patches for binutils. Hopefully he can use them<br>
> to add the aarch64-rtems and x86_64-rtems targets to the RSB.<br>
<br>
I will add this to rtems-tools.git/tools/4.12.<br>
<br>
Chris<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>