Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33

Thread: BCM43224, BCM43225 and BCM4313 installation guide

  1. #31
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: BCM43224, BCM43225 and BCM4313 installation guide

    On 02/05/2011 09:36 AM, pistazienfresser wrote:
    >
    > Thanks for the reply.
    >
    > lwfinger;2286036 Wrote:
    >> On 02/03/2011 06:06 AM, pistazienfresser wrote:
    >>>
    >>> Maybe the according firmware could be included in the factory
    >>> repository/repositories to avoid irritation and make testing easier?
    >>> Compare:
    >>>
    >>> 'openFATE #311198 : Include brcm80211 driver into openSUSE 11.4'
    >>> (https://features.opensuse.org/311198)

    >>
    >> That firmware is included in recent linux-firmware packages. What is
    >> needed for
    >> the openSUSE maintainer to pick up that new package.

    >
    > Hm. Is this the same maintainer who did not want bugreports for missing
    > firmware been opened ?
    > Compare: 'Broadcom Drivers and Firmware, 11.4 M5'
    > (http://tinyurl.com/4ezzh7z) (2010/12/23 on brcm80211-firmware and
    > 14e4:4727 )
    >
    > Hm. Hm. And what should I recommend a puzzled user nowadays?
    > Compare: 'Ich kriege meine Broadcom wlan Karte nicht zum laufen'
    > (http://tinyurl.com/6fskjpn) (on 14e4:4727)
    > Just lead him to try to use the 11.3 package for 11.4/factory/milestone
    > 5/6 and by the way hoping he will be able to avoid problems with
    > repositories for different versions of openSUSE?


    There should not be a problem. The linux-firmware package installed with 11.4 M6
    is from Dec. 14, 2010. The entry of brcm80211 firmware into the linux-firmware
    git tree was Sep. 9, 2010. It should be OK.

    If you really want the latest, then issue the command

    Code:
    git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
    This step will create a copy of the current linux-firmware package in the
    "linux-firmware" directory, and you can bypass any package maintainer. To update
    at any time, go to that directory and issue "git pull".

  2. #32

    Default Re: BCM43224, BCM43225 and BCM4313 installation guide

    Hi all,
    I have a netbook ASPIRE 1830T with BCM43225. I was looking forward for new opensuse 11.4, because my wireless did not work. However it does not work even with new opensuse 11.4 with brcm80211 included. And already Drivers - Linux Wireless still reports lot of work to be done.

    Therefore I have decided to try to install the official Broadcom.com - 802.11 Linux STA driver. However, when I try to build the driver I get this error message:

    Code:
    aspire:/etc/hybrid_wl # make 
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    make[1]: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'
    make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. 
      CC [M]  /etc/hybrid_wl/src/wl/sys/wl_linux.o
    /etc/hybrid_wl/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
    /etc/hybrid_wl/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function ‘init_MUTEX’
    make[4]: *** [/etc/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
    make[3]: *** [_module_/etc/hybrid_wl] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default'
    make: *** [all] Error 2
    Anyone could help me with it?
    Thank you very much.

  3. #33

    Default Re: BCM43224, BCM43225 and BCM4313 installation guide

    I just installed Fedora 14 on a a Dell T7500 equipped with
    a Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01) WLAN card.

    I am following your excellent guide for installing a driver for the card.

    1. Getting the source using 'git' seems to work OK, at least the 'git' commands
    completed without error messages.

    2. Building the driver:

    The kernel-devel package is installed already, in fact there are two
    development packages installed:
    kernel-devel-2.6.35.14-106.fc14.x86_64
    kernel-devel-2.6.35.6-45.fc14.x86_64
    as a result of running 'yum update' shortly after installing Fedora 14.

    However: No directory linux-next/drivers/staging/brcm80211 exists !?


    Apparently something went wrong with the 'git' commands. What can be done ?




    Quote Originally Posted by ssouffri View Post
    Since the BCM43224, BCM43225, BCM4313 PCIe NIC (wireless card) drivers and firmware are not yet included in opensuse 11.3. I thought I would write a guide to help with the installation.

    The 2.6.34 kernel does not yet include the necessary brcm80211 drivers. They are scheduled for inclusion in the 2.6.37 kernel (Greg Kroah-Hartman). However these drivers are currently being developed and much of the functionality has already been implemented.

    I will explain how to compile and install the drivers below.
    1. Getting the source:

      We need the driver code as well as the firmware. These are located in the following git repositories:

      • git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
      • git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git

      You can install git using Yast, if you haven't already, and clone both repositories.
      Code:
      ~> git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
      ~> git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
      This will make a local copy of the source code repository.

    2. Building the driver:

      First instal the "kernel-devel" package. This contains code required for building the driver. This can be done using Yast.
      Then go to directory linux-next/drivers/staging/brcm80211. Here you will find a Makefile. We need to alter this file so that it can build the driver module for our kernel without having to compile and install the cloned new kernel.

      Add the following code to linux-next/drivers/staging/brcm80211/Makefile:

      Code:
      KDIR    := /lib/modules/$(shell uname -r)/build
      ccflags-y += -I$(SUBDIRS)/include -I$(SUBDIRS)/sys -I$(SUBDIRS)/phy
      
      default:
              echo $(PWD)
              $(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) CONFIG_BRCM80211_PCI=y V=1 modules
      Then run make:
      Code:
      ~/linux-next/drivers/staging/brcm80211> make
      If there are no errors(there shouldn't be) this will build the brcm80211.ko driver module and place it in the linux-next/drivers/staging/brcm80211/ folder.

    3. Installing the driver:

      First we should copy the driver module to the proper module directory. (Only root can do this)

      Code:
      linux-next/drivers/staging/brcm80211 # cp brcm80211.ko /lib/modules/`uname -r`/
      We also need to install the firmware files in the proper directory.
      These can be found in the other repository (linux-firmware). (More information can be found in the linux-next/drivers/staging/brcm80211/README file.)

      Code:
      linux-firmware/brcm # mkdir /lib/firmware/brcm
      linux-firmware/brcm # cp brcm/bcm43xx* /lib/firmware/brcm
      linux-firmware/brcm # cd /lib/firmware/brcm
      /lib/firmware/brcm # ln -s bcm43xx-0-610-809-0.fw bcm43xx-0.fw
      /lib/firmware/brcm # ln -s bcm43xx_hdr-0-610-809-0.fw bcm43xx_hdr-0.fw
      Now we can insert the module into the running kernel and load it
      Code:
      linux-next/drivers/staging/brcm80211 # insmod /lib/modules/`uname -r`/brcm80211.ko
      linux-next/drivers/staging/brcm80211 # modprobe brcm80211


    You should now be able to configure your wireless card using Yast.

    Notes:
    This worked for me on a Dell precision M4500 running opensuse 11.3 with kernel 2.6.34.7-0.3-desktop.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •