in a previous post I have descriped how to compile the eibd daemon for the Raspberry PI. Here is a sample debian startscript to start eibd at system boot.
Login as root at your EIBd box and created a user under which the daemon should run.
useradd eibd -s /bin/false -U -M
Create the script eibd in /etc/init.d
Advertisment to support michlstechblog.info
if you want to use the Raspberry PI as a EIB/KNX Gateway or Tunnel you must compile the eibd sources from the scratch, because no precomplied binaries are currently available.
There are two ways to build the eibd. Compiling directly on the Raspberry PI or you compile it on your i386 PC. The last option means you have to “cross” compile the sources, because the RapsberryPi has a different processor architecture than your Intel/AMD PC. Here are the steps to build the eibd on an i386 using a crosscompiler for the ARM architucture.
I verfied the steps at a minimal debian system in a VirtualBox. So it is reproducible:-)
Install all necessary packages. Login as root
apt-get -y install git rsync cmake make gcc g++ binutils automake flex bison patch
Now you can Login as a “normal” user. Define a working folder
mkdir -p $BUILD_PATH
We need a cross compiler respectively the toolchain for the
arm1176jzf arm processor.