summaryrefslogtreecommitdiff
path: root/sys-boot/raspberrypi-firmware
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-12 20:06:40 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-12 20:06:40 -0500
commit193236e34a32b643d816ed04394476eab7e04db7 (patch)
tree8b608b17886179a6530935fc0531c7a89a51d1a0 /sys-boot/raspberrypi-firmware
parent9f2ba2858a177b1c2335b5b46428ee7cec08c288 (diff)
downloadbaldeagleos-repo-193236e34a32b643d816ed04394476eab7e04db7.tar.gz
baldeagleos-repo-193236e34a32b643d816ed04394476eab7e04db7.tar.xz
baldeagleos-repo-193236e34a32b643d816ed04394476eab7e04db7.zip
Adding metadata
Diffstat (limited to 'sys-boot/raspberrypi-firmware')
-rw-r--r--sys-boot/raspberrypi-firmware/Manifest1
-rw-r--r--sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20260907.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/sys-boot/raspberrypi-firmware/Manifest b/sys-boot/raspberrypi-firmware/Manifest
index c21f7446f393..9c5d8505fd01 100644
--- a/sys-boot/raspberrypi-firmware/Manifest
+++ b/sys-boot/raspberrypi-firmware/Manifest
@@ -4,3 +4,4 @@ DIST raspberrypi-firmware-1.20250915.tar.gz 163876502 BLAKE2B 2d994334f358043a9a
DIST raspberrypi-firmware-1.20260408.tar.gz 199845922 BLAKE2B 2d75fafd594157248e1f5f3e58e7647ca950870df63c0a37be06c5190e67c71378176f70d51df796c2b3c8502c24e57649f792c4c416a9f2c42833fd004f3c96 SHA512 e353f9fe0d23874d5e7d72fca041358a9c9046e9fd071be604c0a840dbc95711ba7b7af39e78159e2e821d2af088ef28a22cb9ccaae70e0d2bd82b7ba2730402
DIST raspberrypi-firmware-1.20260521.tar.gz 179761067 BLAKE2B d64b2a252def19d8d4d47a51e532cbec6c1a3544a9ce07e91963111ad71823ccf4a8a40b18d5556ca34ba616b50a84ea79f8d042518834e4ec73d83916730ab5 SHA512 92e9680a521cfb3b7824ed5a50026414ace49765b568b66cd919eb973a46ecf13743fe2e11145a7d28036591705b36198c3cc2765a132f32caf2fe22206c3818
DIST raspberrypi-firmware-1.20260824.tar.gz 181213667 BLAKE2B 82ea309d7f80c3f768aa44aa8f70572ad11ca544888fe4fb564331a80d99c0a74820edab781be1ee20856d04e0262be45bcc7bb94ec7e8c514650e9c591901fe SHA512 0bbd3d47c8c381301bba24a068d77fa849a138613e5a3ca20159148180e78771ff1f7aed2026cf0474b90485a5b3c2dc6577d404ff108667de74d47c8d7f3ed9
+DIST raspberrypi-firmware-1.20260907.tar.gz 181352992 BLAKE2B 7311bb5396d45ff795f124c86149b5fc68a27311e959ed2537988f20867bf66da9ac423d8a4aa52b1fad185bdbd7953bd279af703decabb6bf709086ac098937 SHA512 4bee864e66aba51af26ee7597612d91946e95b02d797796601592e3ce3ee005cbf0f2f8c3025ac16ecbd18a16eb451fa7ab3252a729d10bc7361713fc53f561e
diff --git a/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20260907.ebuild b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20260907.ebuild
new file mode 100644
index 000000000000..dc3a4e72b3b9
--- /dev/null
+++ b/sys-boot/raspberrypi-firmware/raspberrypi-firmware-1.20260907.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mount-boot readme.gentoo-r1
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/raspberrypi/firmware"
+ EGIT_CLONE_TYPE="shallow"
+else
+ SRC_URI="https://github.com/raspberrypi/firmware/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="-* ~arm ~arm64"
+ S="${WORKDIR}/firmware-${PV}"
+fi
+
+DESCRIPTION="Raspberry Pi (all versions) bootloader and GPU firmware"
+HOMEPAGE="https://github.com/raspberrypi/firmware"
+
+LICENSE="raspberrypi-videocore-bin"
+SLOT="0"
+RESTRICT="strip"
+QA_PREBUILT="*"
+
+DOC_CONTENTS="Please configure your ram setup by editing /boot/config.txt"
+
+src_prepare() {
+ default
+
+ cp "${FILESDIR}"/${PN}-1.20201022-config.txt "${WORKDIR}" || die
+
+ if use arm64; then
+ # Force selection of the 64-bit kernel8.img to match our userland
+ echo "arm_64bit=1" >> "${WORKDIR}"/${PN}-1.20201022-config.txt || die
+ fi
+}
+
+src_install() {
+ insinto /boot
+ cd boot || die
+ doins bootcode.bin fixup*.dat start*elf
+ newins "${WORKDIR}"/${PN}-1.20201022-config.txt config.txt
+ newins "${FILESDIR}"/${PN}-1.20201022-cmdline.txt cmdline.txt
+ newenvd "${FILESDIR}"/${PN}-0_p20130711-envd 90${PN}
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ local msg=""
+
+ if [[ -e "${ED}"/boot/cmdline.txt ]] && [[ -e "${ROOT}"/boot/cmdline.txt ]] ; then
+ msg+="/boot/cmdline.txt "
+ fi
+
+ if [[ -e "${ED}"/boot/config.txt ]] && [[ -e "${ROOT}"/boot/config.txt ]] ; then
+ msg+="/boot/config.txt "
+ fi
+
+ if [[ -n "${msg}" ]] ; then
+ msg="This package installs following files: ${msg}."
+ msg="${msg} Please remove (backup) your copies during install"
+ msg="${msg} and merge settings afterwards."
+ msg="${msg} Further updates will be CONFIG_PROTECTed."
+ die "${msg}"
+ fi
+ fi
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}