Re: [meta-arago] [master/thud/ti2019.03 2/4] tiovx-lib-host: add recipe for TI OpenVX library, host side

2019-10-01 Thread Denys Dmytriyenko
On Mon, Sep 23, 2019 at 03:21:19PM -0400, Hongmei Gou wrote:
> Signed-off-by: Djordje Senicic 
> Signed-off-by: Jacob Stiffler 
> Signed-off-by: Hongmei Gou 
> ---
>  ...r-Yocto-build-and-add-RTOS-build-var.patch | 133 ++
>  .../recipes-ti/tiovx/tiovx-lib-host.bb|  41 ++
>  2 files changed, 174 insertions(+)
>  create mode 100644 
> meta-arago-extras/recipes-ti/tiovx/files/0001-Fix-paths-for-Yocto-build-and-add-RTOS-build-var.patch
>  create mode 100644 meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb

[...]


> diff --git a/meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb 
> b/meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb
> new file mode 100644
> index ..6115b195
> --- /dev/null
> +++ b/meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb
> @@ -0,0 +1,41 @@
> +SUMMARY = "TI OpenVX HOST (Linux A15) side library"
> +DESCRIPTION = "TI OpenVX implementation, TIOVX, based on Khronos OpenVX 
> framework implementation including multiple C66 optimized kernels. Khronos 
> defined conformance test is part of this package as well as additional TI 
> specific tests. Few tutorial examples are also included. This package creates 
> necessary libraries and header files for Linux Host side only. "
> +
> +LICENSE = "TI-TSPA"
> +LIC_FILES_CHKSUM = 
> "file://docs/manifest/TIOVX_manifest.html;md5=edd4fbfc6c1f01c20d49def4670efac0"
> +
> +require recipes-ti/includes/tisdk-paths.inc

ERROR: ParseError at 
.../meta-arago/meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb:7: Could 
not include required file recipes-ti/includes/tisdk-paths.inc


> +
> +COMPATIBLE_MACHINE = "dra7xx"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +PV = "01.00.00.00"
> +PR = "r1"
> +
> +BRANCH = "master"
> +SRC_URI = 
> "git://git.ti.com/processor-sdk/tiovx.git;protocol=git;branch=${BRANCH}"
> +SRC_URI += 
> "file://0001-Fix-paths-for-Yocto-build-and-add-RTOS-build-var.patch "
> +SRCREV = "2bfa01201804eaf2e675c743e708e88ab612049e"
> +
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS = " tiovx-sys-iface "
> +
> +EXTRA_OEMAKE += " GCCLINARO=${TOOLCHAIN_PATH} "
> +EXTRA_OEMAKE += " SDKPLATFORMIFPATH=${TIOVX_INSTALL_DIR}/sys-iface 
> BUILD_RTOS=no "
> +
> +do_install () {
> +CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
> +install -d ${D}${includedir}/VX
> +install -d ${D}${includedir}/VX/TI
> +install -d ${D}${libdir}
> +cp ${CP_ARGS} ${S}/lib/TDAX/A15/LINUX/release/*.a ${D}${libdir}
> +cp ${CP_ARGS} ${S}/include/VX/* ${D}${includedir}/VX
> +cp ${CP_ARGS} ${S}/include/TI/* ${D}${includedir}/VX/TI
> +}
> +
> +FILES_${PN}-staticdev = "${libdir}"
> +FILES_${PN}-dev = "${includedir}"
> +
> +ALLOW_EMPTY_${PN} = "1"
> -- 
> 2.17.1
> 
> ___
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [matrix-gui-v2-apps][PATCH] openssl_perf: add sha2 algorithms

2019-10-01 Thread Jacob Stiffler
* Measure performance for sha224, sha256, sha384, and sha512

Signed-off-by: Jacob Stiffler 
---
 .../openssl_perf_scripts/openssl_perf.sh | 16 
 1 file changed, 16 insertions(+)

diff --git a/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh 
b/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh
index 9da9ae2..03d3f58 100644
--- a/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh
+++ b/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh
@@ -118,6 +118,22 @@ echo "Running sha1 test.  Please Wait..."
 time -v $OPENSSL speed -evp sha1 -engine cryptodev > $TEMP 2>&1
 egrep 'Doing|User|System|Percent|Elapsed' $TEMP
 
+echo "Running sha224 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha224 -engine cryptodev > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha256 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha256 -engine cryptodev > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha384 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha384 -engine cryptodev > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha512 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha512 -engine cryptodev > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
 echo "Running md5 test.  Please Wait..."
 time -v $OPENSSL speed -evp md5 -engine cryptodev > $TEMP 2>&1
 egrep 'Doing|User|System|Percent|Elapsed' $TEMP
-- 
1.9.1

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


Re: [meta-arago] [EXTERNAL] [thud/master PATCH v1] recipes-tisdk: makefile: Move matrix-gui out of common targets

2019-10-01 Thread Jacob Stiffler

NAK


This "matrix-gui" is the html files which provide the gui. They are use 
on all platforms. Graphics is not needed as you can remotely view matrix 
from a remote browser.


It is the "matrix-gui-browser" which provides to platform QT application.


On 10/1/2019 8:44 AM, Nikhil Devshatwar wrote:

Many machines do not support matrix-gui. Remove the Makefile target
matrix-gui from the list of common targets.

This will ensure that the make all / make install on other machine SDKs
will not cause failures.

Signed-off-by: Nikhil Devshatwar 
---
  .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb  | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 28b616d..e99821e 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -57,7 +57,8 @@ SRC_URI = "\
  
  PR = "r102"
  
-MAKEFILES_MATRIX_GUI = "matrix-gui-browser \

+MAKEFILES_MATRIX_GUI = "matrix-gui \
+matrix-gui-browser \
  refresh-screen \
  qt-tstat \
  "
@@ -67,7 +68,6 @@ MAKEFILES_MATRIX_GUI_omapl138 = ""
  MAKEFILES_MATRIX_GUI_j7-evm = ""
  
  MAKEFILES_COMMON = "linux \

-matrix-gui \
  arm-benchmarks \
  am-sysinfo \
  oprofile-example \

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [tisdk-setup-scripts] [PATCH v1] setup-package-install: Add flex and libssl-dev packages

2019-10-01 Thread Nikhil Devshatwar
For building kernel binaries, host machine should have flex and
libssl-dev packages installed.

Add these to list of packages.

Signed-off-by: Nikhil Devshatwar 
---
 setup-package-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-package-install.sh b/setup-package-install.sh
index 1e9fedb..922e504 100644
--- a/setup-package-install.sh
+++ b/setup-package-install.sh
@@ -56,7 +56,7 @@ cwd=`dirname $0`
 
 entry_header
 
-packages_to_install="xinetd tftpd nfs-kernel-server minicom build-essential 
libncurses5-dev autoconf automake dos2unix screen lrzsz lzop"
+packages_to_install="xinetd tftpd nfs-kernel-server minicom build-essential 
libncurses5-dev autoconf automake dos2unix screen lrzsz lzop flex libssl-dev"
 
 get_major_host_version host_major_version
 
-- 
1.9.1

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [thud/master PATCH v1] recipes-tisdk: makefile: Move matrix-gui out of common targets

2019-10-01 Thread Nikhil Devshatwar
Many machines do not support matrix-gui. Remove the Makefile target
matrix-gui from the list of common targets.

This will ensure that the make all / make install on other machine SDKs
will not cause failures.

Signed-off-by: Nikhil Devshatwar 
---
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 28b616d..e99821e 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -57,7 +57,8 @@ SRC_URI = "\
 
 PR = "r102"
 
-MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
+MAKEFILES_MATRIX_GUI = "matrix-gui \
+matrix-gui-browser \
 refresh-screen \
 qt-tstat \
 "
@@ -67,7 +68,6 @@ MAKEFILES_MATRIX_GUI_omapl138 = ""
 MAKEFILES_MATRIX_GUI_j7-evm = ""
 
 MAKEFILES_COMMON = "linux \
-matrix-gui \
 arm-benchmarks \
 am-sysinfo \
 oprofile-example \
-- 
1.9.1

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


Re: [meta-arago] [EXTERNAL] [PATCH] tidl-api: update to version 1.3.3

2019-10-01 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03


Thank you,

Jake


On 9/30/2019 12:07 PM, Yuan Zhao wrote:

- Revert workaround for allocation bug that is now fixed
   in OpenCL TIDL firmware 01.01.19.02

Signed-off-by: Yuan Zhao 
---
  meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc 
b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc
index edfd208f..e3e124d0 100644
--- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc
+++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc
@@ -1,4 +1,4 @@
-PV = "1.3.2"
+PV = "1.3.3"
  INC_PR = "r0"
  
  LIC_FILES_CHKSUM = "file://license.txt;md5=e3daeabffb9fc131a73f16d16cbdb118"

@@ -8,7 +8,7 @@ GIT_PROTOCOL = "git"
  BRANCH = "master"
  
  SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}"

-SRCREV = "b83df643de46c2ae198dfdac859e51f6b4acc1ea"
+SRCREV = "092a2ed047b02d9668fddebe61d4e5920bfbfb3f"
  
  # default patchdir is ${S}

  S = "${WORKDIR}/git"

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


Re: [meta-arago] [EXTERNAL] [thud/master][PATCH] ti-tisdk-makefile: Update to fix build issue with arm-oe-linux-gnueabi

2019-10-01 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03


Thank you,

Jake


On 9/26/2019 5:32 PM, Sam Nelson wrote:

With arm-oe-linux-gnueabi toolchain, the sysroot path is not picked up
by default.

This fixes problem with building the ipc examples using top level make,
in platforms using arm-oe-linux-gnueabi toolchain

Signed-off-by: Sam Nelson 
---
  .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc   | 2 ++
  1 file changed, 2 insertions(+)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc
index 53f9c88..682a791 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc
@@ -100,6 +100,7 @@ ti-ipc-linux-examples: ti-ipc-rtos-path-check
TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+   LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
$(IPC_TOOLS_PATHS)
  
  ti-ipc-linux-examples_install: ti-ipc-rtos-path-check ti-ipc-linux-examples

@@ -131,5 +132,6 @@ ti-ipc-linux-examples_clean: ti-ipc-rtos-path-check
TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+   LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
$(IPC_TOOLS_PATHS)
  

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago