Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c545d6ad authored by Andreas Arens's avatar Andreas Arens Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6016): get_dvb_firmware: update script for new location of tda10046 firmware



Update get_dvb_firmware script for the new location of the 
tda10046 firmware.

The old location doesn't work anymore.

Signed-off-by: default avatarAndreas Arens <ari@goron.de>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0d84a62b
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -111,8 +111,8 @@ sub tda10045 {
}

sub tda10046 {
    my $sourcefile = "tt_budget_217g.zip";
    my $url = "http://www.technotrend.de/new/217g/$sourcefile";
	my $sourcefile = "TT_PCI_2.19h_28_11_2006.zip";
	my $url = "http://technotrend-online.com/download/software/219/$sourcefile";
	my $hash = "6a7e1e2f2644b162ff0502367553c72d";
	my $outfile = "dvb-fe-tda10046.fw";
	my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
@@ -121,7 +121,7 @@ sub tda10046 {

	wgetfile($sourcefile, $url);
	unzip($sourcefile, $tmpdir);
    extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x3f731, 24478, "$tmpdir/fwtmp");
	extract("$tmpdir/TT_PCI_2.19h_28_11_2006/software/OEM/PCI/App/ttlcdacc.dll", 0x65389, 24478, "$tmpdir/fwtmp");
	verify("$tmpdir/fwtmp", $hash);
	copy("$tmpdir/fwtmp", $outfile);