diff --git a/brcmfmac43455-sdio.txt b/brcmfmac43455-sdio.txt new file mode 100644 index 0000000..6801286 --- /dev/null +++ b/brcmfmac43455-sdio.txt @@ -0,0 +1,97 @@ +# Cloned from bcm94345wlpagb_p2xx.txt +NVRAMRev=$Rev: 498373 $ +sromrev=11 +vendid=0x14e4 +devid=0x43ab +manfid=0x2d0 +prodid=0x06e4 +#macaddr=00:90:4c:c5:12:38 +macaddr=b8:27:eb:74:f2:6c +nocrc=1 +boardtype=0x6e4 +boardrev=0x1304 + +#XTAL 37.4MHz +xtalfreq=37400 + +btc_mode=1 +#------------------------------------------------------ +#boardflags: 5GHz eTR switch by default +# 2.4GHz eTR switch by default +# bit1 for btcoex +boardflags=0x00480201 +boardflags2=0x40800000 +boardflags3=0x44200100 +phycal_tempdelta=15 +rxchain=1 +txchain=1 +aa2g=1 +aa5g=1 +tssipos5g=1 +tssipos2g=1 +femctrl=0 +AvVmid_c0=1,165,2,100,2,100,2,100,2,100 +pa2ga0=-129,6525,-718 +pa2ga1=-149,4408,-601 +pa5ga0=-185,6836,-815,-186,6838,-815,-184,6859,-815,-184,6882,-818 +pa5ga1=-202,4285,-574,-201,4312,-578,-196,4391,-586,-201,4294,-575 +itrsw=1 +pdoffsetcckma0=2 +pdoffset2gperchan=0,-2,1,0,1,0,1,1,1,0,0,-1,-1,0 +pdoffset2g40ma0=16 +pdoffset40ma0=0x8888 +pdoffset80ma0=0x8888 +extpagain5g=2 +extpagain2g=2 +tworangetssi2g=1 +tworangetssi5g=1 +# LTECX flags +# WCI2 +ltecxmux=0 +ltecxpadnum=0x0504 +ltecxfnsel=0x22 +ltecxgcigpio=0x32 + +maxp2ga0=80 +ofdmlrbw202gpo=0x0022 +dot11agofdmhrbw202gpo=0x4442 +mcsbw202gpo=0x98444422 +mcsbw402gpo=0x98444422 +maxp5ga0=82,82,82,82 +mcsbw205glpo=0xb9555000 +mcsbw205gmpo=0xb9555000 +mcsbw205ghpo=0xb9555000 +mcsbw405glpo=0xb9555000 +mcsbw405gmpo=0xb9555000 +mcsbw405ghpo=0xb9555000 +mcsbw805glpo=0xb9555000 +mcsbw805gmpo=0xb9555000 +mcsbw805ghpo=0xb9555000 + +swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff +swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe +swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3 +swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3 + +vcodivmode=1 +deadman_to=481500000 + +ed_thresh2g=-54 +ed_thresh5g=-54 +eu_edthresh2g=-54 +eu_edthresh5g=-54 +ldo1=4 +rawtempsense=0x1ff +cckPwrIdxCorr=3 +cckTssiDelay=150 +ofdmTssiDelay=150 +txpwr2gAdcScale=1 +txpwr5gAdcScale=1 +dot11b_opts=0x3aa85 +cbfilttype=1 +fdsslevel_ch11=6 + +# Improved Bluetooth coexistence parameters from Cypress +btc_mode=1 +btc_params8=0x4e20 +btc_params1=0x7530 diff --git a/raspberrypi-firmware.spec b/raspberrypi-firmware.spec index c79f410..774828b 100644 --- a/raspberrypi-firmware.spec +++ b/raspberrypi-firmware.spec @@ -7,7 +7,7 @@ Name: raspberrypi-firmware Epoch: 1 Version: 4.19.1.20200114 -Release: 1mamba +Release: 2mamba Summary: Boot firmware files (except kernel) for the Raspberry Pi Group: System/Kernel and Hardware Vendor: openmamba @@ -26,6 +26,7 @@ Source20: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm802 Source21: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt Source22: LICENSE.brcmfmac Source23: https://github.com/OpenELEC/misc-firmware/raw/master/firmware/brcm/BCM43430A1.hcd +Source24: brcmfmac43455-sdio.txt License: GPL, LICENCE.broadcom ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END @@ -132,9 +133,10 @@ cp -R documentation/ilcomponents %{buildroot}%{_datadir}/doc/raspberrypi-kernel %endif install -d %{buildroot}/lib/firmware/brcm -install -D -m0644 %{SOURCE20} %{buildroot}/lib/firmware/brcm/brcmfmac43430-sdio.bin +#install -D -m0644 %{SOURCE20} %{buildroot}/lib/firmware/brcm/brcmfmac43430-sdio.bin install -D -m0644 %{SOURCE21} %{buildroot}/lib/firmware/brcm/brcmfmac43430-sdio.txt install -D -m0644 %{SOURCE22} %{buildroot}/lib/firmware/LICENSE.brcmfmac +install -D -m0644 %{SOURCE24} %{buildroot}/lib/firmware/brcm/brcmfmac43455-sdio.txt install %{S:1} %{buildroot}/boot/config.txt install %{S:2} %{buildroot}/boot/cmdline.txt @@ -205,8 +207,8 @@ install -D -m0644 %{SOURCE23} %{buildroot}/lib/firmware/BCM43430A1.hcd /boot/overlays/README /lib/firmware/LICENSE.brcmfmac /lib/firmware/BCM43430A1.hcd -/lib/firmware/brcm/brcmfmac43430-sdio.bin /lib/firmware/brcm/brcmfmac43430-sdio.txt +/lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/systemd/system/brcm43438.service %if %include_kernel @@ -247,6 +249,10 @@ install -D -m0644 %{SOURCE23} %{buildroot}/lib/firmware/BCM43430A1.hcd %endif %changelog +* Wed Mar 04 2020 Silvan Calarco 4.19.1.20200114-2mamba +- install brcmfmac43455-sdio.txt for rpi3/4 from raspbian +- use brcmfmac43430-sdio.bin from linux-firmware (to be checked) + * Sun Jan 26 2020 Silvan Calarco 4.19.1.20200114-1mamba - update to 4.19.1.20200114 @@ -291,7 +297,7 @@ install -D -m0644 %{SOURCE23} %{buildroot}/lib/firmware/BCM43430A1.hcd * Thu Apr 25 2013 Davide Madrisan 20130425git-1mamba - update to 20130425git -* Wed Mar 05 2013 Davide Madrisan 20130301git-3mamba +* Tue Mar 05 2013 Davide Madrisan 20130301git-3mamba - rename the kernel subpackages to follow the openmamba schema * Sun Mar 03 2013 Davide Madrisan 20130301git-2mamba