Project

General

Profile

Tvheadend ARM Kernel Compile

Added by Anonymous almost 12 years ago

Hello

I need help to get Tvheadend compile with Android Kernel Sources to get them working at the background and as Frontend using XBMC for Android.

Does i could use GCC (newest Version) and only fetch Kernel Sources for Tegra2 and TVheadend via Git to get them compile ?

Hope somebody could help me with more Input !!


Replies (7)

RE: Tvheadend ARM Kernel Compile - Added by Stephan Oelze almost 12 years ago

Hey!

I compiled tvheadend for several Plattforms.
There was never a time i needed Kernelsources for tvheadend itself.
What Hardware are we talking about?

RE: Tvheadend ARM Kernel Compile - Added by Anonymous almost 12 years ago

Hey I will used it with Tegra 2/ 3 Plattforms.

Tegra2 i used are (Tablet/ Android Box)
Tegra3 will be Tablet too .
And maybe exynos plattforms like SGS3/Note2.

Do you could tell me how i got them compile for arm and what i exactly need ?

RE: Tvheadend ARM Kernel Compile - Added by Stephan Oelze almost 12 years ago

I am not familar with android....
Is there a SDK? If so this is your way to go for
tarball processing ;)

There ist probably a toolchain you can use for crosscompiling.
I use Buildroot for crosscompiling. But my devices are pogoplug/Router like
devices.

As i heard there are ubuntu releases for devices like yours?
Maybe this is an easier way?

RE: Tvheadend ARM Kernel Compile - Added by Anonymous almost 12 years ago

Yes google provide SDK and NDK both are free available.

NDK is the thing i will need:
http://developer.android.com/tools/sdk/ndk/overview.html

The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications.

Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. This can provide benefits to certain classes of applications, in the form of reuse of existing code and in some cases increased speed.

The NDK provides:

A set of tools and build files used to generate native code libraries from C and C++ sources

does i only need to get the source code of tvheadend via git and could use it ?

I read about this article but i need to specified the path to my NDK Compiler right ?

Compiling Tvheadend on Ubuntu for the CuBox

This worked for me:
apt-get install git-core build-essential libssl-dev libssl0.9.8 pkg-config avahi-daemon
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
./configure --disable-avahi
make install
To start it:
tvheadend -C -f
With this the grabbers weren't working

(Why this doesn´t work: "With this the grabbers weren't working") ???

does tvheadend need special libs or another programms ?

I have to use Android sadly because the Ubuntu Ports doesn´t allow me HWA for Video.

RE: Tvheadend ARM Kernel Compile - Added by Stephan Oelze almost 12 years ago

What i do with configure :

--prefix=/usr --disable-v4l --enable-bundle --disable-avahi --enable-dvbcsa --enable-zlib

What u need to know:

Normaly tvheadend is using FFdecsa to "decode" Streams. On most Targetplattforms i had This doesent work (proper).
You need to use libdvbcsa instead from here:

http://www.videolan.org/developers/libdvbcsa.html

RE: Tvheadend ARM Kernel Compile - Added by Anonymous almost 12 years ago

Great Thanks ...

Do you compile tvheadend for tegra devices ?

Does i have to compile libdvbcsa alone or would it be compiled with tvheadend at one step ?

RE: Tvheadend ARM Kernel Compile - Added by Stephan Oelze almost 12 years ago

You need to compile libdvbcsa on your own.
Umtil now i never did it for an tegra device

    (1-7/7)