Skip to content

Commit

Permalink
base/bsp: update optee to 3.20
Browse files Browse the repository at this point in the history
Update OP-TEE to 3.20.

Signed-off-by: Igor Opaniuk <[email protected]>
Signed-off-by: Ricardo Salveti <[email protected]>
  • Loading branch information
ricardosalveti committed Mar 3, 2023
1 parent cc651e0 commit 292595e
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions meta-lmp-base/conf/distro/include/non-clangable.inc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ TOOLCHAIN:pn-jailhouse = "gcc"
TOOLCHAIN:pn-optee-os-fio = "gcc"
TOOLCHAIN:pn-optee-os-tadevkit = "gcc"
TOOLCHAIN:pn-optee-test = "gcc"
TOOLCHAIN:pn-optee-client = "gcc"
TOOLCHAIN:pn-optee-sks = "gcc"

# qemuarm64
Expand Down
4 changes: 3 additions & 1 deletion meta-lmp-base/recipes-security/optee/optee-client-fio.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ HOMEPAGE = "https://www.op-tee.org/"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b"

inherit systemd cmake
inherit systemd cmake pkgconfig

DEPENDS = "util-linux-libuuid"

SRC_URI = " \
git://github.com/OP-TEE/optee_client.git;protocol=https;branch=master \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require optee-client-fio.inc

SRCREV = "e7cba71cc6e2ecd02f412c7e9ee104f0a5dffc6f"
SRCREV = "dd2d39b49975d2ada7870fe2b7f5a84d0d3860dc"

SRC_URI += " \
file://0001-FIO-extras-pkcs11-change-UUID-to-avoid-conflict-with.patch \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require optee-examples-fio.inc

SRCREV = "f301ee9df2129c0db683e726c91dc2cefe4cdb65"
SRCREV = "a98d01e1b9168eaed96bcd0bac0df67c44a81081"

SRC_URI += "\
file://0001-Makefile-Fix-non-portable-sh-check-for-plugins.patch \
Expand Down
5 changes: 0 additions & 5 deletions meta-lmp-base/recipes-security/optee/optee-os-fio_3.18.0.bb

This file was deleted.

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

PV = "3.20.0+git"
SRCREV = "5096ab732d1184f2f03c26ec0a379ddb30f4b4b2"
SRCBRANCH = "3.20+fio"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require optee-test-fio.inc

SRCREV = "da5282a011b40621a2cf7a296c11a35c833ed91b"
SRCREV = "5db8ab4c733d5b2f4afac3e9aef0a26634c4b444"

# Due OpenSSL 3.0 deprecated warnings
CFLAGS += "-Wno-error=deprecated-declarations"
6 changes: 3 additions & 3 deletions meta-lmp-bsp/conf/machine/include/lmp-machine-custom.inc
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,9 @@ 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.18.0"
PREFERRED_VERSION_optee-examples:mx8-nxp-bsp = "3.18.0"
PREFERRED_VERSION_optee-test:mx8-nxp-bsp = "3.18.0"
PREFERRED_VERSION_optee-client:mx8-nxp-bsp = "3.20.0"
PREFERRED_VERSION_optee-examples:mx8-nxp-bsp = "3.20.0"
PREFERRED_VERSION_optee-test:mx8-nxp-bsp = "3.20.0"
## We don't use imx-boot-container just yet
UBOOT_PROVIDES_BOOT_CONTAINER:mx8-generic-bsp = ""
## No need to install u-boot, already a WKS dependency
Expand Down

0 comments on commit 292595e

Please sign in to comment.