Accepting request 962686 from home:iivanov:branches:openSUSE:Factory

- Add required firmware file for Bluetooth module found on RPi Zero 2W (bsc#1197286)

OBS-URL: https://build.opensuse.org/request/show/962686
OBS-URL: https://build.opensuse.org/package/show/hardware/bcm43xx-firmware?expand=0&rev=47
This commit is contained in:
Andreas Färber 2022-03-18 13:02:59 +00:00 committed by Git OBS Bridge
parent 4ac7e37997
commit a6f6bf6c8e
4 changed files with 15 additions and 1 deletions

1
.gitattributes vendored
View File

@ -23,6 +23,7 @@
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
BCM43430A1.hcd filter=lfs diff=lfs merge=lfs -text
BCM43430B0.hcd filter=lfs diff=lfs merge=lfs -text
BCM4345C0.hcd filter=lfs diff=lfs merge=lfs -text
BCM4345C5.hcd filter=lfs diff=lfs merge=lfs -text
brcmfmac43436-sdio.bin filter=lfs diff=lfs merge=lfs -text

3
BCM43430B0.hcd Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 12:24:47 UTC 2022 - Ivan Ivanov <ivan.ivanov@suse.com>
- Add required firmware file for Bluetooth module found on RPi Zero 2W (bsc#1197286)
-------------------------------------------------------------------
Wed Dec 15 08:26:03 UTC 2021 - Matthias Brugger <mbrugger@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package bcm43xx-firmware
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -43,6 +43,7 @@ Source391: brcmfmac4339-sdio.tronsmart,vega-s95-telos.txt
Source3622: https://github.com/Bananian/bananian/raw/master/deb/u-boot-m2-bananian_armhf/lib/firmware/brcm/brcmfmac43362-sdio.txt#/brcmfmac43362-sdio.sinovoip,bpi-m2.txt
#BCM43430
Source4309: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM43430A1.hcd
Source4310: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM43430B0.hcd
#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
@ -106,19 +107,23 @@ ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt.xz %{buildroot}%{_firmwaredi
# serdev configured RPi Bluetooth driver expects the firmware files to be
# stored in '/lib/firmware/brcm'
install -c -m 0644 %{SOURCE4309} %{buildroot}%{_firmwaredir}/brcm/
install -c -m 0644 %{SOURCE4310} %{buildroot}%{_firmwaredir}/brcm/
install -c -m 0644 %{SOURCE4559} %{buildroot}%{_firmwaredir}/brcm/
install -c -m 0644 %{SOURCE4564} %{buildroot}%{_firmwaredir}/brcm/
# Symlinks for compatibility with deprecated hciattach
ln -s brcm/BCM4345C0.hcd %{buildroot}%{_firmwaredir}/BCM4345C0.hcd
ln -s brcm/BCM4345C5.hcd %{buildroot}%{_firmwaredir}/BCM4345C5.hcd
ln -s brcm/BCM43430A1.hcd %{buildroot}%{_firmwaredir}/BCM43430A1.hcd
ln -s brcm/BCM43430B0.hcd %{buildroot}%{_firmwaredir}/BCM43430B0.hcd
%files
%license LICENCE.broadcom_bcm43xx LICENCE.cypress
%{_firmwaredir}/BCM43430A1.hcd
%{_firmwaredir}/BCM43430B0.hcd
%{_firmwaredir}/BCM4345C0.hcd
%{_firmwaredir}/BCM4345C5.hcd
%{_firmwaredir}/brcm/BCM43430A1.hcd
%{_firmwaredir}/brcm/BCM43430B0.hcd
%{_firmwaredir}/brcm/BCM4345C0.hcd
%{_firmwaredir}/brcm/BCM4345C5.hcd
%{_firmwaredir}/brcm/brcmfmac4329-sdio.solidrun,cubox-i-dl.txt