forked from pool/b43-fwcutter
Accepting request 79465 from hardware
- Remove 2 files that require 300+ MB downloads - Add 5 new files with newest firmware (508.X, 644.1001, and 666.2) * 802.11 cores through rev 22 are supported - the install_bcm43xx_firmware script now unloads and reloads the driver so that it will work immediately - Removed firmware-IDs from fwcutter - they are not maintained in kernel - Updated to Revision 15 OBS-URL: https://build.opensuse.org/request/show/79465 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b43-fwcutter?expand=0&rev=14
This commit is contained in:
parent
9b0498eddd
commit
9e4cdb7485
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 21 14:38:00 CST 2011 - Larry.Finger@lwfinger.net
|
||||||
|
|
||||||
|
- Remove 2 files that require 300+ MB downloads
|
||||||
|
- Add 5 new files with newest firmware (508.X, 644.1001, and 666.2)
|
||||||
|
* 802.11 cores through rev 22 are supported
|
||||||
|
- the install_bcm43xx_firmware script now unloads and
|
||||||
|
reloads the driver so that it will work immediately
|
||||||
|
- Removed firmware-IDs from fwcutter - they are not maintained in kernel
|
||||||
|
- Updated Email address for Michael Buesch
|
||||||
|
- Updated to Revision 15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 12 14:38:00 CST 2010 - Larry.Finger@lwfinger.net
|
Tue Jan 12 14:38:00 CST 2010 - Larry.Finger@lwfinger.net
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package b43-fwcutter (Version 012)
|
# spec file for package b43-fwcutter
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,56 +15,44 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: b43-fwcutter
|
Name: b43-fwcutter
|
||||||
Group: Hardware/Wifi
|
|
||||||
AutoReqProv: on
|
|
||||||
Summary: Tool for extracting firmware from newer Broadcom WLAN drivers
|
|
||||||
Version: 012
|
Version: 012
|
||||||
Release: 2
|
Release: 3
|
||||||
|
License: BSD3c(or similar) ; BSD4c(or similar)
|
||||||
|
Summary: Tool for extracting firmware from newer Broadcom WLAN drivers
|
||||||
|
Url: http://linuxwireless.org/en/users/Drivers/b43
|
||||||
|
Group: Hardware/Wifi
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: %{name}.diff
|
Patch0: %{name}.diff
|
||||||
Source1: install_bcm43xx_firmware
|
Source1: install_bcm43xx_firmware
|
||||||
Url: http://linuxwireless.org/en/users/Drivers/b43
|
|
||||||
License: BSD3c(or similar) ; BSD4c(or similar)
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: curl
|
Requires: curl
|
||||||
Obsoletes: bcm43xx-fwcutter
|
|
||||||
Provides: bcm43xx-fwcutter
|
|
||||||
Supplements: modalias(pci:v000014E4d000043*sv*sd*bc*sc*i*)
|
Supplements: modalias(pci:v000014E4d000043*sv*sd*bc*sc*i*)
|
||||||
%define prefix /usr
|
Obsoletes: bcm43xx-fwcutter < %{version}
|
||||||
|
Provides: bcm43xx-fwcutter = %{version}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
b43-fwcutter can be used to extract firmware from Windows WLAN drivers
|
b43-fwcutter can be used to extract firmware from Windows WLAN drivers
|
||||||
for Broadcom bcm43xx devices. The firmware is necessary to run such a
|
for Broadcom bcm43xx devices. The firmware is necessary to run such a
|
||||||
card under Linux using the b43 or b43legacy driver.
|
card under Linux using the b43 or b43legacy driver.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Martin Langer <martin-langer@gmx.de>,
|
|
||||||
Michael Buesch <mbuesch@freenet.de>
|
|
||||||
Alex Beregszaszi
|
|
||||||
Johannes Berg <johannes@sipsolutions.net>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS"
|
make CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make PREFIX=%{buildroot}/usr \
|
#make PREFIX=%{buildroot}/usr \
|
||||||
MANDIR=%{buildroot}/%{_mandir} install
|
# MANDIR=%{buildroot}/%{_mandir} install
|
||||||
mkdir -p %{buildroot}/usr/sbin
|
mkdir -p %{buildroot}%{_prefix}/bin
|
||||||
install -m 755 %SOURCE1 %{buildroot}/usr/sbin/
|
mkdir -p %{buildroot}%{_prefix}/sbin
|
||||||
|
install -m 755 b43-fwcutter %{buildroot}%{_bindir}/
|
||||||
|
install -m 755 %{SOURCE1} %{buildroot}%{_sbindir}/
|
||||||
mkdir -p %{buildroot}/lib/firmware/b43/
|
mkdir -p %{buildroot}/lib/firmware/b43/
|
||||||
mkdir -p %{buildroot}/lib/firmware/b43legacy/
|
mkdir -p %{buildroot}/lib/firmware/b43legacy/
|
||||||
for i in a0g0bsinitvals4.fw a0g0bsinitvals5.fw a0g0bsinitvals9.fw a0g0initvals4.fw a0g0initvals5.fw a0g0initvals9.fw a0g1bsinitvals13.fw a0g1bsinitvals5.fw a0g1bsinitvals9.fw a0g1initvals13.fw a0g1initvals5.fw a0g1initvals9.fw b0g0bsinitvals13.fw b0g0bsinitvals4.fw b0g0bsinitvals5.fw b0g0bsinitvals9.fw b0g0initvals13.fw b0g0initvals4.fw b0g0initvals5.fw b0g0initvals9.fw lp0bsinitvals13.fw lp0bsinitvals14.fw lp0bsinitvals15.fw lp0initvals13.fw lp0initvals14.fw lp0initvals15.fw n0absinitvals11.fw n0bsinitvals11.fw n0initvals11.fw pcm4.fw pcm5.fw ucode11.fw ucode13.fw ucode14.fw ucode15.fw ucode4.fw ucode5.fw ucode9.fw
|
for i in a0g0bsinitvals5.fw a0g0bsinitvals9.fw a0g0initvals5.fw a0g0initvals9.fw a0g1bsinitvals13.fw a0g1bsinitvals5.fw a0g1bsinitvals9.fw a0g1initvals13.fw a0g1initvals5.fw a0g1initvals9.fw b0g0bsinitvals13.fw b0g0bsinitvals5.fw b0g0bsinitvals9.fw b0g0initvals13.fw b0g0initvals5.fw b0g0initvals9.fw lp0bsinitvals13.fw lp0bsinitvals14.fw lp0bsinitvals15.fw lp0bsinitvals16.fw lp0initvals13.fw lp0initvals14.fw lp0initvals15.fw lp0initvals16.fw n0absinitvals11.fw n0bsinitvals11.fw n0bsinitvals16.fw n0initvals11.fw n0initvals16.fw pcm5.fw sslpn0bsinitvals16.fw sslpn0initvals16.fw sslpn1bsinitvals20.fw sslpn1initvals20.fw sslpn2bsinitvals17.fw sslpn2bsinitvals19.fw sslpn2initvals17.fw sslpn2initvals19.fw sslpn4bsinitvals22.fw sslpn4initvals22.fw ucode11.fw ucode13.fw ucode14.fw ucode15.fw ucode16_lp.fw ucode16_mimo.fw ucode16_sslpn.fw ucode16_sslpn_nobt.fw ucode17.fw ucode19.fw ucode20.fw ucode22_sslpn.fw ucode5.fw ucode9.fw
|
||||||
do
|
do
|
||||||
touch %{buildroot}/lib/firmware/b43/$i
|
touch %{buildroot}/lib/firmware/b43/$i
|
||||||
done
|
done
|
||||||
@ -74,21 +62,20 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%__rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc README
|
%doc README
|
||||||
%{_bindir}/b43-fwcutter
|
%{_bindir}/b43-fwcutter
|
||||||
/usr/sbin/install_bcm43xx_firmware
|
%{_sbindir}/install_bcm43xx_firmware
|
||||||
%{_mandir}/man1/b43-fwcutter.1*
|
#%{_mandir}/man1/b43-fwcutter.1.gz
|
||||||
|
#/usr/man/man1/b43-fwcutter.1.gz
|
||||||
%dir /lib/firmware/b43
|
%dir /lib/firmware/b43
|
||||||
%dir /lib/firmware/b43legacy
|
%dir /lib/firmware/b43legacy
|
||||||
# ghost b43 firmware
|
# ghost b43 firmware
|
||||||
%ghost /lib/firmware/b43/a0g0bsinitvals4.fw
|
|
||||||
%ghost /lib/firmware/b43/a0g0bsinitvals5.fw
|
%ghost /lib/firmware/b43/a0g0bsinitvals5.fw
|
||||||
%ghost /lib/firmware/b43/a0g0bsinitvals9.fw
|
%ghost /lib/firmware/b43/a0g0bsinitvals9.fw
|
||||||
%ghost /lib/firmware/b43/a0g0initvals4.fw
|
|
||||||
%ghost /lib/firmware/b43/a0g0initvals5.fw
|
%ghost /lib/firmware/b43/a0g0initvals5.fw
|
||||||
%ghost /lib/firmware/b43/a0g0initvals9.fw
|
%ghost /lib/firmware/b43/a0g0initvals9.fw
|
||||||
%ghost /lib/firmware/b43/a0g1bsinitvals13.fw
|
%ghost /lib/firmware/b43/a0g1bsinitvals13.fw
|
||||||
@ -98,29 +85,47 @@ done
|
|||||||
%ghost /lib/firmware/b43/a0g1initvals5.fw
|
%ghost /lib/firmware/b43/a0g1initvals5.fw
|
||||||
%ghost /lib/firmware/b43/a0g1initvals9.fw
|
%ghost /lib/firmware/b43/a0g1initvals9.fw
|
||||||
%ghost /lib/firmware/b43/b0g0bsinitvals13.fw
|
%ghost /lib/firmware/b43/b0g0bsinitvals13.fw
|
||||||
%ghost /lib/firmware/b43/b0g0bsinitvals4.fw
|
|
||||||
%ghost /lib/firmware/b43/b0g0bsinitvals5.fw
|
%ghost /lib/firmware/b43/b0g0bsinitvals5.fw
|
||||||
%ghost /lib/firmware/b43/b0g0bsinitvals9.fw
|
%ghost /lib/firmware/b43/b0g0bsinitvals9.fw
|
||||||
%ghost /lib/firmware/b43/b0g0initvals13.fw
|
%ghost /lib/firmware/b43/b0g0initvals13.fw
|
||||||
%ghost /lib/firmware/b43/b0g0initvals4.fw
|
|
||||||
%ghost /lib/firmware/b43/b0g0initvals5.fw
|
%ghost /lib/firmware/b43/b0g0initvals5.fw
|
||||||
%ghost /lib/firmware/b43/b0g0initvals9.fw
|
%ghost /lib/firmware/b43/b0g0initvals9.fw
|
||||||
%ghost /lib/firmware/b43/lp0bsinitvals13.fw
|
%ghost /lib/firmware/b43/lp0bsinitvals13.fw
|
||||||
%ghost /lib/firmware/b43/lp0bsinitvals14.fw
|
%ghost /lib/firmware/b43/lp0bsinitvals14.fw
|
||||||
%ghost /lib/firmware/b43/lp0bsinitvals15.fw
|
%ghost /lib/firmware/b43/lp0bsinitvals15.fw
|
||||||
|
%ghost /lib/firmware/b43/lp0bsinitvals16.fw
|
||||||
%ghost /lib/firmware/b43/lp0initvals13.fw
|
%ghost /lib/firmware/b43/lp0initvals13.fw
|
||||||
%ghost /lib/firmware/b43/lp0initvals14.fw
|
%ghost /lib/firmware/b43/lp0initvals14.fw
|
||||||
%ghost /lib/firmware/b43/lp0initvals15.fw
|
%ghost /lib/firmware/b43/lp0initvals15.fw
|
||||||
|
%ghost /lib/firmware/b43/lp0initvals16.fw
|
||||||
%ghost /lib/firmware/b43/n0absinitvals11.fw
|
%ghost /lib/firmware/b43/n0absinitvals11.fw
|
||||||
%ghost /lib/firmware/b43/n0bsinitvals11.fw
|
%ghost /lib/firmware/b43/n0bsinitvals11.fw
|
||||||
|
%ghost /lib/firmware/b43/n0bsinitvals16.fw
|
||||||
%ghost /lib/firmware/b43/n0initvals11.fw
|
%ghost /lib/firmware/b43/n0initvals11.fw
|
||||||
%ghost /lib/firmware/b43/pcm4.fw
|
%ghost /lib/firmware/b43/n0initvals16.fw
|
||||||
%ghost /lib/firmware/b43/pcm5.fw
|
%ghost /lib/firmware/b43/pcm5.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn0bsinitvals16.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn0initvals16.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn1bsinitvals20.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn1initvals20.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn2bsinitvals17.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn2bsinitvals19.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn2initvals17.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn2initvals19.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn4bsinitvals22.fw
|
||||||
|
%ghost /lib/firmware/b43/sslpn4initvals22.fw
|
||||||
%ghost /lib/firmware/b43/ucode11.fw
|
%ghost /lib/firmware/b43/ucode11.fw
|
||||||
%ghost /lib/firmware/b43/ucode13.fw
|
%ghost /lib/firmware/b43/ucode13.fw
|
||||||
%ghost /lib/firmware/b43/ucode14.fw
|
%ghost /lib/firmware/b43/ucode14.fw
|
||||||
%ghost /lib/firmware/b43/ucode15.fw
|
%ghost /lib/firmware/b43/ucode15.fw
|
||||||
%ghost /lib/firmware/b43/ucode4.fw
|
%ghost /lib/firmware/b43/ucode16_lp.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode16_mimo.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode16_sslpn.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode16_sslpn_nobt.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode17.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode19.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode20.fw
|
||||||
|
%ghost /lib/firmware/b43/ucode22_sslpn.fw
|
||||||
%ghost /lib/firmware/b43/ucode5.fw
|
%ghost /lib/firmware/b43/ucode5.fw
|
||||||
%ghost /lib/firmware/b43/ucode9.fw
|
%ghost /lib/firmware/b43/ucode9.fw
|
||||||
# ghost b43legacy firmware
|
# ghost b43legacy firmware
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
# WLAN cards using Broadcom's bcm43xx chips.
|
# WLAN cards using Broadcom's bcm43xx chips.
|
||||||
|
|
||||||
# firmware for b43
|
# firmware for b43
|
||||||
URL1=http://mirror2.openwrt.org/sources
|
URL1=http://www.lwfinger.com/b43-firmware
|
||||||
FILE1=broadcom-wl-4.178.10.4.tar.bz2
|
FILE1=broadcom-wl-5.10.144.3.tar.bz2
|
||||||
FIRMWARE1=broadcom-wl-4.178.10.4/linux/wl_apsta.o
|
FIRMWARE1=broadcom-wl-5.10.144.3/linux/wl_apsta.o
|
||||||
|
|
||||||
# firmware for b43legacy
|
# firmware for b43legacy
|
||||||
URL2=http://downloads.openwrt.org/sources
|
URL2=http://downloads.openwrt.org/sources
|
||||||
@ -45,11 +45,15 @@ fi
|
|||||||
echo
|
echo
|
||||||
if [ -d /lib/firmware/b43 ] ; then
|
if [ -d /lib/firmware/b43 ] ; then
|
||||||
echo "b43 firmware successfully installed."
|
echo "b43 firmware successfully installed."
|
||||||
|
/sbin/modprobe -r b43
|
||||||
|
/sbin/modprobe b43
|
||||||
else
|
else
|
||||||
echo "b43 firmware installation failed."
|
echo "b43 firmware installation failed."
|
||||||
fi
|
fi
|
||||||
if [ -d /lib/firmware/b43legacy ] ; then
|
if [ -d /lib/firmware/b43legacy ] ; then
|
||||||
echo "b43legacy firmware successfully installed."
|
echo "b43legacy firmware successfully installed."
|
||||||
|
/sbin/modprobe -r b43legacy
|
||||||
|
/sbin/modprobe b43legacy
|
||||||
else
|
else
|
||||||
echo "b43legacy firmware installation failed."
|
echo "b43legacy firmware installation failed."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user