Skip to contentSkip to conversation

configs: BPI-R2: Disable EFI Grub workaround

PATCH New matthias.bgg at kernel.org 2 participants 3 messages Feb 16, 2021 – Feb 25, 2021 Arm MediaTek

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs: BPI-R2: Disable EFI Grub workaround

From: Matthias Brugger <[email protected]>

The EFI Grub workaround on BananaPi R2 slows down the boot process to the point, that the watchdog will trigger a reboot before the kernel can reset it. Fix this by disabeling the workaround.

---

 configs/mt7623n_bpir2_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mt7623n_bpir2_defconfig +1 -0
index d36ff560cf..fb20cb1832 100644
@@ -53,3 +53,4 @@ CONFIG_TIMER=y
 CONFIG_MTK_TIMER=y
 CONFIG_WDT_MTK=y
 CONFIG_LZMA=y
+# CONFIG_EFI_GRUB_ARM32_WORKAROUND is not set
Signature · 1 line
2.30.0
#1 lore raw

PATCH 2/2 configs: RPi2: Disable EFI Grub workaround

From: Matthias Brugger <[email protected]>

The EFI Grub workaround isn't needed with Grub version 2.04 or higher. This version was published over a year ago, so disable the workaround to reduce boot time.

---

 configs/rpi_2_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/rpi_2_defconfig +1 -0
index 33f27cf09f..a0f36e1a93 100644
@@ -42,3 +42,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+# CONFIG_EFI_GRUB_ARM32_WORKAROUND is not set
Signature · 1 line
2.30.0
#2 lore raw

PATCH 1/2 configs: BPI-R2: Disable EFI Grub workaround

In reply to matthias.bgg at kernel.org
Quoted 7 lines · matthias.bgg at kernel.org

From: Matthias Brugger <[email protected]>

The EFI Grub workaround on BananaPi R2 slows down the boot process to the point, that the watchdog will trigger a reboot before the kernel can reset it. Fix this by disabeling the workaround.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/98a4e542/attachment.sig>