Broadcom BCM4311 - how to add the firmware to pfSense?



  • dmesg in relevant part -

    FreeBSD 8.1-PRERELEASE #0: Fri Jun 11 02:46:20 EDT 2010
        root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386
    ...
    bwi0: <broadcom bcm4311="" 802.11b="" g="" wireless="" lan="">mem 0xf4000000-0xf4003fff irq 17 at device 0.0 on pci16
    bwi0: [ITHREAD]
    bwi0: BBP: id 0x4311, rev 0x1, pkg 0
    bwi0: MAC: rev 10
    bwi0: PHY: type 2, rev 8, ver 4
    bwi0: RF: manu 0x17f, type 0x2050, rev 2
    bwi0: invalid antenna gain in sprom
    bwi0: WARNING: using obsoleted if_watchdog interface

    ifconfig - in relevant part

    bwi0: flags=8803 <up,broadcast,simplex,multicast>metric 0 mtu 2290
            ether 00:14:a5:f5:a5:4c
            media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
            status: no carrier

    bwi0_wlan1: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
            ether 00:14:a5:f5:a5:4c
            media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
            status: no carrier
            ssid "" channel 1 (2412 MHz 11b)
            country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
            bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1
            bintval 0

    THE ERROR

    bwi_v3_ucode: could not load firmware image, error 2
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init</broadcast,simplex,multicast></up,broadcast,simplex,multicast></broadcom>



  • Have you read the FreeBSD man page for the bwi driver? (Go to http://www.freebsd.org/cgi/man.cgi and type bwi in the box.)



  • I have read the FreeBSD man page! It says: "…The ports/net/bwi-firmware-kmod port needs to be installed before ifconfig(8) will work...", but how could I install this port into pfSense?
    Because in the Doc's of pfSense it says:
    "
    ...
    Can I use FreeBSD ports with pfSense?
    Yes, it is possible, although you should be careful what you install on your firewall. You cannot build ports from source because pfSense does not have a compiler, but you can use pkg_add to add binary packages.
    See Installing FreeBSD Packages for more information.
    ...
    "
    But the problem that I can not find the "binary package" for this bwi-firmware-kmod port! As I understand, it does not exist?!


  • Rebel Alliance Developer Netgate

    You are the first one who has asked about it :-)

    I need to add that to the builder so it gets into the snapshots. I hadn't done it yet because I wasn't aware of anyone who had a compatible card to test.


  • Rebel Alliance Developer Netgate

    I added the port to the builder. We'll see what happens after the next full snapshot run.



  • Hi,

    Can someone tell me how to get the firmware of a BCMXXX card working ?

    i got the same firmware error:

    bwi_v3_ucode: could not load firmware image, error 2
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init

    im currently running:

    FreeBSD node-01.mainbrain.ca 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Sun Aug  1 08:00:57 EDT 2010    sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8  i386

    Any help will be appreciated
    Thank!


  • Rebel Alliance Developer Netgate

    Looks like the module was being built but wasn't on the copy list to make it into the iso/image/firmware updates. Might be OK in the next snapshot (or the one after)



  • Thank for the really FAST reply ;) and your excellent  job.

    i will retry in few snapshots and will say the result.



  • Hi,

    Some new errors appear :

    bwi0: need multicast update callback
    bwi0: need multicast update callback
    bwi0: need multicast update callback
    bwi0: need multicast update callback
    firmware_register: cannot register image bwi_v3_pcm4, firmware table full!
    module_register_init: MOD_LOAD (bwi_v3_ucode_fw, 0xc3f7ec80, 0) error 6
    bwi_v3_ucode: firmware image loaded, but did not register
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init
    bwi_v3_ucode: could not load firmware image, error 17
    bwi0: request firmware bwi_v3_ucode failed
    bwi0: bwi_init_statechg: error 12 on MAC init

    i don't know what i can do  :-\


Log in to reply