[packages/raspberrypi-firmware] new
atler
atler at pld-linux.org
Sat Dec 26 11:44:15 CET 2020
commit c605aa5853a108d5413df28ff2b7e04754b0d395
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Dec 26 11:42:55 2020 +0100
new
raspberrypi-firmware.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
---
diff --git a/raspberrypi-firmware.spec b/raspberrypi-firmware.spec
new file mode 100644
index 0000000..d032c31
--- /dev/null
+++ b/raspberrypi-firmware.spec
@@ -0,0 +1,42 @@
+Summary: Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi
+Name: raspberrypi-firmware
+Version: 20201225
+Release: 1
+# see LICENSE.broadcom
+# DT Overlays covered under Linux Kernel GPLv2
+License: Redistributable, no modification permitted
+Group: Base/Kernel
+# git clone https://github.com/raspberrypi/firmware.git
+# cd firmware/boot
+# tar cJf ../raspberrypi-firmware-%{version}.tar.xz *bin *dat *elf bcm2709*dtb bcm271*dtb LICENCE.broadcom COPYING.linux overlays/
+Source0: %{name}-%{version}.tar.xz
+# Source0-md5: 62a94c201f99e8fa5b67afb659b299b8
+URL: https://github.com/raspberrypi/firmware/
+ExclusiveArch: %{arm} aarch64
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define no_install_post_strip 1
+
+%description
+Firmware for the Broadcom bcm283x and bcm2711 series of systems on a
+chip as shipped in the Raspberry Pi series of devices.
+
+%prep
+%setup -qc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/boot
+cp -pr *.{bin,dat,elf,dtb} overlays $RPM_BUILD_ROOT/boot
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENCE.broadcom COPYING.linux
+/boot/*.dtb
+/boot/fixup*.dat
+/boot/start*.elf
+/boot/bootcode.bin
+/boot/overlays
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/raspberrypi-firmware.git/commitdiff/c605aa5853a108d5413df28ff2b7e04754b0d395
More information about the pld-cvs-commit
mailing list