linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* media_build: how can I test older drivers?
@ 2012-03-19 18:18 Martin Dauskardt
  2012-03-19 22:48 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Dauskardt @ 2012-03-19 18:18 UTC (permalink / raw)
  To: linux-media

To find the responsible patch for a regression, I need to test older drivers. 
(1, 3 or 6 months ago)  How can I do this with media_build? 

I don't really understand how the build script works. It seems that it doesn't 
use the current media_tree.git, but loads instead a driver snapshot 
(http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2) which is at 
the moment from March 9.

Can I simply change the name of the link for the bz2-package in 
linux/Makefile?

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

* Re: media_build: how can I test older drivers?
  2012-03-19 18:18 media_build: how can I test older drivers? Martin Dauskardt
@ 2012-03-19 22:48 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2012-03-19 22:48 UTC (permalink / raw)
  To: Martin Dauskardt; +Cc: linux-media

Em 19-03-2012 15:18, Martin Dauskardt escreveu:
> To find the responsible patch for a regression, I need to test older drivers. 
> (1, 3 or 6 months ago)  How can I do this with media_build? 
> 
> I don't really understand how the build script works. It seems that it doesn't 
> use the current media_tree.git, but loads instead a driver snapshot 
> (http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2) which is at 
> the moment from March 9.

In a matter of fact, it supports several different modes of work. The default one is 
to download a tarball.

If you use:

	$ ./build.sh --main-git

it will download a copy of the main tree, and compile using it as a reference.

Yet, bisecting is not trivial. You'll need to run git bisect under the subdir
where the tree was copied. Also, the compilation may fail, due to the backport
patches, that won't be synchronized, especially if you're using an old Kernel that
requires lots of backport patches to compile/work, as the backport patches always
consider the very latest version of the media_tree.

If you want to bisect, it is likely easier to clone the media_tree and bisect on
it directly.

> 
> Can I simply change the name of the link for the bz2-package in 
> linux/Makefile?

Regards,
Mauro

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

end of thread, other threads:[~2012-03-19 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 18:18 media_build: how can I test older drivers? Martin Dauskardt
2012-03-19 22:48 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).