Skip to content
Snippets Groups Projects
Commit 4a0b9632 authored by Neil Hanlon's avatar Neil Hanlon
Browse files

Merge branch 'r9' into 'r9'

initial w/ metadata

See merge request !1
parents 55758ba5 928822d4
No related branches found
No related tags found
1 merge request!1initial w/ metadata
*.tar.gz
c91d867cc4445842d2486f80e4eb0bf5bf5ee55028a6304041d67039fcb4cd65 SOURCES/firmware-nonfree-bda9207acee945633464e89614f3717b856579b5.tar.gz
%global _fwpath /usr/lib/firmware
%global nonfree_commit bda9207acee945633464e89614f3717b856579b5
%global nonfree_srcdir firmware-nonfree-%{nonfree_commit}
Name: rpi-firmware-nonfree
Version: 20211028
Release: 3%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch
ExclusiveArch: aarch64
License: broadcom_bcm43XX
URL: https://github.com/RPi-Distro/firmware-nonfree
Source0: https://github.com/RPi-Distro/firmware-nonfree/archive/%{nonfree_commit}/firmware-nonfree-%{nonfree_commit}.tar.gz
Requires: linux-firmware
%description
This package provides suppremental firmware files not included in linux-firmware
package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
%prep
%setup -n %{nonfree_srcdir}
%build
%install
install -d %{buildroot}%{_fwpath}/brcm
install -d %{buildroot}/usr/share/licenses/brcm-nonfree
cp LICENCE.broadcom_bcm43xx %{buildroot}/usr/share/licenses/brcm-nonfree/
cp brcm/brcmfmac43436s-sdio.{bin,txt} %{buildroot}%{_fwpath}/brcm/
cp brcm/brcmfmac43455-sdio.txt %{buildroot}%{_fwpath}/brcm/
cp brcm/brcmfmac43456-sdio.txt %{buildroot}%{_fwpath}/brcm/
cp brcm/brcmfmac43456-sdio.bin %{buildroot}%{_fwpath}/brcm/
cp brcm/brcmfmac43456-sdio.clm_blob %{buildroot}%{_fwpath}/brcm/
# Pi Zero 2W
ln -s brcmfmac43436s-sdio.txt %{buildroot}%{_fwpath}/brcm/brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.txt
ln -s brcmfmac43430-sdio.raspberrypi,model-zero-w.txt %{buildroot}%{_fwpath}/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt
%files
%license /usr/share/licenses/brcm-nonfree/LICENCE.broadcom_bcm43xx
%{_fwpath}/brcm/*
%changelog
* Fri Mar 21 2025 Bryan Zuelly <bzuelly@outlook.com> - 2021021-1
- shrink to only necessary tasks, 2 firm file and symlinks
- moved back to older buster branch
* Sun Mar 02 2025 Bryan Zuelly <bzuelly@outlook.com> -
- Initial
- Based on linux-firmware-raspberry package from Alma Linux
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment