From 6e65595da5301b9b8c435a9ab55e6f0d9b01a86d Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Sat, 14 Oct 2023 11:48:29 +0300 Subject: u-boot: gru: Do not persist EFI variables By default U-Boot stores EFI variables in a ubootefi.var file in whatever EFI System Partition it finds, which would be a FAT filesystem. I'm occasionally finding out while testing that my ESPs somehow end up with a corrupted filesystem, and I'm suspecting it's this. For now, disable storing EFI environment variables on disk so that U-Boot doesn't try to manipulate the filesystem. Signed-off-by: Alper Nebi Yasak --- config/u-boot/gru_bob/config/default | 4 ++-- config/u-boot/gru_kevin/config/default | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config/u-boot') diff --git a/config/u-boot/gru_bob/config/default b/config/u-boot/gru_bob/config/default index ffb35e60..2bcbe3d8 100644 --- a/config/u-boot/gru_bob/config/default +++ b/config/u-boot/gru_bob/config/default @@ -2276,8 +2276,8 @@ CONFIG_GENERATE_SMBIOS_TABLE=y # CONFIG_SMBIOS_PARSER is not set CONFIG_EFI_LOADER=y CONFIG_CMD_BOOTEFI_BOOTMGR=y -CONFIG_EFI_VARIABLE_FILE_STORE=y -# CONFIG_EFI_VARIABLE_NO_STORE is not set +# CONFIG_EFI_VARIABLE_FILE_STORE is not set +CONFIG_EFI_VARIABLE_NO_STORE=y # CONFIG_EFI_VARIABLES_PRESEED is not set CONFIG_EFI_VAR_BUF_SIZE=65536 # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set diff --git a/config/u-boot/gru_kevin/config/default b/config/u-boot/gru_kevin/config/default index 08375841..466bc96d 100644 --- a/config/u-boot/gru_kevin/config/default +++ b/config/u-boot/gru_kevin/config/default @@ -2276,8 +2276,8 @@ CONFIG_GENERATE_SMBIOS_TABLE=y # CONFIG_SMBIOS_PARSER is not set CONFIG_EFI_LOADER=y CONFIG_CMD_BOOTEFI_BOOTMGR=y -CONFIG_EFI_VARIABLE_FILE_STORE=y -# CONFIG_EFI_VARIABLE_NO_STORE is not set +# CONFIG_EFI_VARIABLE_FILE_STORE is not set +CONFIG_EFI_VARIABLE_NO_STORE=y # CONFIG_EFI_VARIABLES_PRESEED is not set CONFIG_EFI_VAR_BUF_SIZE=65536 # CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN is not set -- cgit v1.2.1