Compare commits
No commits in common. "41581ff5cfc4456b0aecd5dbd42478289f2b23ef" and "d20a44814f51ee772ecf051a8b66ad9227d67e96" have entirely different histories.
41581ff5cf
...
d20a44814f
@ -1,5 +1,5 @@
|
|||||||
%global _firmwarepath /usr/lib/firmware
|
%global _firmwarepath /usr/lib/firmware
|
||||||
%global fn_commit 223ccf3a3ddb11b3ea829749fbbba4d65b380897
|
%global fn_commit 995129a86915fa3165a24d0a29419f6349f8f36b
|
||||||
%global fn_shortcommit %(c=%{commit}; echo ${c:0:7})
|
%global fn_shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
%global bz_commit d9d4741caba7314d6500f588b1eaa5ab387a4ff5
|
%global bz_commit d9d4741caba7314d6500f588b1eaa5ab387a4ff5
|
||||||
%global bz_shortcommit %(c=%{bz_commit}; echo ${c:0:7})
|
%global bz_shortcommit %(c=%{bz_commit}; echo ${c:0:7})
|
||||||
@ -7,8 +7,8 @@
|
|||||||
%global bz_srcdir bluez-firmware-%{bz_commit}
|
%global bz_srcdir bluez-firmware-%{bz_commit}
|
||||||
|
|
||||||
Name: linux-firmware-raspberrypi
|
Name: linux-firmware-raspberrypi
|
||||||
Version: 20240528
|
Version: 20231117
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
|
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -34,57 +34,27 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{_firmwarepath}/brcm
|
install -d %{buildroot}%{_firmwarepath}/brcm
|
||||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43455-sdio.txt %{buildroot}%{_firmwarepath}/brcm/
|
|
||||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/
|
||||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/
|
||||||
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/
|
||||||
# Bluetooth for RPi Zero 2W
|
# Bluetooth for RPi Zero 2W
|
||||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430B0.hcd %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430B0.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||||
# Bluetooth for RPi 3B+, 4, 5
|
# Bluetooth for RPi 3B+
|
||||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430A1.hcd %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430A1.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C0.hcd %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C0.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||||
# Bluetooth for RPi 400
|
# Bluetooth for RPi 400
|
||||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C5.hcd %{buildroot}%{_firmwarepath}/brcm/
|
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C5.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||||
# Other firmware files installed by linux-firmware are compressed, so compress these as well
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.txt
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.bin
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.clm_blob
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.txt
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM43430A1.hcd
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM43430B0.hcd
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.hcd
|
|
||||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C5.hcd
|
|
||||||
# Create model-specific symlinks
|
# Create model-specific symlinks
|
||||||
# Raspberry Pi CM 4
|
ln -s brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin
|
||||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin.xz
|
ln -s brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob
|
||||||
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob.xz
|
ln -s brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
|
||||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt.xz
|
|
||||||
# Raspberry Pi 400
|
|
||||||
ln -s brcmfmac43456-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin.xz
|
|
||||||
ln -s brcmfmac43456-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob.xz
|
|
||||||
ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt.xz
|
|
||||||
# Raspberry Pi 5
|
|
||||||
ln -s BCM4345C0.hcd.xz %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd.xz
|
|
||||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
|
|
||||||
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
|
|
||||||
ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt.xz
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_firmwarepath}/brcm/*
|
%{_firmwarepath}/brcm/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 03 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-3
|
|
||||||
- Add symlink for RPi CM4
|
|
||||||
|
|
||||||
* Tue May 28 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-2
|
|
||||||
- Fix symlink typo and add missing file
|
|
||||||
|
|
||||||
* Tue May 28 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-1
|
|
||||||
- Update firmware-nonfree to 223ccf3
|
|
||||||
- Add symlink for RPi 5
|
|
||||||
|
|
||||||
* Fri Nov 17 2023 Koichiro Iwao <meta@almalinux.org> - 20231117-1
|
* Fri Nov 17 2023 Koichiro Iwao <meta@almalinux.org> - 20231117-1
|
||||||
- Add firmware to support Bluetooth for RPi 3B+, Zero 2 W and 400
|
- Add firmware to support Bluetooth for RPi 3B+, Zero 2 W and 400
|
||||||
|
|
||||||
* Thu Apr 20 2023 Koichiro Iwao <koichiro.iwao@miraclelinux.com> - 20230420-1
|
* Thu Apr 20 2023 Koichiro Iwao <koichiro.iwao@miraclelinux.com> - 20230420-1
|
||||||
- Initial creation
|
- Initial creation
|
||||||
|
Loading…
Reference in New Issue
Block a user