Index: base/radix-setup/scripts/setup
===================================================================
--- base/radix-setup/scripts/setup (revision 225)
+++ base/radix-setup/scripts/setup (revision 226)
@@ -2523,6 +2523,13 @@
${grub_modules} 2>/dev/null 1>/dev/null
}
+install_orange_pi5_edk2() {
+ FLASHCP=`PATH=/sbin:/usr/sbin:$PATH which flashcp`
+ if [ -c /dev/mtd0 -a "`basename ${FLASHCP}`" = "flashcp" -a -f "/boot/edk2/spi-flash.image" ] ; then
+ ${FLASHCP} /boot/edk2/spi-flash.image /dev/mtd0
+ fi
+}
+
install_starfive_vf2_grub()
{
UEFI=`get_uefi_devname`
@@ -2865,6 +2872,14 @@
fi
#
+# Install EDK2:
+# ------------
+#
+if [ "${hardware}" = "orange-pi5" ] ; then
+ install_orange_pi5_edk2
+fi
+
+#
# post-install settings:
#
if [ -x ${ROOT_MPOINT}/usr/sbin/timeconfig ] ; then
Index: boot/edk2/orange-pi5/0.9.1.1/Makefile
===================================================================
--- boot/edk2/orange-pi5/0.9.1.1/Makefile (revision 225)
+++ boot/edk2/orange-pi5/0.9.1.1/Makefile (revision 226)
@@ -11,7 +11,7 @@
SOURCE_REQUIRES = sources/U-Boot/OrangePi/edk2
-REQUIRES = boot/u-boot/orange-pi5/2023.07
+REQUIRES = boot/u-boot/orange-pi5/2023.10
# ======= __END_OF_REQUIRES__ =======