From 7afe2f39189fa196547c3dd9f9f617cfab91d835 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Fri, 13 Oct 2023 15:16:47 +0300 Subject: u-boot: Set EFI variable buffer size to upstream value U-Boot upstream used to have 16KB for EFI variables, and this was causing problems with shim. Commit f0236acbc663 ("u-boot: Increase EFI variable buffer size") fixed this by raising it to 32KB in our builds. It has now been raised to 64K upstream, so raise it here as well. Signed-off-by: Alper Nebi Yasak --- config/u-boot/gru_bob/config/default | 2 +- config/u-boot/gru_kevin/config/default | 2 +- config/u-boot/qemu_arm64_12mb/config/default | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/u-boot/gru_bob/config/default b/config/u-boot/gru_bob/config/default index d91093bd..9486e9df 100644 --- a/config/u-boot/gru_bob/config/default +++ b/config/u-boot/gru_bob/config/default @@ -2276,7 +2276,7 @@ CONFIG_CMD_BOOTEFI_BOOTMGR=y CONFIG_EFI_VARIABLE_FILE_STORE=y # CONFIG_EFI_VARIABLE_NO_STORE is not set # CONFIG_EFI_VARIABLES_PRESEED is not set -CONFIG_EFI_VAR_BUF_SIZE=32768 +CONFIG_EFI_VAR_BUF_SIZE=65536 # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set # CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set # CONFIG_EFI_CAPSULE_ON_DISK is not set diff --git a/config/u-boot/gru_kevin/config/default b/config/u-boot/gru_kevin/config/default index 42386785..3cc74337 100644 --- a/config/u-boot/gru_kevin/config/default +++ b/config/u-boot/gru_kevin/config/default @@ -2276,7 +2276,7 @@ CONFIG_CMD_BOOTEFI_BOOTMGR=y CONFIG_EFI_VARIABLE_FILE_STORE=y # CONFIG_EFI_VARIABLE_NO_STORE is not set # CONFIG_EFI_VARIABLES_PRESEED is not set -CONFIG_EFI_VAR_BUF_SIZE=32768 +CONFIG_EFI_VAR_BUF_SIZE=65536 # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set # CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set # CONFIG_EFI_CAPSULE_ON_DISK is not set diff --git a/config/u-boot/qemu_arm64_12mb/config/default b/config/u-boot/qemu_arm64_12mb/config/default index 11adcc7a..982b6889 100644 --- a/config/u-boot/qemu_arm64_12mb/config/default +++ b/config/u-boot/qemu_arm64_12mb/config/default @@ -1607,7 +1607,7 @@ CONFIG_CMD_BOOTEFI_BOOTMGR=y CONFIG_EFI_VARIABLE_FILE_STORE=y # CONFIG_EFI_VARIABLE_NO_STORE is not set # CONFIG_EFI_VARIABLES_PRESEED is not set -CONFIG_EFI_VAR_BUF_SIZE=32768 +CONFIG_EFI_VAR_BUF_SIZE=65536 CONFIG_EFI_GET_TIME=y CONFIG_EFI_SET_TIME=y # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set -- cgit v1.2.1