From 4b94d77f693a0d21d01eb287d5a9757ecb5122b0 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 13 May 2022 15:12:27 +0100 Subject: [PATCH] arm-bsp/optee-os: set PV correctly for the corstone1000 build The corstone1000 build of optee-os has a bbappend which uses a specific non-upstream branch of optee-os which is actually based on 3.10, so set PV appropriately in the recipe and update the PREFERRED_VERSION in corstone1000.inc. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm-bsp/conf/machine/include/corstone1000.inc | 4 ++-- .../recipes-security/optee/optee-os_corstone1000_common.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc index 380ed30f..2f665d02 100644 --- a/meta-arm-bsp/conf/machine/include/corstone1000.inc +++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc @@ -34,8 +34,8 @@ UBOOT_ARCH = "arm" UBOOT_EXTLINUX = "0" # optee -PREFERRED_VERSION_optee-os ?= "3.14%" -PREFERRED_VERSION_optee-client ?= "3.14%" +PREFERRED_VERSION_optee-os ?= "3.10.%" +PREFERRED_VERSION_optee-client ?= "3.14.%" EXTRA_IMAGEDEPENDS += "optee-os" OPTEE_ARCH = "arm64" OPTEE_BINARY = "tee-pager_v2.bin" diff --git a/meta-arm-bsp/recipes-security/optee/optee-os_corstone1000_common.inc b/meta-arm-bsp/recipes-security/optee/optee-os_corstone1000_common.inc index e17467fe..9f372413 100644 --- a/meta-arm-bsp/recipes-security/optee/optee-os_corstone1000_common.inc +++ b/meta-arm-bsp/recipes-security/optee/optee-os_corstone1000_common.inc @@ -1,6 +1,6 @@ SRC_URI = "git://git.trustedfirmware.org/OP-TEE/optee_os.git;protocol=https;branch=psa-development" SRCREV = "f9de2c9520ed97b89760cc4c99424aae440b63f4" -PV .= "+git${SRCPV}" +PV = "3.10.0+git${SRCPV}" DEPENDS += "python3-pycryptodomex-native dtc-native"