!40 [sync] PR-30: 升级所有固件
From: @openeuler-sync-bot Reviewed-by: @jianminw Signed-off-by: @jianminw
This commit is contained in:
commit
5cf4da7df4
BIN
bluez-firmware-1.2-9+rpt3.tar.gz
Normal file
BIN
bluez-firmware-1.2-9+rpt3.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,36 +1,51 @@
|
||||
%global _lib_path /usr/lib/firmware
|
||||
%global _license_path /usr/share/licenses/raspi
|
||||
%global firmware_release 1.20241008
|
||||
%global firmware_release 1.20241126
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: raspberrypi-firmware
|
||||
Version: 20240419
|
||||
Release: 10
|
||||
Version: 20241207
|
||||
Release: 11
|
||||
Summary: Firmware files used for RaspberryPi
|
||||
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
||||
License: GPL+ and GPLv2+ and Redistributable, no modification permitted and BCM_LEGAL and CYPRESS-WIRELESS-CONNECTIVITY-DEVICES-DRIVER-END-USER-LICENSE-AGREEMENT and SYNAPTICS-END-USER-SOFTWARE-TOOL-LICENSE and binary-redist-Cypress and binary-redist-Broadcom-wifi
|
||||
ExclusiveArch: aarch64
|
||||
|
||||
Provides: raspberrypi-firmware = %{version}-%{release}
|
||||
|
||||
URL: https://github.com/raspberrypi/firmware
|
||||
Source0: https://github.com/raspberrypi/firmware/archive/%{firmware_release}/firmware-%{firmware_release}.tar.gz
|
||||
Source1: %{name}-%{version}.tar.gz
|
||||
Source1: bluez-firmware-1.2-9+rpt3.tar.gz
|
||||
Source2: firmware-nonfree-20230625-2+rpt3.tar.gz
|
||||
Conflicts: linux-firmware
|
||||
|
||||
%description
|
||||
This package contains firmware images required by some RaspberryPi devices.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version} -a 1 -c
|
||||
%setup -q -n %{name}-%{version} -a 1 -a 2 -c
|
||||
mv bluez-firmware-* bluez-firmware
|
||||
mv firmware-nonfree-* firmware-nonfree
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_lib_path}
|
||||
mkdir -p %{buildroot}%{_lib_path}/brcm %{buildroot}%{_lib_path}/synaptics %{buildroot}%{_lib_path}/cypress
|
||||
mkdir -p %{buildroot}%{_license_path}
|
||||
mkdir -p %{buildroot}/boot
|
||||
cd %{name}-%{version}
|
||||
install -p -m 644 License/* %{buildroot}%{_license_path}
|
||||
install -p -m 644 $(find ./ -maxdepth 1 -type f) %{buildroot}%{_lib_path}
|
||||
cp -a brcm %{buildroot}%{_lib_path}
|
||||
cd bluez-firmware
|
||||
install -p -m 644 broadcom/BCM2033-FW.bin %{buildroot}%{_lib_path}
|
||||
install -p -m 644 broadcom/BCM2033-MD.hex %{buildroot}%{_lib_path}
|
||||
install -p -m 644 st/* %{buildroot}%{_lib_path}/
|
||||
install -p -m 644 debian/firmware/broadcom/*.hcd %{buildroot}%{_lib_path}/brcm
|
||||
install -p -m 644 debian/firmware/synaptics/*.hcd %{buildroot}%{_lib_path}/synaptics
|
||||
# install -p -m 644 broadcom/BCM-LEGAL.txt %{buildroot}%{_license_path}
|
||||
# install -p -m 644 debian/firmware/broadcom/LICENSE.cypress %{buildroot}%{_license_path}
|
||||
# install -p -m 644 debian/firmware/synaptics/LICENSE.synaptics %{buildroot}%{_license_path}
|
||||
install -p -m 644 debian/copyright %{buildroot}%{_license_path}/LICENCE.bluez-firmware
|
||||
|
||||
cd ../firmware-nonfree
|
||||
install -p -m 644 brcm/* %{buildroot}%{_lib_path}/brcm
|
||||
install -p -m 644 cypress/* %{buildroot}%{_lib_path}/cypress
|
||||
install -p -m 644 LICENCE.* %{buildroot}%{_license_path}
|
||||
|
||||
cd ../firmware-%{firmware_release}
|
||||
install -p -m 644 boot/*.bin %{buildroot}/boot
|
||||
install -p -m 644 boot/*.linux %{buildroot}/boot
|
||||
@ -38,6 +53,9 @@ install -p -m 644 boot/*.dat %{buildroot}/boot
|
||||
install -p -m 644 boot/*.elf %{buildroot}/boot
|
||||
install -p -m 644 boot/LICENCE.* %{buildroot}/boot
|
||||
|
||||
cd %{buildroot}%{_lib_path}/brcm
|
||||
ln -sf ../cypress/cyfmac43455-sdio-minimal.bin cyfmac43455-sdio.bin
|
||||
|
||||
cd -
|
||||
|
||||
%files
|
||||
@ -47,6 +65,11 @@ cd -
|
||||
%license %{_license_path}
|
||||
|
||||
%changelog
|
||||
* Sat Dec 7 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-11
|
||||
- update firmware version to 1.20241126
|
||||
- update bluez-firmware to the latest commit (78d6a07730e2d20c035899521ab67726dc028e1c): Update changelog for 1.2-9+rpt3 release
|
||||
- update firmware-nonfree to the latest commit (4b356e134e8333d073bd3802d767a825adec3807): Update changelog for 1:20230625-2+rpt3 release
|
||||
|
||||
* Mon Nov 4 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240419-10
|
||||
- update firmware version to 1.20241008
|
||||
|
||||
@ -80,7 +103,7 @@ cd -
|
||||
* Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1
|
||||
- Update firmware files.
|
||||
|
||||
* Mon 31 Aug 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-3
|
||||
* Mon Aug 31 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-3
|
||||
- Add source url in spec.
|
||||
|
||||
* Fri Jul 17 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user