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

Vaibhav Jain vjoss197 at gmail.com
Tue Nov 22 22:25:59 CET 2011


Thanks!

I commented out the line for watchall.sh in bootscc.sh and it ran
successfully with the following output :

/hg.barrelfish.org/tools/scc$ ./bootscc.sh

INFO: Welcome to sccReset 1.3.0 (build date Aug 25 2010 - 15:55:54)...
INFO: Applying global software reset to SCC (cores & CRB registers)...
Successfully created memory images...
Successfully created LUT configuration...
INFO: Welcome to sccBoot 1.3.0 (build date Aug 25 2010 - 15:55:06)...
INFO: Pulling reset of all cores...
INFO: Preloading Memory with object file...
INFO: Found object for MC x=0, y=0: "obj/mch_0_0.32.obj"...
INFO: writeMemFromOBJ(...): Configuration of memory done!
INFO: Successfully (re-)loaded object file "obj/mch_0_0.32.obj"...
INFO: Found object for MC x=5, y=0: "obj/mch_5_0.32.obj"...
INFO: writeMemFromOBJ(...): Configuration of memory done!
INFO: Successfully (re-)loaded object file "obj/mch_5_0.32.obj"...
INFO: Found object for MC x=0, y=2: "obj/mch_0_2.32.obj"...
INFO: writeMemFromOBJ(...): Configuration of memory done!
INFO: Successfully (re-)loaded object file "obj/mch_0_2.32.obj"...
INFO: Found object for MC x=5, y=2: "obj/mch_5_2.32.obj"...
INFO: writeMemFromOBJ(...): Configuration of memory done!
INFO: Successfully (re-)loaded object file "obj/mch_5_2.32.obj"...
INFO: Preloading LUTs...
INFO: Configuring LUTs with content of file "obj/lut_init.dat"...
INFO: -> Configuration of LUTs done!
INFO: Image is now pre-loaded. Release resets to start individual cores...
INFO: Welcome to sccReset 1.3.0 (build date Aug 25 2010 - 15:55:54)...
INFO: Resets have been released: 1 core (PID = 0x00)...
However it shows that only one core's reset is released and there is no
message of other cores getting booted even though I made entries in
menu.scc.lst for five cores. Is this because of commenting out watchall.sh ?
Is there a way to verify now that the cores are actually running barrelfish
?

Thanks
Vaibhav Jain
On Sat, Nov 19, 2011 at 2:38 AM, Simon Peter <speter at inf.ethz.ch> wrote:

>  I could find the scripts bootscc.sh and menu.lst.scc and made changes
>> for booting core 1-5 but there is another
>> problem I am facing. The bootscc.sh calls another script watchall.sh
>> which is being blocked due to access permissions.
>> Could you please let me know if watchall.sh is necessary for the
>> installation ? Also I could see the first command in watchall.sh as
>> "trap "pkill -P $$" SIGINT" whcih mught be getting blocked. Could you
>> please tell what is it supposed to do ?
>> I am just wondering if it can be made to execute without requiring root
>> privileges.
>>
>
> watchall.sh forwards serial output from Barrelfish to your console. It is
> not required to boot the SCC and only provides a convenient way for output
> from Barrelfish, so you can leave it out.
>
> In order to make it work without root privileges, you probably have to
> give proper privileges to the SCC UART device files in /dev that
> watchall.sh is trying to access.
>
> Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20111122/54528cb3/attachment.html 


More information about the Barrelfish-users mailing list