Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 11:04 am
by leon_heller
Debug build.sh run.sh src
doesn't work on my Kickstarter board:
-bash: Debug: command not found
However, the following works OK:
parallella@parallella:~/epiphany-examples/apps/hello-world$ ./build.sh
parallella@parallella:~/epiphany-examples/apps/hello-world$ ./run.sh
0: Message from eCore 0x8ca ( 3, 2): "Hello World from core 0x8ca!"
1: Message from eCore 0x84b ( 1, 3): "Hello World from core 0x84b!"
2: Message from eCore 0x84b ( 1, 3): "Hello World from core 0x84b!"
3: Message from eCore 0x888 ( 2, 0): "Hello World from core 0x888!"
4: Message from eCore 0x849 ( 1, 1): "Hello World from core 0x849!"
5: Message from eCore 0x88b ( 2, 3): "Hello World from core 0x88b!"
6: Message from eCore 0x88b ( 2, 3): "Hello World from core 0x88b!"
7: Message from eCore 0x8ca ( 3, 2): "Hello World from core 0x8ca!"
8: Message from eCore 0x80a ( 0, 2): "Hello World from core 0x80a!"
9: Message from eCore 0x808 ( 0, 0): "Hello World from core 0x808!"
10: Message from eCore 0x8c8 ( 3, 0): "Hello World from core 0x8c8!"
11: Message from eCore 0x8c9 ( 3, 1): "Hello World from core 0x8c9!"
12: Message from eCore 0x88a ( 2, 2): "Hello World from core 0x88a!"
13: Message from eCore 0x88b ( 2, 3): "Hello World from core 0x88b!"
14: Message from eCore 0x8cb ( 3, 3): "Hello World from core 0x8cb!"
15: Message from eCore 0x84a ( 1, 2): "Hello World from core 0x84a!"
16: Message from eCore 0x88a ( 2, 2): "Hello World from core 0x88a!"
17: Message from eCore 0x84b ( 1, 3): "Hello World from core 0x84b!"
18: Message from eCore 0x848 ( 1, 0): "Hello World from core 0x848!"
19: Message from eCore 0x8ca ( 3, 2): "Hello World from core 0x8ca!"
parallella@parallella:~/epiphany-examples/apps/hello-world$
Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 12:01 pm
by DonQuichotte
Hi leon
Olaf's tutorial is fine.
lsDebug build.sh run.sh src
•./run.shThe "ls" command is like the "dir" command under DOS / Windows: it lists local directories and files.
Debug is the directory under the current directory
build.sh and run.sh are the shell scripts
src is another folder
Maybe it will be fine for you if you replace ls with "ls -la" or simply "ll".
Under Linux you append "--help" or use "man..." to get help.
Example: "ls --help"
It's quite verbose you'll see
Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 12:20 pm
by leon_heller
Thanks, Don.
It still can't find the Debug command. The Debug directory is there. Does
Debug build.sh run.sh src
mean that I'm supposed to enter the Debug directory (cd Debug) before running the shell scripts.
I'm not too concerned as I got it to work, anyway.
Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 1:14 pm
by sebraa
The line "Debug build.sh run.sh src" is the
output of the "ls" command.
It is not a command you are supposed to type.
Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 1:32 pm
by leon_heller
Thanks sebraa,
I was beginning to think that it was something like that.
Re: n00b steps for your first Parallella
Posted:
Thu May 19, 2016 8:57 pm
by Olaf
I added the "./build.sh"
Apparently the first time you have that example, it is not compiled yet and certain folders do no yet exist.
When I created the example I already did build the example so it ran.