From 1141147b06a49dfc10c0dcd2031df8efff396dc6 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 21 Nov 2021 19:22:12 +0000 Subject: [PATCH] arm: aarch64: Copy the generic aarch64 RPi U-Boot over too Set up the generic aarch64 Raspberry Pi U-Boot so that we can boot any new device that we may not have specific support for. We'll use this method to support the new Zero 2 W. Signed-off-by: Peter Robinson --- fedora-disk-base.ks | 1 + fedora-iot.ks | 1 + fedora-modular-disk-minimal.ks | 1 + 3 files changed, 3 insertions(+) diff --git a/fedora-disk-base.ks b/fedora-disk-base.ks index 0e65b6b..93e95ed 100644 --- a/fedora-disk-base.ks +++ b/fedora-disk-base.ks @@ -65,6 +65,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]]; then cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin +cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin else cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin diff --git a/fedora-iot.ks b/fedora-iot.ks index 21199fa..7c422a9 100644 --- a/fedora-iot.ks +++ b/fedora-iot.ks @@ -35,6 +35,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armhfp" ]]; then if [[ $arch == "aarch64" ]]; then cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin +cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin else cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin diff --git a/fedora-modular-disk-minimal.ks b/fedora-modular-disk-minimal.ks index f908870..e3269b6 100644 --- a/fedora-modular-disk-minimal.ks +++ b/fedora-modular-disk-minimal.ks @@ -62,6 +62,7 @@ if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then if [[ $arch == "aarch64" ]]; then cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin cp -P /usr/share/uboot/rpi_4/u-boot.bin /boot/efi/rpi4-u-boot.bin +cp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin else cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin