<div>On Tue, Nov 15, 2011 at 2:56 AM, Simon Peter <span dir="ltr"><<a href="mailto:speter@inf.ethz.ch">speter@inf.ethz.ch</a>></span> wrote:<br></div><div class="gmail_quote"><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
Hi Jain,<div class="im"><br>
<br>
On 15.11.2011 08:10, Vaibhav Jain wrote:<br>
</div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote"><div class="im">
Hi,<br>
I am trying to run barrelfish on SCC but I need clarity regarding a few<br>
things.<br>
I have compiled barrelfish successfully and I have the <a href="http://barrelfish48.mt" target="_blank">barrelfish48.mt</a><br></div>
<<a href="http://barrelfish48.mt" target="_blank">http://barrelfish48.mt</a>> file and the obj file created.<div class="im"><br>
I need to know the following :<br>
1. After booting barrelfish on one SCC core (core 0) how should I boot<br>
it on other cores.<br>
Do I have to reset all the cores (just like core 0) that I want<br>
barrelfish to be booted ?. From the document :<br>
<a href="http://www.barrelfish.org/TN-005-SCC.pdf" target="_blank">http://www.barrelfish.org/TN-<u></u>005-SCC.pdf</a><br>
Section 2.5 it seems that core 0 should boot other cores.<br>
</div></blockquote>
<br>
That's correct. Core 0 will boot the other cores. If you're using the bootscc.sh script to start Barrelfish, everything should be set and you can boot additional cores just like on other architectures, by appending, for example, bootscc=1-5 to the spawnd line in the menu.lst.scc file, to boot cores 1 to 5 in addition to core 0.<div class="im">
<br>
<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
2. How do I confirm that barrelfish has actually booted on all the cores<br>
that I want it to be booted ?<br>
</blockquote>
<br></div>
The cores will report that they are up.<div class="im"><br>
<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
3. I intend to run a simple hello world program on barrelfish running on<br>
SCC. What changes need to be made to the steps<br>
mentioned in the doc <a href="http://wiki.barrelfish.org/Programming_for_Barrelfish" target="_blank">http://wiki.barrelfish.org/<u></u>Programming_for_Barrelfish</a>.<br>
</blockquote>
<br></div>
Make sure you're compiling for scc, not x86_64 (i.e. change the hake.sh line). The file for SCC is called menu.lst.scc, not menu.lst. Then you type 'make scc' instead of 'make sim'.<div class="im"><br>
<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
4. Is there any other document that provides details on running programs<br>
on barrelfish ?<br>
</blockquote>
<br></div>
Unfortunately, not really. There are example programs in the usr/examples directory though with README files that explain how to run them.<br>
<br>
Hope this helps,<br>
Simon<br>
</blockquote></div><div><br> </div><div><div>Hi Simon,</div><div> </div><div>Thanks for ther reply! I am still not clear about booting barrelfish on more than one core. The document </div><div>mentioned above only talks about reseting core 0 to boot barrelfish but doesn't mention anything about </div>
<div>bootscc.sh. The section for booting on subsequent cores (section 2.5) only talks about telling the CPU driver </div><div>to boot other cores but doesn't say how to do that.</div><div> </div><div>Thanks</div><div>
Vaibhav Jain</div></div><div> </div>