Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Experimental Titan build for Raspberry Pi
Experimental Titan build for Raspberry Pi [message #1745284] Fri, 07 October 2016 09:37 Go to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 760
Registered: January 2015
Senior Member
Dear all,

on the below link

https://www.eclipse.org/downloads/download.php?file=/titan/ttcn3-5.5.pl1-ARMv8-gcc4.9-raspbian.tgz

you can find a Titan core (compiler and executor) built for Raspberry Pi.

The exact build environment was:

Raspberry Pi 3 (64 bit quad-core ARMv8 CPU, 1 GB RAM)
Rasbpian - Debian 8 (Linux 4.4.21-v7, GCC 4.9.2)


If there will be interest for this build, manifested in at least a few downloads,
we will publish official releases for Raspberry/Raspbian as well.

In case you want to build from source, please follow the instructions in README.linux with the following addition:

"-fsigned-char" needs to be added to compielr flags in Makefile.cfg:
COMPILERFLAGS := -Wall -fsigned-char




Best regards
Elemer
Re: Experimental Titan build for Raspberry Pi [message #1748575 is a reply to message #1745284] Thu, 24 November 2016 16:13 Go to previous messageGo to next message
Gyorgy Rethy is currently offline Gyorgy RethyFriend
Messages: 22
Registered: April 2015
Junior Member
Good experience with Titan on Raspberry Pi3, we could compile and execute both the CoAP example from this Forum and the ETSI cooperative ITS conformance test suite (actually, the microSD card's speed matters when compiling big code! Smile).

But note, Raspbian by default is missing the libssl-dev and libxml2-dev packages, needed for Titan to compile your code:
sudo apt-get update
(just to synch with the raspbian repo before installing them)
sudo apt-get install libssl-dev libxml2-dev expect

(expect is required by ttcn3_start that makes command line test execution easier and automated).

The new Titan version 6.2.0 uses Openssl 1.0.0, which was not included into my Raspbian jessie (2017-09-07-raspbian-stretch.zip), so I needed to add it too:
sudo wget http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb


and, of course don't forget to add the needed environment settings to the bash initialization script.
nano /home/pi/.bashrc
(just have used the default user name)
Add the lines:
TTCN3_DIR=<path where you have extracted the Titan package>
LD_LIBRARYPATH=/usr/lib
PATH=$PATH:$TTCN3_DIR/bin
export TTCN3_DIR LD_LIBRARYPATH PATH


Basically, that's all, you can start using it... Cool

[Updated on: Mon, 30 October 2017 15:02]

Report message to a moderator

Re: Experimental Titan build for Raspberry Pi [message #1748618 is a reply to message #1748575] Fri, 25 November 2016 11:00 Go to previous message
Johannes Bro is currently offline Johannes BroFriend
Messages: 56
Registered: June 2015
Member
Nice, thanks a lot !
Previous Topic:Titan Architecture Internals: On where things are located in the source code
Next Topic:Eclipse TITAN for MAC OSX
Goto Forum:
  


Current Time: Mon Jun 25 06:31:23 GMT 2018

Powered by FUDForum. Page generated in 0.01667 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top