[Barrelfish-users] Need help in running barrelfish on SCC

Vaibhav Jain vjoss197 at gmail.com
Wed Nov 16 04:31:49 CET 2011

On Tue, Nov 15, 2011 at 2:56 AM, Simon Peter <speter at inf.ethz.ch> wrote:

> Hi Jain,
> On 15.11.2011 08:10, Vaibhav Jain wrote:
>> Hi,
>> I am trying to run barrelfish on SCC but I need clarity regarding a few
>> things.
>> I have compiled barrelfish successfully and I have the barrelfish48.mt
>> <http://barrelfish48.mt> file and the obj file created.
>> I need to know the following :
>> 1. After booting barrelfish on one SCC core (core 0) how should I boot
>> it on other cores.
>> Do I have to reset all the cores (just like core 0) that I want
>> barrelfish to be booted ?. From the document :
>> http://www.barrelfish.org/TN-**005-SCC.pdf<http://www.barrelfish.org/TN-005-SCC.pdf>
>> Section 2.5 it seems that core 0 should boot other cores.
> 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.
>  2. How do I confirm that barrelfish has actually booted on all the cores
>> that I want it to be booted ?
> The cores will report that they are up.
>  3. I intend to run a simple hello world program on barrelfish running on
>> SCC. What changes need to be made to the steps
>> mentioned in the doc http://wiki.barrelfish.org/**
>> Programming_for_Barrelfish<http://wiki.barrelfish.org/Programming_for_Barrelfish>
>> .
> 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'.
>  4. Is there any other document that provides details on running programs
>> on barrelfish ?
> Unfortunately, not really. There are example programs in the usr/examples
> directory though with README files that explain how to run them.
> Hope this helps,
> Simon

Hi Simon,
Thanks for ther reply! I am still not clear about booting barrelfish on
more than one core. The document
mentioned above only talks about reseting core 0 to boot barrelfish but
doesn't mention anything about
bootscc.sh. The section for booting on subsequent cores (section 2.5) only
talks about telling the CPU driver
to boot other cores but doesn't say how to do that.

Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20111115/b38afd6c/attachment.html 

More information about the Barrelfish-users mailing list