<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi Jeol,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I was doing bootstrap in the top of the tree, Thanks for your tip.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">As per  Sebastian Huber suggested I'm moving my development to master branch.<br>In RTEMS 5, after adding some changes in the start.S file if I give successive make as 'make RTEMS_BSP=lpc32xx_mzx',<br>the changes are getting reflected in the hello.exe sample. I don't need to give a clean before each make.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I have one more doubt, is there a way to build only specific samples from /testsuites/samples?<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><b><span style="font-family:arial,helvetica,sans-serif"><span style="font-weight:normal">Thank you & Regards,</span></span></b><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><b><span style="font-weight:bold;font-size:9pt">Amarnath MB</span></b><b><span style="font-weight:bold;font-size:9pt"></span></b></span><br><span style="font-family:arial,helvetica,sans-serif"><b></b></span><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018 at 6:44 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018, 12:36 AM Amarnath MB <<a href="mailto:amarnath.mb@mistralsolutions.com" target="_blank">amarnath.mb@mistralsolutions.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div><br></div><div>I am a noob to <span class="gmail-m_-5308906892396521091m_5319117988604447612gmail-m_7989339838703027566gmail-il">RTEMS</span><span class="gmail-m_-5308906892396521091m_5319117988604447612gmail-m_7989339838703027566gmail-il"></span>. Currently working on developing <span class="gmail-m_-5308906892396521091m_5319117988604447612gmail-m_7989339838703027566gmail-il">an RTEMS 4.11 BSP </span><span class="gmail-m_-5308906892396521091m_5319117988604447612gmail-m_7989339838703027566gmail-il"></span> for a new SOC based on ARM926EJS.</div><div>I have taken lpc32xx_mzx as the reference BSP and I was able to successfully build the BSP in Ubuntu 16.04 using the steps in</div><div>RTEMS user manual. <br></div><div>Below is the time taken for completing each step in BSP building:</div><div>1. bootstrapping takes 20 mins,</div><div>2. configuring takes 3 mins</div><div>3. make takes 18 mins</div><div>4. install takes 4 mins</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You are developing a bsp so you may be able to take some shortcuts. </div><div dir="auto"><br></div><div dir="auto">First only build the samples. There is no point in build 500+ tests until you pass hello, ticker, etc.<br></div><div dir="auto"><br></div><div dir="auto">If you change a BSP Makefile.am or <a href="http://configure.ac" target="_blank">configure.ac</a>, bootstrap from that directory not the top of the tree.</div><div dir="auto"><br></div><div dir="auto">Configure with --enable- maintainer-mode which accounts for dependencies from changing configure or Makefiles.</div><div dir="auto"><br></div><div dir="auto">If you are on a VM, give it more cores and use the option to limit the VM from using 100% of the CPU time. The base OS will need some cycles but not half the cores worth while you are using the VM.</div><div dir="auto"><br></div><div dir="auto">Give the VM at least 2GB if you have enough RAM to do that. 4 if you have 8GB or more.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div><br></div><div>When I give a make after adding some changes in the start.S file, the changes are not reflected in the hello.exe sample.</div><div>I need to give a clean and then a make to have the changes reflect in the hello.exe, as a result, each make takes 18 mins</div><div>which is very huge compared to other builds like u-boot. <br></div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">From the build tree:</div><div dir="auto"><br></div><div dir="auto">find . -name *.exe | xargs -e rm</div><div dir="auto">make </div><div dir="auto"><br></div><div dir="auto">Redirecting make to a log file helps and -j helps</div><div dir="auto"><br></div><div dir="auto">I think this bug if fixed on the master</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div></div><div><br></div><div>Is there a way that I can reduce this build time? <br></div><div>Thanks in advance for all your support.<br></div></div><div><div dir="ltr" class="gmail-m_-5308906892396521091m_5319117988604447612gmail-m_7989339838703027566m_-3946460189193364710gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><b><span style="font-family:arial,helvetica,sans-serif"><span style="font-weight:normal"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"></span>Thank you & Regards,</span></span></b></p><span style="font-family:arial,helvetica,sans-serif"><b><span style="font-weight:bold;font-size:9pt">Amarnath M<span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"> B </span></span></b></span><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" rel="noreferrer" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div></div></div>
</blockquote></div>