Package request: media-build for new/updated ATSC/DVB drivers

15 views
Skip to first unread message

Carl Michal

unread,
Oct 29, 2015, 8:47:16 PM10/29/15
to OpenBricks Development List
One issue with the 3.14 kernel in the Cubox-i Geexbox distribution is that it's getting harder and harder to find ATSC tuner dongles that are supported. Apparently though, there is a straightforward way to backport newer drivers to older kernels using the media-build repo here:

http://git.linuxtv.org/media_build.git

There are some build instructions here:
http://nucblog.net/2014/11/installing-media-build-drivers-for-additional-tv-tuner-support-in-linux/

Is it conceivable that this could be packaged for the cubox-i Geexbox?

Thanks,

Carl

Rudi

unread,
Oct 31, 2015, 10:05:15 AM10/31/15
to openbric...@googlegroups.com
Hi,

> Apparently though, there is a straightforward way to backport newer drivers to older kernels using the
> media-build repo here:
>
> http://git.linuxtv.org/media_build.git

I tried this quite a while ago. But I gave up because it was too complicated to
integrate into our cross compile environment. At least with the skills I had back
then. When I remember correctly, it heavily relies on the assumption that it is
run on the same machine for which the driver is to be built...


--

Ruediger "Rudi" Ihle


Carl Michal

unread,
Nov 5, 2015, 12:50:57 AM11/5/15
to OpenBricks Development List
Thanks for the response. I had a quick look through the build script and I think I see what you mean. I may put some time into it. Is there a beginners guide to adding packages to openbricks somewhere?

 

toml...@gmail.com

unread,
Nov 5, 2015, 1:08:24 AM11/5/15
to openbric...@googlegroups.com
You can look here :
http://www.openbricks.org/docs/openbricks-manual.pdf
Maybe the best way is to look how others packages are made too ;)
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenBricks Development List" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openbricks-dev...@googlegroups.com
> <mailto:openbricks-dev...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


--
www.geexbox.org
mailto:toml...@openbricks.org

Carl Michal

unread,
Nov 5, 2015, 2:28:27 AM11/5/15
to OpenBricks Development List


On Wednesday, November 4, 2015 at 10:08:24 PM UTC-8, Thomas Genty wrote:
Le 05/11/2015 06:50, Carl Michal a écrit :
>
>
> On Saturday, October 31, 2015 at 7:05:15 AM UTC-7, Rudi wrote:
>
>     Hi,
>
Hi,
>      > Apparently though, there is a straightforward way to backport
>     newer drivers to older kernels using the
>      > media-build repo here:
>      >
>      > http://git.linuxtv.org/media_build.git
>     <http://git.linuxtv.org/media_build.git>
>
>     I tried this quite a while ago. But I gave up because it was too
>     complicated to
>     integrate into our cross compile environment. At least with the
>     skills I had back
>     then. When I remember correctly, it heavily relies on the assumption
>     that it is
>     run on the same machine for which the driver is to be built...
>
--

I haven't looked at all at packaging at all, but it looks like what is required to build this is:
prereqs: hg, lsdiff (patchutils), wget, Digest::SHA, Proc::ProcessTable
Then:
hg clone http://linuxtv.org/hg/~endriss/media_build_experimental#ada40c8874d5
cd media_build_experimental
make download
make untar
VER=3.14.14 OUTDIR=/path/to/linux-3.14.14/ SRCDIR=/path/to/linux-3.14.14 make

This is borrowed from a Gentoo ebuild. It bypasses the media-build "build" script, which looks like a lot of effort to ensure the prereqs are installed and give hints on how to install them for various distributions. This picks a version of media-build from 2015-05-09, which isn't up to the minute, but it does compile against 3.14. There may yet be some gotchas in there.
Reply all
Reply to author
Forward
0 new messages