Skip to contentSkip to conversation

uefi: remove fsl-eula-unpack class

PATCH In review C.r. Guo 1 participant 15 messages Aug 12, 2019 – Aug 16, 2019

lore
Share & tools
lore

C.r. Guo

author
#0 lore raw

PATCH 1/14 uefi: remove fsl-eula-unpack class

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/uefi/uefi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/uefi/uefi_git.bb +2 -2
index 55344c1..9be05de 100644
@@ -3,9 +3,9 @@ SECTION = "bootloaders"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1"
 SRCREV= "12963900e9cb4e322df7bff327862de3b8a6371e"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 2/14 ddr-phy: remove fsl-eula-unpack class

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/ddr-phy/ddr-phy_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/ddr-phy/ddr-phy_git.bb +2 -2
index 98a9b02..b7adf43 100644
@@ -2,9 +2,9 @@ SUMMARY = "DDR firmware repository"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \
+SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1 \
     git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;destsuffix=git/atf;name=atf"
 SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c"
 SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc"
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 3/14 mc: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-dpaa2/management-complex/management-complex_10.16.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-dpaa2/management-complex/management-complex_10.16.2.bb +2 -2
index 435544a..d0e05cd 100644
@@ -2,11 +2,11 @@ SUMMARY = "DPAA2 Management Complex Firmware"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=73d4b970c18882e229e4bf1ada5bb8d6"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/nxp/qoriq-mc-binary;nobranch=1"
 SRCREV = "f72b978873af6c7cd0fd92b793363506411c102c"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH 4/14 fm-ucode: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-dpaa/fm-ucode/fm-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-dpaa/fm-ucode/fm-ucode_git.bb +2 -2
index 1db1acd..39e4f9d 100644
@@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=b784c031868ba1bd5ebc5de372c
 
 PR = "r1"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1"
 SRCREV = "c275e91392e2adab1ed22f3867b8269ca3c54014"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#4 lore raw

PATCH 5/14 ppfe-firmware: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +2 -3
index b94d88c..6705fe0 100644
@@ -2,12 +2,11 @@ SUMMARY = "PPFE Linux firmware"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85"
 
-
 INHIBIT_DEFAULT_DEPS = "1"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1"
 SRCREV = "58aa0cac630528ed91fe5639700d6b571c0c07b5"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#5 lore raw

PATCH 6/14 qe-ucode: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/qe-ucode/qe-ucode_git.bb +2 -2
index 58dffa3..cecd590 100644
@@ -3,9 +3,9 @@ SECTION = "qe-ucode"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1"
 SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#6 lore raw

PATCH 7/14 ls2-phy: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/ls2-phy/ls2-phy_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/ls2-phy/ls2-phy_git.bb +2 -2
index d0e8ca5..a1c412b 100644
@@ -2,9 +2,9 @@ SUMMARY = "Firmwares and Standalone Applications"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1"
 SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#7 lore raw

PATCH 8/14 inphi: remove fsl-eula-unpack class

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/inphi/inphi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/inphi/inphi_git.bb +2 -2
index c0c8a77..3f3c5f2 100644
@@ -2,9 +2,9 @@ SUMMARY = "Firmwares and Standalone Applications"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1"
 SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
author
#8 lore raw

PATCH 9/14 hyperrelay: remove recipes

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-extended/hyperrelay/hyperrelay_git.bb | 36 ---------------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 recipes-extended/hyperrelay/hyperrelay_git.bb
recipes-extended/hyperrelay/hyperrelay_git.bb deleted +0 -36
deleted file mode 100644
index 29056c5..0000000
@@ -1,36 +0,0 @@
-DESCRIPTION = "Userspace proxy agent for Code Warrrior HyperTrk"
-LICENSE = "Freescale-EULA"
-LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
-
-inherit fsl-eula-unpack
-
-SRC_URI = "git://git.freescale.com/ppc/sdk/hyperrelay.git;fsl-eula=true;branch=sdk-v2.0.x"
-SRCREV = "925af97359c2b86399561f1f97f2cb6ca0ccd344"
-
-S = "${WORKDIR}/git"
-
-CFLAGS += "\
-    -Wall \
-    -Wundef \
-    -Wstrict-prototypes \
-    -Wno-trigraphs \
-    -fno-strict-aliasing \
-    -fno-common \
-    -O2 \
-    -g \
-    -fmessage-length=0 \
-    -MMD \
-    -MP \
-    -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" \
-"
-
-LDFLAGS_prepend = " -lpthread "
-
-do_install() {
-    install -d ${D}${bindir}
-    oe_runmake install DESTDIR=${D}
-}
-
-COMPATIBLE_MACHINE = "(qoriq-ppc)"
-PACKAGE_ARCH = "${MACHINE_SOCARCH}"
-INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
2.7.4
author
#9 lore raw

PATCH 10/14 dpl-examples: remove recipes

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 35 --------------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb
recipes-dpaa2/dpl-examples/dpl-examples_git.bb deleted +0 -35
deleted file mode 100644
index aca35a8..0000000
@@ -1,35 +0,0 @@
-SUMMARY = "Datapath layout examples"
-LICENSE = "Freescale-EULA"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987"
-
-DEPENDS = "dtc-native"
-
-inherit deploy fsl-eula-unpack
-
-SRC_URI = "git://github.com/qoriq-open-source/dpl-examples.git;fsl-eula=true;nobranch=1"
-SRCREV = "a6c83759c0d9c02822eec89e86357a0998ef51d4"
-
-S = "${WORKDIR}/git"
-
-REGLEX_ls2088a = "ls2088a"
-REGLEX_ls1088a = "ls1088a"
-
-do_install () {
-    install -d ${D}/boot
-    install -m 644 ${S}/${REGLEX}/RDB/*.dtb ${D}/boot
-    install -m 644 ${S}/${REGLEX}/RDB/custom/*.dtb ${D}/boot
-}
-
-do_deploy () {
-    install -d ${DEPLOYDIR}/dpl-examples
-    install -m 644 ${S}/${REGLEX}/RDB/*.dtb ${DEPLOYDIR}/dpl-examples
-    install -m 644 ${S}/${REGLEX}/RDB/custom/*.dtb ${DEPLOYDIR}/dpl-examples
-}
-addtask deploy before do_build after do_install
-
-PACKAGES += "${PN}-image"
-FILES_${PN}-image += "/boot"
-
-COMPATIBLE_MACHINE = "(ls2080ardb|ls2088a|ls1088a)"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
Signature · 1 line
2.7.4
author
#10 lore raw

PATCH 11/14 ls2080ardb: remove dpl-examples

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls2080ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls2080ardb.conf +1 -1
index d58a86a..859a41b 100644
@@ -16,5 +16,5 @@ UBOOT_CONFIG[nor] = "ls2080ardb_defconfig,,u-boot-dtb.bin"
 KERNEL_DEVICETREE ?= "freescale/fsl-ls2080a-rdb.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
-EXTRA_IMAGEDEPENDS += "dpl-examples ls2-phy rcw management-complex"
+EXTRA_IMAGEDEPENDS += "ls2-phy rcw management-complex"
 USE_VT = "0"
Signature · 1 line
2.7.4
author
#11 lore raw

PATCH 12/14 optee-os-qoriq: Fix alignment of data for mempool_alloc_pool()

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 ...-alignment-of-data-for-mempool_alloc_pool.patch | 148 +++++++++++++++++++++
 recipes-security/optee/optee-os-qoriq_git.bb       |   1 +
 2 files changed, 149 insertions(+)
 create mode 100644 recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch
recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch new file +148 -0
new file mode 100644
index 0000000..e22bd6c
@@ -0,0 +1,148 @@
+From b2dd8747125be413f9b8b7fd7e52f457cabd709c Mon Sep 17 00:00:00 2001
+From: Jens Wiklander <[email protected]>
+Date: Tue, 5 Feb 2019 13:05:29 +0100
+Subject: [PATCH] Fix alignment of data for mempool_alloc_pool()
+
+Upstream-Status: Submitted
+
+Prior to this patch was _TEE_MathAPI_Init() in
+lib/libutee/tee_api_arith_mpi.c supplying a data buffer which was only 4
+byte aligned while mempool_alloc_pool() requires the alignment of long.
+This will work in 32-bit mode, but could lead to alignment problem in
+64-bit mode. The same problem can happen with
+lib/libutee/tee_api_arith_mpa.c, but so far it has remained hidden.
+
+Incorrect alignment can result in errors like:
+E/TA:  assertion '!((vaddr_t)data & (POOL_ALIGN - 1))' failed at lib/libutils/ext/mempool.c:134 in mempool_alloc_pool()
+
+This fix introduces MEMPOOL_ALIGN which specifies required alignment of
+data supplied to mempool_alloc_pool().
+
+Fixes: 062e3d01c039 ("ta: switch to to mbedtls for bignum")
+Reviewed-by: Joakim Bech <[email protected]>
+Tested-by: Joakim Bech <[email protected]> (QEMU v8)
+Acked-by: Jerome Forissier <[email protected]>
+Signed-off-by: Jens Wiklander <[email protected]>
+---
+ core/lib/libtomcrypt/src/mpa_desc.c | 2 +-
+ core/lib/libtomcrypt/src/mpi_desc.c | 2 +-
+ lib/libutee/tee_api_arith_mpa.c     | 3 ++-
+ lib/libutee/tee_api_arith_mpi.c     | 3 +--
+ lib/libutils/ext/include/mempool.h  | 5 ++++-
+ lib/libutils/ext/mempool.c          | 9 ++++-----
+ 6 files changed, 13 insertions(+), 11 deletions(-)
+
+diff --git a/core/lib/libtomcrypt/src/mpa_desc.c b/core/lib/libtomcrypt/src/mpa_desc.c
+index b407f54..58aa242 100644
+--- a/core/lib/libtomcrypt/src/mpa_desc.c
++++ b/core/lib/libtomcrypt/src/mpa_desc.c
+@@ -40,7 +40,7 @@ static struct mempool *get_mpa_scratch_memory_pool(void)
+ #else /* CFG_WITH_PAGER */
+ static struct mempool *get_mpa_scratch_memory_pool(void)
+ {
+-	static uint32_t data[LTC_MEMPOOL_U32_SIZE] __aligned(__alignof__(long));
++	static uint32_t data[LTC_MEMPOOL_U32_SIZE] __aligned(MEMPOOL_ALIGN);
+ 
+ 	return mempool_alloc_pool(data, sizeof(data), NULL);
+ }
+diff --git a/core/lib/libtomcrypt/src/mpi_desc.c b/core/lib/libtomcrypt/src/mpi_desc.c
+index a43fbb4..67bc3a7 100644
+--- a/core/lib/libtomcrypt/src/mpi_desc.c
++++ b/core/lib/libtomcrypt/src/mpi_desc.c
+@@ -38,7 +38,7 @@ static struct mempool *get_mp_scratch_memory_pool(void)
+ #else /* CFG_WITH_PAGER */
+ static struct mempool *get_mp_scratch_memory_pool(void)
+ {
+-	static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(__alignof__(long));
++	static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(MEMPOOL_ALIGN);
+ 
+ 	return mempool_alloc_pool(data, sizeof(data), NULL);
+ }
+diff --git a/lib/libutee/tee_api_arith_mpa.c b/lib/libutee/tee_api_arith_mpa.c
+index 0f6c7f1..a8ca6aa 100644
+--- a/lib/libutee/tee_api_arith_mpa.c
++++ b/lib/libutee/tee_api_arith_mpa.c
+@@ -19,7 +19,8 @@
+ 
+ static uint32_t mempool_u32[mpa_scratch_mem_size_in_U32(
+ 					    MPA_INTERNAL_MEM_POOL_SIZE,
+-					    CFG_TA_BIGNUM_MAX_BITS)];
++					    CFG_TA_BIGNUM_MAX_BITS)]
++						__aligned(MEMPOOL_ALIGN);
+ static mpa_scratch_mem mempool;
+ 
+ /*************************************************************
+diff --git a/lib/libutee/tee_api_arith_mpi.c b/lib/libutee/tee_api_arith_mpi.c
+index 8e2751b..6b074e1 100644
+--- a/lib/libutee/tee_api_arith_mpi.c
++++ b/lib/libutee/tee_api_arith_mpi.c
+@@ -42,8 +42,7 @@ static void __noreturn mpi_panic(const char *func, int line, int rc)
+ 
+ void _TEE_MathAPI_Init(void)
+ {
+-	static uint8_t data[MPI_MEMPOOL_SIZE]
+-		__aligned(__alignof__(mbedtls_mpi_uint));
++	static uint8_t data[MPI_MEMPOOL_SIZE] __aligned(MEMPOOL_ALIGN);
+ 
+ 	mbedtls_mpi_mempool = mempool_alloc_pool(data, sizeof(data), NULL);
+ 	if (!mbedtls_mpi_mempool)
+diff --git a/lib/libutils/ext/include/mempool.h b/lib/libutils/ext/include/mempool.h
+index 62377df..2a60800 100644
+--- a/lib/libutils/ext/include/mempool.h
++++ b/lib/libutils/ext/include/mempool.h
+@@ -19,9 +19,12 @@ struct mempool_item {
+ 
+ struct mempool;
+ 
++#define MEMPOOL_ALIGN	__alignof__(long)
++
+ /*
+  * mempool_alloc_pool() - Allocate a new memory pool
+- * @data:		a block of memory to carve out items from
++ * @data:		a block of memory to carve out items from, must
++ *			have an alignment of MEMPOOL_ALIGN.
+  * @size:		size fo the block of memory
+  * @release_mem:	function to call when the pool has been emptied,
+  *			ignored if NULL.
+diff --git a/lib/libutils/ext/mempool.c b/lib/libutils/ext/mempool.c
+index f977699..6d38590 100644
+--- a/lib/libutils/ext/mempool.c
++++ b/lib/libutils/ext/mempool.c
+@@ -53,7 +53,6 @@
+  *   So the potential fragmentation is mitigated.
+  */
+ 
+-#define POOL_ALIGN	__alignof__(long)
+ 
+ struct mempool {
+ 	size_t size;  /* size of the memory pool, in bytes */
+@@ -130,8 +129,8 @@ mempool_alloc_pool(void *data, size_t size,
+ {
+ 	struct mempool *pool = calloc(1, sizeof(*pool));
+ 
+-	COMPILE_TIME_ASSERT(POOL_ALIGN >= __alignof__(struct mempool_item));
+-	assert(!((vaddr_t)data & (POOL_ALIGN - 1)));
++	COMPILE_TIME_ASSERT(MEMPOOL_ALIGN >= __alignof__(struct mempool_item));
++	assert(!((vaddr_t)data & (MEMPOOL_ALIGN - 1)));
+ 
+ 	if (pool) {
+ 		pool->size = size;
+@@ -163,13 +162,13 @@ void *mempool_alloc(struct mempool *pool, size_t size)
+ 						    pool->last_offset);
+ 		offset = pool->last_offset + last_item->size;
+ 
+-		offset = ROUNDUP(offset, POOL_ALIGN);
++		offset = ROUNDUP(offset, MEMPOOL_ALIGN);
+ 		if (offset > pool->size)
+ 			goto error;
+ 	}
+ 
+ 	size = sizeof(struct mempool_item) + size;
+-	size = ROUNDUP(size, POOL_ALIGN);
++	size = ROUNDUP(size, MEMPOOL_ALIGN);
+ 	if (offset + size > pool->size)
+ 		goto error;
+ 
+-- 
+2.7.4
+
recipes-security/optee/optee-os-qoriq_git.bb +1 -0
index 7ac00f0..fb27cf1 100644
@@ -11,6 +11,7 @@ inherit deploy pythonnative
 SRCREV = "b7a1527b42371e6c60bb4921c5389f1bc693f33b"
 SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/optee_os;nobranch=1 \
            file://0001-allow-setting-sysroot-for-libgcc-lookup.patch \
+           file://0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch \
           "
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.7.4
author
#12 lore raw

PATCH 13/14 secure-obj: update recipes

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

*drop Python dependency in RDEPENDS
*mp_verify and *_app will be install

---
 recipes-extended/secure-obj/secure-obj.inc    | 2 +-
 recipes-extended/secure-obj/secure-obj_git.bb | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
recipes-extended/secure-obj/secure-obj.inc +1 -1
index 107e46e..166c874 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Secure Object"
 LICENSE = "BSD"
 
 DEPENDS = "openssl optee-os-qoriq optee-client-qoriq"
-RDEPENDS_${PN} = "bash libcrypto libssl python"
+RDEPENDS_${PN} = "bash libcrypto libssl"
 
 DEPENDS += "python-pycrypto-native"
 
recipes-extended/secure-obj/secure-obj_git.bb +2 -1
index 6af18ff..2d72373 100644
@@ -34,7 +34,8 @@ do_install() {
         cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz
         cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir}
         cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines
-        cp ${S}/securekey_lib/out/export/app/* ${D}${bindir}
+        cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir}
+        cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir}
         cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir}
         cp ${S}/securekey_lib/out/export/include/*  ${D}${includedir}
         rm -rf ${D}${bindir}/test
Signature · 1 line
2.7.4
author
#13 lore raw

PATCH 14/14 openssl-qoriq: update recipes

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

*fix missing dependency on hostperl-runtime-native *drop Python dependency in ptest

---
 recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb +2 -4
index c80c33a..b0e188a 100644
@@ -10,7 +10,7 @@ DISABLE_STATIC = ""
 LICENSE = "openssl"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=cae6da10f4ffd9703214776d2aabce32"
 
-DEPENDS += "cryptodev-linux"
+DEPENDS += "cryptodev-linux hostperl-runtime-native"
 DEPENDS_append_class-target = " openssl-native"
 
 SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/openssl;nobranch=1 \
@@ -167,10 +167,8 @@ do_install_ptest() {
         sed -i 's/$target{shared_extension_simple}/".so.ptest"/' ${D}${PTEST_PATH}/test/recipes/90-test_shlibload.t
 }
 
-RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash python"
+RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash"
 RRECOMMENDS_libcrypto += "openssl-conf"
-RDEPENDS_${PN}-bin = "perl"
-RDEPENDS_${PN}-misc = "perl"
 
 FILES_${PN} =+ " ${libdir}/ssl-1.1/*"
 
Signature · 1 line
2.7.4
author
#14 lore raw
In reply to C.r. Guo

pings

-----Original Message-----
From: C.r. Guo
Sent: 2019年8月12日 11:33
To: [email protected]
Cc: C.r. Guo <[email protected]>
Subject: [PATCH 01/14] uefi: remove fsl-eula-unpack class

From: Chunrong Guo <[email protected]>

---
 recipes-bsp/uefi/uefi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/uefi/uefi_git.bb +2 -2
@@ -3,9 +3,9 @@ SECTION = "bootloaders"
 LICENSE = "NXP-Binary-EULA"
 LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315"
 
-inherit deploy fsl-eula-unpack
+inherit deploy
 
-SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;fsl-eula=true;nobranch=1"
+SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1"
 SRCREV= "12963900e9cb4e322df7bff327862de3b8a6371e"
 
 S = "${WORKDIR}/git"

--
2.7.4