aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/dvb/get_dvb_firmware
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/dvb/get_dvb_firmware')
-rw-r--r--Documentation/dvb/get_dvb_firmware54
1 files changed, 52 insertions, 2 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index 350959f4e41b..3348d313fbe0 100644
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -26,7 +26,8 @@ use IO::Handle;
26 "dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004", 26 "dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
27 "or51211", "or51132_qam", "or51132_vsb", "bluebird", 27 "or51211", "or51132_qam", "or51132_vsb", "bluebird",
28 "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718", 28 "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
29 "af9015", "ngene", "az6027"); 29 "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
30 "lme2510c_s7395_old");
30 31
31# Check args 32# Check args
32syntax() if (scalar(@ARGV) != 1); 33syntax() if (scalar(@ARGV) != 1);
@@ -555,6 +556,9 @@ sub ngene {
555 my $hash1 = "d798d5a757121174f0dbc5f2833c0c85"; 556 my $hash1 = "d798d5a757121174f0dbc5f2833c0c85";
556 my $file2 = "ngene_17.fw"; 557 my $file2 = "ngene_17.fw";
557 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b"; 558 my $hash2 = "26b687136e127b8ac24b81e0eeafc20b";
559 my $url2 = "http://l4m-daten.de/downloads/firmware/dvb-s2/linux/all/";
560 my $file3 = "ngene_18.fw";
561 my $hash3 = "ebce3ea769a53e3e0b0197c3b3f127e3";
558 562
559 checkstandard(); 563 checkstandard();
560 564
@@ -564,7 +568,10 @@ sub ngene {
564 wgetfile($file2, $url . $file2); 568 wgetfile($file2, $url . $file2);
565 verify($file2, $hash2); 569 verify($file2, $hash2);
566 570
567 "$file1, $file2"; 571 wgetfile($file3, $url2 . $file3);
572 verify($file3, $hash3);
573
574 "$file1, $file2, $file3";
568} 575}
569 576
570sub az6027{ 577sub az6027{
@@ -584,6 +591,49 @@ sub az6027{
584 591
585 $firmware; 592 $firmware;
586} 593}
594
595sub lme2510_lg {
596 my $sourcefile = "LMEBDA_DVBS.sys";
597 my $hash = "fc6017ad01e79890a97ec53bea157ed2";
598 my $outfile = "dvb-usb-lme2510-lg.fw";
599 my $hasho = "caa065d5fdbd2c09ad57b399bbf55cad";
600
601 checkstandard();
602
603 verify($sourcefile, $hash);
604 extract($sourcefile, 4168, 3841, $outfile);
605 verify($outfile, $hasho);
606 $outfile;
607}
608
609sub lme2510c_s7395 {
610 my $sourcefile = "US2A0D.sys";
611 my $hash = "b0155a8083fb822a3bd47bc360e74601";
612 my $outfile = "dvb-usb-lme2510c-s7395.fw";
613 my $hasho = "3a3cf1aeebd17b6ddc04cebe131e94cf";
614
615 checkstandard();
616
617 verify($sourcefile, $hash);
618 extract($sourcefile, 37248, 3720, $outfile);
619 verify($outfile, $hasho);
620 $outfile;
621}
622
623sub lme2510c_s7395_old {
624 my $sourcefile = "LMEBDA_DVBS7395C.sys";
625 my $hash = "7572ae0eb9cdf91baabd7c0ba9e09b31";
626 my $outfile = "dvb-usb-lme2510c-s7395.fw";
627 my $hasho = "90430c5b435eb5c6f88fd44a9d950674";
628
629 checkstandard();
630
631 verify($sourcefile, $hash);
632 extract($sourcefile, 4208, 3881, $outfile);
633 verify($outfile, $hasho);
634 $outfile;
635}
636
587# --------------------------------------------------------------- 637# ---------------------------------------------------------------
588# Utilities 638# Utilities
589 639