Skip to contentSkip to conversation

grub2.inc: set GRUBPLATFORM_arm to efi

PATCH New [email protected] 1 participant 1 message Jul 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grub2.inc: set GRUBPLATFORM_arm to efi

From: Mingli Yu <[email protected]>

* grub-efi support on arm is enabled as below commit:
commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
Author: Kristian Amlie <[email protected]>
Date: Tue Jul 10 16:07:12 2018 +0200

grub-efi: Provide target architecture for 32-bit ARM.

* But it fails on arm as below:
| grub-mkimage: error: cannot open `./grub-core//serial.mod': No such file or directory.

Set GRUBPLATFORM_arm = "efi" to fix the above error

---
 meta/recipes-bsp/grub/grub2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/grub/grub2.inc +1 -1
index a8f335e..7709426 100644
@@ -32,7 +32,7 @@ COMPATIBLE_HOST_armv7ve = 'null'
 # configure.ac has code to set this automagically from the target tuple
 # but the OE freeform one (core2-foo-bar-linux) don't work with that.
 
-GRUBPLATFORM_arm = "uboot"
+GRUBPLATFORM_arm = "efi"
 GRUBPLATFORM_aarch64 = "efi"
 GRUBPLATFORM ??= "pc"
 
Signature · 1 line
2.7.4