From patchwork Tue Nov 16 12:55:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16A7AC433EF for ; Tue, 16 Nov 2021 12:55:12 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web09.9409.1637067310986968553 for ; Tue, 16 Nov 2021 04:55:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=d/loOlLY; spf=pass (domain: linaro.org, ip: 209.85.167.45, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lf1-f45.google.com with SMTP id k37so52976638lfv.3 for ; Tue, 16 Nov 2021 04:55:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Sep/MNfUKbePSN9uXGfC3xQc+xrMz7DDX/PNGViK42w=; b=d/loOlLYsHOmkRVysZ+QuMmV/5D1wbd8+1mDZDido5V/AKE7nsztABPOjIwV6jOtCJ CdRLDCAN6U5R301WpO5Dk8NR5yi8BF7/r3WxBjrDXUI1lMhnoZkc0TTvN1u0KaIOJx3C /MOgbdnW77Q3qu8QeEDz4bLwlZs1nbx/lqxWWaWQba25YQ+KqF218RwcPpNlfbqthnBN dKQPfhyvoVCR4N/iMOiTzcg91giyCHwcS0rwK4qprik/HNvQiTrqcSuQJy1/W2b+pycP W/v6zx73D2KyRyQZkD/vz2c0v0nPD8GlcF6g6YgOk9uMZ5SX+3fjbZ9653g1MN8pqPHd s5dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Sep/MNfUKbePSN9uXGfC3xQc+xrMz7DDX/PNGViK42w=; b=pLbNGpSm7t3W1yDbgn5tqXy2iwzPlwJS1pLw8J8ttrhzyQ1V93aGefOtlRfD9MhxYc 7xCCdmvyahxgEukOAT8REhhmqWzN16v6aLxOPUD9WreiZ4/U6ABUm1MjNP/Xc2hV1/w8 lBReK/IaVD5+JYc/l7pf8yYovH6i9dEAJscBc/yNUM0Hhkw5bhZeNVRpilc91cJ0Dw7L +fABf2y6+p+wxKj6DI6MWlU3ZGR2baLZBaEMx50z0gP0OZS3p5eBqT3kDSC05P00S4Bo 1tipyRKNwPBgVq/w0u86QUxPBOAj0pcoPpHCFpqKyl+8NM2eryAwVwOIntevem2CIi0r Iw2g== X-Gm-Message-State: AOAM533bVTHMqFhRROJllT9zJn3lFYXvLzgJ35NWWf4oL4N6+BFWCo7+ tKJpqkF9+JQ5hUWauT3nihIzbGGczy/8rA== X-Google-Smtp-Source: ABdhPJwqoKN8DNT6LimMSUSB4I5osiS6K2n3sCAXbD0B9PscngrXlYUY60+9BgLjq7OopbE3IIKK/A== X-Received: by 2002:a05:6512:ac4:: with SMTP id n4mr6182004lfu.352.1637067308594; Tue, 16 Nov 2021 04:55:08 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id r25sm1753053lfi.166.2021.11.16.04.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 04:55:08 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv4 1/3] optee: updae optee-os.inc to support external TAs Date: Tue, 16 Nov 2021 15:55:03 +0300 Message-Id: <20211116125505.32716-1-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Nov 2021 12:55:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2406 Separate recipe for TA devkit is needed to solve circular dependency to build TAs withthe devkit and integrate it inside optee-os. Signed-off-by: Maxim Uvarov --- .../recipes-security/optee/optee-examples.inc | 2 +- .../optee/optee-os-tadevkit_3.14.0.bb | 20 +++++++++++++++++++ meta-arm/recipes-security/optee/optee-os.inc | 7 ------- 3 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 meta-arm/recipes-security/optee/optee-os-tadevkit_3.14.0.bb diff --git a/meta-arm/recipes-security/optee/optee-examples.inc b/meta-arm/recipes-security/optee/optee-examples.inc index 921fa18..656722e 100644 --- a/meta-arm/recipes-security/optee/optee-examples.inc +++ b/meta-arm/recipes-security/optee/optee-examples.inc @@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/linaro-swg/optee_examples" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=cd95ab417e23b94f381dafc453d70c30" -DEPENDS = "optee-client optee-os python3-pycryptodome-native" +DEPENDS = "optee-client optee-os-tadevkit python3-pycryptodome-native" inherit python3native diff --git a/meta-arm/recipes-security/optee/optee-os-tadevkit_3.14.0.bb b/meta-arm/recipes-security/optee/optee-os-tadevkit_3.14.0.bb new file mode 100644 index 0000000..0d37a52 --- /dev/null +++ b/meta-arm/recipes-security/optee/optee-os-tadevkit_3.14.0.bb @@ -0,0 +1,20 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:" +require optee-os_3.14.0.bb + +SUMMARY = "OP-TEE Trusted OS TA devkit" +DESCRIPTION = "OP-TEE TA devkit for build TAs" +HOMEPAGE = "https://www.op-tee.org/" + +do_install() { + #install TA devkit + install -d ${D}${includedir}/optee/export-user_ta/ + for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do + cp -aR $f ${D}${includedir}/optee/export-user_ta/ + done +} + +do_deploy() { + echo "Do not inherit do_deploy from optee-os." +} + +FILES:${PN} = "${includedir}/optee/" diff --git a/meta-arm/recipes-security/optee/optee-os.inc b/meta-arm/recipes-security/optee/optee-os.inc index 277646e..1506a58 100644 --- a/meta-arm/recipes-security/optee/optee-os.inc +++ b/meta-arm/recipes-security/optee/optee-os.inc @@ -46,12 +46,6 @@ do_install() { #install core in firmware install -d ${D}${nonarch_base_libdir}/firmware/ install -m 644 ${B}/core/*.bin ${B}/core/tee.elf ${D}${nonarch_base_libdir}/firmware/ - - #install TA devkit - install -d ${D}${includedir}/optee/export-user_ta/ - for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do - cp -aR $f ${D}${includedir}/optee/export-user_ta/ - done } PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -66,7 +60,6 @@ addtask deploy before do_build after do_install SYSROOT_DIRS += "${nonarch_base_libdir}/firmware" FILES:${PN} = "${nonarch_base_libdir}/firmware/" -FILES:${PN}-dev = "${includedir}/optee/" # note: "textrel" is not triggered on all archs INSANE_SKIP:${PN} = "textrel" From patchwork Tue Nov 16 12:55:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2182C433F5 for ; Tue, 16 Nov 2021 12:55:12 +0000 (UTC) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by mx.groups.io with SMTP id smtpd.web08.9327.1637067311806996199 for ; Tue, 16 Nov 2021 04:55:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=vGHYFUWM; spf=pass (domain: linaro.org, ip: 209.85.208.182, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lj1-f182.google.com with SMTP id e9so43084424ljl.5 for ; Tue, 16 Nov 2021 04:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=R49IPUfp3gmzJ3/oOIuI2rS405jpxpH6+1MAuZB7K5Y=; b=vGHYFUWMH3lGkaRVFwpcFsCRlntzdriC7oXXWs+zHiU7RIEuXiQnX/rls0oZ1J+QRw ttWgRqPNkvI+AIRvg/P3BR2NXAaRlbTsImwmwLbUQpfFvBuYZO67unOjV9L7je4ki3Bk ABPBlhps26ZKhOtPlA73TCe/6tH7ErGrDMCKzyVGxrWMxDbrZBYvOs/k/8+Na052pzaY BylHt0G4WkSe+P7n5LfsueCrEOX024ri1GbxBxUw0i3fBv6u59bZmuCaSbtNWNcRIlBo JCOxl1Zk2I3cABdy4l84010FbExt47JfkH1d5zuwVv2kud5kJ1FhH1kssuNgD+k5R9PO 6FgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R49IPUfp3gmzJ3/oOIuI2rS405jpxpH6+1MAuZB7K5Y=; b=s/Xn6HBfBeLKudmPMsu8oYoUcv24maoFfsQEC4jNdmWDOJhoqECF0ZHIllL4vyCd3w fVDBGshEuGoxOCB5o55uuO0oYt9ZyIfkLB/u6SQrixfE9uVfIwjkeAxmakHMJPqbW620 LXSYzNVd1mmNK8uKzkcFQ61AufWeTS2B5r9I4PUemQlHC09mBP5HzvH55jFa5MMn4K58 rNJJ7DmZym9gj7EY/afkLu0cTtr19FzkuHs9mtmRc1ugy76tEwmUCNBfExD3j9sTzqVD d/VwSOp5NYDJzU1tppsFYcw7W0/NCyNL99F8K8xACtjabKFXUeG5DO2KP0iokNMxfn+O wYzw== X-Gm-Message-State: AOAM530tawHuPd/RlS9vX6CEHPcStydg9rjyg2xIVTdYUV8Aq4EXadEa lifzv8xyX56iG7vU/ApQrjDt3uyUDGG4fA== X-Google-Smtp-Source: ABdhPJy9z5hhZIzHJ0JpxS8lRPchWkMLwlG8veIKIgX7S/e2xlCeZ2LJyZ8Nn3WlTXtSW5ecnVH3xg== X-Received: by 2002:a2e:391b:: with SMTP id g27mr6815632lja.126.1637067309858; Tue, 16 Nov 2021 04:55:09 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id r25sm1753053lfi.166.2021.11.16.04.55.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 04:55:09 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv4 2/3] add optee-ftpm Date: Tue, 16 Nov 2021 15:55:04 +0300 Message-Id: <20211116125505.32716-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211116125505.32716-1-maxim.uvarov@linaro.org> References: <20211116125505.32716-1-maxim.uvarov@linaro.org> List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Nov 2021 12:55:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2407 Add software TPM emulated in the OPTEE-OS. Signed-off-by: Maxim Uvarov --- .../optee-ftpm/0000-fix-ssl-fallthrough.patch | 20 ++++++ .../0001-add-enum-to-ta-flags.patch | 30 ++++++++ .../optee-ftpm/optee-ftpm_git.bb | 71 +++++++++++++++++++ .../optee-ftpm/optee-os_%.bbappend | 14 ++++ 4 files changed, 135 insertions(+) create mode 100644 meta-arm/recipes-security/optee-ftpm/optee-ftpm/0000-fix-ssl-fallthrough.patch create mode 100644 meta-arm/recipes-security/optee-ftpm/optee-ftpm/0001-add-enum-to-ta-flags.patch create mode 100644 meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb create mode 100644 meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend diff --git a/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0000-fix-ssl-fallthrough.patch b/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0000-fix-ssl-fallthrough.patch new file mode 100644 index 0000000..08acde2 --- /dev/null +++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0000-fix-ssl-fallthrough.patch @@ -0,0 +1,20 @@ +fix gcc compilation + +just fix compilation under gcc. +Upstream-Status: Submitted [https://github.com/wolfSSL/wolfssl/pull/4563] + +Signed-off-by: Maxim Uvarov + +diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h +index 7b3a953aebda..e156ae5c7909 100755 +--- a/external/wolfssl/wolfssl/wolfcrypt/types.h ++++ b/external/wolfssl/wolfssl/wolfcrypt/types.h +@@ -181,7 +181,7 @@ + /* GCC 7 has new switch() fall-through detection */ + #if defined(__GNUC__) + #if ((__GNUC__ > 7) || ((__GNUC__ == 7) && (__GNUC_MINOR__ >= 1))) +- #define FALL_THROUGH __attribute__ ((fallthrough)); ++ #define FALL_THROUGH __attribute__ ((__fallthrough__)); + #endif + #endif + #ifndef FALL_THROUGH diff --git a/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0001-add-enum-to-ta-flags.patch b/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0001-add-enum-to-ta-flags.patch new file mode 100644 index 0000000..bbc1107 --- /dev/null +++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm/0001-add-enum-to-ta-flags.patch @@ -0,0 +1,30 @@ +From 2d00f16058529eb9f4d4d2bcaeed91fd53b43989 Mon Sep 17 00:00:00 2001 +From: Maxim Uvarov +Date: Fri, 17 Apr 2020 12:05:53 +0100 +Subject: [PATCH 2/2] add enum to ta flags + +If we compile this TA into OPTEE-OS we need to define a flag +that this TA can be discovered on the optee bus. +Upstream-Status: Submitted [https://github.com/microsoft/MSRSec/pull/34] + +Signed-off-by: Maxim Uvarov +--- + TAs/optee_ta/fTPM/user_ta_header_defines.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/TAs/optee_ta/fTPM/user_ta_header_defines.h b/TAs/optee_ta/fTPM/user_ta_header_defines.h +index 6ff62d1..685b54a 100644 +--- a/TAs/optee_ta/fTPM/user_ta_header_defines.h ++++ b/TAs/optee_ta/fTPM/user_ta_header_defines.h +@@ -44,7 +44,7 @@ + + #define TA_UUID TA_FTPM_UUID + +-#define TA_FLAGS (TA_FLAG_SINGLE_INSTANCE | TA_FLAG_INSTANCE_KEEP_ALIVE ) ++#define TA_FLAGS (TA_FLAG_SINGLE_INSTANCE | TA_FLAG_INSTANCE_KEEP_ALIVE | TA_FLAG_DEVICE_ENUM_SUPP) + #define TA_STACK_SIZE (64 * 1024) + #define TA_DATA_SIZE (64 * 1024) + +-- +2.17.1 + diff --git a/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb new file mode 100644 index 0000000..e61dc9d --- /dev/null +++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb @@ -0,0 +1,71 @@ +SUMMARY = "OPTEE fTPM Microsoft TA" +DESCRIPTION = "TCG reference implementation of the TPM 2.0 Specification." +HOMEPAGE = "https://github.com/microsoft/ms-tpm-20-ref/" + +inherit autotools-brokensep deploy pkgconfig gettext python3native + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=27e94c0280987ab296b0b8dd02ab9fe5" + +DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyelftools-native" +DEPENDS += " optee-os-tadevkit" + +FTPM_UUID="bc50d971-d4c9-42c4-82cb-343fb7f37896" + +# SRC_URI = "git://github.com/Microsoft/ms-tpm-20-ref;branch=master" +# Since this is not built as a pseudo TA, we can only use it as a kernel module and not built in. +# The TEE supplicant is also needed to provide access to secure storage. +# Secure storage access required by OP-TEE fTPM TA +# is provided via OP-TEE supplicant that's not available during boot. +# Fix this once we replace this with the MS implementation +SRC_URI = "gitsm://github.com/microsoft/MSRSec;protocol=https;branch=master \ + file://0000-fix-ssl-fallthrough.patch \ + file://0001-add-enum-to-ta-flags.patch" +SRCREV = "76f81b36efbb1a366b0d382bc0defe677f1f0534" + +S = "${WORKDIR}/git" + +OPTEE_CLIENT_EXPORT = "${STAGING_DIR_HOST}${prefix}" +TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}" +TA_DEV_KIT_DIR = "${STAGING_INCDIR}/optee/export-user_ta" + +EXTRA_OEMAKE += '\ + CFG_FTPM_USE_WOLF=y \ + TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ + TA_CROSS_COMPILE=${TARGET_PREFIX} \ + CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_HOST} -I${WORKDIR}/optee-os" \ +' + +EXTRA_OEMAKE:append:aarch64:qemuall = "\ + CFG_ARM64_ta_arm64=y \ +" + +B = "${S}" + +# fails with j > 1 +PARALLEL_MAKE = "" + +do_compile() { + sed -i 's/-mcpu=$(TA_CPU)//' TAs/optee_ta/fTPM/sub.mk + # there's also a secure variable storage TA called authvars + cd ${S}/TAs/optee_ta + oe_runmake ftpm +} + +do_install () { + mkdir -p ${D}/lib/optee_armtz + install -D -p -m 0644 ${S}/TAs/optee_ta/out/fTPM/${FTPM_UUID}.ta ${D}/lib/optee_armtz/ +} + +do_deploy () { + install -d ${DEPLOYDIR}/optee + install -D -p -m 0644 ${S}/TAs/optee_ta/out/fTPM/${FTPM_UUID}.stripped.elf ${DEPLOYDIR}/optee/ +} + +addtask deploy before do_build after do_install + +FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/${FTPM_UUID}.ta" + +# Imports machine specific configs from staging to build +PACKAGE_ARCH = "${MACHINE_ARCH}" +INSANE_SKIP:${PN} += "ldflags" diff --git a/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend b/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend new file mode 100644 index 0000000..0cfa949 --- /dev/null +++ b/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend @@ -0,0 +1,14 @@ +FTPM_UUID="bc50d971-d4c9-42c4-82cb-343fb7f37896" + +DEPENDS:append = "\ + ${@bb.utils.contains('MACHINE_FEATURES', \ + 'optee-ftpm', \ + 'optee-ftpm', \ + '' , \ + d)}" + +EXTRA_OEMAKE:append = "${@bb.utils.contains('MACHINE_FEATURES', \ + 'optee-ftpm', \ + 'CFG_EARLY_TA=y EARLY_TA_PATHS="${DEPLOY_DIR_IMAGE}/optee/${FTPM_UUID}.stripped.elf"', \ + '', \ + d)} " From patchwork Tue Nov 16 12:55:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 936 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1EF1C433F5 for ; Tue, 16 Nov 2021 12:55:23 +0000 (UTC) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mx.groups.io with SMTP id smtpd.web08.9328.1637067313150856408 for ; Tue, 16 Nov 2021 04:55:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=oxPPgkUC; spf=pass (domain: linaro.org, ip: 209.85.208.170, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lj1-f170.google.com with SMTP id z8so43025006ljz.9 for ; Tue, 16 Nov 2021 04:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YnIcng55NGOcGOmLvnzuGaaa3Iu3rFoShQlhZq5Ucq0=; b=oxPPgkUCe69TC8HvyL7uz+Wf5SzeeVlT3vlO3JHDsgOhrBoXdYgbqUQMPdfxyBjl5I eWrFl721Wx7ZYMkVxC1RfqpAHmaHPLt4QkGcgGLjvpReKNYPuGhvTF73c+uq5EDylg3G iHkDLq06Sf+yK8mjHJJZeZKcaQFLe+EAXRHqvt+N/qgNy7VS1+CmFIPIifpFTZGZTB7/ l4EIsjA5fmfpfghS50BdVSfq3hO4fSqeMlGGlPYIpGv1hW+ggiPwLV9pvjJp93XrgPGm eYSdVdDr9CBUomVOcc52tW1skTHShcJkTKqH2rUSopfzkMUMw/5JeU0o117LepntOwaF fjFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YnIcng55NGOcGOmLvnzuGaaa3Iu3rFoShQlhZq5Ucq0=; b=rmtn0UcoSN5pobQes2SyQV+CUrl1FlL7yKEiDVDQgseFCcBPw6J3tzIzp0KhcTv2Aa cNKS0eIzE3TPmDmHnb8aSlCjFUOFePYACol674eDg5Iid6K3t91BP7y4UIEWpseiAdao 2UIPlhZ3esiZLe653oP4cmsQ9ekAVTIYV5xtLq8hoi+/e0wawPWJYFUM6B8dEqblcZJT 1GNriBoKL634eSb6Wy/7heNsLzsgQKaUOpkoVf1VFzO6TwKVgHgiUM1Z6TgALUFTvvcx 9qwJAo8neOri/tnQwJTlRKPykOFHoj4Ehb41uhG/gVMC8rtK8Hrb0AVkaLFgatHgLx4I G7hA== X-Gm-Message-State: AOAM532zWIj8aeq1ZbzYyiLFaTn0uPy1Sq4ZVPU4WSFQDlJlXoC2XLjG eGyUqOSu4EeMlqHNr2C18LLJQcrSOHRaFg== X-Google-Smtp-Source: ABdhPJyr6OCsVA/S0f1AeXY2iETuUYaMKD0USxK4qHiTXmOU2DsUYfjBTVVCghZ5Aldm9IG2CwK/OQ== X-Received: by 2002:a2e:8895:: with SMTP id k21mr6936698lji.331.1637067311119; Tue, 16 Nov 2021 04:55:11 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id r25sm1753053lfi.166.2021.11.16.04.55.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 04:55:10 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv4 3/3] machine/qemuarm64-secureboot.conf: add optee-ftpm Date: Tue, 16 Nov 2021 15:55:05 +0300 Message-Id: <20211116125505.32716-3-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211116125505.32716-1-maxim.uvarov@linaro.org> References: <20211116125505.32716-1-maxim.uvarov@linaro.org> List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Nov 2021 12:55:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2408 Signed-off-by: Maxim Uvarov --- meta-arm/conf/machine/qemuarm64-secureboot.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-arm/conf/machine/qemuarm64-secureboot.conf b/meta-arm/conf/machine/qemuarm64-secureboot.conf index c45924a..b664dac 100644 --- a/meta-arm/conf/machine/qemuarm64-secureboot.conf +++ b/meta-arm/conf/machine/qemuarm64-secureboot.conf @@ -20,4 +20,6 @@ WKS_FILE ?= "qemuarm64.wks" WKS_FILE_DEPENDS = "trusted-firmware-a" IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPE}" +MACHINE_FEATURES += "optee-ftpm" + PREFERRED_VERSION_linux-yocto ?= "5.10%"