2012-10-04, 14:19
This is how I got Tvheadend & a HDHomerun working on a Synology NAS DS210j (ARM based)
First you need to install the correct bootstrap for your device, if you haven't already
Now you need a few dependancies
Now you can download the Tvheadend source
you then need to update a few libraries
compile time
setup a directory to hold config data
to give it a test run
Ctrl-C to stop it
First you need to install the correct bootstrap for your device, if you haven't already
Code:
cd /volume1/@tmp
wget http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
reboot
Now you need a few dependancies
Code:
ipkg update
ipkg upgrade
ipkg install optware-devel
ipkg install git
ipkg install openssl
ipkg install gcc
ipkg install openssl-dev
Now you can download the Tvheadend source
Code:
mkdir -p /opt/tvheadend
git clone https://github.com/tvheadend/tvheadend.git /opt/tvheadend
cd /opt/tvheadend
you then need to update a few libraries
Code:
cp /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so.bk
cp /lib/libpthread.so.0 /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so
cp /opt/lib/libssl.so.0.9.8 /opt/arm-none-linux-gnueabi/lib
cp /opt/lib/libssl.so.0.9.8 /lib
cp /opt/lib/libcrypto.so.0.9.8 /lib
compile time
Code:
export CC=gcc
bash configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux \
--disable-avahi \
--release \
--openssl=/opt/lib \
--prefix=/opt/tvheadend
make
make install
setup a directory to hold config data
Code:
mkdir /opt/tvh_dvrconfig_xbmc
Code:
/opt/tvheadend/bin/tvheadend start -C -u hts -g video -c /opt/tvh_dvrconfig_xbmc