Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
99e71ad4d3
!42 [sync] PR-36: preserve the symbolic link format, add license: broadcom_bcm43xx
From: @openeuler-sync-bot 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
2024-12-18 08:54:00 +00:00
Yafen
5000a497af preserve the symbolic link format, add license: broadcom_bcm43xx
(cherry picked from commit dfc7d5d778b2dbcecf18484d3bed07bbc4ce8dc4)
2024-12-18 11:55:26 +08:00
openeuler-ci-bot
ae61fa2ce1
!41 [sync] PR-33: update licenses of firmware-nonfree
From: @openeuler-sync-bot 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
2024-12-18 03:06:43 +00:00
Yafen
b23eb86b5b update license of firmware-nonfree
(cherry picked from commit 2f37600a15d9b31cfad0e60125f026894edf01e0)
2024-12-18 09:44:31 +08:00
openeuler-ci-bot
5cf4da7df4
!40 [sync] PR-30: 升级所有固件
From: @openeuler-sync-bot 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
2024-12-17 14:50:47 +00:00
Yafen
3522e17714 update all firmwares
(cherry picked from commit cd5e64e663bece5546aad556f70e56b69837801b)
2024-12-17 17:16:16 +08:00
openeuler-ci-bot
09fcaa969d
!37 [sync] PR-27: 跟进到firmware.1.20241008
From: @openeuler-sync-bot 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
2024-12-17 09:09:54 +00:00
Yafen
fd82e6ecdf update firmware: 1.20241008
(cherry picked from commit b30dbfe37eea5f32000368d5ee820ddbdeaaecdd)
2024-12-17 16:28:29 +08:00
openeuler-ci-bot
2d46404b5e
!24 跟进上游固件信息
From: @woqidaideshi 
Reviewed-by: @jianminw 
Signed-off-by: @jianminw
2024-04-19 11:34:56 +00:00
yafen
0cc0985464 update firmware 2024-04-19 09:32:23 +08:00
4 changed files with 49 additions and 12 deletions

Binary file not shown.

View File

@ -1,36 +1,51 @@
%global _lib_path /usr/lib/firmware
%global _license_path /usr/share/licenses/raspi
%global firmware_release 1.20230306
%global firmware_release 1.20241126
%global debug_package %{nil}
Name: raspberrypi-firmware
Version: 20231219
Release: 8
Version: 20241207
Release: 13
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 SYNAPTICS-END-USER-SOFTWARE-TOOL-LICENSE and binary-redist-Cypress and binary-redist-Broadcom-wifi and Synaptics and broadcom_bcm43xx
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}/brcm
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}
install -p -m 644 brcm/* %{buildroot}%{_lib_path}/brcm
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
cp -a 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,25 @@ cd -
%license %{_license_path}
%changelog
* Tue Dec 17 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-13
- add license: broadcom_bcm43xx
- preserve the symbolic link format when installing firmwares of brcm
* Mon Dec 9 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-12
- update license
* 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
* Fri Apr 19 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240419-9
- update firmware to version 1.20240306
- update bluez-firmware to the latest commit (5a204dae9b3dc521842c56d93f6b4ecfbe4ff44d): 1.2-4+rpt11 release
* Tue Dec 19 2023 Yafen Fang<yafen@iscas.ac.cn> - 20231219-8
- delete files: regulatory.db* and LICENCE.wireless-regdb
@ -73,7 +110,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