All of lore.kernel.org
 help / color / mirror / Atom feed
* Automatic device driver back-porting with media_build
@ 2015-12-17 12:13 Mason
  2015-12-17 12:55 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 25+ messages in thread
From: Mason @ 2015-12-17 12:13 UTC (permalink / raw)
  To: linux-media; +Cc: Hans Verkuil, Mauro Carvalho Chehab

Hello everyone,

I have a TechnoTrend TT-TVStick CT2-4400v2 USB tuner, as described here:
http://linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400

According to the article, the device is supported since kernel 3.19
and indeed, if I use a 4.1 kernel, I can pick CONFIG_DVB_USB_DVBSKY
and everything seems to work.

Unfortunately (for me), I've been asked to make this driver work on
an ancient 3.4 kernel.

The linuxtv article mentions:

"Drivers are included in kernel 3.17 (for version 1) and 3.19 (for version 2).
They can be built with media_build for older kernels."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This seems to imply that I can use the media_build framework to
automatically (??) back-port a 3.19 driver to a 3.4 kernel?
This sounds too good to be true...
How far back can I go?

http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

I find the instructions not very clear.

I have cloned media_tree and media_build. And I have my 3.4 kernel source
in a separate "my-linux-3.4" dir.

How am I supposed to tell media_build: "hey, the latest drivers are in this
"media_tree" dir, I'd like you to compile this one driver for the kernel in
this "my-linux-3.4" dir" ?

Note that media_build/linux has scripts which reference include/uapi which
did not exist yet in 3.4

Anyway, my confusion level is at 11. I'd be very grateful if anyone here
can clear some of it!

Regards.

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-12-28 13:02 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17 12:13 Automatic device driver back-porting with media_build Mason
2015-12-17 12:55 ` Mauro Carvalho Chehab
2015-12-17 13:52   ` Mason
2015-12-17 14:08     ` Mauro Carvalho Chehab
2015-12-17 14:30       ` Mason
2015-12-17 14:55         ` Mauro Carvalho Chehab
2015-12-17 15:32           ` Mason
2015-12-17 16:09             ` Mauro Carvalho Chehab
2015-12-17 16:48               ` Mason
2015-12-18 10:37                 ` Mauro Carvalho Chehab
2015-12-18 11:01                   ` Mason
2015-12-17 17:03               ` Mason
2015-12-17 17:17                 ` Mason
2015-12-18 10:44                 ` Mason
2015-12-18 11:03                   ` Mauro Carvalho Chehab
2015-12-18 11:22                     ` Mauro Carvalho Chehab
2015-12-18 12:10                       ` Mason
2015-12-18 12:59                         ` Mason
2015-12-18 13:40                           ` Mason
2015-12-18 15:13                             ` Mason
2015-12-18 17:10           ` Mason
2015-12-18 19:42             ` Mason
2015-12-28 10:44   ` Mason
2015-12-28 12:21     ` Mason
2015-12-28 13:02       ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.