2014-02-19, 12:13
of course, it is my bad. Fixed. Thank you!
(2014-03-10, 17:00)tripkip Wrote: Are there any instructions to build tvh (and/or mono = webgrab+) for DS with Qoriq architecture?
Past couple of days I tried to compile gcc on DS413, but can't manage to get all errors solved and I gave up on that.
When I bought my DS413 I never thought qoriq was going to have so little optware support! Especially the ancient gcc and libraries are a big issue!
I see that aisman has built for qoriq before. I wonder how..
(2013-08-13, 06:35)hoontune Wrote: I got a couple of requests on how to compile the HDHomerun Drivers.
There has also been a memory issue that was fixed in the latest version.
http://sourceforge.net/p/dvbhdhomerun/di...d/6070e0fa
I cross compiled the ARM Marvell Kirkwood drivers on a Ubuntu box.
Here are my notes:
Code:-- step 1 setup cross compiler
--
-- download files to /home/administrator/Downloads
-- from http://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/1337branch/synogpl-1373-6281.tbz/download
cd /home/administrator/Downloads
cp gcc421_glibc25_88f6281-GPL.tgz /usr/local/
cd /usr/local
tar -xpf gcc421_glibc25_88f6281-GPL.tgz –C /usr/local/
cd /home/administrator/Downloads
tar -xpf synogpl-1372-6281.tbz
cd /home/administrator/Downloads/source/linux-2.6.32/
cp /home/administrator/Downloads/source/linux-2.6.32/synoconfigs/88f6281 /home/administrator/Downloads/source/linux-2.6.32/.config
uname -r
nano Makefile *EXTRAVERSION= -33-generic
make ARCH=arm \ CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- menuconfig
--make ARCH=arm \ CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- oldconfig
make ARCH=arm \ CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- prepare scripts
nano .config
-- find # CONFIG_DVB_CORE is not set
-- change to CONFIG_DVB_CORE=m
make ARCH=arm \ CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- modules
-- step 2 download hdhomerun driver source
-- then build it
cd /home/administrator/src
cvs -z3 -d:pserver:[email protected]:/cvsroot/dvbhdhomerun co -P dvbhdhomerun
cd /home/administrator/src/dvbhdhomerun/kernel
nano Makefile
-- set KERNEL_DIR := /home/administrator/Downloads/source/linux-2.6.32
make ARCH=arm \ CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
-- find dvb_hd*.ko files in
cd /home/administrator/src/dvbhdhomerun/kernel
-- find dvb_core.ko file in
cd /home/administrator/Downloads/source/linux-2.6.32/drivers/media/dvb/dvb-core
I've built them for the Marvell Kirkwood and posted them here if anyone wants them:
http://www.mediafire.com/folder/u4o0hhry...un_drivers
(2014-03-13, 19:10)schumi2004 Wrote: ... Recently i tried to compile latest version but seems i'm getting a invalid argument when doing this:
nano Makefile *EXTRAVERSION= -33-generic
nano Makefile
-- Find EXTRAVERSION change it to
-- EXTRAVERSION= -33-generic
(2014-03-14, 04:38)hoontune Wrote:Now yo say it it sounds pretty logic, sorry(2014-03-13, 19:10)schumi2004 Wrote: ... Recently i tried to compile latest version but seems i'm getting a invalid argument when doing this:
nano Makefile *EXTRAVERSION= -33-generic
Sorry, nano is the editor - they were my notes you weren't supposed to take it literally
It should probably read more like
Code:nano Makefile
-- Find EXTRAVERSION change it to
-- EXTRAVERSION= -33-generic
I'll update the post
(2014-03-13, 14:39)tripkip Wrote: Probability of a new tvh via synocommunity is growing because Synology released new toolchains (beta) for DSM 5.0 with newer gcc and gclib that can be used to build TVH.
https://github.com/SynoCommunity/spksrc/pull/865
(2014-03-14, 17:32)aisman Wrote:(2014-03-13, 14:39)tripkip Wrote: Probability of a new tvh via synocommunity is growing because Synology released new toolchains (beta) for DSM 5.0 with newer gcc and gclib that can be used to build TVH.
https://github.com/SynoCommunity/spksrc/pull/865
for QoriQ official toolchain is still outdated
uname -a
Linux DiskStation 2.6.32.12 #4458 SMP Thu Mar 6 14:15:06 CST 2014 ppc GNU/Linux synology_qoriq_413
src/input/mpegts/dvb_support.c:410: error: 'SYS_DVBT2' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:411: error: 'SYS_TURBO' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:459: error: 'BANDWIDTH_5_MHZ' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:459: error: initializer element is not constant
src/input/mpegts/dvb_support.c:459: error: (near initialization for 'bwtab[4].val')
src/input/mpegts/dvb_support.c:460: error: 'BANDWIDTH_10_MHZ' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:460: error: initializer element is not constant
src/input/mpegts/dvb_support.c:460: error: (near initialization for 'bwtab[5].val')
src/input/mpegts/dvb_support.c:461: error: 'BANDWIDTH_1_712_MHZ' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:461: error: initializer element is not constant
src/input/mpegts/dvb_support.c:461: error: (near initialization for 'bwtab[6].val')
src/input/mpegts/dvb_support.c:471: error: 'TRANSMISSION_MODE_1K' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:471: error: initializer element is not constant
src/input/mpegts/dvb_support.c:471: error: (near initialization for 'modetab[3].val')
src/input/mpegts/dvb_support.c:472: error: 'TRANSMISSION_MODE_16K' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:472: error: initializer element is not constant
src/input/mpegts/dvb_support.c:472: error: (near initialization for 'modetab[4].val')
src/input/mpegts/dvb_support.c:473: error: 'TRANSMISSION_MODE_32K' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:473: error: initializer element is not constant
src/input/mpegts/dvb_support.c:473: error: (near initialization for 'modetab[5].val')
src/input/mpegts/dvb_support.c:485: error: 'GUARD_INTERVAL_1_128' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:485: error: initializer element is not constant
src/input/mpegts/dvb_support.c:485: error: (near initialization for 'guardtab[5].val')
src/input/mpegts/dvb_support.c:486: error: 'GUARD_INTERVAL_19_128' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:486: error: initializer element is not constant
src/input/mpegts/dvb_support.c:486: error: (near initialization for 'guardtab[6].val')
src/input/mpegts/dvb_support.c:487: error: 'GUARD_INTERVAL_19_256' undeclared here (not in a function)
src/input/mpegts/dvb_support.c:487: error: initializer element is not constant
src/input/mpegts/dvb_support.c:487: error: (near initialization for 'guardtab[7].val')
sudo aptitude install build-essential debootstrap python-pip automake libgmp3-dev libltdl-dev libunistring-dev libffi-dev ncurses-dev imagemagick libssl-dev pkg-config zlib1g-dev gettext git curl subversion check bjam intltool gperf flex bison xmlto php5 expect libgc-dev mercurial cython lzip
sudo pip install -U pip
DSM 4.3:
git clone https://github.com/jdel/spksrc.git -b toolchains
DSM 5.0:
git clone https://github.com/SynoCommunity/spksrc.git
cd spksrc/
make setup
vi cross/tvheadend/Makefile
PKG_VERS = 3.9
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
vi cross/tvheadend/patches/001-configure.inc.patch
--- support/configure.inc 2014-03-16 19:51:13.414825207 +0100
+++ support/configure.inc 2014-03-16 19:51:42.578824872 +0100
@@ -265,8 +265,6 @@
EOF
$CC $CFLAGS $LDFLAGS $TMPDIR/$$.c -o $TMPDIR/$$.bin $opt #&> /dev/null
RET=$?
- [ $RET -eq 0 ] && $TMPDIR/$$.bin
- RET=$?
rm -f $TMPDIR/$$.{c,bin}
return $RET
}
cd cross/tvheadend
rm digests
make download
make digests
make clean
make arch-qoriq
(2014-03-17, 16:12)aisman Wrote: It's very strange, but I was able to build a new tvh-3.9.438 with official toolchain, and with mine which I've been shared here.
Btw in the new tvh we don't need to patch configure.inc.