From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <s.reiter@proxmox.com> Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 15A4A6C8F7 for <pve-devel@lists.proxmox.com>; Thu, 23 Sep 2021 16:55:44 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0881028045 for <pve-devel@lists.proxmox.com>; Thu, 23 Sep 2021 16:55:14 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id EFD0528018 for <pve-devel@lists.proxmox.com>; Thu, 23 Sep 2021 16:55:11 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C1D5A44A8C for <pve-devel@lists.proxmox.com>; Thu, 23 Sep 2021 16:55:11 +0200 (CEST) From: Stefan Reiter <s.reiter@proxmox.com> To: pve-devel@lists.proxmox.com Date: Thu, 23 Sep 2021 16:54:56 +0200 Message-Id: <20210923145459.1508558-2-s.reiter@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210923145459.1508558-1-s.reiter@proxmox.com> References: <20210923145459.1508558-1-s.reiter@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.557 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [RFC v2 edk2-firmware 1/4] enable TPM and TPM2 support X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Thu, 23 Sep 2021 14:55:44 -0000 Necessary for an OS to use a TPM attached to a OVMF VM. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com> --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index fb85b29..ece77be 100755 --- a/debian/rules +++ b/debian/rules @@ -54,6 +54,8 @@ build-ovmf: setup-build -a $(EDK2_HOST_ARCH) \ -t $(EDK2_TOOLCHAIN) \ -DSECURE_BOOT_ENABLE=FALSE \ + -DTPM_ENABLE=TRUE \ + -DTPM2_ENABLE=TRUE \ -DFD_SIZE_2MB \ -n $$(getconf _NPROCESSORS_ONLN) @@ -75,6 +77,8 @@ build-qemu-efi: setup-build -p ArmVirtPkg/ArmVirtQemu.dsc \ -DHTTP_BOOT_ENABLE=TRUE \ -DSECURE_BOOT_ENABLE=FALSE \ + -DTPM_ENABLE=TRUE \ + -DTPM2_ENABLE=TRUE \ -DINTEL_BDS \ -b RELEASE dd if=/dev/zero of=Build/ArmVirtQemu-$(EDK2_HOST_ARCH)/RELEASE_$(EDK2_TOOLCHAIN)/FV/$(FW_NAME)_CODE.fd bs=1M seek=64 count=0 -- 2.30.2