Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpi 4 / 5 firmware for UEFI boot #210

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
13 changes: 13 additions & 0 deletions .github/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Autodetect text files
* text=auto eol=lf
# ...Unless the name matches the following
# overriding patterns

# Definitively text files
*.txt text
*.c text
*.h text

# Ensure those won't be messed up with
*.jpg binary
*.data binary
22 changes: 22 additions & 0 deletions sys-boot/rpi4-uefi/rpi4-uefi-1.37.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="UEFI firmware for Raspberry Pi 4"
HOMEPAGE="https://github.com/pftf/RPi4"
SRC_URI="https://github.com/pftf/${PN}/releases/download/v${PV}/${PN}_UEFI_Firmware_v${PV}.zip"
## use Built Pre-Binaries EFI bins , unzip to /boot/efi as firmware udates ebuild to can automate this chore...

LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm64"
DEPEND="app-arch/unzip"
RDEPEND="!sys-boot/rpi5-uefi"

QA_PREBUILT="*"

src_install() {
insinto /boot/efi
doins "${WORKDIR}"/*
}
23 changes: 23 additions & 0 deletions sys-boot/rpi5-uefi/rpi5-uefi-0.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="UEFI firmware for Raspberry Pi 5"
HOMEPAGE="https://github.com/worproject/rpi5-uefi"
SRC_URI="https://github.com/worproject/${PN}/releases/download/v${PV}/${PN}_Release_v${PV}.zip"
## use Built Pre-Binaries EFI bins , unzip to /boot/efi as firmware udates ebuild to can automate this chore...

LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm64"
DEPEND="app-arch/unzip"
RDEPEND="!sys-boot/rpi4-uefi"

QA_PREBUILT="*"

src_install() {
insinto /boot/efi
doins "${WORKDIR}"/*
}