From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 7e6be0de5b5fc7cac28b7236533ce22ec99dcb6d Date: Fri, 30 Jan 2015 18:10:18 +0100 Message-ID: <20150130171020.769BA21829@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6740545132553458401==" List-Id: --===============6740545132553458401== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, master has been updated via 7e6be0de5b5fc7cac28b7236533ce22ec99dcb6d (commit) from 9c47987e25af93f88bfddc38c84da045dda2273d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7e6be0de5b5fc7cac28b7236533ce22ec99dcb6d Author: Arne Fitzenreiter Date: Fri Jan 30 18:09:21 2015 +0100 firmwares: add Banana Pro and Wandboard wlan NVRAM files. ----------------------------------------------------------------------- Summary of changes: config/lib/firmware/brcm/brcmfmac4329-sdio.txt | 68 ++++++++++++ config/lib/firmware/brcm/brcmfmac4330-sdio.txt | 122 +++++++++++++++++++= ++ config/lib/firmware/brcm/brcmfmac43362-sdio.txt | 58 ++++++++++ config/rootfiles/common/stage2 | 8 +- .../rootfiles/core/86/filelists/updated-firmwares | 3 + lfs/stage2 | 3 +- 6 files changed, 259 insertions(+), 3 deletions(-) create mode 100644 config/lib/firmware/brcm/brcmfmac4329-sdio.txt create mode 100644 config/lib/firmware/brcm/brcmfmac4330-sdio.txt create mode 100644 config/lib/firmware/brcm/brcmfmac43362-sdio.txt Difference in files: diff --git a/config/lib/firmware/brcm/brcmfmac4329-sdio.txt b/config/lib/firm= ware/brcm/brcmfmac4329-sdio.txt new file mode 100644 index 0000000..3832006 --- /dev/null +++ b/config/lib/firmware/brcm/brcmfmac4329-sdio.txt @@ -0,0 +1,68 @@ +# bcm4329 NVRAM file for Wandboard Dual + +sromrev=3D3 +vendid=3D0x14e4 +devid=3D0x432f +boardtype=3D0x53e + +boardrev=3D0x41 + +#boardflags=3D0x1200 +boardflags=3D0x200 + +# Specify the xtalfreq if it is otherthan 38.4MHz +xtalfreq=3D37400 + +aa2g=3D3 +aa5g=3D0 + +ag0=3D255 +#tri2g=3D0x64 + +# 11g paparams +pa0b0=3D5542,5542,5542 +pa0b1=3D64244,64244,64244 +pa0b2=3D65202,65202,65202 + +pa0itssit=3D62 +pa0maxpwr=3D74 +opo=3D0 +mcs2gpo0=3D0x6666 +mcs2gpo1=3D0x6666 + +# 11g rssi params +rssismf2g=3D0xa,0xa,0xa +rssismc2g=3D0xb,0xb,0xb +rssisav2g=3D0x3,0x3,0x3 +bxa2g=3D0 + +# country code +ccode=3DALL +cctl=3D0x0 +cckdigfilttype=3D0 +ofdmdigfilttype=3D1 + +rxpo2g=3D0 + +boardnum=3D1 +macaddr=3DDE:AD:BE:EF:00:00 + +# xtal pu and pd time control variable +# pu time is driver default (0x1501) +#r13t=3D0x1501 + +####### +nocrc=3D1 + +#for mfgc +otpimagesize=3D182 + +# sdio extra configs +hwhdr=3D0x05ffff031030031003100000 + +#This generates empty F1, F2 and F3 tuple chains, and may be used if the hos= t SDIO stack does not require the standard tuples. +#RAW1=3D80 02 fe ff + +#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and co= mmon CIS. +RAW1=3D80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 0= 0 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=3D4.218.214.0 diff --git a/config/lib/firmware/brcm/brcmfmac4330-sdio.txt b/config/lib/firm= ware/brcm/brcmfmac4330-sdio.txt new file mode 100644 index 0000000..c5c2611 --- /dev/null +++ b/config/lib/firmware/brcm/brcmfmac4330-sdio.txt @@ -0,0 +1,122 @@ +# bcm4330 NVRAM file for Wandboard Quad + +manfid=3D0x2d0 +prodid=3D0x0532 +vendid=3D0x14e4 +devid=3D0x4360 +boardtype=3D0x0532 +boardrev=3D0x20 +boardflags=3D0x10080201 + +nocrc=3D1 +xtalfreq=3D37400 +xtalmode=3D0x20,0x4,0 +boardnum=3D22 +macaddr=3DDE:AD:BE:EF:00:00 +ag0=3D252 +ag1=3D252 +aa2g=3D1 +aa5g=3D1 +ccode=3DEU +regrev=3D5 + +#for BT-coexistence +btc_params80=3D0 +btc_params6=3D10 +btc_params8=3D10000 + +sd_gpout=3D0 +# sd_oobonly=3D1 +muxenab=3D0x10 + +# 2G PA param_B42R 110927 +pa0b0=3D0x12E4 +pa0b1=3D0xFE09 +pa0b2=3D0xFF9A +#pa0itssit=3D62 +rssismf2g=3D0xa +rssismc2g=3D0x3 +rssisav2g=3D0x7 + +# rssi params for 5GHz B42R_110803 +#rssismf5g=3D0x4 +rssismf5g=3D0xa +rssismc5g=3D0x7 +rssisav5g=3D0x1 +#PA parameters for lower band +pa1lob0=3D0x144F +pa1lob1=3D0xFD6B +pa1lob2=3D0xFF3B +#PA parameters for midband +pa1b0=3D0x139C +pa1b1=3D0xFD87 +pa1b2=3D0xFF4F +#PA parameters for high band +pa1hib0=3D0x12CA +pa1hib1=3D0xFD9A +pa1hib2=3D0xFF4E + +# 2G PA offset +maxp2ga0=3D64 +sromrev=3D3 +cckpo=3D0 +ofdm2gpo=3D0x66666666 +mcs2gpo0=3D0xaaaa +mcs2gpo1=3D0xaaaa + +# 5G PA offset +maxp5ga0=3D66 +maxp5gla0=3D66 +maxp5gha0=3D66 +ofdm5gpo=3D0x22222222 +ofdm5glpo=3D0x11111111 +ofdm5ghpo=3D0x22222222 +mcs5gpo0=3D0x6666 +mcs5gpo1=3D0x6666 +mcs5glpo0=3D0x5555 +mcs5glpo1=3D0x5555 +mcs5ghpo0=3D0x6666 +mcs5ghpo1=3D0x6666 + +cckPwrOffset=3D4 +cckdigfilttype=3D22 +ofdmdigfilttype=3D2 +extpagain5g=3D2 +#wl0id=3D0x431b + +# For 2GHz Tx EVM/SM +rfreg033=3D0x19 +rfreg033_cck=3D0x1d +pacalidx2g=3D65 +dacrate2g=3D160 +txalpfbyp2g=3D1 +bphyscale=3D17 + +# 5GHz LOFT and IQ CAL +txgaintbl5g=3D1 +txiqlopapu5g=3D1 +txiqlopag5g=3D0x10 +iqlocalidx5g=3D24 + +# 5GHz Noise CAL parameter +noise_cal_po_5g=3D5 +noise_cal_enable_5g=3D0 + +# 2GHz RxPER at low rates +noise_cal_ref_2g=3D56 +noise_cal_po_bias_2g=3D-4 +noise_cal_enable_2g=3D1 + +# Max input level on a-band +triso5g=3D9 + +# Tx power control, especially temp. +tssitime=3D1 + +#fc+1.7GHz Spur Elimination +loidacmode5g=3D1 + +swctrlmap_2g=3D0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff +swctrlmap_5g=3D0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8 + + diff --git a/config/lib/firmware/brcm/brcmfmac43362-sdio.txt b/config/lib/fir= mware/brcm/brcmfmac43362-sdio.txt new file mode 100644 index 0000000..d967bfe --- /dev/null +++ b/config/lib/firmware/brcm/brcmfmac43362-sdio.txt @@ -0,0 +1,58 @@ +# bcm43362 NVRAM file for LeMaker Banana Pro and Cubietruck +#AP6210_NVRAM_V1.2_03192013 + +manfid=3D0x2d0 +prodid=3D0x492 +vendid=3D0x14e4 +devid=3D0x4343 +boardtype=3D0x0598 + +# Board Revision is P307, same nvram file can be used for P304, P305, P306 a= nd P307 as the tssi pa params used are same +#Please force the automatic RX PER data to the respective board directory if= not using P307 board, for e.g. for P305 boards force the data into the follo= wing directory /projects/BCM43362/a1_labdata/boardtests/results/sdg_rev0305 +boardrev=3D0x1307 +boardnum=3D777 +xtalfreq=3D26000 +boardflags=3D0x80201 +boardflags2=3D0x80 +sromrev=3D3 +wl0id=3D0x431b +macaddr=3DDE:AD:BE:EF:00:00 +aa2g=3D1 +ag0=3D2 +maxp2ga0=3D74 +cck2gpo=3D0x2222 +ofdm2gpo=3D0x44444444 +mcs2gpo0=3D0x6666 +mcs2gpo1=3D0x6666 +pa0maxpwr=3D56 + +#P207 PA params +#pa0b0=3D5447 +#pa0b1=3D-658 +#pa0b2=3D-175
+ +#Same PA params for P304,P305, P306, P307 + +pa0b0=3D5447 +pa0b1=3D-607 +pa0b2=3D-160 +pa0itssit=3D62 +pa1itssit=3D62 + + +cckPwrOffset=3D5 +ccode=3D0 +rssismf2g=3D0xa +rssismc2g=3D0x3 +rssisav2g=3D0x7 +triso2g=3D0 +noise_cal_enable_2g=3D0 +noise_cal_po_2g=3D0 +swctrlmap_2g=3D0x04040404,0x02020202,0x02020202,0x010101,0x1ff +temp_add=3D29767 +temp_mult=3D425 + +btc_flags=3D0x6 +btc_params0=3D5000 +btc_params1=3D1000 +btc_params6=3D63 diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 323f978..663aef5 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -46,6 +46,11 @@ etc/system-release #home home/nobody #lib +#lib/firmware +#lib/firmware/brcm +lib/firmware/brcm/brcmfmac4329-sdio.txt +lib/firmware/brcm/brcmfmac4330-sdio.txt +lib/firmware/brcm/brcmfmac43362-sdio.txt #media media/cdrom media/floppy @@ -61,6 +66,7 @@ root/.bash_logout root/.bash_profile root/.bashrc root/ipfire +run #sbin #srv #usr/bin @@ -95,7 +101,6 @@ usr/local/bin/scanhd usr/local/bin/settime usr/local/bin/timecheck usr/local/bin/timezone-transition -#usr/local/bin/uname usr/local/bin/update-bootloader usr/local/bin/update-lang-cache #usr/local/include @@ -139,7 +144,6 @@ usr/share/doc/licenses/GPLv3 #usr/share/misc #usr/share/terminfo #usr/share/zoneinfo -run #var #var/cache var/empty diff --git a/config/rootfiles/core/86/filelists/updated-firmwares b/config/ro= otfiles/core/86/filelists/updated-firmwares index 6a7a43c..f923b15 100644 --- a/config/rootfiles/core/86/filelists/updated-firmwares +++ b/config/rootfiles/core/86/filelists/updated-firmwares @@ -200,3 +200,6 @@ lib/firmware/ti-connectivity/wl18xx-fw-3.bin lib/firmware/ti-connectivity/wl18xx-fw-4.bin lib/firmware/v4l-cx23885-enc-broken.fw lib/firmware/WHENCE +lib/firmware/brcm/brcmfmac4329-sdio.txt +lib/firmware/brcm/brcmfmac4330-sdio.txt +lib/firmware/brcm/brcmfmac43362-sdio.txt diff --git a/lfs/stage2 b/lfs/stage2 index 19d9553..895ee15 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -49,7 +49,7 @@ $(TARGET) : @$(PREBUILD) =20 # Create directories - -mkdir -pv /{bin,boot,etc/opt,etc/modprobe.d,home,lib,mnt,opt,run} + -mkdir -pv /{bin,boot,etc/opt,etc/modprobe.d,home,lib/firmware/brcm,mnt,opt= ,run} -mkdir -pv /{media/{floppy,cdrom,usbkey},sbin,srv,var} -install -dv -m 0750 /root -install -dv -m 1777 /tmp /var/tmp @@ -75,6 +75,7 @@ $(TARGET) : =20 # Config files cp -rvf $(DIR_SRC)/config/etc/* /etc; + cp -rvf $(DIR_SRC)/config/lib/* /lib; touch /etc/{fs,m}tab echo "$(NAME) v$(VERSION) - $(SLOGAN)" > /etc/issue echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D" >> /etc/issue hooks/post-receive -- IPFire 2.x development tree --===============6740545132553458401==--