This will be the first in a series of posts as I get Tvheadend, libhdhomerun, and dvbhdhomerun running on my XIOS DS Media Play. I am doing all of the building on a Debian 7 VM.


I attempted to roll a cross-compile environment in Cygwin for several hours and gave up. Everything was so much easier on a Debian 7 VM.

  2. Run the installer. Something like: ./arm-2013.05-24-arm-none-linux-gnueabi.bin. May need to chmod +x the .bin.
  3. In ~/.profile, stick in: PATH="/opt/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin:$PATH" … or wherever you pointed the installer to.

zlib + OpenSSL to match ARM buildroot

I based my approach on:

cd /opt
tar xzvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
export CROSS_PREFIX=arm-none-linux-gnueabi
./configure --prefix=/opt/zlib-arm
make install

cd /opt
tar xzvf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
export CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=gcc
./Configure dist --prefix=/opt/openssl-arm
make install

build/package Tvheadend

Standard instructions:

cd /opt
git clone --depth 1
cd tvheadend
ln -s /opt/openssl-arm/include/openssl/ openssl
ln -s /opt/zlib-arm/include/zlib.h zlib.h
ln -s /opt/zlib-arm/include/zconf.h zconf.h
./configure --cc=arm-none-linux-gnueabi-gcc --host=armle-unknown-linux --target=armle-unknown-linux --build=i686-pc-linux --disable-avahi --release

cd /opt/tvheadend
cp build.linux/tvheadend .
cd ..
zip -r tvheadend

215 words. Post tags: cross-compile, Tvheadend, and ARM.

Post content is written by Jason Zerbe and licensed CC BY-NC 3.0.