use File::Basename;
use File::Path;
-my $fwsrc0 = "linux-2.6-2.6.32/firmware";
+my $fwsrc0 = "linux-2.6-3.10.0/firmware";
my $fwsrc1 = "linux-firmware.git";
+my $fwsrc2 = "dvb-firmware.git";
my $fwsrc3 = "firmware-misc";
my $fwlist = shift;
my $skip = {};
# debian squeeze also misses those files
foreach my $fw (qw(
+sms1xxx-stellar-dvbt-01.fw
+sms1xxx-nova-b-dvbt-01.fw
+sms1xxx-nova-a-dvbt-01.fw
+mrvl/sd8897_uapsta.bin
+mrvl/pcie8766_uapsta.bin
+mrvl/sd8786_uapsta.bin
+cxgb4/t5fw.bin
+brcm/brcmfmac-sdio.txt
+brcm/brcmfmac-sdio.bin
+brcm/brcmfmac43242a.bin
+brcm/brcmfmac43143.bin
+brcm/brcmfmac4354-sdio.txt
+brcm/brcmfmac4339-sdio.txt
+brcm/brcmfmac4339-sdio.bin
+brcm/brcmfmac43362-sdio.txt
+brcm/brcmfmac4335-sdio.txt
+brcm/brcmfmac4334-sdio.txt
+brcm/brcmfmac4330-sdio.txt
+brcm/brcmfmac4329-sdio.txt
+brcm/brcmfmac43241b4-sdio.txt
+brcm/brcmfmac43241b0-sdio.txt
+brcm/brcmfmac43143-sdio.txt
+ct2fw-3.1.0.0.bin
+ctfw-3.1.0.0.bin
+cbfw-3.1.0.0.bin
+
+phanfw-4.0.579.bin
+
+
libertas/gspi8385.bin libertas/gspi8385_hlp.bin
ctfw.bin ct2fw.bin ctfw-3.0.3.1.bin ct2fw-3.0.3.1.bin
cbfw.bin cbfw-3.0.3.1.bin
iwlwifi-130-5.ucode
iwlwifi-100-6.ucode
iwlwifi-1000-6.ucode
+iwlwifi-8000-8.ucode
cxgb4/t4fw.bin
cxgb4/t4fw-1.3.10.0.bin
+ast_dp501_fw.bin
+
)) {
$skip->{$fw} = 1;
}
# use package bluez-firmware instead
next if $fw =~ m|^BCM2033|;
+ next if $fw =~ m|^xc3028-v27\.fw|; # found twice!
+ next if $fw =~ m|.inp|; # where are those files?
+ next if $fw =~ m|^ueagle-atm/|; # where are those files?
+
next if $force_skip->{$fw};
next if $fwdone->{$fw};
if ($fw =~ m|/|) {
next if $skip->{$fw};
+
die "unable to find firmware: $fw $mod\n";
}
copy_fw($sr, $fwdest);
next;
}
+
+ $sr = `find '$fwsrc2' -type f -name '$name'`;
+ chomp $sr;
+ if ($sr) {
+ print "found $fw in $sr\n";
+ copy_fw($sr, $fwdest);
+ next;
+ }
+
$sr = `find '$fwsrc3' -type f -name '$name'`;
chomp $sr;
if ($sr) {
}
next if $skip->{$fw};
+ next if $fw =~ m|^dvb-|;
die "unable to find firmware: $fw $mod\n";
}