Compare commits
No commits in common. "a8" and "a9" have entirely different histories.
@ -1,2 +1,2 @@
|
|||||||
6bdeabc9c00f455499591d9d13dd9287b5087093 SOURCES/bluez-firmware-d9d4741caba7314d6500f588b1eaa5ab387a4ff5.tar.gz
|
b47abad65dfb13dfa664d9fdb08482591148bf74 SOURCES/firmware-nonfree-223ccf3a3ddb11b3ea829749fbbba4d65b380897.tar.gz
|
||||||
e9a36b078988c69e10fc8e1fb65054be402386a9 SOURCES/firmware-nonfree-995129a86915fa3165a24d0a29419f6349f8f36b.tar.gz
|
6bdeabc9c00f455499591d9d13dd9287b5087093 SOURCES/bluez-firmware-d9d4741caba7314d6500f588b1eaa5ab387a4ff5.tar.gz
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: linux-firmware-raspberrypi
|
Name: linux-firmware-raspberrypi
|
||||||
Version: 20240528
|
Version: 20240528
|
||||||
Release: 4%{?dist}
|
Release: 6%{?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
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
@ -27,6 +27,13 @@ Requires: linux-firmware
|
|||||||
This package provides suppremental firmware files not included in linux-firmware
|
This package provides suppremental firmware files not included in linux-firmware
|
||||||
package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
|
package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
|
||||||
|
|
||||||
|
%package rpi3
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Summary: Supplemental firmware used by Linux kernel for Raspberry Pi 3
|
||||||
|
|
||||||
|
%description rpi3
|
||||||
|
This package provides suppremental firmware files specific to Raspberry Pi 3.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{fn_srcdir}
|
%setup -n %{fn_srcdir}
|
||||||
%setup -n %{fn_srcdir} -a 1
|
%setup -n %{fn_srcdir} -a 1
|
||||||
@ -46,28 +53,54 @@ install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430A1.hcd %{buildro
|
|||||||
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
|
# Raspberry Pi CM 4
|
||||||
ln -s brcmfmac43455-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin
|
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin.xz
|
||||||
ln -s brcmfmac43455-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob
|
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob.xz
|
||||||
# Raspberry Pi 400
|
# Raspberry Pi 400
|
||||||
ln -s brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin
|
ln -s brcmfmac43456-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin.xz
|
||||||
ln -s brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob
|
ln -s brcmfmac43456-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob.xz
|
||||||
ln -s brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
|
ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt.xz
|
||||||
# Raspberry Pi 5
|
# Raspberry Pi 5
|
||||||
ln -s BCM4345C0.hcd %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd
|
ln -s BCM4345C0.hcd.xz %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd.xz
|
||||||
ln -s brcmfmac43455-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin
|
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
|
||||||
ln -s brcmfmac43455-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob
|
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
|
||||||
|
# Raspberry Pi 3
|
||||||
|
# These files need to be decompressed for Pi 3.
|
||||||
|
# https://bugs.almalinux.org/view.php?id=544
|
||||||
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.bin %{buildroot}%{_firmwarepath}/brcm/
|
||||||
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.clm_blob %{buildroot}%{_firmwarepath}/brcm/
|
||||||
|
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt %{buildroot}%{_firmwarepath}/brcm/
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_firmwarepath}/brcm/*
|
%{_firmwarepath}/brcm/*
|
||||||
|
|
||||||
|
%files rpi3
|
||||||
|
%{_firmwarepath}/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 08 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 20240528-4
|
* Mon Jul 14 2025 Koichiro Iwao <meta@almalinux.org> - 20240528-6
|
||||||
- Update to not conflict with linux-firmware-20240610-122.git90df68d2.el8_10
|
- Add subpackage for RPi 3
|
||||||
|
https://bugs.almalinux.org/view.php?id=544
|
||||||
|
|
||||||
|
* Thu Jul 25 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 20240528-5
|
||||||
|
- Update to not conflict with linux-firmware-20240603-143.1.el9_4
|
||||||
|
|
||||||
|
* Wed Jul 10 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-4
|
||||||
|
- Fix wrong symlink for RPi CM4
|
||||||
|
- Set ExclusiveArch to aarch64
|
||||||
|
|
||||||
* Mon Jun 03 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-3
|
* Mon Jun 03 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-3
|
||||||
- Add symlink for RPi CM4
|
- Add symlink for RPi CM4
|
||||||
|
|
||||||
* Tue May 28 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-2
|
* Tue May 28 2024 Koichiro Iwao <meta@almalinux.org> - 20240528-2
|
||||||
- Fix symlink typo and add missing file
|
- Fix symlink typo and add missing file
|
||||||
|
Loading…
Reference in New Issue
Block a user