diff --git a/apps/raspberrypi4-uefi/Dockerfile b/apps/raspberrypi4-uefi/Dockerfile new file mode 100644 index 0000000..bdb9909 --- /dev/null +++ b/apps/raspberrypi4-uefi/Dockerfile @@ -0,0 +1,18 @@ +FROM docker.io/library/alpine:3.19 as rpi + +COPY ./serials /serials + +ADD https://github.com/pftf/RPi4/releases/download/v1.37/RPi4_UEFI_Firmware_v1.37.zip RPi4_UEFI_Firmware.zip + +RUN apk add --update --no-cache \ + unzip \ + && mkdir /rpi4 \ + && mv RPi4_UEFI_Firmware.zip /rpi4/RPi4_UEFI_Firmware.zip \ + && cd /rpi4 \ + && ls \ + && unzip RPi4_UEFI_Firmware.zip \ + && rm RPi4_UEFI_Firmware.zip \ + && mkdir /tftp \ + && ls /serials | while read serial; do mkdir /tftp/$serial && cp -r /rpi4/* /tftp/$serial && cp -r /serials/$serial/* /tftp/$serial/; done +FROM quay.io/poseidon/dnsmasq:v0.5.0-31-gdc1adc8 +COPY --from=rpi /tftp /var/lib/tftpboot \ No newline at end of file diff --git a/apps/raspberrypi4-uefi/ci/latest.py b/apps/raspberrypi4-uefi/ci/latest.py new file mode 100644 index 0000000..4c747cc --- /dev/null +++ b/apps/raspberrypi4-uefi/ci/latest.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python + +def get_latest(channel): + return "v0.0.1" + +if __name__ == "__main__": + import sys + channel = sys.argv[1] + print(get_latest(channel)) \ No newline at end of file diff --git a/apps/raspberrypi4-uefi/metadata.yaml b/apps/raspberrypi4-uefi/metadata.yaml new file mode 100644 index 0000000..a1bb71a --- /dev/null +++ b/apps/raspberrypi4-uefi/metadata.yaml @@ -0,0 +1,12 @@ +--- +app: "raspberrypi4-uefi" +base: false +semantic_versioning: true +channels: + - name: "stable" + platforms: + - linux/arm64 + - linux/amd64 + stable: true + tests: + enabled: false diff --git a/apps/raspberrypi4-uefi/serials/.gitkeep b/apps/raspberrypi4-uefi/serials/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/apps/raspberrypi4-uefi/serials/01c81e51/RPI_EFI.fd b/apps/raspberrypi4-uefi/serials/01c81e51/RPI_EFI.fd new file mode 100755 index 0000000..e985cf6 Binary files /dev/null and b/apps/raspberrypi4-uefi/serials/01c81e51/RPI_EFI.fd differ diff --git a/apps/raspberrypi4-uefi/serials/394b54c6/RPI_EFI.fd b/apps/raspberrypi4-uefi/serials/394b54c6/RPI_EFI.fd new file mode 100755 index 0000000..a0f16aa Binary files /dev/null and b/apps/raspberrypi4-uefi/serials/394b54c6/RPI_EFI.fd differ diff --git a/apps/raspberrypi4-uefi/serials/84acd977/RPI_EFI.fd b/apps/raspberrypi4-uefi/serials/84acd977/RPI_EFI.fd new file mode 100755 index 0000000..9fa155d Binary files /dev/null and b/apps/raspberrypi4-uefi/serials/84acd977/RPI_EFI.fd differ diff --git a/apps/raspberrypi4-uefi/serials/95786e57/RPI_EFI.fd b/apps/raspberrypi4-uefi/serials/95786e57/RPI_EFI.fd new file mode 100755 index 0000000..41b6e49 Binary files /dev/null and b/apps/raspberrypi4-uefi/serials/95786e57/RPI_EFI.fd differ diff --git a/apps/raspberrypi4-uefi/serials/9b4dacb3/RPI_EFI.fd b/apps/raspberrypi4-uefi/serials/9b4dacb3/RPI_EFI.fd new file mode 100755 index 0000000..05855dc Binary files /dev/null and b/apps/raspberrypi4-uefi/serials/9b4dacb3/RPI_EFI.fd differ