• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 35
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS
#76
Thanks for the advice hoontune! I scp'd the files in the link (dvb_hdhomerun_core.ko, dvb_hdhomerun_fe.ko, dvb_hdhomerun.ko) to /opt/dvb_native. Now getting this when I try to run my start_homerun script.
Code:
DS212J> ./start_homerun
insmod: can't insert '/opt/dvb_native/dvb-core.ko': No such file or directory
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun_core.ko': File exists
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun.ko': File exists
insmod: can't insert '/opt/dvb_native/dvb_hdhomerun_fe.ko': File exists
making node hdhomerun_control 57
mknod: `/dev/hdhomerun_control': File exists
./start_homerun: line 30: /opt/dvbhdhomerun/userhdhomerun/build/userhdhomerun: not found
Creating DVB device nodes to major device #212...
mknod: `/dev/dvb/adapter1/frontend0': File exists
mknod: `/dev/dvb/adapter1/demux0': File exists
mknod: `/dev/dvb/adapter1/dvr0': File exists
DS212J>
Reply
#77
Sorry original files have been deleted from Redmine forum. Download the dvb-core.ko file from mediafire and put it with the other drivers.
Reply
#78
Thanks for uploading the file for me! I'm now getting this message when I try to run start_homerun
Code:
DS212J> ./start_homerun
./start_homerun: line 2: ad: not found
making node hdhomerun_control 57
mknod: `/dev/hdhomerun_control': File exists
./start_homerun: line 31: /opt/dvbhdhomerun/userhdhomerun/build/userhdhomerun: not found
Creating DVB device nodes to major device #212...
cut: /sys/class/dvb/dvb0.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb0.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb0.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.frontend0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.demux0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
cut: /sys/class/dvb/dvb1.dvr0/dev: No such file or directory
mknod: missing operand after `212'
Try `mknod --help' for more information.
DS212J>

I'm not sure what I'm doing wrong. This is the list of commands I ran in this order. Am I missing something?

Code:
wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.xsh
chmod +x syno-mvkw-bootstrap_1.2-7_arm.xsh
./syno-mvkw-bootstrap_1.2-7_arm.xsh
reboot
./syno-mvkw-bootstrap_1.2-7_arm.xsh
ipkg update
ipkg upgrade
ipkg install optware-devel
ipkg install git
ipkg install openssl
ipkg install gcc
ipkg install openssl-dev
mkdir /opt/dvb_native
scp dvb_*.files
cd /opt
vi start_homerun
chmod +x start_homerun
./start_homerun
Reply
#79
Maybe best to try the spk these guys have built:

http://forum.synology.com/enu/viewtopic....90&t=55075
Reply
#80
Thanks! I ended up doing that and it worked out great. And thanks again for your help!
Reply
#81
Hi all! Here a new tvheadend-master for arm.
Reply
#82
(2013-10-23, 22:09)aisman Wrote: Hi all! Here a new tvheadend-master for arm.

Thanks for posting it here. Only read that the automatic recorder is messed up in 3.5.245?
Reply
#83
Reply
#84
Reply
#85
Debian on ppc-qoriq does not work, most likely due to the fact that debian does not support all processors of PPC. But I was able to build needed toolchain and made spk package. Enjoy Smile

UPD for arm-users:

I was wrong about debian-chrot from Sinocommunity, it works fine, and we'll not have the pain of scripts mount DVB. Soon I will correct package and will give instruction.
Reply
#86
Thank you! Looking forward to the instructions! :-)
Reply
#87
This is a guide for the installation and building yourself of the next tvheadend, only for arm-processors, not for armhf and qoriq.

1. Install python 2.7 from Synocommunity. Wait until python end all of its operations and stop loading processor. After this reboot better.

2. Install debian-chroot from SynoCommunity. This process is not fast, make sure it has the status of "enabled".

3. Put (updated) this package to /volume1/@appstore/debian-chroot/var/chroottarget/home

4.
Code:
chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash

5.
Code:
apt-get update && apt-get dist-upgrade -y
6.
updated
Code:
apt-get install build-essential automake autopoint python ncurses-dev libssl-dev pkg-config zlib1g-dev gettext git curl libgc-dev libcurl4-openssl-dev -y

7. Install tvheadend

We are still inside of debian:
Code:
cd home

Code:
dpkg -i tvheadend-3.9.277-syno-armel.deb

We need to run tvheadend with the start of system.
a) put this file to /usr/syno/etc.defaults/rc.d/ or create it yourself:

S99debian.sh
Code:
#!/bin/sh

chroot /volume1/@appstore/debian-chroot/var/chroottarget/ /root/runapps.sh &

b) put this file to /volume1/@appstore/debian-chroot/var/chroottarget/root/ or create it yourself:

runapps.sh
Code:
#!/bin/bash

sleep 40

/etc/init.d/tvheadend start

We are still inside of debian:
Code:
cd /root
Code:
chmod +x runapps.sh

Code:
exit

We are in the host as root:
Code:
chmod +x /usr/syno/etc.defaults/rc.d/S99debian.sh

finally
Code:
reboot
______________________________________________________________

Now you can build yourself tvheadend:

Code:
chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash

Code:
cd home
Code:
git clone https://github.com/tvheadend/tvheadend
Code:
cd tvheadend
Code:
./configure --prefix=/usr --enable-what-you-want --disable-what-you-want
Code:
make
Code:
make install
Code:
exit

Code:
reboot
Reply
#88
Thanks for the guide. Going to try it soon!
Reply
#89
Hi there!

tvheadend 3.9.277 for ppc (qoriq) here, for armhf (armadaxp) here.
Reply
#90
(2013-12-06, 08:52)aisman Wrote: Hi there!

tvheadend 3.9.277 for ppc (qoriq) here, for armhf (armadaxp) here.


Hi
Could you compile spk file for me new TVHeadend version 3.9 for Synology DS213 wit processor Marvell Kirkwood mv6282 armv5te (arch 88f6281)

Please...
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 35

Logout Mark Read Team Forum Stats Members Help
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS1