From 77baa27d47dbf3185c743b70abb2577aa2e506af Mon Sep 17 00:00:00 2001 From: John W. Linville Date: Aug 28 2007 14:27:45 +0000 Subject: Initial import of b43-fwcutter. --- diff --git a/.cvsignore b/.cvsignore index e69de29..8ca36d7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +b43-fwcutter-008.tar.bz2 diff --git a/README.Fedora b/README.Fedora new file mode 100644 index 0000000..7bae969 --- /dev/null +++ b/README.Fedora @@ -0,0 +1,24 @@ +Using the b43-fwcutter tool to install Broadcom firmware in Fedora. +----------------------------------------------------------------------- + +The b43 and b43legacy drivers included in the Fedora kernel require +firmware images to load onto a Broadcom wireless device in order to +make it function. These firmware images can be extracted from any +of a number of driver binaries released for OSX, Windows, or Linux. + +The following URL (taken from the README file) points to sources of +firmware images which are known to work with these drivers: + + http://www.linuxwireless.org/en/users/Drivers/bcm43xx#devicefirmware + +Pleae note that the b43legacy driver requires "version 3" firmware, +while the b43 driver requires "version 4" firmware. + +Once you have obtained the source of the appropriate firmware, +run the command below as root. Be sure to replace '' +with the actual name of the source file (e.g. wl_apsta.o): + + b43-fwcutter -w /lib/firmware + +The command above will extract the firmware to the appropriate location +for loading by the driver as necessary. diff --git a/b43-fwcutter.spec b/b43-fwcutter.spec new file mode 100644 index 0000000..fd287e8 --- /dev/null +++ b/b43-fwcutter.spec @@ -0,0 +1,47 @@ +Name: b43-fwcutter +Version: 008 +Release: 1%{?dist} +Summary: Firmware extraction tool for Broadcom wireless driver + +Group: System Environment/Base +License: GPLv2+ +URL: http://bcm43xx.berlios.de/ +Source0: http://download.berlios.de/bcm43xx/%{name}-%{version}.tar.bz2 +Source1: README.Fedora +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +This package contains the 'b43-fwcutter' tool which is used to +extract firmware for the Broadcom network devices. + +See the README.Fedora file shipped in the package's documentation for +instructions on using this tool. + +%prep +%setup -q +sed -i -e 's/-O2/$(RPM_OPT_FLAGS)/' Makefile + +%build +make +cp %{SOURCE1} . + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +install -m0755 b43-fwcutter $RPM_BUILD_ROOT%{_bindir}/b43-fwcutter +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +install -m0644 b43-fwcutter.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_bindir}/b43-fwcutter +%{_mandir}/man1/* +%doc README README.Fedora COPYING + +%changelog +* Thu Aug 23 2007 John W. Linville 008-1 +- Import skeleton from bcm43xx-fwcutter-006-3 +- Initial build diff --git a/sources b/sources index e69de29..0a20b22 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3f7fbf4f8dcd296c6d1b0d42eab0f9ac b43-fwcutter-008.tar.bz2