From a6f6bf6c8efe679e37d8b3b3dc209a07f82757fed62b9afe8c7f3518601a791a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Fri, 18 Mar 2022 13:02:59 +0000 Subject: [PATCH] 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 --- .gitattributes | 1 + BCM43430B0.hcd | 3 +++ bcm43xx-firmware.changes | 5 +++++ bcm43xx-firmware.spec | 7 ++++++- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 BCM43430B0.hcd diff --git a/.gitattributes b/.gitattributes index 38b09cb..e39a894 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/BCM43430B0.hcd b/BCM43430B0.hcd new file mode 100644 index 0000000..17083d2 --- /dev/null +++ b/BCM43430B0.hcd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:338c2c6631131f516bfc7e64ef0872bd0402e1f98ef9d0c900eef0c814d90a25 +size 44376 diff --git a/bcm43xx-firmware.changes b/bcm43xx-firmware.changes index f62bab3..29c6ab6 100644 --- a/bcm43xx-firmware.changes +++ b/bcm43xx-firmware.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 18 12:24:47 UTC 2022 - Ivan Ivanov + +- Add required firmware file for Bluetooth module found on RPi Zero 2W (bsc#1197286) + ------------------------------------------------------------------- Wed Dec 15 08:26:03 UTC 2021 - Matthias Brugger diff --git a/bcm43xx-firmware.spec b/bcm43xx-firmware.spec index 702bd03..4ad7dd5 100644 --- a/bcm43xx-firmware.spec +++ b/bcm43xx-firmware.spec @@ -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