From: Tim Biermann Date: Sun, 26 Jan 2020 22:45:13 +0000 (+0100) Subject: rpi4-eeprom: initial commit, version 20200117 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=cad96173b570e4c31decf27c042283fb8b4b40f0;p=ports%2Fraspberrypi4-arm.git rpi4-eeprom: initial commit, version 20200117 --- diff --git a/rpi4-eeprom/.footprint b/rpi4-eeprom/.footprint new file mode 100644 index 0000000..a7d7ae5 --- /dev/null +++ b/rpi4-eeprom/.footprint @@ -0,0 +1,38 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/default/ +-rw-r--r-- root/root etc/default/rpi-eeprom-update +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/firmware/ +drwxr-xr-x root/root lib/firmware/raspberrypi/ +drwxr-xr-x root/root lib/firmware/raspberrypi/bootloader/ +drwxrwxr-x root/root lib/firmware/raspberrypi/bootloader/beta/ +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-09-06.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-09-10.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-09-23.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-09-25.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-10-08.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-10-16.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-11-18.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2019-12-03.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-01-09.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-01-17.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/recovery.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/vl805-00013701.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/vl805-000137ab.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/vl805-000137ad.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/beta/vl805.latest +drwxrwxr-x root/root lib/firmware/raspberrypi/bootloader/critical/ +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/pieeprom-2019-07-15.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/pieeprom-2019-09-10.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/recovery.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/vl805-00013701.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/vl805-000137ab.bin +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/critical/vl805.latest +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/raspberry_pi4_network_boot_beta.md +-rw-rw-r-- root/root lib/firmware/raspberrypi/bootloader/release-notes.md +-rwxrwxr-x root/root lib/firmware/raspberrypi/bootloader/vl805 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/rpi-eeprom-config +-rwxr-xr-x root/root usr/bin/rpi-eeprom-update +-rwxr-xr-x root/root usr/bin/vl805 diff --git a/rpi4-eeprom/.signature b/rpi4-eeprom/.signature new file mode 100644 index 0000000..d129d7a --- /dev/null +++ b/rpi4-eeprom/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/raspberrypi4-arm.pub +RWTV8P04Wo/3f3DmPyQ8SUaU/tc0Dcch2GTD8twSslN7KOtY85uKm7+yqjWNJdCSYk9ObcCzg0Zzh/i6JvgWjqlVq3V9yD12JwU= +SHA256 (Pkgfile) = 97eb454c3fb64515ecfc0b6131ac83eb8e971562bd374c35669dea508daac906 +SHA256 (.footprint) = ac2d0a0b9b36029279a5b2f03bfcea5a7cd33e01d4a6a7d4ea5078831313f52e +SHA256 (rpi4-eeprom-20200117.tar.gz) = f725ce4caa8da7de1cd9dc3e24e159429c1f2b301c556b3b8d19799fd730b67b +SHA256 (rpi-eeprom-update.patch) = d716ef30c4a486019a4778579305a84c0f31593d5840850aefa9742dc6f9760f diff --git a/rpi4-eeprom/Pkgfile b/rpi4-eeprom/Pkgfile new file mode 100644 index 0000000..b021add --- /dev/null +++ b/rpi4-eeprom/Pkgfile @@ -0,0 +1,31 @@ +# Description: Raspberry Pi 4 boot EEPROM updater +# URL: https://github.com/raspberrypi/rpi-eeprom +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rpi4-userland + +name=rpi4-eeprom +version=20200117 +commit=0d7673bbb45de591de0f0ffa71eba2f75c0e50ea +release=1 +source=(https://github.com/raspberrypi/rpi-eeprom/archive/$commit/$name-$version.tar.gz + # stolen from ArchARM - thank you + rpi-eeprom-update.patch) + +build() { + cd rpi-eeprom-$commit + install -d -m 755 $PKG/usr/bin + install -D -m 755 firmware/vl805 $PKG/usr/bin/vl805 + install -D -m 755 rpi-eeprom-config $PKG/usr/bin/rpi-eeprom-config + + # Patch /opt/vc/bin into PATH in script due to weird install location of raspberrypi-firmware + install -D -m 755 rpi-eeprom-update $PKG/usr/bin/rpi-eeprom-update + patch $PKG/usr/bin/rpi-eeprom-update $SRC/rpi-eeprom-update.patch + + # Copy all the firmware and files to the right place + install -d -m 755 $PKG/lib/firmware/raspberrypi/bootloader + cp -a firmware/* $PKG/lib/firmware/raspberrypi/bootloader + + # Copy the override in place + install -d -m 755 $PKG/etc/default + install -D -m 644 rpi-eeprom-update-default $PKG/etc/default/rpi-eeprom-update +} diff --git a/rpi4-eeprom/rpi-eeprom-update.patch b/rpi4-eeprom/rpi-eeprom-update.patch new file mode 100644 index 0000000..2eaf7cb --- /dev/null +++ b/rpi4-eeprom/rpi-eeprom-update.patch @@ -0,0 +1,8 @@ +--- rpi-eeprom-update.clean 2019-11-23 06:15:37.986151577 +0000 ++++ rpi-eeprom-update 2019-11-23 06:15:45.906017778 +0000 +@@ -1,4 +1,5 @@ + #!/bin/sh ++PATH="$PATH:/opt/vc/bin" + + # Raspberry Pi4 boot EEPROM updater. +