Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For scarthgap next #1547

Open
wants to merge 2 commits into
base: scarthgap-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require optee-client-fio.inc

SRCREV = "8533e0e6329840ee96cf81b6453f257204227e6c"
SRCREV = "3eac340a781c00ccd61b151b0e9c22a8c6e9f9f0"

SRC_URI += " \
file://0001-FIO-extras-pkcs11-change-UUID-to-avoid-conflict-with.patch \
Expand Down
4 changes: 0 additions & 4 deletions meta-lmp-base/recipes-security/optee/optee-os-fio_3.21.0.bb

This file was deleted.

4 changes: 4 additions & 0 deletions meta-lmp-base/recipes-security/optee/optee-os-fio_4.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require optee-os-fio.inc

SRCREV = "a88bd7ef912657e9a73bf87ef7c0a0f76db1cbd4"
SRCBRANCH = "4.2.0+fio-wip"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
From 9cdaa16531f91c28621d8d8592560df817860eb0 Mon Sep 17 00:00:00 2001
From 9c6fd3bba91930deaf7d86f4af1739999e805934 Mon Sep 17 00:00:00 2001
From: Jorge Ramirez-Ortiz <[email protected]>
Date: Wed, 29 Mar 2023 14:16:55 +0200
Date: Wed, 20 Nov 2024 17:43:27 +0100
Subject: [PATCH] regression 1000: disable 1039

This test requires the TA to be signed with a key located
Expand All @@ -17,22 +17,25 @@ Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
1 file changed, 2 insertions(+)

diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c
index de32c41..1aa2e8b 100644
index 9981d01..226e5dc 100644
--- a/host/xtest/regression_1000.c
+++ b/host/xtest/regression_1000.c
@@ -3197,6 +3197,7 @@ out:
@@ -3269,6 +3269,7 @@ out:
ADBG_CASE_DEFINE(regression, 1038, xtest_tee_test_1038,
"Test MTE (Memory Tag Extension)");

+#if 0
static void xtest_tee_test_1039(ADBG_Case_t *c)
{
TEEC_Session session = { };
@@ -3221,3 +3222,4 @@ static void xtest_tee_test_1039(ADBG_Case_t *c)

@@ -3291,6 +3292,7 @@ static void xtest_tee_test_1039(ADBG_Case_t *c)
}
ADBG_CASE_DEFINE(regression, 1039, xtest_tee_test_1039,
"Test subkey verification");
+#endif

struct test_1040_thread_arg {
TEEC_Result res;
--
2.34.1

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require optee-test-fio.inc

SRCREV = "9c872638bc38324d8c65b9296ebec3d124e19466"
SRCREV = "526d5bac1b65f907f67c05cd07beca72fbab88dd"

# Due OpenSSL 3.0 deprecated warnings
CFLAGS += "-Wno-error=deprecated-declarations"
24 changes: 12 additions & 12 deletions meta-lmp-bsp/conf/machine/include/lmp-machine-custom.inc
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ PREFERRED_PROVIDER_u-boot-default-script:mx8ulp-generic-bsp = "u-boot-base-scr"
PREFERRED_PROVIDER_u-boot-default-script:sota:mx8ulp-generic-bsp = "u-boot-ostree-scr-fit"
SOTA_CLIENT_FEATURES:append:mx8ulp-generic-bsp = " ubootenv"
LMP_BOOT_FIRMWARE_FILES:mx8ulp-nxp-bsp = "imx-boot u-boot.itb"
PREFERRED_VERSION_optee-os-fio:mx8ulp-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-fio-mfgtool:mx8ulp-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-tadevkit:mx8ulp-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-fio:mx8ulp-nxp-bsp = "4.2.0-imx"
PREFERRED_VERSION_optee-os-fio-mfgtool:mx8ulp-nxp-bsp = "4.2.0-imx"
PREFERRED_VERSION_optee-os-tadevkit:mx8ulp-nxp-bsp = "4.2.0-imx"
PREFERRED_VERSION_u-boot-fio:mx8ulp-nxp-bsp ?= "imx-2023.04"
## iMX8ULP LPDDR4 EVK
UBOOT_SIGN_ENABLE:sota:imx8ulp-lpddr4-evk ?= "1"
Expand Down Expand Up @@ -506,9 +506,9 @@ PREFERRED_PROVIDER_u-boot-default-script:mx93-generic-bsp = "u-boot-base-scr"
PREFERRED_PROVIDER_u-boot-default-script:sota:mx93-generic-bsp = "u-boot-ostree-scr-fit"
SOTA_CLIENT_FEATURES:append:mx93-generic-bsp = " ubootenv"
LMP_BOOT_FIRMWARE_FILES:mx93-nxp-bsp = "imx-boot u-boot.itb"
PREFERRED_VERSION_optee-os-fio:mx93-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-fio-mfgtool:mx93-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-tadevkit:mx93-nxp-bsp = "3.21.0-imx"
PREFERRED_VERSION_optee-os-fio:mx93-nxp-bsp = "4.2.0-imx"
PREFERRED_VERSION_optee-os-fio-mfgtool:mx93-nxp-bsp = "4.2.0-imx"
PREFERRED_VERSION_optee-os-tadevkit:mx93-nxp-bsp = "4.2.0-imx"
PREFERRED_PROVIDER_virtual/kernel:mx93-nxp-bsp ?= "linux-lmp-fslc-imx"
PREFERRED_VERSION_u-boot-fio:mx93-nxp-bsp ?= "imx-2023.04"
# linux-lmp-fslc-imx_6.1 does't have this devicetrees
Expand Down Expand Up @@ -814,12 +814,12 @@ OSTREE_KERNEL_ARGS:sun8i ?= "earlycon console=ttyS0,115200 ${OSTREE_KERNEL_ARGS_
## iMX targets should use the u-boot release based on the NXP BSP
PREFERRED_VERSION_u-boot-fio:imx-nxp-bsp ?= "imx-2022.04"
## Prefer OP-TEE releases from our layer instead of using the .imx fork
PREFERRED_VERSION_optee-client:mx8-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-client:mx9-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-examples:mx8-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-examples:mx9-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-test:mx8-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-test:mx9-nxp-bsp = "3.21.0"
PREFERRED_VERSION_optee-client:mx8-nxp-bsp = "4.2.0"
PREFERRED_VERSION_optee-client:mx9-nxp-bsp = "4.2.0"
PREFERRED_VERSION_optee-examples:mx8-nxp-bsp = "4.2.0"
PREFERRED_VERSION_optee-examples:mx9-nxp-bsp = "4.2.0"
PREFERRED_VERSION_optee-test:mx8-nxp-bsp = "4.2.0"
PREFERRED_VERSION_optee-test:mx9-nxp-bsp = "4.2.0"
## We don't use imx-boot-container just yet
UBOOT_PROVIDES_BOOT_CONTAINER:mx8m-generic-bsp = "0"
## No need to install u-boot, already a WKS dependency
Expand Down

This file was deleted.

6 changes: 6 additions & 0 deletions meta-lmp-bsp/recipes-security/optee/optee-os-fio_4.2.0-imx.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require recipes-security/optee/optee-os-fio.inc

SRCREV = "5891192fbbc290cab0567744dec5be784b72b311"
SRCBRANCH = "4.2.0+fio-imx-wip"

DEFAULT_PREFERENCE = "-1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Needed an explicit PV setting due the require/include chain
PV = "3.21.0-imx"
PV = "4.2.0-imx"

require recipes-security/optee/optee-os-tadevkit_3.21.0.bb
require recipes-security/optee/optee-os-tadevkit_4.2.0.bb

DEFAULT_PREFERENCE = "-1"