Commit 7c5e3e5f authored by Bimow Chen's avatar Bimow Chen Committed by Mauro Carvalho Chehab

[media] get_dvb_firmware: Update firmware of ITEtech IT9135

IT9135 firmware update.
Signed-off-by: default avatarBimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent c0aaf696
...@@ -708,23 +708,25 @@ sub drxk_terratec_htc_stick { ...@@ -708,23 +708,25 @@ sub drxk_terratec_htc_stick {
} }
sub it9135 { sub it9135 {
my $sourcefile = "dvb-usb-it9135.zip"; my $url = "http://www.ite.com.tw/uploads/firmware/v3.25.0.0/";
my $url = "http://www.ite.com.tw/uploads/firmware/v3.6.0.0/$sourcefile"; my $file1 = "dvb-usb-it9135-01.zip";
my $hash = "1e55f6c8833f1d0ae067c2bb2953e6a9";
my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
my $outfile = "dvb-usb-it9135.fw";
my $fwfile1 = "dvb-usb-it9135-01.fw"; my $fwfile1 = "dvb-usb-it9135-01.fw";
my $hash1 = "02fcf11174eda84745dae7e61c5ff9ba";
my $file2 = "dvb-usb-it9135-02.zip";
my $fwfile2 = "dvb-usb-it9135-02.fw"; my $fwfile2 = "dvb-usb-it9135-02.fw";
my $hash2 = "d5e1437dc24358578e07999475d4cac9";
checkstandard(); checkstandard();
wgetfile($sourcefile, $url); wgetfile($file1, $url . $file1);
unzip($sourcefile, $tmpdir); unzip($file1, "");
verify("$tmpdir/$outfile", $hash); verify("$fwfile1", $hash1);
extract("$tmpdir/$outfile", 64, 8128, "$fwfile1");
extract("$tmpdir/$outfile", 12866, 5817, "$fwfile2"); wgetfile($file2, $url . $file2);
unzip($file2, "");
verify("$fwfile2", $hash2);
"$fwfile1 $fwfile2" "$file1 $file2"
} }
sub tda10071 { sub tda10071 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment