User Tools

Site Tools


getting_started:deploy:deploy_bbb

This is an old revision of the document!


Deploy to Beaglebone Blue Board

Preparations

The file config.sh.in contains entries for the destination of deploying.

target_IP_address=192.168.7.2
target_username=ost
target_application_folder=/opt/eeros/

Now, make sure that the directory /opt/eeros/ exists on the target. If not, ssh into the board with

$ ssh ost@192.168.7.2

For credentials see Beaglebone Blue. Then, create the directory and set its ownership to user ost with

ost@bblue:$ sudo mkdir /opt/eeros
ost@bblue:$ sudo chown ost:ost /opt/eeros/

Deploying

Next, edit deploy.txt on the host in your project directory and enter the application program you want to transfer together with the necessary hardware configuration file, e.g.

build-armhf/simple-motor-control/simpleMotorControl
build-armhf/simple-motor-control/HwConfigBBBlue.json

If you wrote your own Say Hello with EEROS the file would look like

build-armhf/hello/helloworld

Finally, load them onto the target with

$ ./deploy.sh

Running

ssh into the board with

$ ssh ost@192.168.7.2

Change into your target application folder and run the example

$ cd /opt/eeros/
$ ./helloworld
or
$ sudo ./simpleMotorControl -c HwConfigBBBlue.json

Running the Built-in Examples of EEROS

Running the built-in examples of EEROS as given in the tutorial pages in Tutorials is quite simple.

$ sudo examples/rtTest/rtTest

These examples can be called from any place on your target because they are installed in the default path.

getting_started/deploy/deploy_bbb.1616675923.txt.gz · Last modified: 2021/03/25 13:38 by ursgraf