From ca261340d995d332f7c91b5da8c93bf999c49297 Mon Sep 17 00:00:00 2001 From: Peter Hjalmarsson Date: Apr 08 2020 18:55:27 +0000 Subject: Add support for rpi4 --- diff --git a/rpi-uboot-update b/rpi-uboot-update index 057ca67..5e0f83b 100644 --- a/rpi-uboot-update +++ b/rpi-uboot-update @@ -54,7 +54,10 @@ if [ "$UBOOT" = "package ${UBOOTPKG} is not installed" ]; then fi echo echo "= Version - $UBOOT" - + +if [ -f /usr/share/uboot/rpi_4/u-boot.bin ] && [ "$ARCH" = "aarch64" ]; then + cp -rp /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin +fi if [ -f /usr/share/uboot/rpi_3/u-boot.bin ] && [ "$ARCH" = "aarch64" ]; then cp -rp /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin fi