From patchwork Wed Nov 17 10:02:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 939 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 2307EC433EF for ; Wed, 17 Nov 2021 10:02:17 +0000 (UTC) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web08.5255.1637143335811192761 for ; Wed, 17 Nov 2021 02:02:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=nQBU/cqL; spf=pass (domain: linaro.org, ip: 209.85.167.47, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lf1-f47.google.com with SMTP id l22so5836035lfg.7 for ; Wed, 17 Nov 2021 02:02:15 -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=EhZaL7pmbKn9z7I8lrbhdz71T/7mlSfblcKrdY+gCvk=; b=nQBU/cqLauY0JMmNDTtW81F5f5RllmKuAUXwNzLOMSnSIo9okl8N3T869qLN9oEnKj gW6kHZMHW227llRdOfBR0BQyIwlkuMj8C8SDo7Izohryx0JPwuDh3heGvNe3Tt+inK+O FRjluObmAVJdYESQhg66X81xlulvuiC+ALfQiD2ocDA5KAdo+FGGyA/C9h/m/s1xLIKU 7DzFM518eOBAqzXYU6Vyz72PtBdS6CAfaUYKwz4IAe5YIqkf8XyojrHWlkjOyyykvdgn DDCkJxU1x+qAhcjzVzzypuBvBpKeVTZWHP+ZWoviMobXzjQ1zRMQED0pJIzqPuHZmhIF Q7Ng== 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=EhZaL7pmbKn9z7I8lrbhdz71T/7mlSfblcKrdY+gCvk=; b=dD6NiF9GokM7IeqldTyW5td0Y0alhN9a3+YtFTY2hx2Zt4mT7WbSPr8VOgSIfFmrNT vRBAc6QE/VuYr2Yjyqb4UBLrqILztyuv2pvEMcclPfPKQxPsY7LC2kF/DGbAYaHeS3Jc Bcf0RkHWiSJhu5VpF7nGGP/Mi2642JPEHX2aV4YTAALZ/MU08XRPTnIujcnMXhlvy+L+ wGocDKEixtouSKnojlZbqCR+2x5Qj2PryFSMnKPQA2ljATrOeTyrwMdCJwCSRCNXQQ9+ oTLcFZLpu4E1iq6bgJVkOpTaR4YPH0zB7IbR1Nb46CRKSvKkAmFQzauf8AdtSppQ8EAQ bztg== X-Gm-Message-State: AOAM532g/mhp2yrLM250OC2ZJ36lzOvSc612X5QNs5KX+YTpSZMkDrDJ 1JA14AUk/AkLy75tl2L7zevy5izJ5LVTaA== X-Google-Smtp-Source: ABdhPJwKd8oe9dbgPm7awQaJ/cXkZOAcPrRY6thxPe8y4a+rT2/3PoDSK6iR8D6EtW4AAJFBDbzK1Q== X-Received: by 2002:a05:6512:2098:: with SMTP id t24mr13900960lfr.289.1637143333053; Wed, 17 Nov 2021 02:02:13 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id j1sm2068126lfg.154.2021.11.17.02.02.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 02:02:12 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv5 1/3] optee: updae optee-os.inc to support external TAs Date: Wed, 17 Nov 2021 13:02:08 +0300 Message-Id: <20211117100210.1401-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 ; Wed, 17 Nov 2021 10:02:17 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2414 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 --- - no change from v4 .../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 Wed Nov 17 10:02:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 941 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 0B1BBC433EF for ; Wed, 17 Nov 2021 10:02:22 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web10.5020.1637143337108529818 for ; Wed, 17 Nov 2021 02:02:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=TASIuqy/; spf=pass (domain: linaro.org, ip: 209.85.208.177, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lj1-f177.google.com with SMTP id e9so5006082ljl.5 for ; Wed, 17 Nov 2021 02:02:16 -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=J/cqZuanHV+2RlLmAtUmTj6CNdCSwosdBeK2AvAmpwU=; b=TASIuqy/tuGe4/BXF4WyIhBMVS5SiZoWNHTQXlNBIxgyMb+8QNd2lUZwoJ1DuQAeSA h/HsnSFWzbjDJBUvD04/E3JP0N8O7cRIgf5sDoReSUbL/eg9b7V6yYmgE+iHk46lM4Os Uts6nWNIMBdvzUK7dJxt2I/urmcy1QnRS2j+exSEtES/CotSSnXuXe7xmnHeKRix/zwn xR0Timw0juw5WHlk2L2iJJOv4A6IvQ5Hz1O8KNPD7SOmTea9qNFJfgzgeq4eSnCMO39n UQApti3EEpyYXZXayqoGO9AGeWgOEKx39TGhW3st/H0jAhLhoXwioMr7mMq+2JSQukxJ Uaeg== 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=J/cqZuanHV+2RlLmAtUmTj6CNdCSwosdBeK2AvAmpwU=; b=fYWdvkRyiR3bIKRkrbwbI1S5e8xJlLm+frlkap3pCcaEZtBj/PQhrjkInx/63By9Qx v4Sm6hOEXH7B73Kv1W3EElRWUKom6sR9CZ0g3ya5ZXz0WOn2kl+BiTA/qu4tWHMicR+w u4JJQvgOE4DszD1Lb5B8fBbgmdMy4IrmuWbNjzRnprtD78mg6yIhwNs5lHK5TTj+0HBn sIhIaNz0Rod3Sfjc/QaLTtngIeU2ALWrph6epJxRGhAb9Y78/wmlKz7txkxrc2NstXtU ap3caMD+ad24m+Ig6oRh3RB7OdrPGyt97dFhpHcQov6mSjTbxqGwod5dSpuGwEJ3jIle XsyA== X-Gm-Message-State: AOAM530O2w+WGbQwloUV9WYecNt9jmFLQOUbiisv8goSCfK2GkCFKC89 kcPYBJobPtY3PccSCgZwFMF8mEtSh2z0bA== X-Google-Smtp-Source: ABdhPJw8/roj69OFzT9S0dobj4CQYt6Zgl4HVRFDManoATPZPfdP2uKSGAM3ghwPVXqsFjMLi+n+dg== X-Received: by 2002:a2e:a451:: with SMTP id v17mr6465558ljn.85.1637143334214; Wed, 17 Nov 2021 02:02:14 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id j1sm2068126lfg.154.2021.11.17.02.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 02:02:13 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv5 2/3] add optee-ftpm Date: Wed, 17 Nov 2021 13:02:09 +0300 Message-Id: <20211117100210.1401-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211117100210.1401-1-maxim.uvarov@linaro.org> References: <20211117100210.1401-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 ; Wed, 17 Nov 2021 10:02:22 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2415 Add software TPM emulated in the OPTEE-OS. Signed-off-by: Maxim Uvarov --- v5: add compatible stings to pass "ci/check-layers.py ci/check-layers.yml" script. .../optee-ftpm/0000-fix-ssl-fallthrough.patch | 20 +++++ .../0001-add-enum-to-ta-flags.patch | 30 ++++++++ .../optee-ftpm/optee-ftpm_git.bb | 75 +++++++++++++++++++ .../optee-ftpm/optee-os_%.bbappend | 14 ++++ 4 files changed, 139 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..ee9dc61 --- /dev/null +++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb @@ -0,0 +1,75 @@ +SUMMARY = "OPTEE fTPM Microsoft TA" +DESCRIPTION = "TCG reference implementation of the TPM 2.0 Specification." +HOMEPAGE = "https://github.com/microsoft/ms-tpm-20-ref/" + +COMPATIBLE_MACHINE ?= "invalid" +COMPATIBLE_MACHINE:aarch64 = "(.*)" +COMPATIBLE_MACHINE:qemuarm64-secureboot = "qemuarm64" + +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 Wed Nov 17 10:02:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 940 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 0558CC4332F for ; Wed, 17 Nov 2021 10:02:18 +0000 (UTC) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mx.groups.io with SMTP id smtpd.web11.5175.1637143337277342598 for ; Wed, 17 Nov 2021 02:02:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=syWtrFtA; spf=pass (domain: linaro.org, ip: 209.85.167.54, mailfrom: maxim.uvarov@linaro.org) Received: by mail-lf1-f54.google.com with SMTP id b40so5806260lfv.10 for ; Wed, 17 Nov 2021 02:02:17 -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=BLChPXbdKN3YdTqmv6laQ7kL7yJYsF5R5kS1NT/rC2E=; b=syWtrFtAeGD2cgoqb84QKtDO5MLidPtn1JfVTXeAV5OYm0jfihJbv2I9QJom+WVOJN JJ8UAf8NxZ2O2dh64NC0nuLWL2Q2cXmX0gUhrfJTiLJn7jFilWyI8JuCVtQvlamHsz78 ZayOitYZtMpbg4Or/Y9p2Yo6PVN8xLeR1ex17YIS/FemGBGKq9A8ibY5V3Dx1PbF+hrQ 77m7zD0f6sNxXUf+sSWiT9xTsyNTH50pJA6ZX0d2Jstq8MmvylBTn2qAB5/Q88bbaR9S PsMFxh6Z9Nh+W1AappaLV9UsSd00QnMdSgtbMuHxjbf+ouASllZrdOq8xzKQiznrSjr2 heJg== 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=BLChPXbdKN3YdTqmv6laQ7kL7yJYsF5R5kS1NT/rC2E=; b=qTYyA9ByjPx9IlXoIghlIvC9RGZMfkgncDoWoMjcbQnQNpWSjzz2Qr1hJQBw5rbxuU /ICGozErqzy01Pbd1tJxTSDWtDNRwLJXPbUSX1g++l1qfdkCxJisudyXBUKQnee3NW+m XBSP1DoyTp9Av3JuzFRpo649tfOcYF/nBuFMOd80EayK8ASFQlC+bT3KyngIf1/vX/KD Ob9v6g2bXa15atb5df6C4Ll9hY8+xfGFzO1usr9REpTCvE7gxkW8Eht9fhAqWFENxK/m 9ZgeMbvFJebE2ZNfHHZ7qzMm9py9Zx3Fnjhl/ih9ynqEQBIY46mb6i3bvK9SSb51CiIP oj7A== X-Gm-Message-State: AOAM53086l8G3Qia4i42f4iw3ro7SmkCNkYANo/X6y7i40Eu7BYnoiTd 10w1UTtk8UDE8r2AkAHANFak9pzBNk2imA== X-Google-Smtp-Source: ABdhPJz9gl2o8cOSH7mOoovmfHZ5ilGHwZtLtkOu4aC/MHJHloDBBQHJtsYgZiiyJ+O4aesDc+ml9g== X-Received: by 2002:ac2:5fe1:: with SMTP id s1mr14193496lfg.346.1637143335335; Wed, 17 Nov 2021 02:02:15 -0800 (PST) Received: from maximlap.d-systems.local ([45.87.143.160]) by smtp.gmail.com with ESMTPSA id j1sm2068126lfg.154.2021.11.17.02.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 02:02:14 -0800 (PST) From: Maxim Uvarov To: meta-arm@lists.yoctoproject.org Cc: jon.mason@arm.com, ross.burton@arm.com, Maxim Uvarov Subject: [PATCHv5 3/3] machine/qemuarm64-secureboot.conf: add optee-ftpm Date: Wed, 17 Nov 2021 13:02:10 +0300 Message-Id: <20211117100210.1401-3-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211117100210.1401-1-maxim.uvarov@linaro.org> References: <20211117100210.1401-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 ; Wed, 17 Nov 2021 10:02:18 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2416 Signed-off-by: Maxim Uvarov --- - no change from v4 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%"