From a475ecef2465271e2ec877bd345a694b7e6657e6 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Tue, 4 Apr 2023 09:36:31 -0400 Subject: [PATCH] qemu-coreboot-*whiptail-tpm2-* boards: move TPM2 debug PCAP variable to debug section for clarity --- .../qemu-coreboot-fbwhiptail-tpm2-hotp.config | 3 ++- .../qemu-coreboot-fbwhiptail-tpm2.config | 3 ++- .../qemu-coreboot-whiptail-tpm2-hotp.config | 3 ++- .../qemu-coreboot-whiptail-tpm2.config | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/boards/qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config b/boards/qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config index 5db923775..5242e7a0d 100644 --- a/boards/qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config +++ b/boards/qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config @@ -10,6 +10,8 @@ export CONFIG_LINUX_VERSION=5.10.5 #Enable DEBUG output export CONFIG_DEBUG_OUTPUT=y export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y +#Enable TPM2 pcap output under /tmp +export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_COREBOOT_CONFIG=config/coreboot-qemu-tpm2.config CONFIG_LINUX_CONFIG=config/linux-qemu.config @@ -63,7 +65,6 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash" #TPM2 requirements export CONFIG_TPM2_TOOLS=y export CONFIG_PRIMARY_KEY_TYPE=ecc -export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_TPM2_TSS=y CONFIG_OPENSSL=y diff --git a/boards/qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config b/boards/qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config index ce97fed6b..f21340b1e 100644 --- a/boards/qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config +++ b/boards/qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config @@ -9,6 +9,8 @@ export CONFIG_LINUX_VERSION=5.10.5 #Enable DEBUG output export CONFIG_DEBUG_OUTPUT=y export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y +#Enable TPM2 pcap output under /tmp +export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_COREBOOT_CONFIG=config/coreboot-qemu-tpm2.config CONFIG_LINUX_CONFIG=config/linux-qemu.config @@ -62,7 +64,6 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash" #TPM2 requirements export CONFIG_TPM2_TOOLS=y export CONFIG_PRIMARY_KEY_TYPE=ecc -export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_TPM2_TSS=y CONFIG_OPENSSL=y diff --git a/boards/qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config b/boards/qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config index afa8f225c..1cfe6a04b 100644 --- a/boards/qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config +++ b/boards/qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config @@ -10,6 +10,8 @@ export CONFIG_LINUX_VERSION=5.10.5 #Enable DEBUG output export CONFIG_DEBUG_OUTPUT=y export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y +#Enable TPM2 pcap output under /tmp +export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_COREBOOT_CONFIG=config/coreboot-qemu-tpm2.config CONFIG_LINUX_CONFIG=config/linux-qemu.config @@ -63,7 +65,6 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash" #TPM2 requirements export CONFIG_TPM2_TOOLS=y export CONFIG_PRIMARY_KEY_TYPE=ecc -export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_TPM2_TSS=y CONFIG_OPENSSL=y diff --git a/boards/qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config b/boards/qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config index b4c82237f..273d500ae 100644 --- a/boards/qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config +++ b/boards/qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config @@ -9,6 +9,8 @@ export CONFIG_LINUX_VERSION=5.10.5 #Enable DEBUG output export CONFIG_DEBUG_OUTPUT=y export CONFIG_ENABLE_FUNCTION_TRACING_OUTPUT=y +#Enable TPM2 pcap output under /tmp +export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_COREBOOT_CONFIG=config/coreboot-qemu-tpm2.config CONFIG_LINUX_CONFIG=config/linux-qemu.config @@ -62,7 +64,6 @@ export CONFIG_BOOT_KERNEL_REMOVE="quiet rhgb splash" #TPM2 requirements export CONFIG_TPM2_TOOLS=y export CONFIG_PRIMARY_KEY_TYPE=ecc -export CONFIG_TPM2_CAPTURE_PCAP=y CONFIG_TPM2_TSS=y CONFIG_OPENSSL=y