Re: media_build: how can I test older drivers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux