[meta-freescale] [PATCH 05/14] ppfe-firmware: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb 
b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
index b94d88c..6705fe0 100644
--- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
+++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 09/14] hyperrelay: remove recipes

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-extended/hyperrelay/hyperrelay_git.bb | 36 ---
 1 file changed, 36 deletions(-)
 delete mode 100644 recipes-extended/hyperrelay/hyperrelay_git.bb

diff --git a/recipes-extended/hyperrelay/hyperrelay_git.bb 
b/recipes-extended/hyperrelay/hyperrelay_git.bb
deleted file mode 100644
index 29056c5..000
--- a/recipes-extended/hyperrelay/hyperrelay_git.bb
+++ /dev/null
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 07/14] ls2-phy: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/ls2-phy/ls2-phy_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb 
b/recipes-bsp/ls2-phy/ls2-phy_git.bb
index d0e8ca5..a1c412b 100644
--- a/recipes-bsp/ls2-phy/ls2-phy_git.bb
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 06/14] qe-ucode: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb 
b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 58dffa3..cecd590 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -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= "57401f6dff650708eaa6838116baa8a2fd46"
 
 S = "${WORKDIR}/git"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 08/14] inphi: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/inphi/inphi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
index c0c8a77..3f3c5f2 100644
--- a/recipes-bsp/inphi/inphi_git.bb
+++ b/recipes-bsp/inphi/inphi_git.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 04/14] fm-ucode: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-dpaa/fm-ucode/fm-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb 
b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
index 1db1acd..39e4f9d 100644
--- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb
+++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 03/14] mc: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-dpaa2/management-complex/management-complex_10.16.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-dpaa2/management-complex/management-complex_10.16.2.bb 
b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb
index 435544a..d0e05cd 100644
--- a/recipes-dpaa2/management-complex/management-complex_10.16.2.bb
+++ b/recipes-dpaa2/management-complex/management-complex_10.16.2.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 02/14] ddr-phy: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/ddr-phy/ddr-phy_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb 
b/recipes-bsp/ddr-phy/ddr-phy_git.bb
index 98a9b02..b7adf43 100644
--- a/recipes-bsp/ddr-phy/ddr-phy_git.bb
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 14/14] openssl-qoriq: update recipes

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

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

Signed-off-by: Chunrong Guo 
---
 recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb 
b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb
index c80c33a..b0e188a 100644
--- a/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb
+++ b/recipes-connectivity/openssl/openssl-qoriq_1.1.0g.bb
@@ -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/*"
 
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 01/14] uefi: remove fsl-eula-unpack class

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/uefi/uefi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb
index 55344c1..9be05de 100644
--- a/recipes-bsp/uefi/uefi_git.bb
+++ b/recipes-bsp/uefi/uefi_git.bb
@@ -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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 ...-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

diff --git 
a/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch
 
b/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch
new file mode 100644
index 000..e22bd6c
--- /dev/null
+++ 
b/recipes-security/optee/optee-os-qoriq/0001-Fix-alignment-of-data-for-mempool_alloc_pool.patch
@@ -0,0 +1,148 @@
+From b2dd8747125be413f9b8b7fd7e52f457cabd709c Mon Sep 17 00:00:00 2001
+From: Jens Wiklander 
+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 
+Tested-by: Joakim Bech  (QEMU v8)
+Acked-by: Jerome Forissier 
+Signed-off-by: Jens Wiklander 
+---
+ 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: 

[meta-freescale] [PATCH 11/14] ls2080ardb: remove dpl-examples

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 conf/machine/ls2080ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/ls2080ardb.conf b/conf/machine/ls2080ardb.conf
index d58a86a..859a41b 100644
--- a/conf/machine/ls2080ardb.conf
+++ b/conf/machine/ls2080ardb.conf
@@ -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"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 13/14] secure-obj: update recipes

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

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

Signed-off-by: Chunrong Guo 
---
 recipes-extended/secure-obj/secure-obj.inc| 2 +-
 recipes-extended/secure-obj/secure-obj_git.bb | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-extended/secure-obj/secure-obj.inc 
b/recipes-extended/secure-obj/secure-obj.inc
index 107e46e..166c874 100644
--- a/recipes-extended/secure-obj/secure-obj.inc
+++ b/recipes-extended/secure-obj/secure-obj.inc
@@ -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"
 
diff --git a/recipes-extended/secure-obj/secure-obj_git.bb 
b/recipes-extended/secure-obj/secure-obj_git.bb
index 6af18ff..2d72373 100644
--- a/recipes-extended/secure-obj/secure-obj_git.bb
+++ b/recipes-extended/secure-obj/secure-obj_git.bb
@@ -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
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 10/14] dpl-examples: remove recipes

2019-08-11 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 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

diff --git a/recipes-dpaa2/dpl-examples/dpl-examples_git.bb 
b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb
deleted file mode 100644
index aca35a8..000
--- a/recipes-dpaa2/dpl-examples/dpl-examples_git.bb
+++ /dev/null
@@ -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}"
-
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale