Accepting request 852420 from hardware

Fix previous request. The symbolic links have to be created relative to the
original file location. Otherwise, the link contains absolute paths which
traverse into the build machine tree. (forwarded request 852418 from nsaenzjulienne)

OBS-URL: https://build.opensuse.org/request/show/852420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcm43xx-firmware?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2020-12-03 17:41:45 +00:00 committed by Git OBS Bridge
commit b373ef6681
7 changed files with 139 additions and 5 deletions

2
.gitattributes vendored
View File

@ -24,3 +24,5 @@
## Specific LFS patterns
BCM43430A1.hcd filter=lfs diff=lfs merge=lfs -text
BCM4345C0.hcd filter=lfs diff=lfs merge=lfs -text
brcmfmac43456-sdio.bin filter=lfs diff=lfs merge=lfs -text
brcmfmac43456-sdio.clm_blob filter=lfs diff=lfs merge=lfs -text

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f6b79a28b181e8e7ec9b04ef430a48d1f74e07321d386330594815e13544e96
size 57602
oid sha256:a6946f2d6f01b06ae037e6508dd9af67c63b9c7dc9a9cf7e4f9fff019edd1c86
size 57622

View File

@ -1,7 +1,22 @@
-------------------------------------------------------------------
Mon Nov 30 10:29:24 UTC 2020 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
- Introduce firmware file for RPi Compute Module 4
- Update BCM4345C0.hcd
- Update brcmfmac43456-sdio.clm_blob
-------------------------------------------------------------------
Fri Nov 27 16:16:32 UTC 2020 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
- Introduce firmware files for RPi400:
* brcmfmac43456-sdio.bin
* brcmfmac43456-sdio.clm_blob
* brcmfmac43456-sdio.txt
-------------------------------------------------------------------
Tue Sep 15 07:23:29 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Update bluetooth firmware to address Sweyntooth and Spectra issues:
- Update bluetooth firmware to address Sweyntooth and Spectra issues (bsc#1176631):
* BCM43430A1.hcd
* BCM4345C0.hcd
@ -18,7 +33,7 @@ Thu Aug 20 10:30:53 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
-------------------------------------------------------------------
Tue Jul 21 14:54:44 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
- brcmfmac driver loads file depending on compatible. Rename files correspondingly.
- brcmfmac driver loads file depending on compatible. Rename files correspondingly (bsc#1169094).
- delete modprobe config file and install-brcmfmac.sh as no longer needed.
-------------------------------------------------------------------
@ -30,7 +45,7 @@ Mon Feb 3 07:52:50 UTC 2020 - Adrian Schröter <adrian@suse.de>
Wed Jan 1 21:41:37 UTC 2020 - Manu Maier <mmanu84@outlook.de>
- Dropped brcmfmac43455-sdio.raspberrypi,4-model-b.txt (in
kernel-firmware 20191218 (git commit c4586ffaac0c))
kernel-firmware 20191218 (git commit c4586ffaac0c)) (bsc#1163237)
-------------------------------------------------------------------
Wed Nov 27 15:37:52 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -42,6 +42,10 @@ Source4309: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom
#brcmfmac4356-pcie.txt is taken from ChromeOS repo
# https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/f151f016b4fe656399f199e28cabf8d658bcb52b/brcm/brcmfmac4356-pcie.txt
Source4356: brcmfmac4356-pcie.txt
#BCM43456
Source4561: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm/brcmfmac43456-sdio.bin
Source4562: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm/brcmfmac43456-sdio.clm_blob
Source4563: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm/brcmfmac43456-sdio.txt
Source4559: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C0.hcd
# Owns /lib/firmware/brcm and potentially conflicts
BuildRequires: kernel-firmware-brcm
@ -74,6 +78,11 @@ install -c -m 0644 %{SOURCE301} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE391} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE3622} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4356} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4561} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4562} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4563} %{buildroot}/lib/firmware/brcm/
ln -s brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
ln -s brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
# Used by bluez (hciattach)
install -c -m 0644 %{SOURCE4309} %{buildroot}/lib/firmware/
install -c -m 0644 %{SOURCE4559} %{buildroot}/lib/firmware/
@ -87,5 +96,10 @@ install -c -m 0644 %{SOURCE4559} %{buildroot}/lib/firmware/
/lib/firmware/brcm/brcmfmac4339-sdio.tronsmart,vega-s95-telos.txt
/lib/firmware/brcm/brcmfmac43362-sdio.sinovoip,bpi-m2.txt
/lib/firmware/brcm/brcmfmac4356-pcie.txt
/lib/firmware/brcm/brcmfmac43456-sdio.bin
/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob
/lib/firmware/brcm/brcmfmac43456-sdio.txt
/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
%changelog

3
brcmfmac43456-sdio.bin Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ddf83f2100885b166be52d21c8966db164fdd4e1d816aca2acc67ee9cc28d726
size 495898

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dbd7d22fc9af0eb560ceab45b19646d211bc7b34a1dd00c6bfac5dd6ba25e8a
size 7163

97
brcmfmac43456-sdio.txt Normal file
View File

@ -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=0,157,1,126,1,126,1,126,1,126
pa2ga0=-170,5896,-680
pa2ga1=-156,4032,-547
pa5ga0=-150,5547,-628,-150,5583,-640,-158,5608,-649,-160,5757,-673
pa5ga1=-109,3831,-519,-88,3821,-512,-125,3731,-528,-103,3829,-516
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