diff options
author | Bimow Chen <Bimow.Chen@ite.com.tw> | 2014-08-01 05:19:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 16:03:04 -0400 |
commit | 7c5e3e5f017d3fced9211747bed423c6bcda7f7c (patch) | |
tree | afeb49ebcfb7eb3d94eb4ca1607735df5107757c /Documentation/dvb/get_dvb_firmware | |
parent | c0aaf696d45e2a72048a56441e81dad78659c698 (diff) |
[media] get_dvb_firmware: Update firmware of ITEtech IT9135
IT9135 firmware update.
Signed-off-by: Bimow Chen <Bimow.Chen@ite.com.tw>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/dvb/get_dvb_firmware')
-rwxr-xr-x | Documentation/dvb/get_dvb_firmware | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index 26c623dd3aa3..91b43d2738c7 100755 --- a/Documentation/dvb/get_dvb_firmware +++ b/Documentation/dvb/get_dvb_firmware | |||
@@ -708,23 +708,25 @@ sub drxk_terratec_htc_stick { | |||
708 | } | 708 | } |
709 | 709 | ||
710 | sub it9135 { | 710 | sub it9135 { |
711 | my $sourcefile = "dvb-usb-it9135.zip"; | 711 | my $url = "http://www.ite.com.tw/uploads/firmware/v3.25.0.0/"; |
712 | my $url = "http://www.ite.com.tw/uploads/firmware/v3.6.0.0/$sourcefile"; | 712 | my $file1 = "dvb-usb-it9135-01.zip"; |
713 | my $hash = "1e55f6c8833f1d0ae067c2bb2953e6a9"; | ||
714 | my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); | ||
715 | my $outfile = "dvb-usb-it9135.fw"; | ||
716 | my $fwfile1 = "dvb-usb-it9135-01.fw"; | 713 | my $fwfile1 = "dvb-usb-it9135-01.fw"; |
714 | my $hash1 = "02fcf11174eda84745dae7e61c5ff9ba"; | ||
715 | my $file2 = "dvb-usb-it9135-02.zip"; | ||
717 | my $fwfile2 = "dvb-usb-it9135-02.fw"; | 716 | my $fwfile2 = "dvb-usb-it9135-02.fw"; |
717 | my $hash2 = "d5e1437dc24358578e07999475d4cac9"; | ||
718 | 718 | ||
719 | checkstandard(); | 719 | checkstandard(); |
720 | 720 | ||
721 | wgetfile($sourcefile, $url); | 721 | wgetfile($file1, $url . $file1); |
722 | unzip($sourcefile, $tmpdir); | 722 | unzip($file1, ""); |
723 | verify("$tmpdir/$outfile", $hash); | 723 | verify("$fwfile1", $hash1); |
724 | extract("$tmpdir/$outfile", 64, 8128, "$fwfile1"); | 724 | |
725 | extract("$tmpdir/$outfile", 12866, 5817, "$fwfile2"); | 725 | wgetfile($file2, $url . $file2); |
726 | unzip($file2, ""); | ||
727 | verify("$fwfile2", $hash2); | ||
726 | 728 | ||
727 | "$fwfile1 $fwfile2" | 729 | "$file1 $file2" |
728 | } | 730 | } |
729 | 731 | ||
730 | sub tda10071 { | 732 | sub tda10071 { |