-
Notifications
You must be signed in to change notification settings - Fork 10
Hello world on build machine
Peter Saunderson edited this page Aug 30, 2015
·
5 revisions
Home / Tutorial Index / Getting started
Building the FPGA Using smart update
Build the Yocto SDK on the build machine
$ cd parallella-yoctobuild/build_parallella
$ bitbake -c populate_sdk hdmi-image-example
Install the SDK on the build machine (install using the default settings) and create the folder for the SDK on the system and change the owner to yourid (ie if your linux name is jess then your home folder will be /home/jess and you should use chown jess:jess /opt/poky below:
$ sudo mkdir /opt/poky
$ sudo chown yourid:yourid /opt/poky
$ tmp/deploy/sdk/poky-glibc-x86_64-hdmi-image-debug-armv7ahf-vfp-neon-toolchain-1.8.sh
Install the SDK paths into environment
$ source /opt/poky/1.8/environment-setup-armv7ahf-vfp-neon-poky-linux-gnueabi
Setup the Epiphany specific environment
$ cd examples/epiphany
$ source setup-epiphany-sdk-in-poky-sdk.sh
Build the Hello world application
$ cd hello-world
$ make
Copy to the target
$ rcp ./host/hello_world root@parallella-hdmi.local:/home/root
$ rcp ./epiphany/e_hello_world.srec root@parallella-hdmi.local:/usr/epiphany/bin/
Run on the target
$ ssh root@parallella-hdmi.local
$ source setup-epiphany-sdk-on-target.sh
$ ./hello_world