Skip to contentSkip to conversation

fix name of default boot image on AArch64

PATCH In review Andrey Borzenkov 3 participants 6 messages Jan 1, 2014 – Jan 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix name of default boot image on AArch64

According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior).

---
 util/grub-install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
index 8cfe0ea..d3b9db7 100644
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
 	      efi_file = "BOOTARM.EFI";
 	      break;
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)
#1 lore raw
Quoted 22 lines · Andrey Borzenkov

According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior).

---
 util/grub-install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
index 8cfe0ea..d3b9db7 100644
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
 	      efi_file = "BOOTARM.EFI";
 	      break;
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)

Oops - muscle memory override.
My only excuse is that current Tianocore Bds for arm* is not conformant to the removable media boot behaviour, so this could not currently be tested. Fixing this is on my to-do list for Q1.
Could this be applied please?

/
Leif

#2 lore raw

В Пн, 06/01/2014 в 11:34 +0000, Leif Lindholm пишет:

Quoted 21 lines · Andrey Borzenkov
Quoted 20 lines

According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior).

---
 util/grub-install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
index 8cfe0ea..d3b9db7 100644
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
 	      efi_file = "BOOTARM.EFI";
 	      break;
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Quoted 9 lines
Quoted 2 lines
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)

Oops - muscle memory override.
My only excuse is that current Tianocore Bds for arm* is not conformant to the removable media boot behaviour, so this could not currently be tested. Fixing this is on my to-do list for Q1.
Could this be applied please?

Should not grubarm64 be changed into grubaa64 as well, even to just fit into 8+3 name? Having them consistent makes life easier. And now is just the right point in time before name is set in stone.

#3 lore raw
Quoted 15 lines · Andrey Borzenkov
Quoted 6 lines
Quoted 6 lines
util/grub-install.c +1 -1
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Quoted 8 lines
Quoted 2 lines
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)

Oops - muscle memory override.
My only excuse is that current Tianocore Bds for arm* is not conformant to the removable media boot behaviour, so this could not currently be tested. Fixing this is on my to-do list for Q1.
Could this be applied please?

Quoted 3 lines

Should not grubarm64 be changed into grubaa64 as well, even to just fit into 8+3 name? Having them consistent makes life easier. And now is just the right point in time before name is set in stone.

It would be more consistent, and if the intent is to match the removable media loader filename, the correct thing to do.

/
Leif

#4 lore raw
In reply to Andrey Borzenkov
Quoted 32 lines · Andrey Borzenkov

В Пн, 06/01/2014 в 11:34 +0000, Leif Lindholm пишет:

Quoted 21 lines · Andrey Borzenkov
Quoted 20 lines

According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior).

---
 util/grub-install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
index 8cfe0ea..d3b9db7 100644
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
 	      efi_file = "BOOTARM.EFI";
 	      break;
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Quoted 9 lines
Quoted 2 lines
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)

Oops - muscle memory override.
My only excuse is that current Tianocore Bds for arm* is not conformant to the removable media boot behaviour, so this could not currently be tested. Fixing this is on my to-do list for Q1.
Could this be applied please?

Quoted 4 lines

Should not grubarm64 be changed into grubaa64 as well, even to just fit into 8+3 name? Having them consistent makes life easier. And now is just the right point in time before name is set in stone.

Agreed. Could you do it?

Quoted 6 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#5 lore raw

В Пн, 06/01/2014 в 18:51 +0100, Vladimir 'φ-coder/phcoder' Serbinenko пишет:

Quoted 33 lines · Andrey Borzenkov
Quoted 32 lines

В Пн, 06/01/2014 в 11:34 +0000, Leif Lindholm пишет:

Quoted 30 lines · Andrey Borzenkov
Quoted 22 lines

According to UEFI 2.4 specification, default boot file name on AArch64 is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior).

---
 util/grub-install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-install.c +1 -1
index 8cfe0ea..d3b9db7 100644
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
 	      efi_file = "BOOTARM.EFI";
 	      break;
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
-	      efi_file = "BOOTAARCH64.EFI";
+	      efi_file = "BOOTAA64.EFI";
 	      break;
 	    default:
 	      grub_util_error ("%s", _("You've found a bug"));
Signature · 1 line
tg: (668add2..) u/aarch64-default-boot (depends on: master)

Oops - muscle memory override.
My only excuse is that current Tianocore Bds for arm* is not conformant to the removable media boot behaviour, so this could not currently be tested. Fixing this is on my to-do list for Q1.
Could this be applied please?

Quoted 5 lines
Quoted 4 lines

Should not grubarm64 be changed into grubaa64 as well, even to just fit into 8+3 name? Having them consistent makes life easier. And now is just the right point in time before name is set in stone.

Agreed. Could you do it?

Done.