[STHORM SDK] BOSP RTLib integration patch

18 views
Skip to first unread message

Patrick Bellasi

unread,
Mar 26, 2013, 2:12:02 PM3/26/13
to Germain Haugou, bosp-...@googlegroups.com
Hi Germain,
   please find in attachment the dummy patch to generate an RTLib placeholder when the Gepop platform is in use.

The placeholder is generated just when the BOSP_OUT env variable is defined in the shell used to run the platform.

I've added also the "init_env" I'm sourcing from the shell I use to run Gepop, this defines the BOSP_OUT as well as other useful thinks...

Right now, after the patch in attachment is applied, by simply using this sequence:

$ . init_env.sh
$ . setup.sh
$ p12run --platform=gepop --host=arm --fabric=posix

I'm able to start a Gepop instance which is ready to host a BarbequeRTRM installation. Once the Gepop simulator is up and running, you can deploy BBQ by:

$ cd $BOSP_HOME && make

Of course you should have configured the building system for the STHORM-Android target, for detailed instructions just wait the update of the documentation webpage which Giuseppe is working on right now.

After a successful deployment, the barbequeRTRM could be stared with:

$ adb shell /data/bosp/sbin/barbeque

as well as applications could be run directly (without LD_PRELOAD), e.g.:

$ adb shell /data/bosp/usr/bin/bbque-testapp

Let me know if the patch is right for SDK integration! ;-)

Talk to you tomorrow!
Ciao Patrick

--
#include <best/regards.h>

Patrick Bellasi
Post-Doc at Politecnico di Milano
http://home.dei.polimi.it/bellasi
sthorm_add_rtlib_placeholder.patch
init_env
Reply all
Reply to author
Forward
0 new messages