From f97304b2d3973d5facd08a13eed3207030f93d77 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 26 Apr 2014 15:42:28 +0200 Subject: add firmware for brcmfmac --- package/brcmfmac-firmware/Makefile | 27 ++++++++ .../brcmfmac-firmware/src/brcmfmac4329-sdio.bin | Bin 0 -> 253748 bytes .../brcmfmac-firmware/src/brcmfmac4329-sdio.txt | 70 +++++++++++++++++++++ .../brcmfmac-firmware/src/brcmfmac4330-sdio.bin | Bin 0 -> 222126 bytes .../brcmfmac-firmware/src/brcmfmac4330-sdio.txt | 40 ++++++++++++ 5 files changed, 137 insertions(+) create mode 100644 package/brcmfmac-firmware/Makefile create mode 100644 package/brcmfmac-firmware/src/brcmfmac4329-sdio.bin create mode 100644 package/brcmfmac-firmware/src/brcmfmac4329-sdio.txt create mode 100644 package/brcmfmac-firmware/src/brcmfmac4330-sdio.bin create mode 100644 package/brcmfmac-firmware/src/brcmfmac4330-sdio.txt (limited to 'package/brcmfmac-firmware') diff --git a/package/brcmfmac-firmware/Makefile b/package/brcmfmac-firmware/Makefile new file mode 100644 index 000000000..c2fe8173b --- /dev/null +++ b/package/brcmfmac-firmware/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= brcmfmac-firmware +PKG_VERSION:= 1.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 85a7d1d1386143fad312a5a82c422380 +PKG_DESCR:= firmware for broadcom wireless cards +PKG_SECTION:= wifi + +NO_DISTFILES:= 1 + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,BRCMFMAC_FIRMWARE,brcmfmac-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +BUILD_STYLE:= manual +INSTALL_STYLE:= manual + +do-install: + ${INSTALL_DIR} ${IDIR_BRCMFMAC_FIRMWARE}/lib/firmware/brcm + ${CP} ${WRKBUILD}/* ${IDIR_BRCMFMAC_FIRMWARE}/lib/firmware/brcm + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/brcmfmac-firmware/src/brcmfmac4329-sdio.bin b/package/brcmfmac-firmware/src/brcmfmac4329-sdio.bin new file mode 100644 index 000000000..d4c4560cd Binary files /dev/null and b/package/brcmfmac-firmware/src/brcmfmac4329-sdio.bin differ diff --git a/package/brcmfmac-firmware/src/brcmfmac4329-sdio.txt b/package/brcmfmac-firmware/src/brcmfmac4329-sdio.txt new file mode 100644 index 000000000..6be3013aa --- /dev/null +++ b/package/brcmfmac-firmware/src/brcmfmac4329-sdio.txt @@ -0,0 +1,70 @@ +# bcm94329sdagb board +# $Copyright (C) 2008 Broadcom Corporation$ +# $id$ + +sromrev=3 +vendid=0x14e4 +devid=0x432f +boardtype=0x53e + +boardrev=0x41 + +#boardflags=0x1200 +boardflags=0x200 + +# Specify the xtalfreq if it is otherthan 38.4MHz +xtalfreq=37400 + +aa2g=3 +aa5g=0 + +ag0=255 +#tri2g=0x64 + +# 11g paparams +pa0b0=5542,5542,5542 +pa0b1=64244,64244,64244 +pa0b2=65202,65202,65202 + +pa0itssit=62 +pa0maxpwr=74 +opo=0 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 + +# 11g rssi params +rssismf2g=0xa,0xa,0xa +rssismc2g=0xb,0xb,0xb +rssisav2g=0x3,0x3,0x3 +bxa2g=0 + +# country code +ccode=ALL +cctl=0x0 +cckdigfilttype=0 +ofdmdigfilttype=1 + +rxpo2g=0 + +boardnum=1 +macaddr=00:90:4c:c5:00:34 + +# xtal pu and pd time control variable +# pu time is driver default (0x1501) +#r13t=0x1501 + +####### +nocrc=1 + +#for mfgc +otpimagesize=182 + +# sdio extra configs +hwhdr=0x05ffff031030031003100000 + +#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples. +#RAW1=80 02 fe ff + +#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS. +RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A +nvramver=4.218.214.0 diff --git a/package/brcmfmac-firmware/src/brcmfmac4330-sdio.bin b/package/brcmfmac-firmware/src/brcmfmac4330-sdio.bin new file mode 100644 index 000000000..e3bc35546 Binary files /dev/null and b/package/brcmfmac-firmware/src/brcmfmac4330-sdio.bin differ diff --git a/package/brcmfmac-firmware/src/brcmfmac4330-sdio.txt b/package/brcmfmac-firmware/src/brcmfmac4330-sdio.txt new file mode 100644 index 000000000..9546246b9 --- /dev/null +++ b/package/brcmfmac-firmware/src/brcmfmac4330-sdio.txt @@ -0,0 +1,40 @@ +# bcm94330wlsdgb.txt +manfid=0x2d0 +prodid=0x0552 +vendid=0x14e4 +devid=0x4360 +boardtype=0x0552 +boardrev=0x11 +# this design has 2.4GHz SP3T switch +boardflags=0x00080200 +nocrc=1 +xtalfreq=37400 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +ag0=255 +aa2g=1 +ccode=CN +pa0b0=0x14d0 +pa0b1=0xfd98 +pa0b2=0xff78 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 +maxp2ga0=0x50 +sromrev=3 +il0macaddr=00:90:4c:c5:12:38 +wl0id=0x431b +cckPwrOffset=5 +ofdm2gpo=0x66666666 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 +swctrlmap_2g=0x04040404,0x02020202,0x02020404,0x10202,0x1ff +swctrlmap_5g=0x00100010,0x00280020,0x00200010,0x14202,0x2f8 +rfreg033=0x19 +rfreg033_cck=0x1f +dacrate2g=160 +txalpfbyp2g=1 +bphyscale=17 +cckPwrIdxCorr=-15 +pacalidx2g=45 +txgaintbl=1 -- cgit v1.2.3