Accepting request 884039 from home:nsaenzjulienne:branches:hardware

- Introduce firmware file for Raspberry Pi 400's bluetooth.

OBS-URL: https://build.opensuse.org/request/show/884039
OBS-URL: https://build.opensuse.org/package/show/hardware/bcm43xx-firmware?expand=0&rev=44
This commit is contained in:
Fabian Vogt 2021-04-09 12:29:51 +00:00 committed by Git OBS Bridge
parent 1016f26ec6
commit 2de92d557e
4 changed files with 14 additions and 0 deletions

1
.gitattributes vendored
View File

@ -24,5 +24,6 @@
## Specific LFS patterns
BCM43430A1.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
brcmfmac43456-sdio.bin filter=lfs diff=lfs merge=lfs -text
brcmfmac43456-sdio.clm_blob filter=lfs diff=lfs merge=lfs -text

3
BCM4345C5.hcd Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 9 11:20:00 UTC 2021 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
- Introduce firmware file for Raspberry Pi 400's bluetooth.
-------------------------------------------------------------------
Tue Mar 16 16:53:24 UTC 2021 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>

View File

@ -50,6 +50,7 @@ Source4356: brcmfmac4356-pcie.txt
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
Source4564: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C5.hcd
Source4559: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C0.hcd
# Owns /lib/firmware/brcm and potentially conflicts
BuildRequires: kernel-firmware-brcm
@ -96,16 +97,20 @@ ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt.xz %{buildroot}%{_firmwaredi
# stored in '/lib/firmware/brcm'
install -c -m 0644 %{SOURCE4309} %{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
%files
%license LICENCE.broadcom_bcm43xx LICENCE.cypress
%{_firmwaredir}/BCM43430A1.hcd
%{_firmwaredir}/BCM4345C0.hcd
%{_firmwaredir}/BCM4345C5.hcd
%{_firmwaredir}/brcm/BCM43430A1.hcd
%{_firmwaredir}/brcm/BCM4345C0.hcd
%{_firmwaredir}/brcm/BCM4345C5.hcd
%{_firmwaredir}/brcm/brcmfmac4329-sdio.solidrun,cubox-i-dl.txt
%{_firmwaredir}/brcm/brcmfmac4330-sdio.solidrun,cubox-i-q.txt
%{_firmwaredir}/brcm/brcmfmac4339-sdio.tronsmart,vega-s95-telos.txt