summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/coreboot/cros/patches/0003-HACK-Disable-coreboot-related-BL31-features.patch28
-rw-r--r--resources/u-boot/gru_bob/config/default2
-rw-r--r--resources/u-boot/gru_kevin/config/default2
-rw-r--r--resources/u-boot/qemu_arm64_12mb/config/default2
-rw-r--r--resources/u-boot/qemu_x86_12mb/config/default2
5 files changed, 32 insertions, 4 deletions
diff --git a/resources/coreboot/cros/patches/0003-HACK-Disable-coreboot-related-BL31-features.patch b/resources/coreboot/cros/patches/0003-HACK-Disable-coreboot-related-BL31-features.patch
new file mode 100644
index 00000000..d179a05a
--- /dev/null
+++ b/resources/coreboot/cros/patches/0003-HACK-Disable-coreboot-related-BL31-features.patch
@@ -0,0 +1,28 @@
+From 9f52555eac217623ad2edc72492f9ded6a5b538d Mon Sep 17 00:00:00 2001
+From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
+Date: Thu, 22 Jun 2023 16:44:27 +0300
+Subject: [PATCH] HACK: Disable coreboot related BL31 features
+
+I don't know why, but removing this BL31 make argument lets gru-kevin
+power off properly when shut down from Linux. Needs investigation.
+---
+ src/arch/arm64/Makefile.inc | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/arch/arm64/Makefile.inc b/src/arch/arm64/Makefile.inc
+index 6b49743633c3..e1982d92cc5c 100644
+--- a/src/arch/arm64/Makefile.inc
++++ b/src/arch/arm64/Makefile.inc
+@@ -158,9 +158,6 @@ BL31_MAKEARGS += LOG_LEVEL=40
+ # Always enable crash reporting, even on a release build
+ BL31_MAKEARGS += CRASH_REPORTING=1
+
+-# Enable coreboot-specific features like CBMEM console support
+-BL31_MAKEARGS += COREBOOT=1
+-
+ # Avoid build/release|build/debug distinction by overriding BUILD_PLAT directly
+ BL31_MAKEARGS += BUILD_PLAT="$(BL31_BUILD)"
+
+--
+2.40.1
+
diff --git a/resources/u-boot/gru_bob/config/default b/resources/u-boot/gru_bob/config/default
index 64f5274f..cffadddc 100644
--- a/resources/u-boot/gru_bob/config/default
+++ b/resources/u-boot/gru_bob/config/default
@@ -2176,7 +2176,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=16384
+CONFIG_EFI_VAR_BUF_SIZE=32768
# CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set
# CONFIG_EFI_CAPSULE_ON_DISK is not set
CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
diff --git a/resources/u-boot/gru_kevin/config/default b/resources/u-boot/gru_kevin/config/default
index eabaf9c6..6c72c468 100644
--- a/resources/u-boot/gru_kevin/config/default
+++ b/resources/u-boot/gru_kevin/config/default
@@ -2176,7 +2176,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=16384
+CONFIG_EFI_VAR_BUF_SIZE=32768
# CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set
# CONFIG_EFI_CAPSULE_ON_DISK is not set
CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
diff --git a/resources/u-boot/qemu_arm64_12mb/config/default b/resources/u-boot/qemu_arm64_12mb/config/default
index b870bcb8..18cbb4f0 100644
--- a/resources/u-boot/qemu_arm64_12mb/config/default
+++ b/resources/u-boot/qemu_arm64_12mb/config/default
@@ -1548,7 +1548,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=16384
+CONFIG_EFI_VAR_BUF_SIZE=32768
CONFIG_EFI_GET_TIME=y
CONFIG_EFI_SET_TIME=y
# CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set
diff --git a/resources/u-boot/qemu_x86_12mb/config/default b/resources/u-boot/qemu_x86_12mb/config/default
index ab22558a..d057b06e 100644
--- a/resources/u-boot/qemu_x86_12mb/config/default
+++ b/resources/u-boot/qemu_x86_12mb/config/default
@@ -1569,7 +1569,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=16384
+CONFIG_EFI_VAR_BUF_SIZE=32768
CONFIG_EFI_GET_TIME=y
# CONFIG_EFI_SET_TIME is not set
# CONFIG_EFI_RUNTIME_UPDATE_CAPSULE is not set