[meta-arago] [master/dunfell][PATCH 2/3] tisdk-bundle: use recipe-data for sw manifest

2020-08-18 Thread Jacob Stiffler
* Use the recipe-data class to collect the SRC_URI for the software
  manifest.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/classes/tisdk-bundle.bbclass | 44 --
 1 file changed, 42 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass 
b/meta-arago-distro/classes/tisdk-bundle.bbclass
index f180817..7e3f4c2 100644
--- a/meta-arago-distro/classes/tisdk-bundle.bbclass
+++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
@@ -450,6 +450,43 @@ sw_manifest_host() {
 sw_manifest_table_footer
 }
 
+# Use the recipe-data class to collect SRC_URI for the manifest.
+#
+# While this will need to be globally INHERIT'd to work properly, inherit
+# locally so that parsing does not fail.
+inherit recipe-data
+
+# Instead of re-adding the do_rootfs task, re-add the do_emit_recipe_data_all
+#  task to run before do_rootfs.
+deltask do_emit_recipe_data_all
+
+# There seems to be something special with the rootfs task and task 
dependencies
+# are not working as expected, so use the install task instead.
+addtask emit_recipe_data_all after do_emit_recipe_data before do_install
+
+get_sources_from_recipe(){
+[ ! -z "$1" ] || return 0
+
+# Check if a full URL is given (e.g. ipks from sourceipk class)
+if [ $(echo "$1" | grep -c '://') -gt 0 ]
+then
+echo "$1"
+return 0
+fi
+
+# Now assume that this was created by the package_ipk class
+
+# Cannot assume that recipe filename is ${PN}_${PV}.bb
+# This is easily seen with BBCLASSEXTEND recipes.
+for pn in $(sed -ne 's|FILE_pn-\([^ \t=]*\)[ \t]*=[ \t]*".*/'$1'".*|\1|p' 
"${RECIPE_DATA_FILE}")
+do
+# Only need a single PN incase there are native, nativesdk, target 
variants.
+break
+done
+
+recipe_data_get_var_sh "$pn" "SRC_URI"
+}
+
 # This function expects to be passed the following parameter
 #   - The location to the opkg info directory containing the control files
 # of the installed packages
@@ -460,6 +497,9 @@ generate_sw_manifest_table() {
 control_dir="$1"
 gplv3_only="$2"
 
+# Call this here so that the function gets added to the task script
+get_sources_from_recipe
+
 if [ ! -d "$control_dir" ]
 then
 echo "Could not find the control directory ($control_dir)"
@@ -549,7 +589,8 @@ EOF
 long_version="`cat $i | grep Version: | awk {'print $2'}`"
 license="`cat $i | grep License: | cut -d: -f2 `"
 architecture="`cat $i | grep Architecture: | awk {'print $2'}`"
-sources="`cat $i | grep Source: | cut -d ':' -f2-`"
+recipe="`cat $i | grep Source: | cut -d ':' -f2-`"
+sources="`get_sources_from_recipe $recipe`"
 location="$package""_""$long_version""_""$architecture"".ipk"
 
 # Set the highlight color if the license in GPLv3.  If this is
@@ -639,7 +680,6 @@ cat >> ${SW_MANIFEST_TEXT} << EOF
 EOF
 
 }
-
 # Generate the TI SW Manifest for the SDK image
 generate_sw_manifest() {
 sw_manifest_header
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH 3/3] arago: globally inherit recipe-data class

2020-08-18 Thread Jacob Stiffler
* All recipes much invoke the recipe-data class so that the
  autogenerated software manifest contains a valid source
  location.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/conf/distro/arago.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index 1e8d66f..70c54fc 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -191,6 +191,9 @@ require conf/distro/include/toolchain-${TOOLCHAIN_TYPE}.inc
 #TARGET_CPPFLAGS += "-fstack-protector -D_FORTIFY_SOURCE=1"
 #TARGET_CPPFLAGS += "-fstack-protector"
 
+# Inherit "recipe-data" class to populate SRC_URI in manifest
+INHERIT += "recipe-data"
+
 # Load default preferences
 require conf/distro/include/arago-prefs.inc
 
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH 1/3] recipe-data: collect specific recipe data

2020-08-18 Thread Jacob Stiffler
* This class adds a general method to collect data across recipes.
* The output is a conf file which can be parsed by the bitbake parser.
* Basic routines are made available to extract data from the output.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/classes/recipe-data.bbclass | 100 ++
 1 file changed, 100 insertions(+)
 create mode 100644 meta-arago-distro/classes/recipe-data.bbclass

diff --git a/meta-arago-distro/classes/recipe-data.bbclass 
b/meta-arago-distro/classes/recipe-data.bbclass
new file mode 100644
index 000..be1db1f
--- /dev/null
+++ b/meta-arago-distro/classes/recipe-data.bbclass
@@ -0,0 +1,100 @@
+# This class will record certain information about dependent recipes to a conf
+# file. This way it can be retrieved by other recipes. For example, this can be
+# used to obtain the SRC_URI for the SDK's SW manifest.
+
+# Configuration file to record the recipe data.
+RECIPE_DATA_FILE ?= "${TMPDIR}/recipe_data.conf"
+
+# Variables to record
+RECIPE_DATA_VARS ?= "PV SRC_URI FILE"
+
+
+# Helper to load the data from the conf file
+def recipe_data_load(d, recipe_data = bb.data.init()):
+fn = d.getVar('RECIPE_DATA_FILE', True)
+
+if not fn:
+bb.fatal('"RECIPE_DATA_FILE" is not defined!')
+
+if os.path.exists(fn):
+with bb.utils.fileslocked([fn + '.lock']):
+try:
+bb.parse.handle(fn, recipe_data)
+except Exception as e:
+bb.warn('ERROR parsing "%s"' % fn)
+bb.fatal(str(e))
+
+return recipe_data
+
+
+def recipe_data_get_var(var, pn, d):
+if var not in (d.getVar('RECIPE_DATA_VARS', True) or '').split():
+bb.fatal('Variable "%s" was not configured to be recored' % var)
+
+recipe_data = recipe_data_load(d)
+return recipe_data.getVar('%s_pn-%s' % (var,pn), True)
+
+# Add a shell variety so that it can work in shell tasks
+# *** In shell tasks, inline python will be executed during parsing, so shell
+# *** variables passed as input.
+recipe_data_get_var_sh() {
+local pn="$1"
+local var="$2"
+
+sed -ne 's|'$var'_pn-'$pn'[ \t]*=[ \t]*"\(.*\)"[ \t]*$|\1|p' 
${RECIPE_DATA_FILE}
+}
+
+# Update the conf file with a new data.
+# Variables such as "FILE" and "TOPDIR" are filtered out by default.
+def recipe_data_update(fn, update_data, var_blacklist = ['__.*', 'FILE', 
'TOPDIR'], expand = False):
+import re
+
+recipe_data = bb.data.init()
+
+# Create the regex to filter out variables
+re_blacklist = re.compile('^' + '$|^'.join(var_blacklist) + '$')
+with bb.utils.fileslocked([fn + '.lock']):
+try:
+bb.parse.handle(fn, recipe_data)
+except:
+pass
+
+for var in update_data.keys():
+recipe_data.setVar(var, update_data.getVar(var,expand))
+
+# We could use bb.data_smart's built in "emit_var", but that gives
+# unnecessary comments.
+with open(fn, "w") as f:
+for var in recipe_data.keys():
+if not re_blacklist.match(var):
+f.write('%s = "%s"\n' % (var, 
recipe_data.getVar(var,expand)))
+
+
+addtask emit_recipe_data
+do_emit_recipe_data[nostamp] = "1"
+python do_emit_recipe_data(){
+recipe_vars = (d.getVar('RECIPE_DATA_VARS', True) or '').split()
+recipe_data_file = d.getVar('RECIPE_DATA_FILE', True)
+
+pn = d.getVar('PN', True) or bb.fatal('"PN" is not defined!')
+
+data = bb.data.init()
+
+# Set pn-${PN} to the overrides for convenience
+data.setVar('OVERRIDES', 'pn-${PN}')
+for var in recipe_vars:
+val = d.getVar(var, True) or ''
+data.setVar('%s_pn-%s' % (var, pn), val)
+
+recipe_data_update(recipe_data_file, data)
+}
+
+# Add empty task to control dependencies
+addtask emit_recipe_data_all after do_emit_recipe_data
+do_emit_recipe_data_all[noexec] = "1"
+do_emit_recipe_data_all[nostamp] = "1"
+do_emit_recipe_data_all[recrdeptask] = "do_emit_recipe_data_all 
do_emit_recipe_data"
+do_emit_recipe_data_all[recideptask] = "do_${BB_DEFAULT_TASK}"
+do_emit_recipe_data_all() {
+:
+}
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH 1/2] tisdk-uenv: deploy for wic images

2020-07-08 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb 
b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb
index a08f24b..442e067 100644
--- a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb
+++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb
@@ -20,3 +20,11 @@ do_install () {
 }
 
 FILES_${PN} += "board-support/*"
+
+# deploy files for wic image
+inherit deploy
+do_deploy() {
+install -d ${DEPLOYDIR}
+install -m 0644 ${S}/uEnv.txt ${DEPLOYDIR}
+}
+addtask deploy before do_build after do_unpack
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH 2/2] arago: add uEnv.txt to wic images

2020-07-08 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/conf/distro/arago.conf | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index bc786a7..1e8d66f 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -70,6 +70,10 @@ KERNEL_IMAGETYPES_k2l-hs-evm = "zImage fitImage"
 INITRAMFS_IMAGE_k2l-hs-evm = "k2-fw-initrd"
 INITRAMFS_FSTYPES_k2l-hs-evm = "cpio.gz"
 
+# Extra boot files for WIC images
+do_image_wic[depends] += "tisdk-uenv:do_deploy"
+IMAGE_BOOT_FILES += "uEnv.txt"
+
 # Mask any broken recipes (currently none)
 #BBMASK = ""
 
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH v2] tisdk-core-bundle: add both sr1 and sr2 sysfw.itb for am65xx-evm

2020-05-21 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
v2 changes:
only add for am65xx-evm

 meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb 
b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
index 64ee906..f618555 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
@@ -9,7 +9,7 @@ DEPLOY_SPL_NAME_k2g-hs-evm = ""
 DEPLOY_SPL_NAME_k3 = "tispl.bin tiboot3.bin"
 
 DEPLOY_IMAGES_NAME_k3 = "bl31.bin bl32.bin sysfw.itb"
-DEPLOY_IMAGES_NAME_append_am65xx-evm = " ti-sci-firmware-am65x-gp.bin"
+DEPLOY_IMAGES_NAME_append_am65xx-evm = " ti-sci-firmware-am65x-gp.bin 
sysfw-am65x-evm.itb sysfw-am65x_sr2-evm.itb"
 DEPLOY_IMAGES_NAME_append_j7-evm = " ti-sci-firmware-j721e-gp.bin"
 
 ARAGO_TISDK_IMAGE ?= "tisdk-core-bundle"
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH] tisdk-core-bundle: add both sr1 and sr2 sysfw.itb

2020-05-20 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb 
b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
index 64ee906..7f5371e 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb
@@ -9,6 +9,7 @@ DEPLOY_SPL_NAME_k2g-hs-evm = ""
 DEPLOY_SPL_NAME_k3 = "tispl.bin tiboot3.bin"
 
 DEPLOY_IMAGES_NAME_k3 = "bl31.bin bl32.bin sysfw.itb"
+DEPLOY_IMAGES_NAME_append_am65xx = " sysfw-am65x-evm.itb 
sysfw-am65x_sr2-evm.itb"
 DEPLOY_IMAGES_NAME_append_am65xx-evm = " ti-sci-firmware-am65x-gp.bin"
 DEPLOY_IMAGES_NAME_append_j7-evm = " ti-sci-firmware-j721e-gp.bin"
 
-- 
2.7.4

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


[meta-arago] [master/dunfell][PATCH] tisdk-bundle: add wic images by default

2020-05-20 Thread Jacob Stiffler
* Add wic images to TARGET_IMAGE_TYPES so that they are provided in
  the SDK bundle.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/classes/tisdk-bundle.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass 
b/meta-arago-distro/classes/tisdk-bundle.bbclass
index 45de5fc..f180817 100644
--- a/meta-arago-distro/classes/tisdk-bundle.bbclass
+++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
@@ -40,7 +40,7 @@ TISDK_TOOLCHAIN ?= "meta-toolchain-arago"
 TOOLCHAIN_SUFFIX ?= "-sdk"
 
 # List of the type of target file system images we want to include
-TARGET_IMAGE_TYPES ?= "tar.xz tar.gz ubi"
+TARGET_IMAGE_TYPES ?= "tar.xz tar.gz ubi wic.gz wic.xz"
 
 # If EXTRA_TISDK_FILES points to a valid directory then all the contents
 # of that directory will be added to the SDK using the same directory
-- 
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] [master][PATCH 2/4] toolchain: remove secondary toolchain hack

2020-05-05 Thread Jacob Stiffler


On 5/4/2020 5:16 PM, Denys Dmytriyenko wrote:

On Mon, May 04, 2020 at 09:06:32PM +, Stiffler, Jacob wrote:

This was for adding the R5 toolchain into the devkit so that we can build
the R5 u-boot from the SDK.

Which would have to be done properly now, following multiconfig changes in
meta-ti, not as a hack, which won't work and conflicts with those changes...



What is the proper way to provide a prebuilt external toolchain inside 
the SDK?




This is unfortunate, but is necessary for many existing and upcoming features.



I do not see why the multiconfig change impacts this secondary 
toolchain. This change is relatively independent and is only needed to 
add the armv7 toolchain to the devkit.


Can you update the commit message, because this is still needed if you 
wish to build the R5 u-boot using the devkit.






-Original Message-
From: meta-arago-boun...@arago-project.org [mailto:meta-arago-
boun...@arago-project.org] On Behalf Of Denys Dmytriyenko
Sent: Monday, May 04, 2020 4:55 PM
To: meta-arago@arago-project.org
Subject: [EXTERNAL] [meta-arago] [master][PATCH 2/4] toolchain: remove
secondary toolchain hack

From: Denys Dmytriyenko 

With K3 R5F support in meta-ti now, this hack is no longer needed.

Signed-off-by: Denys Dmytriyenko 
---
  meta-arago-distro/conf/distro/include/toolchain-arm.inc|  6 --
  .../recipes-core/meta/external-arm-secondary-sdk-toolchain.bb  |  4 
  .../packagegroups/packagegroup-cross-canadian.bbappend | 10 -
-
  3 files changed, 20 deletions(-)
  delete mode 100644 meta-arago-distro/recipes-core/meta/external-arm-
secondary-sdk-toolchain.bb
  delete mode 100644 meta-arago-distro/recipes-
core/packagegroups/packagegroup-cross-canadian.bbappend

diff --git a/meta-arago-distro/conf/distro/include/toolchain-arm.inc
b/meta-arago-distro/conf/distro/include/toolchain-arm.inc
index d2c2b2f..fd63256 100644
--- a/meta-arago-distro/conf/distro/include/toolchain-arm.inc
+++ b/meta-arago-distro/conf/distro/include/toolchain-arm.inc
@@ -9,9 +9,6 @@ EAT_TARGET_SYS_arm = "${EAT_TARGET_SYS_ARMV5}"
  EAT_TARGET_SYS_armv7a = "${EAT_TARGET_SYS_ARMV7}"
  EAT_TARGET_SYS_aarch64 = "${EAT_TARGET_SYS_ARMV8}"

-SECONDARY_TARGET_ARCH = ""
-SECONDARY_TARGET_ARCH_k3 = "armv7a"
-
  TARGET_VENDOR = ""

  TOOLCHAIN_BASE ?= "/opt"
@@ -34,9 +31,6 @@ PREFERRED_PROVIDER_gcc-cross-canadian-
${TRANSLATED_TARGET_ARCH} ?= "external-arm
  PREFERRED_PROVIDER_binutils-cross-canadian-
${TRANSLATED_TARGET_ARCH} ?= "external-arm-sdk-toolchain"
  #PREFERRED_PROVIDER_gdb-cross-canadian-
${TRANSLATED_TARGET_ARCH} = "external-arm-sdk-toolchain"

-PREFERRED_PROVIDER_gcc-cross-canadian-${SECONDARY_TARGET_ARCH}
?= "external-arm-secondary-sdk-toolchain"
-PREFERRED_PROVIDER_binutils-cross-canadian-
${SECONDARY_TARGET_ARCH} ?= "external-arm-secondary-sdk-toolchain"
-
  # Special case for gdb to be built as part of canadian-cross-sdk, instead of
packaged from external toolchain
  bindir_pn-gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} =
"${exec_prefix}/bin"
  PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}
= "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
diff --git a/meta-arago-distro/recipes-core/meta/external-arm-secondary-
sdk-toolchain.bb b/meta-arago-distro/recipes-core/meta/external-arm-
secondary-sdk-toolchain.bb
deleted file mode 100644
index 22a8aa0..000
--- a/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-
toolchain.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-TARGET_ARCH := "${SECONDARY_TARGET_ARCH}"
-MACHINEOVERRIDES := "${SECONDARY_TARGET_ARCH}"
-
-require recipes-core/meta/external-arm-sdk-toolchain.bb
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
cross-canadian.bbappend b/meta-arago-distro/recipes-
core/packagegroups/packagegroup-cross-canadian.bbappend
deleted file mode 100644
index fb728e0..000
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-cross-
canadian.bbappend
+++ /dev/null
@@ -1,10 +0,0 @@
-PR_append = ".arago0"
-
-SECONDARY_TARGET_ARCH ?= ""
-
-SECONDARY_TOOLCHAIN = "gcc-cross-canadian-
${SECONDARY_TARGET_ARCH} \
-   binutils-cross-canadian-${SECONDARY_TARGET_ARCH}"
-
-RDEPENDS_${PN}_append = " \
-${@oe.utils.conditional('SECONDARY_TARGET_ARCH', '', '',
'${SECONDARY_TOOLCHAIN}', d)} \
-"
--
2.7.4

___
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 mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [oe-layersetup][PATCH] processor-sdk: add 6.3.0.106 release config

2020-04-22 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../processor-sdk/processor-sdk-06.03.00.106-config.txt | 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 configs/processor-sdk/processor-sdk-06.03.00.106-config.txt

diff --git a/configs/processor-sdk/processor-sdk-06.03.00.106-config.txt 
b/configs/processor-sdk/processor-sdk-06.03.00.106-config.txt
new file mode 100644
index 000..35435ca
--- /dev/null
+++ b/configs/processor-sdk/processor-sdk-06.03.00.106-config.txt
@@ -0,0 +1,17 @@
+# This file takes repo entries in the format
+# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
+
+bitbake,git://git.openembedded.org/bitbake,1.40,b690030efc87850951e8e3ecf4ae3c1dd1dc9b63
+meta-processor-sdk,http://arago-project.org/git/projects/meta-processor-sdk.git,master,56d9d47f18eeec31a1086ca29e54b5956c46de84,layers=
+meta-aws,https://github.com/aws/meta-aws.git,thud,6432f1b38b9dcbbb55020167f5b1cfe55e858c6d,layers=
+meta-ros,https://github.com/bmwcarit/meta-ros.git,master,72068b17e4192b51e09c8dc633805a35edac8701,layers=
+meta-arago,http://arago-project.org/git/meta-arago.git,thud,70436496d2617b281c51390faa3d421814055cd6,layers=meta-arago-distro:meta-arago-extras
+meta-browser,git://github.com/OSSystems/meta-browser.git,master,5f365ef0f842ba4651efe88787cf9c63bc8b6cb3,layers=
+meta-qt5,git://github.com/meta-qt5/meta-qt5.git,thud,e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f,layers=
+meta-virtualization,git://git.yoctoproject.org/meta-virtualization,thud,7685c7d415e0002c448007960837ae8898cd57a5,layers=
+meta-openembedded,git://git.openembedded.org/meta-openembedded,thud,446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-multimedia:meta-filesystems
+meta-ti,git://git.yoctoproject.org/meta-ti,thud,b27317ab4f9be931a66344ca502c7e3f4ec780e5,layers=
+meta-linaro,https://git.linaro.org/openembedded/meta-linaro.git,thud,615ea7561b844a3867cee4299d83d605c10b02ab,layers=meta-linaro-toolchain:meta-optee
+oe-core,git://git.openembedded.org/openembedded-core,thud,e68991ceb5933f7d03b96697e8a0ba0829feb320,layers=meta
+OECORELAYERCONF=./sample-files/bblayers.conf.sample
+OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample
-- 
1.9.1

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


[meta-arago] [zeus/master][PATCH] open62541: prevent installation of git directories

2020-04-22 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 ...CMakeLists-do-not-install-git-directories.patch | 27 ++
 .../open62541/open62541_git.bb |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch

diff --git 
a/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
 
b/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
new file mode 100644
index 000..8423507
--- /dev/null
+++ 
b/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
@@ -0,0 +1,27 @@
+From a80cd1702055086e2197851047e2eb65323b7656 Mon Sep 17 00:00:00 2001
+From: Jacob Stiffler 
+Date: Thu, 19 Mar 2020 07:40:42 -0400
+Subject: [PATCH] CMakeLists: do not install git directories
+
+Signed-off-by: Jacob Stiffler 
+
+Upstream-status: Pending
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a7b15c6..264d484 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -1350,6 +1350,7 @@ install(DIRECTORY ${UA_install_tools_dirs}
+ FILES_MATCHING
+ PATTERN "*"
+ PATTERN "*.pyc" EXCLUDE
++PATTERN ".git" EXCLUDE
+ )
+ 
+ install(FILES ${UA_install_tools_files} DESTINATION 
${open62541_install_tools_dir})
+-- 
+2.7.4
+
diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb 
b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
index c9452c2..e28f96f 100644
--- a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
+++ b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
@@ -8,6 +8,7 @@ SRC_URI = 
"git://github.com/open62541/open62541.git;protocol=https;branch=${BRAN

git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset;name=ua-nodeset
 \

git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=git/deps/mdnsd;name=mdnsd
 \
file://0001-examples-client-allow-configurable-server.patch \
+   file://0001-CMakeLists-do-not-install-git-directories.patch \
 "
 
 BRANCH = "1.0"
-- 
2.7.4

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


Re: [meta-arago] [zeus/master[PATCH] meta-toolchain-arago: toolchain_env_script: append subscripts

2020-04-14 Thread Jacob Stiffler

Ping.

On 4/2/2020 1:09 PM, Jacob Stiffler wrote:

* Append environment subscripts to devkit environment
* This allows cmake projects to build against the devkit without
   further configuration.
* Borrowed from oe-core's toolchain-scripts.bbclass

Signed-off-by: Jacob Stiffler 
---
  .../recipes-core/meta/meta-toolchain-arago.bb   | 17 +
  1 file changed, 17 insertions(+)

diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb 
b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
index 065531e..1a082ba 100644
--- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
+++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
@@ -69,6 +69,23 @@ toolchain_create_sdk_env_script () {
echo 'export OECORE_ACLOCAL_OPTS="-I $SDK_PATH_NATIVE/usr/share/aclocal"' 
>> $script
echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
+
+# Borrowed from oe-core/meta/classes/toolchain-scripts.bbclass
+   cat >> $script <  
  SDK_POSTPROCESS_COMMAND_prepend = "arago_sdk_fixup; "

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


[meta-arago] [zeus/master[PATCH] meta-toolchain-arago: toolchain_env_script: append subscripts

2020-04-02 Thread Jacob Stiffler
* Append environment subscripts to devkit environment
* This allows cmake projects to build against the devkit without
  further configuration.
* Borrowed from oe-core's toolchain-scripts.bbclass

Signed-off-by: Jacob Stiffler 
---
 .../recipes-core/meta/meta-toolchain-arago.bb   | 17 +
 1 file changed, 17 insertions(+)

diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb 
b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
index 065531e..1a082ba 100644
--- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
+++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
@@ -69,6 +69,23 @@ toolchain_create_sdk_env_script () {
echo 'export OECORE_ACLOCAL_OPTS="-I 
$SDK_PATH_NATIVE/usr/share/aclocal"' >> $script
echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
+
+# Borrowed from oe-core/meta/classes/toolchain-scripts.bbclass
+   cat >> $script <http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [zeus/dunfell/master][PATCH v2] open62541: upgrade to version 1.0.1, other fixes

2020-03-31 Thread Jacob Stiffler
* Update SRCREVs to version 1.0.1.
  - drop 0001-tests-fix-typing-of-size_t-in-printf.patch as it has
been resolved upstream.
* Fix destsuffix of submodules.
* Enable encryption and default self-signed certificate for testing.
* Configure full, reduced, minimal namespace 0 via PACKAGECONFIG
  - Full namespace zero is required to utilize other standard
information models, but causes greatly increased build times and
potentially unstable builds.
* Move unit tests to use PACKAGECONFIG.
  - Diable for now as the build is broken due to missing dependency
libsubunit.
  - Make installation conditional on PACKAGECONFIG.
* Move tools to dev package, and RDEPENDS on python3 as they contain
  python scripts.
  - This is a bit messy with recipes that depend on open62541, as they
will be executing the tools from the target package, but this
works as they are python scripts. However, dependent recipes will
also need to depend on python3-native.

Signed-off-by: Jacob Stiffler 
---
v2 changes:
* move namespace zero config to PACKAGE CONFIG
* slight change to commit message to reflect this change.

 .../open62541/open62541_git.bb | 65 +-
 1 file changed, 38 insertions(+), 27 deletions(-)

diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb 
b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
index 89c102c..c9452c2 100644
--- a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
+++ b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
@@ -5,36 +5,28 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 
 SRC_URI = 
"git://github.com/open62541/open62541.git;protocol=https;branch=${BRANCH} \
-   
git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=deps/ua-nodeset;name=ua-nodeset
 \
-   
git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=deps/mdnsd;name=mdnsd
 \
+   
git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset;name=ua-nodeset
 \
+   
git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=git/deps/mdnsd;name=mdnsd
 \
file://0001-examples-client-allow-configurable-server.patch \
-   file://0001-tests-fix-typing-of-size_t-in-printf.patch"
+"
 
-BRANCH = "master"
-SRCREV = "7ea5a142bac44d5de7554938360e431d34fe2f59"
+BRANCH = "1.0"
+SRCREV = "e4309754fc2f6ea6508b59ca82e08c27b0118d74"
 
-SRCREV_ua-nodeset = "5bbf784e9376f7230098149dc0218f318a48d630"
-SRCREV_mdnsd = "9e953b8e4c54d50ba0e174f1e98cfca18f933126"
+SRCREV_ua-nodeset = "0777abd1bc407b4dbd79abc515864f8c3ce6812b"
+SRCREV_mdnsd = "f7f0dd543f12fa7bbf2b667cceb287b9c8184b7d"
 
 SRCREV_FORMAT = "default"
 
-PV = "0.4-dev+git${SRCPV}"
+PV = "1.0.1+git${SRCPV}"
 
 inherit cmake python3native
 
-DEPENDS += "python3-six-native libcheck"
+DEPENDS += "python3-six-native"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_BUILD_EXAMPLES=1 
-DUA_BUILD_UNIT_TESTS=1"
-
-# Disable BUILD_OPTIMIZATION as unittests fail due to "strict-overflow"
-DEBUG_BUILD = "1"
-BUILD_OPTIMIZATION = ""
-EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Debug"
-
-# Or disable unittests
-#EXTRA_OECMAKE += "-DUA_BUILD_UNIT_TESTS=0"
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_BUILD_EXAMPLES=1"
 
 PACKAGECONFIG[sharedlibs] = "-DBUILD_SHARED_LIBS=1,-DBUILD_SHARED_LIBS=0,,"
 PACKAGECONFIG[encrypt] = "-DUA_ENABLE_ENCRYPTION=1 
-DMBEDTLS_FOLDER_LIBRARY=${STAGING_LIBDIR} 
-DMBEDTLS_FOLDER_INCLUDE=${STAGING_INCDIR},-DUA_ENABLE_ENCRYPTION=0,mbedtls,"
@@ -44,11 +36,24 @@ PACKAGECONFIG[pubsub_delta_frames] = 
"-DUA_ENABLE_PUBSUB_DELTAFRAMES=1,-DUA_ENAB
 PACKAGECONFIG[pubsub_informationmodel] = 
"-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=1,-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=0,,"
 PACKAGECONFIG[pubsub_informationmodel_methods] = 
"-DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=1,-DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=0,,"
 PACKAGECONFIG[subscription_events] = 
"-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=1,-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=0,,"
-
 PACKAGECONFIG[certificate] = 
"-DUA_BUILD_SELFSIGNED_CERTIFICATE=1,-DUA_BUILD_SELFSIGNED_CERTIFICATE=0,,"
 
+# Namespace zero: minimal, reduced (default), full
+# 
+# Allow all three options, but do not assume default, nor the behavior
+#  if more than one option is chosen.
+#
+# NOTE: enabling ns0_full will cause a large increase in build time
+PACKAGECONFIG[ns0_full] = "-DUA_NAMESPACE_ZERO=FULL,,,"
+PACKAGECONFIG[ns0_reduced] = "-DUA_NAMESPACE_ZERO=REDUCED,,,"
+PAC

Re: [meta-arago] [zeus/master][PATCH] open62541: upgrade to version 1.0.1, other fixes

2020-03-26 Thread Jacob Stiffler


On 3/26/2020 3:18 PM, Denys Dmytriyenko wrote:

On Fri, Mar 06, 2020 at 09:53:46AM -0500, Jacob Stiffler wrote:

On 3/5/2020 7:15 PM, Denys Dmytriyenko wrote:

On Thu, Mar 05, 2020 at 04:49:05PM -0500, Jacob Stiffler wrote:

On 3/5/2020 4:24 PM, Denys Dmytriyenko wrote:

Jake,

Somehow this update has a really hard time getting built - it failed in the
same place with what looks like an our-of-memory error:

| src_generated/open62541/namespace0_generated.c: In function 
‘namespace0_generated’:
| src_generated/open62541/namespace0_generated.c:113178:15: note: variable 
tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
| 113178 | UA_StatusCode namespace0_generated(UA_Server *server) {
||   ^
| arm-none-linux-gnueabihf-gcc: fatal error: Killed signal terminated program 
lto1
| compilation terminated.
| lto-wrapper: fatal error: 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc
 returned 1 exit status
| compilation terminated.
| 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
 error: lto-wrapper failed

It was not specific to any platform or a build node - all platforms on all
build nodes have failed. I had to revert the update for now, as I needed to
release rc3 very quickly.

Has this been tested? Any comments?

I have built this for both am57xx-evm and am65xx-evm and nativesdk. I have
also run-time tested this on x86 and am65x IDK.

I did not ice that it took a significantly longer time to build with this
update and noticed "lto1-ltrans" as the top hog of resources. I have only
noticed this within OE. I do not notice any performance difference in the
standalone build.

I suspect this may be a result of enabling UA_NAMESPACE_ZERO=FULL, but I do
not know why this is isolated to OE.

Thanks. Is it possible to disable UA_NAMESPACE_ZERO=FULL to see if it improves
the build resource demands? Is it one of the required features to be enabled?

This is something we want because it is required to make use of other
standard model namespaces, such as OpcUaDi (device integration) and others.
I can move this to the PACKAGECONFIG so it is more easily configured, but
eventually we will need to determine how to make this work in our builds.

Jake,

Any more updates on this one?
Unfortunately, the old version now breaks on master with this error:
cc1: error: unrecognized command line option ‘-Wno-static-in-inline’ [-Werror]

And I started looking into this update again, but it's taking a very-very long
time even when lto is disabled...



I was waiting for a response or confirmation on the PACKAGECONFIG 
approach. I have noticed some variation in the build times, and it seems 
that it may be related to the toolchain. It seems that nativesdk builds 
much faster than target, but I haven't experimented enough to be sure. 
If it sounds OK, I can move the NAMESPACE_ZERO to a PACKAGECONFIG nad 
leave it disabled by default.



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


Re: [meta-arago] [zeus/master][PATCH] open62541: upgrade to version 1.0.1, other fixes

2020-03-06 Thread Jacob Stiffler


On 3/5/2020 7:15 PM, Denys Dmytriyenko wrote:

On Thu, Mar 05, 2020 at 04:49:05PM -0500, Jacob Stiffler wrote:

On 3/5/2020 4:24 PM, Denys Dmytriyenko wrote:

Jake,

Somehow this update has a really hard time getting built - it failed in the
same place with what looks like an our-of-memory error:

| src_generated/open62541/namespace0_generated.c: In function 
‘namespace0_generated’:
| src_generated/open62541/namespace0_generated.c:113178:15: note: variable 
tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
| 113178 | UA_StatusCode namespace0_generated(UA_Server *server) {
||   ^
| arm-none-linux-gnueabihf-gcc: fatal error: Killed signal terminated program 
lto1
| compilation terminated.
| lto-wrapper: fatal error: 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc
 returned 1 exit status
| compilation terminated.
| 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
 error: lto-wrapper failed

It was not specific to any platform or a build node - all platforms on all
build nodes have failed. I had to revert the update for now, as I needed to
release rc3 very quickly.

Has this been tested? Any comments?

I have built this for both am57xx-evm and am65xx-evm and nativesdk. I have
also run-time tested this on x86 and am65x IDK.

I did not ice that it took a significantly longer time to build with this
update and noticed "lto1-ltrans" as the top hog of resources. I have only
noticed this within OE. I do not notice any performance difference in the
standalone build.

I suspect this may be a result of enabling UA_NAMESPACE_ZERO=FULL, but I do
not know why this is isolated to OE.

Thanks. Is it possible to disable UA_NAMESPACE_ZERO=FULL to see if it improves
the build resource demands? Is it one of the required features to be enabled?


This is something we want because it is required to make use of other 
standard model namespaces, such as OpcUaDi (device integration) and 
others. I can move this to the PACKAGECONFIG so it is more easily 
configured, but eventually we will need to determine how to make this 
work in our builds.



- Jake

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


Re: [meta-arago] [zeus/master][PATCH] open62541: upgrade to version 1.0.1, other fixes

2020-03-05 Thread Jacob Stiffler


On 3/5/2020 4:24 PM, Denys Dmytriyenko wrote:

Jake,

Somehow this update has a really hard time getting built - it failed in the
same place with what looks like an our-of-memory error:

| src_generated/open62541/namespace0_generated.c: In function 
‘namespace0_generated’:
| src_generated/open62541/namespace0_generated.c:113178:15: note: variable 
tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
| 113178 | UA_StatusCode namespace0_generated(UA_Server *server) {
||   ^
| arm-none-linux-gnueabihf-gcc: fatal error: Killed signal terminated program 
lto1
| compilation terminated.
| lto-wrapper: fatal error: 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc
 returned 1 exit status
| compilation terminated.
| 
/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld:
 error: lto-wrapper failed

It was not specific to any platform or a build node - all platforms on all
build nodes have failed. I had to revert the update for now, as I needed to
release rc3 very quickly.

Has this been tested? Any comments?


I have built this for both am57xx-evm and am65xx-evm and nativesdk. I 
have also run-time tested this on x86 and am65x IDK.


I did not ice that it took a significantly longer time to build with 
this update and noticed "lto1-ltrans" as the top hog of resources. I 
have only noticed this within OE. I do not notice any performance 
difference in the standalone build.


I suspect this may be a result of enabling UA_NAMESPACE_ZERO=FULL, but I 
do not know why this is isolated to OE.



- Jake


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


[meta-arago] [zeus/master][PATCH] open62541: upgrade to version 1.0.1, other fixes

2020-03-04 Thread Jacob Stiffler
* Update SRCREVs to version 1.0.1.
  - drop 0001-tests-fix-typing-of-size_t-in-printf.patch as it has
been resolved upstream.
* Fix destsuffix of submodules.
* Enable encryption and default self-signed certificate for testing.
* Enable full namespace 0
  - This is required to utilize other official information models.
* Move unit tests to use PACKAGECONFIG.
  - Diable for now as the build is broken due to missing dependency
libsubunit.
  - Make installation conditional on PACKAGECONFIG.
* Move tools to dev package, and RDEPENDS on python3 as they contain
  python scripts.
  - This is a bit messy with recipes that depend on open62541, as they
will be executing the tools from the target package, but this
works as they are python scripts. However, dependent recipes will
also need to depend on python3-native.

Signed-off-by: Jacob Stiffler 
---
 .../open62541/open62541_git.bb | 55 +++---
 1 file changed, 28 insertions(+), 27 deletions(-)

diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb 
b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
index 89c102c..bcdeb32 100644
--- a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
+++ b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
@@ -5,36 +5,28 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 
 SRC_URI = 
"git://github.com/open62541/open62541.git;protocol=https;branch=${BRANCH} \
-   
git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=deps/ua-nodeset;name=ua-nodeset
 \
-   
git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=deps/mdnsd;name=mdnsd
 \
+   
git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset;name=ua-nodeset
 \
+   
git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=git/deps/mdnsd;name=mdnsd
 \
file://0001-examples-client-allow-configurable-server.patch \
-   file://0001-tests-fix-typing-of-size_t-in-printf.patch"
+"
 
-BRANCH = "master"
-SRCREV = "7ea5a142bac44d5de7554938360e431d34fe2f59"
+BRANCH = "1.0"
+SRCREV = "e4309754fc2f6ea6508b59ca82e08c27b0118d74"
 
-SRCREV_ua-nodeset = "5bbf784e9376f7230098149dc0218f318a48d630"
-SRCREV_mdnsd = "9e953b8e4c54d50ba0e174f1e98cfca18f933126"
+SRCREV_ua-nodeset = "0777abd1bc407b4dbd79abc515864f8c3ce6812b"
+SRCREV_mdnsd = "f7f0dd543f12fa7bbf2b667cceb287b9c8184b7d"
 
 SRCREV_FORMAT = "default"
 
-PV = "0.4-dev+git${SRCPV}"
+PV = "1.0.1+git${SRCPV}"
 
 inherit cmake python3native
 
-DEPENDS += "python3-six-native libcheck"
+DEPENDS += "python3-six-native"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_BUILD_EXAMPLES=1 
-DUA_BUILD_UNIT_TESTS=1"
-
-# Disable BUILD_OPTIMIZATION as unittests fail due to "strict-overflow"
-DEBUG_BUILD = "1"
-BUILD_OPTIMIZATION = ""
-EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Debug"
-
-# Or disable unittests
-#EXTRA_OECMAKE += "-DUA_BUILD_UNIT_TESTS=0"
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL 
-DUA_BUILD_EXAMPLES=1"
 
 PACKAGECONFIG[sharedlibs] = "-DBUILD_SHARED_LIBS=1,-DBUILD_SHARED_LIBS=0,,"
 PACKAGECONFIG[encrypt] = "-DUA_ENABLE_ENCRYPTION=1 
-DMBEDTLS_FOLDER_LIBRARY=${STAGING_LIBDIR} 
-DMBEDTLS_FOLDER_INCLUDE=${STAGING_INCDIR},-DUA_ENABLE_ENCRYPTION=0,mbedtls,"
@@ -44,11 +36,14 @@ PACKAGECONFIG[pubsub_delta_frames] = 
"-DUA_ENABLE_PUBSUB_DELTAFRAMES=1,-DUA_ENAB
 PACKAGECONFIG[pubsub_informationmodel] = 
"-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=1,-DUA_ENABLE_PUBSUB_INFORMATIONMODEL=0,,"
 PACKAGECONFIG[pubsub_informationmodel_methods] = 
"-DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=1,-DUA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS=0,,"
 PACKAGECONFIG[subscription_events] = 
"-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=1,-DUA_ENABLE_SUBSCRIPTIONS_EVENTS=0,,"
-
 PACKAGECONFIG[certificate] = 
"-DUA_BUILD_SELFSIGNED_CERTIFICATE=1,-DUA_BUILD_SELFSIGNED_CERTIFICATE=0,,"
 
+# This is broken due to missing libsubunit dependency. Keep here in case it 
becomes available.
+PACKAGECONFIG[unit_tests] = 
"-DUA_BUILD_UNIT_TESTS=1,-DUA_BUILD_UNIT_TESTS=0,libcheck libsubunit,"
+
 PACKAGECONFIG ?= "pubsub pubsub_delta_frames pubsub_informationmodel \
-  pubsub_informationmodel_methods pubsub_uadp"
+  pubsub_informationmodel_methods pubsub_uadp encrypt \
+  certificate"
 
 # Install examples and unit tests
 do_install_append() {
@@ -59,19 +54,25 @@ do_install_append() {
 install -m 755 "$example" 

Re: [meta-arago] [EXTERNAL] Re: [master/thud][PATCH] screenshot: Remove this screenshot tool in favor of fbgrab

2020-02-11 Thread Jacob Stiffler



On 2/10/2020 8:41 PM, Denys Dmytriyenko wrote:

On Mon, Jan 27, 2020 at 02:45:55PM -0500, Denys Dmytriyenko wrote:

On Mon, Jan 27, 2020 at 11:26:16AM -0500, Andrew F. Davis wrote:

This takes a screenshot of the current framebuffer only. There are tools
for taking screenshots of the current window system which is usually what
a user wants. If the user really wants the conent of the framebuffer then
they can use fbgrab which is already in meta-oe.

I'm not 100% sure, but I believe there's some use of screeshot tool in Matrix
demos. I guess we would need to update that too for this change.

Jake, any comments from OOBE perspective?

Ping



I am not able to find any reference to this screenshot tool.


- Jake



Denys



Signed-off-by: Andrew F. Davis 
---
  .../packagegroup-arago-tisdk-amsdk.bb |  5 
  .../screenshot/screenshot_1.0.bb  | 27 ---
  2 files changed, 32 deletions(-)
  delete mode 100644 
meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
index 42c6aefa..c9a17c5e 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
@@ -17,11 +17,6 @@ OOBE_ti43x += "\
  parse-ip \
  "
  
-EXTRA_APPLICATIONS = "\

-screenshot \
-"
-
  RDEPENDS_${PN} = "\
  ${OOBE} \
-${EXTRA_APPLICATIONS} \
  "
diff --git a/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb 
b/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
deleted file mode 100644
index 08a3040b..
--- a/meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-SUMMARY = "Screenshot"
-HOMEPAGE = "https://gitorious.org/screenshot;
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5cad16cc3f514a15adb1d710b82d5fc4"
-SECTION = "graphics"
-
-PR = "r2"
-
-BRANCH ?= "master"
-SRCREV = "169242aa7a265d5c94755d74601ad4a3f1828c96"
-
-SRC_URI = "git://git.ti.com/apps/screenshot.git;protocol=git;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-export CROSS_COMPILE=${TARGET_PREFIX}
-export CFLAGS='${TARGET_CC_ARCH}'
-# build the release version
-make release CC="${CC}"
-}
-
-do_install() {
-make DESTDIR=${D} install
-}
-
-INSANE_SKIP_${PN} = "ldflags"
--
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 mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [master/zeus/thud][PATCH] docker: install init script if sysvinit

2020-02-10 Thread Jacob Stiffler
The docker recipe in meta-virtualization has conflicting logic for
when to install and when to enable the docker initscript. When both
systemd and sysvinit are in DISTRO_FEATURES, this causes the docker
postinst to fail, which now fails the rootfs task.

Here we install the initscript only based on if sysvinit is in the
DISTRO_FEATURES.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-containers/docker/docker_git.bbappend | 8 
 1 file changed, 8 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-containers/docker/docker_git.bbappend

diff --git a/meta-arago-distro/recipes-containers/docker/docker_git.bbappend 
b/meta-arago-distro/recipes-containers/docker/docker_git.bbappend
new file mode 100644
index 000..dbb7b04
--- /dev/null
+++ b/meta-arago-distro/recipes-containers/docker/docker_git.bbappend
@@ -0,0 +1,8 @@
+PR_append = ".tisdk0"
+
+do_install_append() {
+   if 
${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
+   install -d ${D}${sysconfdir}/init.d
+   install -m 0755 ${WORKDIR}/docker.init 
${D}${sysconfdir}/init.d/docker.init
+   fi
+}
-- 
1.9.1

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


[meta-arago] [RFC][PATCH 1/2] packagegroup-arago-toolchain-minimal-target: bare target sysroot

2020-02-07 Thread Jacob Stiffler
* Define a bare sysroot with only package management and the feed
  configuration.

Signed-off-by: Jacob Stiffler 
---
 .../packagegroup-arago-toolchain-minimal-target.bb   | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-minimal-target.bb

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-minimal-target.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-minimal-target.bb
new file mode 100644
index 000..c689ecd
--- /dev/null
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-minimal-target.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "Target packages for the minimal SDK, intended to be extended 
with opkg"
+PR = "r0"
+LICENSE = "MIT"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+   arago-feed-config \
+   opkg-dev \
+"
-- 
2.7.4

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


[meta-arago] [RFC][PATCH 2/2] meta-toolchain-arago-minimal: define minimal devkit/sdk

2020-02-07 Thread Jacob Stiffler
* This minimal sdk can use package management to obtain needed dev
  packages.
* Resulting shar image is ~45 MB
* Usage could be a little more elgant, but if feeds are available,
  the following can be done to install any package availble on a feed:

  $ cat ./sysroots//etc/opkg/* > ./opkg.conf

  $ ./sysroots//usr/bin/opkg --volatile-cache -f ./opkg.conf \
-t $(mktemp -d) -o ./sysroot/ update

  $ # To restore current tisdk sysroot (plus unuseable binaries)
  $ ./sysroots//usr/bin/opkg --volatile-cache -f ./opkg.conf \
-t $(mktemp -d) -o ./sysroot/ install \
packagegroup-arago-toolchain-tisdk-target

* This also has the potential to create new rootfs from feeds. Initial
  testing showed problems with setting ownership of files to root. The
  host sysroot does provide pseudo, so it seems possible without using
  root on the host.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-minimal.bb | 5 +
 1 file changed, 5 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-core/meta/meta-toolchain-arago-minimal.bb

diff --git 
a/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-minimal.bb 
b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-minimal.bb
new file mode 100644
index 000..8b7e8bc
--- /dev/null
+++ b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-minimal.bb
@@ -0,0 +1,5 @@
+require recipes-core/meta/meta-toolchain-arago-tisdk.bb
+
+TOOLCHAIN_SUFFIX = "-minimal"
+TOOLCHAIN_TARGET_TASK = "packagegroup-arago-toolchain-minimal-target"
+TOOLCHAIN_HOST_TASK = "nativesdk-packagegroup-arago-sdk-host 
nativesdk-buildtools-perl-dummy"
-- 
2.7.4

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


[meta-arago] [RFC][PATCH] opkg-bash-completions: add enhancements to completions

2020-02-06 Thread Jacob Stiffler
* Use helpers (e.g. _init_completion, _count_args) to enhance usability
* Add support for search and flag verbs

Signed-off-by: Jacob Stiffler 
---
 .../recipes-devtools/opkg/opkg-bash-completion.bb  |  2 +
 .../opkg/opkg-bash-completion/opkg-bash-completion | 43 ++
 2 files changed, 37 insertions(+), 8 deletions(-)

diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
index 74e4964..6055507 100644
--- a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
+++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
@@ -1,6 +1,8 @@
 SUMMARY = "bash-completions for opkg"
 LICENSE = "MIT"
 
+PR = "r1"
+
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "file://opkg-bash-completion"
diff --git 
a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
index 5b0b4e1..82b6c6f 100644
--- 
a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
+++ 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
@@ -2,24 +2,51 @@
 
 # TBD: parse "opkg --help" to get this list
 OPKG_COMMANDS="update upgrade install configure remove clean flag list 
list-installed list-upgradable list-changed-conffiles files search find info 
status download compare-versions print-architecture depends whatdepends 
whatdependsrec whatrecommends whatsuggests whatprovides whatconflicts 
whatreplaces"
+OPKG_FLAGS="hold noprune user ok installed unpacked"
+OPKG_LONGOPTS="--help --verbosity --conf --dest --offline-root --add-arch 
--add-dest --add-exclude --add-ignore-recommends --prefer-arch-to-version 
--combine --force-depends --force-maintainer --force-reinstall 
--force-overwrite --force-downgrade --force-space --force-postinstall 
--force-remove --force-checksum --noaction --size --download-only --nodeps 
--no-install-recommends --force-removal-of-dependent-packages --autoremove 
--tmp-dir --lists-dir --cache-dir --host-cache-dir --volatile-cache"
 
 _opkg_completions() {
-if [ ${#COMP_WORDS[@]} -eq 2 ]
+# Use this helpful helper to beautify things and catch vars and redirects
+local cur prev words cword
+_init_completion -s || return 0
+
+# Catch options first
+if [[ "$cur" == -* ]]
 then
-COMPREPLY=($(compgen -W "${OPKG_COMMANDS}" "${COMP_WORDS[1]}"))
+COMPREPLY=($(compgen -W "${OPKG_LONGOPTS}" -- "$cur"))
 return
 fi
 
-# TBD: add more cases, support options
-case "${COMP_WORDS[1]}" in
+# Now catch args
+# opkg supports a single verb, so that will be the first arg,
+local arg args
+_get_first_arg
+_count_args
+
+case "$arg" in
 install|files|info|status|download)
-COMPREPLY=($(compgen -W "$(opkg list | sed -e 's| .*$||')" -- 
"${COMP_WORDS[$COMP_CWORD]}"));;
+COMPREPLY=($(compgen -W "$(opkg list | sed -e 's| .*$||')" -- 
"$cur"));;
 
depends|whatdepends|whatdependsrec|whatrecommends|whatsuggests|whatprovides|whatconflicts|whatreplaces)
-COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" -- 
"${COMP_WORDS[$COMP_CWORD]}"));;
+COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" -- 
"$cur"));;
 remove)
-COMPREPLY=($(compgen -W "$(opkg list-installed | sed -e 's| 
.*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));;
+COMPREPLY=($(compgen -W "$(opkg list-installed | sed -e 's| 
.*$||')" -- "$cur"));;
 upgrade)
-COMPREPLY=($(compgen -W "$(opkg list-upgradable | sed -e 's| 
.*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));;
+COMPREPLY=($(compgen -W "$(opkg list-upgradable | sed -e 's| 
.*$||')" -- "$cur"));;
+flag)
+if [ $args -eq 2 ]
+then
+COMPREPLY=($(compgen -W "${OPKG_FLAGS}" "$cur"))
+else
+COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" 
-- "$cur"))
+fi
+;;
+search)
+# Only search for a single file
+[ $args -gt 2 ] || _longopt;;
+"")
+COMPREPLY=($(compgen -W "${OPKG_COMMANDS}" -- "$cur"));;
+*)
+COMPREPLY=( "*" "I DONT KNOW WHAT TO DO!!!" )
 esac
 }
 
-- 
1.9.1

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


[meta-arago] [RFC][PATCH] opencl: mark opencl-runtime as the systemd service package

2020-02-04 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 502e1cf..ffe0811 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
 
 include ocl.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 inherit cmake systemd
 
@@ -77,6 +77,7 @@ do_install_append() {
 install -m0644 ${MCTD} ${D}${systemd_system_unitdir}/ti-mct-daemon.service
 }
 
+SYSTEMD_PACKAGES = "${PN}-runtime"
 SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
 SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", 
"1", "enable", "disable", d)}"
 
-- 
2.7.4

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


Re: [meta-arago] [EXTERNAL] [RFC][PATCH 2/3] packagegroups: create initial ti-analytics and ti-demos packagegroups

2020-02-04 Thread Jacob Stiffler



On 2/4/2020 3:26 PM, Denys Dmytriyenko wrote:

On Tue, Feb 04, 2020 at 03:23:55PM -0500, Jacob Stiffler wrote:

On 2/4/2020 1:18 PM, Denys Dmytriyenko wrote:

From: Denys Dmytriyenko 

Signed-off-by: Denys Dmytriyenko 
---
  .../recipes-core/images/tisdk-rootfs-image.bb  |  2 ++
  .../packagegroup-arago-tisdk-addons.bb | 36 +++---
  .../recipes-core/packagegroups/ti-analytics.bb |  9 ++
  .../recipes-core/packagegroups/ti-demos.bb |  9 ++
  .../recipes-core/packagegroups/ti-world.bb |  2 ++
  5 files changed, 27 insertions(+), 31 deletions(-)
  create mode 100644 
meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
  create mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-demos.bb

diff --git a/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
index 1b2ffbd..ae026a1 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
@@ -22,6 +22,8 @@ IMAGE_INSTALL += "\
  packagegroup-arago-tisdk-addons \
  packagegroup-arago-tisdk-addons-extra \
  
${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)}
 \
+ti-analytics \
+ti-demos \
  "
  export IMAGE_BASENAME = "tisdk-rootfs-image"
diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index 967fc5d..ddf7785 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -140,42 +140,16 @@ EXTRA_PACKAGES_omapl138 = " \
  protobuf \
  "
-ARMNN_PACKAGES = "armnn"
-
-EXTRA_PACKAGES_append_ti33x = " voxelsdk \
-arm-compute-library \
-${ARMNN_PACKAGES} \
-tensorflow-lite-examples \
-pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_ti43x = " voxelsdk \
-arm-compute-library \
-${ARMNN_PACKAGES} \
-tensorflow-lite-examples \
-pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_omap-a15 = " voxelsdk \
-   big-data-ipc-demo-linux \
-   big-data-ipc-demo-linux-firmware \
-   arm-compute-library \
-   ${ARMNN_PACKAGES} \
-   tensorflow-lite-examples \
-   pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_am65xx = " arm-compute-library \
- ${ARMNN_PACKAGES} \
- tensorflow-lite-examples \
- pdm-anomaly-detection \
-"
-
  EXTRA_PACKAGES_append_omap-a15 = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_keystone = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_omapl138 = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_am65xx = " ti-ipc-examples-linux"
+EXTRA_PACKAGES_append_omap-a15 = " \
+big-data-ipc-demo-linux \
+big-data-ipc-demo-linux-firmware \
+"
+
  EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps acontis-atemsys"
  EXTRA_PACKAGES_append_am437x-evm = " pruss-lld-apps"
  EXTRA_PACKAGES_append_am57xx-evm = " pruss-lld-apps acontis-atemsys"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
new file mode 100644
index 000..e5a13f6
--- /dev/null
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
@@ -0,0 +1,9 @@
+SUMMARY = "TI World packagegroup"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+armnn \
+tensorflow-lite-examples \
+"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
new file mode 100644
index 000..20d73b9
--- /dev/null
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
@@ -0,0 +1,9 @@
+SUMMARY = "TI World packagegroup"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+voxelsdk \


voxelsdk was not marked as compatible with am65xx:


ERROR: Nothing RPROVIDES 'voxelsdk' (but 
/oe/bld/sources/meta-arago-bb/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
 RDEPENDS on or otherwise requires it)
voxelsdk was skipped: incompatible with machine am65xx-evm (not in 
COMPATIBLE_MACHINE)

Yeah, some of t

Re: [meta-arago] [EXTERNAL] [RFC][PATCH 2/3] packagegroups: create initial ti-analytics and ti-demos packagegroups

2020-02-04 Thread Jacob Stiffler


On 2/4/2020 1:18 PM, Denys Dmytriyenko wrote:

From: Denys Dmytriyenko 

Signed-off-by: Denys Dmytriyenko 
---
  .../recipes-core/images/tisdk-rootfs-image.bb  |  2 ++
  .../packagegroup-arago-tisdk-addons.bb | 36 +++---
  .../recipes-core/packagegroups/ti-analytics.bb |  9 ++
  .../recipes-core/packagegroups/ti-demos.bb |  9 ++
  .../recipes-core/packagegroups/ti-world.bb |  2 ++
  5 files changed, 27 insertions(+), 31 deletions(-)
  create mode 100644 
meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
  create mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-demos.bb

diff --git a/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
index 1b2ffbd..ae026a1 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
@@ -22,6 +22,8 @@ IMAGE_INSTALL += "\
  packagegroup-arago-tisdk-addons \
  packagegroup-arago-tisdk-addons-extra \
  
${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)}
 \
+ti-analytics \
+ti-demos \
  "
  
  export IMAGE_BASENAME = "tisdk-rootfs-image"

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index 967fc5d..ddf7785 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -140,42 +140,16 @@ EXTRA_PACKAGES_omapl138 = " \
  protobuf \
  "
  
-ARMNN_PACKAGES = "armnn"

-
-EXTRA_PACKAGES_append_ti33x = " voxelsdk \
-arm-compute-library \
-${ARMNN_PACKAGES} \
-tensorflow-lite-examples \
-pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_ti43x = " voxelsdk \
-arm-compute-library \
-${ARMNN_PACKAGES} \
-tensorflow-lite-examples \
-pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_omap-a15 = " voxelsdk \
-   big-data-ipc-demo-linux \
-   big-data-ipc-demo-linux-firmware \
-   arm-compute-library \
-   ${ARMNN_PACKAGES} \
-   tensorflow-lite-examples \
-   pdm-anomaly-detection \
-"
-
-EXTRA_PACKAGES_append_am65xx = " arm-compute-library \
- ${ARMNN_PACKAGES} \
- tensorflow-lite-examples \
- pdm-anomaly-detection \
-"
-
  EXTRA_PACKAGES_append_omap-a15 = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_keystone = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_omapl138 = " ti-ipc-examples-linux"
  EXTRA_PACKAGES_append_am65xx = " ti-ipc-examples-linux"
  
+EXTRA_PACKAGES_append_omap-a15 = " \

+big-data-ipc-demo-linux \
+big-data-ipc-demo-linux-firmware \
+"
+
  EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps acontis-atemsys"
  EXTRA_PACKAGES_append_am437x-evm = " pruss-lld-apps"
  EXTRA_PACKAGES_append_am57xx-evm = " pruss-lld-apps acontis-atemsys"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
new file mode 100644
index 000..e5a13f6
--- /dev/null
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
@@ -0,0 +1,9 @@
+SUMMARY = "TI World packagegroup"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+armnn \
+tensorflow-lite-examples \
+"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
new file mode 100644
index 000..20d73b9
--- /dev/null
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
@@ -0,0 +1,9 @@
+SUMMARY = "TI World packagegroup"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+voxelsdk \



voxelsdk was not marked as compatible with am65xx:


ERROR: Nothing RPROVIDES 'voxelsdk' (but 
/oe/bld/sources/meta-arago-bb/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
 RDEPENDS on or otherwise requires it)
voxelsdk was skipped: incompatible with machine am65xx-evm (not in 
COMPATIBLE_MACHINE)



+pdm-anomaly-detection \
+"
diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-world.bb 
b/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
index 1aa3a39..164ac63 100644
--- a/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/ti-world.bb
@@ -53,4 +53,6 

[meta-arago] [RFC][PATCH] opencl: fix packaging of library

2020-01-22 Thread Jacob Stiffler
* Add daemon conffiles and library to runtime package.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 59cb8ca..502e1cf 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
 
 include ocl.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 inherit cmake systemd
 
@@ -80,7 +80,7 @@ do_install_append() {
 SYSTEMD_SERVICE_${PN}-runtime = "ti-mct-daemon.service"
 SYSTEMD_AUTO_ENABLE_${PN}-runtime = "${@oe.utils.conditional("RESERVE_CMEM", 
"1", "enable", "disable", d)}"
 
-FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir}"
+FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} 
${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}"
 
 FILES_${PN} += " \
 ${datadir}/ti/opencl/* \
-- 
2.7.4

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


[meta-arago] [RFC][PATCH 1/2] opkg-bash-completion: add simple completions for opkg

2020-01-21 Thread Jacob Stiffler
This is a simpe start to bash completions for opkg. Initialy, this can
complete current supported verbs (static) and complete package names
(dynamic).

Signed-off-by: Jacob Stiffler 
---
 .../recipes-devtools/opkg/opkg-bash-completion.bb  | 15 +
 .../opkg/opkg-bash-completion/opkg-bash-completion | 26 ++
 2 files changed, 41 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
 create mode 100644 
meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion

diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
new file mode 100644
index 000..74e4964
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb
@@ -0,0 +1,15 @@
+SUMMARY = "bash-completions for opkg"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI = "file://opkg-bash-completion"
+
+do_install() {
+install -d ${D}${datadir}/bash-completion/completions
+install -m 0644 ${WORKDIR}/opkg-bash-completion \
+${D}${datadir}/bash-completion/completions/opkg
+}
+
+FILES_${PN} = "${datadir}/bash-completion/completions/opkg"
+RDEPENDS_${PN} = "bash-completion"
diff --git 
a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
new file mode 100644
index 000..5b0b4e1
--- /dev/null
+++ 
b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# TBD: parse "opkg --help" to get this list
+OPKG_COMMANDS="update upgrade install configure remove clean flag list 
list-installed list-upgradable list-changed-conffiles files search find info 
status download compare-versions print-architecture depends whatdepends 
whatdependsrec whatrecommends whatsuggests whatprovides whatconflicts 
whatreplaces"
+
+_opkg_completions() {
+if [ ${#COMP_WORDS[@]} -eq 2 ]
+then
+COMPREPLY=($(compgen -W "${OPKG_COMMANDS}" "${COMP_WORDS[1]}"))
+return
+fi
+
+# TBD: add more cases, support options
+case "${COMP_WORDS[1]}" in
+install|files|info|status|download)
+COMPREPLY=($(compgen -W "$(opkg list | sed -e 's| .*$||')" -- 
"${COMP_WORDS[$COMP_CWORD]}"));;
+
depends|whatdepends|whatdependsrec|whatrecommends|whatsuggests|whatprovides|whatconflicts|whatreplaces)
+COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" -- 
"${COMP_WORDS[$COMP_CWORD]}"));;
+remove)
+COMPREPLY=($(compgen -W "$(opkg list-installed | sed -e 's| 
.*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));;
+upgrade)
+COMPREPLY=($(compgen -W "$(opkg list-upgradable | sed -e 's| 
.*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));;
+esac
+}
+
+complete -F _opkg_completions opkg
-- 
2.7.4

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


[meta-arago] [RFC][PATCH 2/2] packagegroup-arago-base: add opkg-bash-completion

2020-01-21 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
index 4094d90..e3f1916 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb
@@ -20,6 +20,7 @@ ARAGO_BASE = "\
 ethtool \
 thermal-init \
 bash \
+opkg-bash-completion \
 udev-extraconf \
 "
 
-- 
2.7.4

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


[meta-arago] [RFC][PATCH 2/2] packagegroups: opencl: install offline-compiled examples by default

2020-01-17 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb   | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb
index dfd8555..d19098e 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb
@@ -9,13 +9,10 @@ inherit packagegroup
 PACKAGES =+ "${PN}-extra"
 
 MAIN_PKGS = " \
-opencl-examples \
+opencl-examples-offline-compile \
 "
 
 EXTRA_PKGS = " \
-opencl-staticdev \
-opencl-examples-dev \
-openmpacc-examples-dev \
 python-pyopencl \
 "
 
@@ -26,7 +23,6 @@ EXTRA_PKGS_append_k2hk = " \
 
 EXTRA_PKGS_append_dra7xx = " \
 linalg-examples \
-opencl-examples \
 kaldi \
 ti-fftw-examples \
 "
-- 
2.7.4

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


[meta-arago] [RFC][PATCH 1/2] opencl: update package naming

2020-01-17 Thread Jacob Stiffler
For opencl, use the runtime package to pull in the minimal set of
dependencies needed to run opencl applications. The applications must
use precompiled kernels. Use the main package to pull in the full set
of tools, including clocl and the accelerator toolchains.

For the opencl-examples, the offline-compile package are the examples
which provide precompiled kernels, and thus require the minimum set of
dependencies. The runtime-compile package requires the kernels to be
compiled during runtime, and thus require the full set of opencl
tools, including clocl.

Signed-off-by: Jacob Stiffler 
---
 .../recipes-ti/ocl/opencl-examples_git.bb  | 25 --
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 18 ++--
 2 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
index fe09b90..bb7ff83 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD"
 include ocl.inc
 require recipes-ti/includes/ti-paths.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 COMPATIBLE_MACHINE = "dra7xx|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -16,12 +16,15 @@ OCL_PERSISTENT_DEPENDS = "ti-xdctools-native ti-ipc-rtos 
ti-sysbios"
 
 DEPENDS_append_dra7xx = " ${OCL_PERSISTENT_DEPENDS}"
 
-PACKAGES =+ "${PN}-runtime ${PN}-runtime-dbg ${PN}-offline ${PN}-offline-dbg"
+# Split examples into two groups:
+# - offline-compile: examples who's kernels are precompiled (offline).
+# - runtime-compile: examples who's kernels are compiled during runtime.
+PACKAGES =+ "${PN}-runtime-compile ${PN}-runtime-compile-dbg 
${PN}-offline-compile ${PN}-offline-compile-dbg"
 
-RDEPENDS_${PN} = "${PN}-runtime ${PN}-offline"
+RDEPENDS_${PN} = "${PN}-runtime-compile ${PN}-offline-compile"
 RDEPENDS_${PN}-dev += "libgomp-dev"
-RDEPENDS_${PN}-offline += "opencl"
-RDEPENDS_${PN}-runtime += "opencl-runtime"
+RDEPENDS_${PN}-offline-compile += "opencl-runtime"
+RDEPENDS_${PN}-runtime-compile += "opencl"
 
 S = "${WORKDIR}/git/opencl_example_src"
 B = "${S}"
@@ -116,20 +119,20 @@ do_install() {
 }
 
 # First package the examples which require run-time kernel compilation.
-FILES_${PN}-runtime += "\
+FILES_${PN}-runtime-compile += "\
 ${@' '.join(['${datadir}/ti/examples/opencl/' + example for example in 
d.getVar('OCL_RUNTIME_COMPILE_EXAMPLE_LIST').split()])} \
 "
 
-FILES_${PN}-runtime-dbg += "\
+FILES_${PN}-runtime-compile-dbg += "\
 ${@' '.join(['${datadir}/ti/examples/opencl/' + example + '/.debug' for 
example in d.getVar('OCL_RUNTIME_COMPILE_EXAMPLE_LIST').split()])} \
 "
 
 # Remaining examples will fall through to the "offline" package.
-FILES_${PN}-offline += "\
+FILES_${PN}-offline-compile += "\
 ${datadir}/ti/examples/opencl/ \
 "
 
-FILES_${PN}-offline-dbg += "\
+FILES_${PN}-offline-compile-dbg += "\
 ${datadir}/ti/examples/opencl/*/.debug \
 "
 
@@ -139,5 +142,5 @@ FILES_${PN}-dev = "${datadir}/ti/examples/opencl/Makefile \
 
 ALLOW_EMPTY_${PN} = "1"
 INSANE_SKIP_${PN} = "arch ldflags textrel staticdev"
-INSANE_SKIP_${PN}-offline = "arch ldflags textrel staticdev"
-INSANE_SKIP_${PN}-runtime = "arch ldflags textrel staticdev"
+INSANE_SKIP_${PN}-offline-compile = "arch ldflags textrel staticdev"
+INSANE_SKIP_${PN}-runtime-compile = "arch ldflags textrel staticdev"
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 7128c74..59cb8ca 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -4,13 +4,16 @@ LICENSE = "BSD"
 
 include ocl.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 inherit cmake systemd
 
 COMPATIBLE_MACHINE = "dra7xx|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
+# Define runtime package for minimal dependencies to run opencl applications
+# which precompile the offloaded kernels. The base package will provide the
+# ability to compile kernels (clocl) during runtime.
 PACKAGES =+ "${PN}-runtime"
 
 MONITORS  = " opencl-monitor"
@@ -40,11 +43,12 @@ DEPENDS_append_dra7xx   = " ti-ipc virtual/kernel"
 DEPENDS_append_keystone = " mpm-transport multiprocmgr"
 DEPENDS_remove_k2g = " libulm"
 
-RDEPENDS_${PN} += " bash ${MONITORS}"
+RDEPENDS_${PN}-runtime += " bash ${MONITORS}"
 RDEPENDS_${PN}-dev += " ocl-gl-headers-dev"
-RDEPENDS_${PN}-runtime += " ${PN} clocl"
+RDEPENDS_${PN} +

[meta-arago] [oe-layersetup][PATCH] processor-sdk: add 6.2.0.81 release config

2020-01-13 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../processor-sdk/processor-sdk-06.02.00.81-config.txt  | 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 configs/processor-sdk/processor-sdk-06.02.00.81-config.txt

diff --git a/configs/processor-sdk/processor-sdk-06.02.00.81-config.txt 
b/configs/processor-sdk/processor-sdk-06.02.00.81-config.txt
new file mode 100644
index 000..41d4a34
--- /dev/null
+++ b/configs/processor-sdk/processor-sdk-06.02.00.81-config.txt
@@ -0,0 +1,17 @@
+# This file takes repo entries in the format
+# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
+
+bitbake,git://git.openembedded.org/bitbake,1.40,b690030efc87850951e8e3ecf4ae3c1dd1dc9b63
+meta-processor-sdk,http://arago-project.org/git/projects/meta-processor-sdk.git,master,6a0a2b1a8e6cbbb1bdeb133e6acc6f37eccb3169,layers=
+meta-aws,https://github.com/aws/meta-aws.git,master,b5191c92f6e124f7baaec3513d1338a47fe0caa8,layers=
+meta-ros,https://github.com/bmwcarit/meta-ros.git,master,72068b17e4192b51e09c8dc633805a35edac8701,layers=
+meta-arago,http://arago-project.org/git/meta-arago.git,ti2019.05,d2e8f25e059630f6447c8e41d1c20625f10cdb9d,layers=meta-arago-distro:meta-arago-extras
+meta-browser,git://github.com/OSSystems/meta-browser.git,master,5f365ef0f842ba4651efe88787cf9c63bc8b6cb3,layers=
+meta-qt5,git://github.com/meta-qt5/meta-qt5.git,thud,1520d5b2b2beec5e1c3209d3178219e93ef08bca,layers=
+meta-virtualization,git://git.yoctoproject.org/meta-virtualization,thud,7685c7d415e0002c448007960837ae8898cd57a5,layers=
+meta-openembedded,git://git.openembedded.org/meta-openembedded,thud,446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-multimedia:meta-filesystems
+meta-ti,git://git.yoctoproject.org/meta-ti,thud,e5da84ec50a46ca73c2efbdaa376d30183562986,layers=
+meta-linaro,https://git.linaro.org/openembedded/meta-linaro.git,thud,615ea7561b844a3867cee4299d83d605c10b02ab,layers=meta-linaro-toolchain:meta-optee
+oe-core,git://git.openembedded.org/openembedded-core,thud,e68991ceb5933f7d03b96697e8a0ba0829feb320,layers=meta
+OECORELAYERCONF=./sample-files/bblayers.conf.sample
+OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample
-- 
1.9.1

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


[meta-arago] [RFC 1/3] clocl: add ti-cgt6x to RDEPENDS

2019-12-20 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arago-extras/recipes-ti/ocl/clocl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/clocl_git.bb
index c7f467f..df77d7e 100644
--- a/meta-arago-extras/recipes-ti/ocl/clocl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/clocl_git.bb
@@ -31,4 +31,5 @@ do_install() {
   install -m 755 ${S}/clocl/${TARGET}/clocl ${D}${bindir}
 }
 
+RDEPENDS_${PN} += "ti-cgt6x"
 BBCLASSEXTEND = "native nativesdk"
-- 
2.7.4

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


[meta-arago] [RFC 3/3] opencl-examples: improve packaging

2019-12-20 Thread Jacob Stiffler
* Split examples into those that require runtime compilation of
  kernels (opencl-examples-runtime) and those that use prebuilt
  kernels (opencl-examples-offline).
* Retain opencl-examples as the package to bring in all examples.
* Adjust package dependencies accordingly.

Signed-off-by: Jacob Stiffler 
---
 .../recipes-ti/ocl/opencl-examples_git.bb  | 42 +++---
 1 file changed, 37 insertions(+), 5 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
index 4732c73..fe09b90 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
@@ -16,12 +16,27 @@ OCL_PERSISTENT_DEPENDS = "ti-xdctools-native ti-ipc-rtos 
ti-sysbios"
 
 DEPENDS_append_dra7xx = " ${OCL_PERSISTENT_DEPENDS}"
 
-RDEPENDS_${PN} += " opencl-runtime"
-RDEPENDS_${PN}-dev += " libgomp-dev"
+PACKAGES =+ "${PN}-runtime ${PN}-runtime-dbg ${PN}-offline ${PN}-offline-dbg"
+
+RDEPENDS_${PN} = "${PN}-runtime ${PN}-offline"
+RDEPENDS_${PN}-dev += "libgomp-dev"
+RDEPENDS_${PN}-offline += "opencl"
+RDEPENDS_${PN}-runtime += "opencl-runtime"
 
 S = "${WORKDIR}/git/opencl_example_src"
 B = "${S}"
 
+OCL_RUNTIME_COMPILE_EXAMPLE_LIST = " \
+ccode \
+null \
+ooo_callback \
+simple \
+vecadd \
+vecadd_openmp \
+vecadd_openmp_t \
+vecadd_subdevice \
+"
+
 OCL_EXAMPLE_LIST = " abort_exit \
  buffer \
  ccode \
@@ -100,12 +115,29 @@ do_install() {
 done
 }
 
-FILES_${PN} += "\
-${datadir}/ti/examples/opencl \
+# First package the examples which require run-time kernel compilation.
+FILES_${PN}-runtime += "\
+${@' '.join(['${datadir}/ti/examples/opencl/' + example for example in 
d.getVar('OCL_RUNTIME_COMPILE_EXAMPLE_LIST').split()])} \
+"
+
+FILES_${PN}-runtime-dbg += "\
+${@' '.join(['${datadir}/ti/examples/opencl/' + example + '/.debug' for 
example in d.getVar('OCL_RUNTIME_COMPILE_EXAMPLE_LIST').split()])} \
+"
+
+# Remaining examples will fall through to the "offline" package.
+FILES_${PN}-offline += "\
+${datadir}/ti/examples/opencl/ \
 "
 
-FILES_${PN}-dbg += "\
+FILES_${PN}-offline-dbg += "\
 ${datadir}/ti/examples/opencl/*/.debug \
 "
 
+# Add makefiles to dev package
+FILES_${PN}-dev = "${datadir}/ti/examples/opencl/Makefile \
+   ${datadir}/ti/examples/opencl/make.inc"
+
+ALLOW_EMPTY_${PN} = "1"
 INSANE_SKIP_${PN} = "arch ldflags textrel staticdev"
+INSANE_SKIP_${PN}-offline = "arch ldflags textrel staticdev"
+INSANE_SKIP_${PN}-runtime = "arch ldflags textrel staticdev"
-- 
2.7.4

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


[meta-arago] [RFC 2/3] opencl: fix RDEPENDS

2019-12-20 Thread Jacob Stiffler
* Use opencl-runtime package to bring in necessary dependencies to use
  OpenCL with run-time kernel compilation.
* The base opencl package will only pull dependencies necessary for
  running pre-built kernels.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 69f9330..7128c74 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -13,8 +13,13 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 PACKAGES =+ "${PN}-runtime"
 
+MONITORS  = " opencl-monitor"
+MONITORS_append_am57xx-evm= " opencl-monitor-ipu"
+MONITORS_append_am57xx-hs-evm = " opencl-monitor-ipu"
+MONITORS_append_dra7xx= " opencl-monitor-ipu"
+
 DEPENDS = " ocl-gl-headers \
-opencl-monitor \
+${MONITORS} \
 cmake-native \
 cmem \
 ti-llvm3.6 \
@@ -35,14 +40,9 @@ DEPENDS_append_dra7xx   = " ti-ipc virtual/kernel"
 DEPENDS_append_keystone = " mpm-transport multiprocmgr"
 DEPENDS_remove_k2g = " libulm"
 
-MONITORS  = " opencl-monitor"
-MONITORS_append_am57xx-evm= " opencl-monitor-ipu"
-MONITORS_append_am57xx-hs-evm = " opencl-monitor-ipu"
-MONITORS_append_dra7xx= " opencl-monitor-ipu"
-
-RDEPENDS_${PN} += " bash"
-RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor"
-RDEPENDS_${PN}-runtime += " ${PN} ${MONITORS} clocl ti-cgt6x"
+RDEPENDS_${PN} += " bash ${MONITORS}"
+RDEPENDS_${PN}-dev += " ocl-gl-headers-dev"
+RDEPENDS_${PN}-runtime += " ${PN} clocl"
 
 ALLOW_EMPTY_${PN}-runtime = "1"
 
-- 
2.7.4

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


[meta-arago] [master/thud][PATCH] ti-tisdk-setup: only install create-ubifs if args are provided

2019-12-19 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
index 5ef9ef8..886a8b5 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Package containing scripts to setup the 
development host and targ
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = 
"file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
 
-PR = "r45"
+PR = "r46"
 
 BRANCH ?= "master"
 SRCREV = "42a8379fda829f34c374ddfca0242a479a84d454"
@@ -51,9 +51,15 @@ do_install () {
 
 install -m 0755 ${S}/${UBOOT_ENV} ${D}/bin/setup-uboot-env.sh
 
-sed -i -e "s|__MKUBIFS_ARGS__|${MKUBIFS_ARGS}|" \
-   -e "s|__UBINIZE_ARGS__|${UBINIZE_ARGS}|" \
-  "${D}/bin/create-ubifs.sh"
+if [ -z "${MKUBIFS_ARGS}" -o -z "${UBINIZE_ARGS}" ]
+then
+# UBIFS not supported
+rm "${D}/bin/create-ubifs.sh"
+else
+sed -i -e "s|__MKUBIFS_ARGS__|${MKUBIFS_ARGS}|" \
+   -e "s|__UBINIZE_ARGS__|${UBINIZE_ARGS}|" \
+  "${D}/bin/create-ubifs.sh"
+fi
 }
 
 FILES_${PN} += "setup.sh"
-- 
2.7.4

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


Re: [meta-arago] [master/thud/ti2019.05][PATCH] ti-tisdk-makefile: update pru-icss target

2019-12-18 Thread Jacob Stiffler

Denys,

Can you fast-track this into the ti2019.05 branch?


Thank you,

Jake

On 12/18/2019 3:21 PM, Jacob Stiffler wrote:

* Update for recent changes to the recipe in meta-ti

Signed-off-by: Jacob Stiffler 
---
  .../ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss | 4 ++--
  .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb  | 2 +-
  2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
index 9431004..10e5bf3 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
@@ -7,7 +7,7 @@ pru-icss:
@cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*pru-icss*"`; \
for dir in examples pru_cape/pru_fw lib/src labs; \
do \
-   make -C $$dir 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
+   make -C $$dir PRU_SSP=$$PWD 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
done
  
  pru-icss_clean:

@@ -17,7 +17,7 @@ pru-icss_clean:
@cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*pru-icss*"`; \
for dir in examples pru_cape/pru_fw lib/src labs; \
do \
-   make -C $$dir clean 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
+   make -C $$dir clean PRU_SSP=$$PWD 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
done
  
  pru-icss_install: __PRU_ICSS_INSTALL_TARGET__

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 2468bb4..89ac752 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
@@ -56,7 +56,7 @@ SRC_URI = "\
  file://Makefile_jailhouse \
  "
  
-PR = "r102"

+PR = "r103"
  
  MAKEFILES_MATRIX_GUI = "matrix-gui-browser \

  refresh-screen \

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


[meta-arago] [master/thud/ti2019.05][PATCH] ti-tisdk-makefile: update pru-icss target

2019-12-18 Thread Jacob Stiffler
* Update for recent changes to the recipe in meta-ti

Signed-off-by: Jacob Stiffler 
---
 .../ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss | 4 ++--
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
index 9431004..10e5bf3 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-icss
@@ -7,7 +7,7 @@ pru-icss:
@cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*pru-icss*"`; \
for dir in examples pru_cape/pru_fw lib/src labs; \
do \
-   make -C $$dir 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
+   make -C $$dir PRU_SSP=$$PWD 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
done
 
 pru-icss_clean:
@@ -17,7 +17,7 @@ pru-icss_clean:
@cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*pru-icss*"`; \
for dir in examples pru_cape/pru_fw lib/src labs; \
do \
-   make -C $$dir clean 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
+   make -C $$dir clean PRU_SSP=$$PWD 
PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru;
 \
done
 
 pru-icss_install: __PRU_ICSS_INSTALL_TARGET__
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 2468bb4..89ac752 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
@@ -56,7 +56,7 @@ SRC_URI = "\
 file://Makefile_jailhouse \
 "
 
-PR = "r102"
+PR = "r103"
 
 MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
 refresh-screen \
-- 
2.7.4

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


Re: [meta-arago] [master/thud/ti2019.05][PATCH] ti-tisdk-setup: bump SRCREV for early boot support

2019-12-18 Thread Jacob Stiffler

Denys,

Please backport to ti2019.05.


Thank you,

Jake

On 12/17/2019 3:46 PM, Jacob Stiffler wrote:

* Add early boot support to create-sdcard.sh by installing early boot
   firmware into boot partition.

Signed-off-by: Jacob Stiffler 
---
  meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
index 9a9368d..5ef9ef8 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "Package containing scripts to setup the 
development host and targ
  LICENSE = "BSD"
  LIC_FILES_CHKSUM = 
"file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
  
-PR = "r44"

+PR = "r45"
  
  BRANCH ?= "master"

-SRCREV = "22654923e4597871ba192e58c01d6fc09a38aae4"
+SRCREV = "42a8379fda829f34c374ddfca0242a479a84d454"
  SRC_URI = 
"git://arago-project.org/git/projects/tisdk-setup-scripts.git;protocol=git;branch=${BRANCH}"
  
  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] [master/thud/ti2019.05][PATCH] ocl: update version to 01.02.00.01

2019-12-18 Thread Jacob Stiffler

Denys,

Please backport to ti2019.05.


Thank you,

Jake

On 12/17/2019 1:30 PM, Yuan Zhao wrote:

- Update prebuilt ocl-tidl-fw to work with updated IPC in PSDK 6.2
- Fix l3_noc message during CoreSDK IPU1 remoteproc boot

Signed-off-by: Yuan Zhao 
---
  meta-arago-extras/recipes-ti/ocl/ocl.inc   | 4 ++--
  meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/ocl.inc 
b/meta-arago-extras/recipes-ti/ocl/ocl.inc
index 0a6dccc4..cc4ed6d4 100644
--- a/meta-arago-extras/recipes-ti/ocl/ocl.inc
+++ b/meta-arago-extras/recipes-ti/ocl/ocl.inc
@@ -1,5 +1,5 @@
  # patch version at the end needs to be in double digits
-PV = "1.2.00.00"
+PV = "1.2.00.01"
  INC_PR = "r0"
  
  LIC_FILES_CHKSUM = "file://../debian/copyright;md5=2e3965a73a8a49c23836467266120dff"

@@ -10,7 +10,7 @@ OCL_GIT_URI = "git://git.ti.com/opencl/ti-opencl.git"
  OCL_GIT_PROTOCOL = "git"
  OCL_GIT_BRANCH = "master"
  
-OCL_SRCREV = "301ecd37ac5553a8c94c87a0083b8d929e1d1a1e"

+OCL_SRCREV = "850361c85cd00fcb9df958e016c792936ef4aa2b"
  
  BRANCH = "${OCL_GIT_BRANCH}"

  SRC_URI = "${OCL_GIT_URI};protocol=${OCL_GIT_PROTOCOL};branch=${BRANCH}"
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
index 322f9017..0e8b46d6 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
@@ -3,7 +3,7 @@ SUMMARY = "OpenCL TIDL firmware for AM57xx"
  LICENSE = "TI-TFL"
  LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=082a028431c455252c1e1d3d1021d382"
  
-PV = "01.01.19.02"

+PV = "01.02.00.01"
  PR = "r0"
  
  require recipes-ti/includes/arago-paths.inc

@@ -15,7 +15,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  GIT_URI  = "git://git.ti.com/opencl/opencl-firmware.git"
  GIT_PROTOCOL = "git"
  BRANCH   = "master"
-SRCREV   = "f9402b2b6b06185af7663bae0061c6fad12cff07"
+SRCREV   = "9e3d0b34f604203f275fba4807481a8a763a4f63"
  
  SRC_URI  = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}"
  

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


[meta-arago] [meta-processor-sdk][PATCH 1/5] licenses: add Unlicense license text file

2019-12-18 Thread Jacob Stiffler
* This license is used by neo-ai-dlr

Signed-off-by: Jacob Stiffler 
---
 conf/layer.conf|  1 +
 licenses/Unlicense | 24 
 2 files changed, 25 insertions(+)
 create mode 100644 licenses/Unlicense

diff --git a/conf/layer.conf b/conf/layer.conf
index 0334463..260a274 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -7,3 +7,4 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb 
${LAYERDIR}/recipes*/*/*.bbappend"
 BBFILE_COLLECTIONS += "meta-processor-sdk"
 BBFILE_PATTERN_meta-processor-sdk := "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-processor-sdk = "15"
+LICENSE_PATH += "${LAYERDIR}/licenses"
diff --git a/licenses/Unlicense b/licenses/Unlicense
new file mode 100644
index 000..cf1ab25
--- /dev/null
+++ b/licenses/Unlicense
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org>
-- 
2.7.4

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


[meta-arago] [meta-processor-sdk][PATCH 2/5] neo-ai-dlr: install library to libdir

2019-12-18 Thread Jacob Stiffler
* add additional headers to dev package

Signed-off-by: Jacob Stiffler 
---
 recipes-support/neo-ai-dlr/neo-ai-dlr.bbappend | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes-support/neo-ai-dlr/neo-ai-dlr.bbappend 
b/recipes-support/neo-ai-dlr/neo-ai-dlr.bbappend
index cfa79c0..c49f2ba 100644
--- a/recipes-support/neo-ai-dlr/neo-ai-dlr.bbappend
+++ b/recipes-support/neo-ai-dlr/neo-ai-dlr.bbappend
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
 
 SRC_DISTRIBUTE_LICENSES += "Unlicense"
 
-PV = "1.01"
+PV = "1.0.1"
 
 DEPENDS += " opencv "
 
@@ -56,13 +56,19 @@ do_compile_append() {
ninja democv
 }
 
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
 
 do_install_append() {
-
 # Now install additional python test scripts, bash scripts and precomputed 
models
 install -d ${D}${datadir}/dlr/demos
 cp -Prf --preserve=mode,timestamps ${S}/examples/tidl/* 
${D}${datadir}/dlr/demos
 install -m 0755 ${B}/bin/* ${D}${datadir}/dlr/demos/.
+install -d ${D}${libdir}
+install -m 0755  ${B}/lib/libdlr.so ${D}${libdir}
+cp -Prf --preserve=mode,timestamps  
${S}/3rdparty/tvm/3rdparty/dmlc-core/include/dmlc ${D}${includedir}
+
 }
 
 FILES_${PN}-tests += "${datadir}/dlr/demos"
+FILES_${PN} += "${libdir}/libdlr.so* "
-- 
2.7.4

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


[meta-arago] [meta-processor-sdk][PATCH 3/5] neo-ai-dlr-demo: add standalone demo

2019-12-18 Thread Jacob Stiffler
Show how to build a neo-ai-dlr application by extracting this demo
out of the neo-ai-dlr sources.

Signed-off-by: Jacob Stiffler 
---
 .../neo-ai-dlr/neo-ai-dlr-demo/Makefile.build  | 24 +
 .../neo-ai-dlr/neo-ai-dlr-demo/makefile| 11 ++
 recipes-support/neo-ai-dlr/neo-ai-dlr-demo_git.bb  | 42 ++
 3 files changed, 77 insertions(+)
 create mode 100644 recipes-support/neo-ai-dlr/neo-ai-dlr-demo/Makefile.build
 create mode 100644 recipes-support/neo-ai-dlr/neo-ai-dlr-demo/makefile
 create mode 100644 recipes-support/neo-ai-dlr/neo-ai-dlr-demo_git.bb

diff --git a/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/Makefile.build 
b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/Makefile.build
new file mode 100644
index 000..1a9c19e
--- /dev/null
+++ b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/Makefile.build
@@ -0,0 +1,24 @@
+-include ../../Rules.make
+
+ENV_SETUP ?= ../../linux-devkit/environment-setup
+DESTDIR ?=
+
+all: release
+
+release:
+   @. ${ENV_SETUP}; \
+   make
+
+clean:
+   @. ${ENV_SETUP}; \
+make clean
+
+install:
+   @if [ ! -d $(DESTDIR) ] ; then \
+   echo "The extracted target filesystem directory doesn't 
exist."; \
+   echo "Please run setup.sh in the SDK's root directory and then 
try again."; \
+   exit 1; \
+   fi
+   @install -d ${DESTDIR}/usr/share/dlr/demos
+   @cp -Prf ${DESTDIR}/usr/share/dlr/demos/run_mobilenet_cv_mt 
${DESTDIR}/usr/share/dlr/demos/run_mobilenet_cv_mt.dyn
+   @echo "Dynamically linked run_mobilenet_cv_mt.dyn installed."
diff --git a/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/makefile 
b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/makefile
new file mode 100644
index 000..84461b3
--- /dev/null
+++ b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo/makefile
@@ -0,0 +1,11 @@
+PHONY: all
+CXXFLAGS =-funroll-loops -O3 -DNDEBUG 
+all: neo-ai-dlr-demo
+LIBS = -ldlr -lpthread -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio 
-lopencv_imgproc -lopencv_core -lrt -ldl 
+
+neo-ai-dlr-demo: run_mobilenet_cv_mt.cc
+   $(CXX) $(CXXFLAGS) run_mobilenet_cv_mt.cc -o run_mobilenet_cv_mt.dyn 
$(LIBS)
+
+clean:
+   rm -rf run_mobilenet_cv_mt.dyn
+
diff --git a/recipes-support/neo-ai-dlr/neo-ai-dlr-demo_git.bb 
b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo_git.bb
new file mode 100644
index 000..4cccf0e
--- /dev/null
+++ b/recipes-support/neo-ai-dlr/neo-ai-dlr-demo_git.bb
@@ -0,0 +1,42 @@
+SUMMARY = "Predictive maintenance demo for anomaly detection using Recurrent 
Neural Network (RNN)"
+LICENSE = "Apache-2.0" 
+LIC_FILES_CHKSUM = "file://../git/LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+PV = "1.0"
+PR = "r1"
+
+BRANCH-NEO-AI-DLR = "dev"
+SRC_URI = 
"git://github.com/TexasInstruments/neo-ai-dlr;protocol=https;branch=${BRANCH-NEO-AI-DLR};name=neo-ai-dlr
 \
+   file://makefile;subdir=demosrc \
+   file://Makefile.build;subdir=demosrc \
+  "
+
+SRCREV_neo-ai-dlr = "40394be2e39eaa6248f9bf0a1143692083c0e3d2"
+
+S = "${WORKDIR}/demosrc"
+
+DEPENDS += " opencv neo-ai-dlr "
+
+do_patch_extra() {
+   install -m 644 ${WORKDIR}/git/demo/cv/run_mobilenet_cv_mt.cc ${S}/.
+   install -m 644 ${WORKDIR}/git/LICENSE ${S}/.
+}
+addtask patch_extra after do_patch before do_create_srcipk
+
+do_compile() {
+  cd ${S}
+  make 
+}
+
+do_install() {
+   install -d ${D}${datadir}/dlr/demos
+   install -m 644 ${S}/run_mobilenet_cv_mt.cc ${D}${datadir}/dlr/demos/.
+   install -m 644 ${S}/makefile ${D}${datadir}/dlr/demos/.
+   install -m 644 ${S}/Makefile.build ${D}${datadir}/dlr/demos/.
+   install -m 755 ${S}/run_mobilenet_cv_mt.dyn ${D}${datadir}/dlr/demos/.
+}
+
+CREATE_SRCIPK = "1"
+SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}"
+
+FILES_${PN} += " ${datadir}/dlr/demos "
-- 
2.7.4

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


[meta-arago] [meta-processor-sdk][PATCH 4/5] ti-tisdk-makefile: add taret for neo-ai-dlr-demo

2019-12-18 Thread Jacob Stiffler
* Only add for machines with mmip feature.

Signed-off-by: Jacob Stiffler 
---
 .../ti-tisdk-makefile/Makefile_neo-ai-dlr-demo| 19 +++
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend  |  9 +
 2 files changed, 24 insertions(+), 4 deletions(-)
 create mode 100644 
recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo

diff --git 
a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo 
b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo
new file mode 100644
index 000..60445f2
--- /dev/null
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_neo-ai-dlr-demo
@@ -0,0 +1,19 @@
+# neo-ai-dlr-demo build targets
+neo-ai-dlr-demo:
+   @echo =
+   @echoBuilding NEO-AI-DLR Demo
+   @echo =
+   @cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*neo-ai-dlr-demo*"`; make -f Makefile.build
+
+neo-ai-dlr-demo_clean:
+   @echo =
+   @echoCleaning NEO-AI-DLR Demo
+   @echo =
+   @cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*neo-ai-dlr-demo*"`; make -f Makefile.build clean
+
+neo-ai-dlr-demo_install:
+   @echo 
+   @echo   Installing NEO-AI-DLR Demo
+   @echo 
+   @cd example-applications; cd `find . -maxdepth 1 -type d -name 
"*neo-ai-dlr-demo*"`; make -f Makefile.build install
+
diff --git a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend 
b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
index 4fb8a16..b7d3365 100644
--- a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
@@ -1,4 +1,4 @@
-PR_append = ".tisdk68"
+PR_append = ".tisdk69"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
@@ -9,6 +9,7 @@ SRC_URI_append = "\
 file://Makefile_tiovx-app-host \
 file://Makefile_tidl-examples \
 file://Makefile_pru-adc \
+file://Makefile_neo-ai-dlr-demo \
 "
 
 SRC_URI_append_omap-a15 = " file://Makefile_big-data-ipc-demo"
@@ -25,9 +26,7 @@ MAKEFILES_append_omap-a15 = " dual-camera-demo \
   image-gallery \
   big-data-ipc-demo \
  evse-hmi \
-"
-
-MAKEFILES_append_omap-a15 = " video-graphics-test \
+  video-graphics-test \
 "
 
 MAKEFILES_append_ti43x = " evse-hmi \
@@ -49,6 +48,8 @@ MAKEFILES_append_am57xx-hs-evm = " tidl-examples"
 
 MAKEFILES_append_dra7xx = " tiovx-app-host"
 
+MAKEFILES_append = " 
${@bb.utils.contains('MACHINE_FEATURES','mmip','neo-ai-dlr-demo','',d)}"
+
 MAKEFILES_remove_ti33x = "${@bb.utils.contains('MACHINE_FEATURES', 'gpu', '', 
'ti-sgx-ddk-km', d)}"
 MAKEFILES_remove_ti43x = "${@bb.utils.contains('MACHINE_FEATURES', 'gpu', '', 
'ti-sgx-ddk-km', d)}"
 
-- 
2.7.4

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


[meta-arago] [meta-processor-sdk][PATCH 5/5] packagegroups: integrate neo-ai-dlr-demo

2019-12-18 Thread Jacob Stiffler
* Add neo-ai-dlr-demo to rootfs of machines with mmip feature.
* Install dev package in devkit.
* Provide neo-ai-dlr-demo sources in SDK bundle.

Signed-off-by: Jacob Stiffler 
---
 .../packagegroup-arago-tisdk-addons-sdk-host.bbappend   |  7 ++-
 .../packagegroup-arago-tisdk-addons-sdk-target.bbappend |  6 +-
 .../packagegroups/packagegroup-arago-tisdk-addons.bbappend  | 13 ++---
 3 files changed, 21 insertions(+), 5 deletions(-)

diff --git 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
index 647fe67..c98d464 100644
--- 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
+++ 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
@@ -1,4 +1,4 @@
-PR_append = ".tisdk19"
+PR_append = ".tisdk20"
 
 EXTRA_LIBS_append_am57xx-evm = " \
 jailhouse-src \
@@ -18,3 +18,8 @@ EXTRA_LIBS_append_dra7xx = " \
 
 UTILS_append_am335x-evm = " pru-adc-src"
 
+NEO_AI_PACKAGES = " \
+
${@bb.utils.contains('MACHINE_FEATURES','mmip','neo-ai-dlr-demo-src','',d)} \
+"
+
+RDEPENDS_${PN}_append = " ${NEO_AI_PACKAGES}"
diff --git 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bbappend
 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bbappend
index 6cd7f4d..83125c5 100644
--- 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bbappend
+++ 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bbappend
@@ -1,4 +1,4 @@
-PR_append = "-tisdk33"
+PR_append = "-tisdk34"
 
 UTILS_append_ti33x = " \
 opencv-dev \
@@ -76,3 +76,7 @@ EXTRA_LIBS_append_dra7xx = " \
 tiovx-lib-host-staticdev \
 tiovx-sys-iface \
 "
+
+NEO_AI_PACKAGES = "neo-ai-dlr-dev"
+
+RDEPENDS_${PN}_append = " ${NEO_AI_PACKAGES}"
diff --git 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
index aa0a182..eea73e4 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
@@ -1,4 +1,4 @@
-PR_append = "-tisdk58"
+PR_append = "-tisdk59"
 
 EXTRA_PACKAGES_append_ti33x = " opencv"
 EXTRA_PACKAGES_append_ti43x = " opencv"
@@ -17,12 +17,17 @@ EXTRA_PACKAGES_append_k3 = " watchdog"
 
 EXTRA_PACKAGES_append_omapl138 = " ccief-basic"
 
-NEO_AI_PACKAGES = "neo-ai-dlr neo-ai-dlr-tests"
+NEO_AI_PACKAGES = " \
+neo-ai-dlr \
+neo-ai-dlr-tests \
+neo-ai-dlr-dev \
+${@bb.utils.contains('MACHINE_FEATURES','mmip','neo-ai-dlr-demo','',d)} \
+"
 NEO_AI_PACKAGES_armv5 = ""
 
 EXTRA_PACKAGES_append = " hidapi \
   tvm \
-  ${NEO_AI_PACKAGES}"
+"
 
 EXTRA_PACKAGES_append_armv5 = " zbar"
 EXTRA_PACKAGES_append_armv7a = " zbar"
@@ -30,3 +35,5 @@ EXTRA_PACKAGES_append_armv7a = " zbar"
 UTILS_append = " net-snmp net-snmp-server-snmpd"
 
 EXTRA_PACKAGES_append_dra7xx = " tiovx-app-host tiovx-app-host-examples"
+
+RDEPENDS_${PN}-extra_append = " ${NEO_AI_PACKAGES}"
-- 
2.7.4

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


Re: [meta-arago] [EXTERNAL] [master/thud/ti2019.05][PATCH v3] openmpacc: update version to 01.05.06.00

2019-12-18 Thread Jacob Stiffler

Denys,

Please backport to ti2019.05.


Thank you,

Jake

On 12/17/2019 9:44 AM, Yuan Zhao wrote:

- Changes for openmpacc examples: Removed vecadd_lib, edmabw
- Changes for clacc host_cc and host_link_cc parameters: Determine target
   compiler name directly from CMake
- Documentation update regarding no support for variadic functions in
   target regions

Signed-off-by: Gaurav Mitra 
Signed-off-by: Yuan Zhao 
---
  .../recipes-ti/openmpacc/clacc_git.bb  | 34 ++
  .../recipes-ti/openmpacc/openmpacc-examples_git.bb |  8 +
  .../recipes-ti/openmpacc/openmpacc.inc |  4 +--
  .../recipes-ti/openmpacc/openmpacc_git.bb  |  4 ---
  4 files changed, 31 insertions(+), 19 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb 
b/meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb
index 75ce4628..cecffa02 100644
--- a/meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb
+++ b/meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb
@@ -2,7 +2,7 @@ SUMMARY = "TI OpenMP-Acc C compiler"
  
  include openmpacc.inc
  
-PR = "${INC_PR}.1"

+PR = "${INC_PR}.0"
  
  DEPENDS = "boost elfutils"

  RDEPENDS_${PN} += "clocl"
@@ -18,16 +18,38 @@ export X86_HOST_ROOT = "${STAGING_DIR_HOST}"
  
  PARALLEL_MAKE = ""
  
+# The variables CLACC_CC and CLACC_CXX are used to point clacc to set its

+# host_cc and host_link_cc variables which were previously hardcoded in 
clacc.h.
+# This adds support for different toolchain configurations to build clacc by
+# passing in the compiler names at the build stage and removes corresponding
+# string replacement requirements in yocto recipes.
+python __anonymous() {
+cc_name = ""
+cxx_name = ""
+if d.getVar("TOOLCHAIN_PREFIX"):
+cc_name = d.getVar("TOOLCHAIN_PREFIX") + "gcc"
+cxx_name = d.getVar("TOOLCHAIN_PREFIX") + "g++"
+else:
+cc_name = d.getVar("TARGET_PREFIX") + "gcc"
+cxx_name = d.getVar("TARGET_PREFIX") + "g++"
+
+# Convert to upper case to workaround GCC preprocessor bug where the word
+# 'linux' is defined to be 1. This results in arm-linux-gnueabihf- being
+# stringized to arm-1-gnueabihf- by the GCC preprocessor. To workaround 
this
+# bug, convert the names to upper case and send through. Clacc will convert
+# to lower case before usage.
+d.setVar("CLACC_CC_NAME", cc_name.upper())
+d.setVar("CLACC_CXX_NAME", cxx_name.upper())
+}
+
+
  EXTRA_OEMAKE = " -C ${S}/clacc \
${TARGET} \
CXX="${CXX}" \
+  CLACC_CC="${CLACC_CC_NAME}" \
+  CLACC_CXX="${CLACC_CXX_NAME}" \
  "
  
-do_configure() {

-sed "s|arm-linux-gnueabihf-gcc|${TOOLCHAIN_PREFIX}gcc|g" -i clacc/clacc.h
-sed "s|arm-linux-gnueabihf-g++|${TOOLCHAIN_PREFIX}g++|g" -i clacc/clacc.h
-}
-
  do_compile() {
  oe_runmake
  }
diff --git a/meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb 
b/meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb
index b2f4122c..39902f8f 100644
--- a/meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb
+++ b/meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb
@@ -21,8 +21,6 @@ OMPACC_EXAMPLE_LIST = " target_update \
  local \
  null \
  dsplib_fft \
-vecadd_lib \
-edmabw \
  sub_section \
  "
  
@@ -35,7 +33,6 @@ python do_unpack_append() {

  os.makedirs(s)
  shutil.copy(os.path.join(git_dir,"Makefile"),s)
  shutil.copy(os.path.join(git_dir,"make.inc"),s)
-shutil.copy(os.path.join(git_dir,"ompacc_env.sh"),s)
  for example in d.getVar("OMPACC_EXAMPLE_LIST").split():
  shutil.copytree(os.path.join(git_dir,example), 
os.path.join(s,example))
  }
@@ -47,11 +44,9 @@ EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \
  MKFILELIST = "vecadd/Makefile vecadd_complex/Makefile dsplib_fft/Makefile \
  null/Makefile dspheap/Makefile target_implicit_map/Makefile 
printf_debug/Makefile \
  edmamgr/Makefile vecadd_t/Makefile target_orphan_call/Makefile 
target_update/Makefile \
-edmabw/Makefile sub_section/Makefile vecadd_lib/Makefile local/Makefile"
+sub_section/Makefile local/Makefile"
  
  do_configure() {

-sed "s|arm-linux-gnueabihf-gcc|${CC}|g" -i make.inc
-sed "s|arm-linux-gnueabihf-g++|${CXX}|g" -i make.inc
  for f in ${MKFILELIST}; do
  sed "s|-fopenmp|-fopenmp ${TUNE_CCARGS}${TOOLCHAIN_OPTIONS}|g" -i $f
  done
@@ -66,7 +61,6 @@ do_install() {
  
  install -m 644 ${B}/Makefile ${D}${datadir}/ti/examples/openmpacc

  install -m 644 ${B}/make.inc ${D}${datadir}/ti/examples/openmpacc
-install -m 644 ${B}/ompacc_env.sh ${D}${datadir}/ti/examples/openmpacc
  
  for ompacc_example in ${OMPACC_EXAMPLE_LIST}; do

  install -d ${D}${datadir}/ti/examples/openmpacc/${ompacc_example}
diff --git 

[meta-arago] [master/thud/ti2019.05][PATCH] ti-tisdk-setup: bump SRCREV for early boot support

2019-12-17 Thread Jacob Stiffler
* Add early boot support to create-sdcard.sh by installing early boot
  firmware into boot partition.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
index 9a9368d..5ef9ef8 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "Package containing scripts to setup the 
development host and targ
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = 
"file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
 
-PR = "r44"
+PR = "r45"
 
 BRANCH ?= "master"
-SRCREV = "22654923e4597871ba192e58c01d6fc09a38aae4"
+SRCREV = "42a8379fda829f34c374ddfca0242a479a84d454"
 SRC_URI = 
"git://arago-project.org/git/projects/tisdk-setup-scripts.git;protocol=git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git/"
-- 
2.7.4

___
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] create-sdcard.sh: add support for early boot

2019-12-16 Thread Jacob Stiffler
For the cores that support early boot, it is expected that the
firmware is available on the boot partition, for U-Boot, as well as
on the rootfs partition, for Linux. Therefore copy the default
firmware image from the rootfs to the boot partition. The boot
partition format is vfat, so it does not support symlinks. Follow
symlinks as necessary to get the firmware image into the boot
partition.

Signed-off-by: Jacob Stiffler 
---
 create-sdcard.sh | 50 --
 1 file changed, 40 insertions(+), 10 deletions(-)

diff --git a/create-sdcard.sh b/create-sdcard.sh
index 5c02a12..c7eb942 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -1097,16 +1097,6 @@ fi
 
 echo ""
 echo ""
-echo "Syncing..."
-sync
-sync
-sync
-sync
-sync
-sync
-sync
-sync
-
 if [ "$KERNELFILESOPTION" == "2" ]
 then
 
@@ -1138,6 +1128,46 @@ then
 
 fi
 
+
+# The following firmware are required for early boot, and therefore must be
+# copied to the boot partition.
+RPROC_EARLYBOOT_FIRMWARE = " \
+dra7-ipu1-fw.xem4 \
+"
+
+for fw in $RPROC_EARLYBOOT_FIRMWARE
+do
+   fw_path="$PATH_TO_SDROOTFS/lib/firmware/$fw"
+
+   # Handle links specifally as they may be absolute paths with respect to 
the rootfs
+   if [ -L "$fw_path" ]
+   then
+   fw_link=$(readlink "$fw_path")
+   if [[ "$fw_link" == /* ]]
+   then
+   # Absolute path
+   fw_path="$(readlink "$fw_path" | sed -e 
"s|^/|$PATH_TO_SDROOTFS/|")"
+   else
+   # Relative path
+   fw_path="$(dirname "$fw_path")/$fw_link"
+   fi
+   fi
+
+   # this is a global list of firmwares, so do not fail
+   cp -f "$fw_path" $PATH_TO_SDBOOT 2> /dev/null || true
+done
+
+echo " "
+echo "Syncing..."
+sync
+sync
+sync
+sync
+sync
+sync
+sync
+sync
+
 echo " "
 echo "Un-mount the partitions "
 sudo umount -f $PATH_TO_SDBOOT
-- 
1.9.1

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


[meta-arago] [master/thud/ti2019.05][PATCH] tidl-api: fix package-qa issues

2019-12-12 Thread Jacob Stiffler
tidl-api does not create versioned libraries, so provide these in the
base package and skip the QA checks.

Signed-off-by: Jacob Stiffler 
---
 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb 
b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
index a8829c1..ea12fb0 100644
--- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
+++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
@@ -52,5 +52,9 @@ FILES_${PN} += "\
 ${TIDL_INSTALL_DIR} \
 "
 
+# Versioned libs are not created. See do_install().
+SOLIBS = ".so*"
+FILES_SOLIBSDEV = ""
 
-INSANE_SKIP_${PN} = "arch ldflags textrel staticdev"
+INSANE_SKIP_${PN} = "arch ldflags textrel staticdev libdir"
+INSANE_SKIP_${PN}-dbg = "libdir"
-- 
2.7.4

___
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-setup: update to include latest OOBE fixes

2019-12-12 Thread Jacob Stiffler

Denys,

Please backport to ti2019.05.


Thank you,

Jake

On 12/11/2019 3:27 PM, Denys Dmytriyenko wrote:

Signed-off-by: Denys Dmytriyenko 
---
  meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
index 8a7737e..9a9368d 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "Package containing scripts to setup the 
development host and targ
  LICENSE = "BSD"
  LIC_FILES_CHKSUM = 
"file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
  
-PR = "r43"

+PR = "r44"
  
  BRANCH ?= "master"

-SRCREV = "ebfc94b347bc74ad9590cfbb5588900e31d6bc0e"
+SRCREV = "22654923e4597871ba192e58c01d6fc09a38aae4"
  SRC_URI = 
"git://arago-project.org/git/projects/tisdk-setup-scripts.git;protocol=git;branch=${BRANCH}"
  
  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] [tisdk-setup-scripts][PATCH] setup-uboot-env-*: replace ifconfig with ip addr show

2019-12-11 Thread Jacob Stiffler

Pushed to master.


Thank you,

Jake

On 12/10/2019 2:04 PM, Denys Dmytriyenko wrote:

Simple ifconfig has been deprecated for quite some time in favor of ip tools.
New distros no longer package ifconfig, so use ip addr show command instead.

Signed-off-by: Denys Dmytriyenko 
Cc: Andreas Dannenberg 
---
  setup-uboot-env-am18x.sh   | 2 +-
  setup-uboot-env-am335x.sh  | 2 +-
  setup-uboot-env-am3517.sh  | 2 +-
  setup-uboot-env-am37x.sh   | 2 +-
  setup-uboot-env-am43x.sh   | 2 +-
  setup-uboot-env-am57xx-evm.sh  | 2 +-
  setup-uboot-env-am65x.sh   | 2 +-
  setup-uboot-env-beagleboard.sh | 2 +-
  setup-uboot-env-k2g-evm.sh | 2 +-
  setup-uboot-env-keystone.sh| 2 +-
  setup-uboot-env-omap5.sh   | 2 +-
  11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/setup-uboot-env-am18x.sh b/setup-uboot-env-am18x.sh
index 8c296e5..3733281 100644
--- a/setup-uboot-env-am18x.sh
+++ b/setup-uboot-env-am18x.sh
@@ -42,7 +42,7 @@ SDKinstall=`grep TI_SDK_PATH= $cwd/../Rules.make | cut -d= 
-f2`
  dstdefault=$SDKinstall/targetNFS
  
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  prompt=" >"
  
diff --git a/setup-uboot-env-am335x.sh b/setup-uboot-env-am335x.sh

index 80b0a52..f129875 100644
--- a/setup-uboot-env-am335x.sh
+++ b/setup-uboot-env-am335x.sh
@@ -51,7 +51,7 @@ echo 
"--
  echo "This step will set up the U-Boot variables for booting the EVM."
  echo
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  
  # Configure prompt for U-Boot 2016.05

diff --git a/setup-uboot-env-am3517.sh b/setup-uboot-env-am3517.sh
index 73e9971..49dda0a 100644
--- a/setup-uboot-env-am3517.sh
+++ b/setup-uboot-env-am3517.sh
@@ -37,7 +37,7 @@ echo
  echo 
""
  echo "This step will set up the u-boot variables for booting the EVM."
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  prompt="EVM #"
  
diff --git a/setup-uboot-env-am37x.sh b/setup-uboot-env-am37x.sh

index e9970d6..eab332b 100644
--- a/setup-uboot-env-am37x.sh
+++ b/setup-uboot-env-am37x.sh
@@ -37,7 +37,7 @@ echo
  echo 
""
  echo "This step will set up the u-boot variables for booting the EVM."
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  prompt="EVM #"
  
diff --git a/setup-uboot-env-am43x.sh b/setup-uboot-env-am43x.sh

index f7f2d95..24bc58a 100644
--- a/setup-uboot-env-am43x.sh
+++ b/setup-uboot-env-am43x.sh
@@ -51,7 +51,7 @@ echo 
"--
  echo "This step will set up the u-boot variables for booting the EVM."
  echo
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  
  # Configure prompt for U-Boot 2016.05

diff --git a/setup-uboot-env-am57xx-evm.sh b/setup-uboot-env-am57xx-evm.sh
index 574c111..323c134 100644
--- a/setup-uboot-env-am57xx-evm.sh
+++ b/setup-uboot-env-am57xx-evm.sh
@@ -51,7 +51,7 @@ echo 
"--
  echo "This step will set up the u-boot variables for booting the EVM."
  echo 
""
  
-ipdefault=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`

+ipdefault=`ip addr show | grep 'inet ' | grep -v '127.0.0.1' | cut -d/ -f1 | 
awk '{ print $2 }'`
  platform=`grep PLATFORM= $cwd/../Rules.make | cut -d= -f2`
  
  # Configure prompt for U-Boot 2016.05

diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index 6335ce4..e17f700 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -51,7 +51,7 @@ echo 
"--
  echo "This step will set up the u-boot variables for booting the EVM."
  echo 

Re: [meta-arago] [EXTERNAL] [tisdk-setup-scripts][PATCH] setup-uboot-env-am65x: pass console to u-boot bootargs for NFS boot

2019-12-11 Thread Jacob Stiffler

Pushed to master.


Thank you,

Jake

On 12/10/2019 2:14 PM, Denys Dmytriyenko wrote:

U-boot default bootargs was missing console setting, resulting in duplicate
kernel logs.

Signed-off-by: Denys Dmytriyenko 
Suggested-by: Andreas Dannenberg 
---
  setup-uboot-env-am65x.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index e17f700..b6e043b 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -152,7 +152,7 @@ do_expect "\"$prompt\"" "send \"setenv name_kern 
$kernelimage\"" $cwd/setupBoard
  do_expect "\"$prompt\"" "send \"setenv bootcmd 'run findfdt; run envboot; run 
setup_\${kern_boot}; run init_\${rootfs_boot}; run get_kern_\${kern_boot}; run get_fdt_\${kern_boot}; run 
get_overlay_\${kern_boot}; run run_kern'\"" $cwd/setupBoard.minicom
  
  do_expect "\"$prompt\"" "send \"setenv init_net 'run args_all args_net; setenv autoload no; dhcp'\"" $cwd/setupBoard.minicom

-do_expect "\"$prompt\"" "send \"setenv args_net 'setenv bootargs \${optargs} 
rootfstype=nfs root=/dev/nfs rw nfsroot=\${serverip}:\${nfs_root},\${nfs_options} ip=dhcp'\"" 
$cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"setenv args_net 'setenv bootargs console=\${console} 
\${optargs} rootfstype=nfs root=/dev/nfs rw nfsroot=\${serverip}:\${nfs_root},\${nfs_options} ip=dhcp'\"" 
$cwd/setupBoard.minicom
  do_expect "\"$prompt\"" "send \"setenv get_kern_net 'tftp \${loadaddr} 
\${name_kern}'\"" $cwd/setupBoard.minicom
  do_expect "\"$prompt\"" "send \"setenv get_fdt_net 'tftp \${fdtaddr} 
\${name_fdt}'\"" $cwd/setupBoard.minicom
  do_expect "\"$prompt\"" "send \"setenv get_overlay_net 'fdt address \${fdtaddr};fdt 
resize 0x10;for overlay in \${overlay_files};do;tftp \${overlayaddr} \${overlay};fdt apply \${overlayaddr}; 
done'\"" $cwd/setupBoard.minicom

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


Re: [meta-arago] [EXTERNAL] [tisdk-setup-scripts][PATCH] setup-targetfs-nfs: fix cases when group != username

2019-12-11 Thread Jacob Stiffler

Pushed to master.


Thank you,

Jake

On 12/10/2019 1:50 PM, Denys Dmytriyenko wrote:

Signed-off-by: Denys Dmytriyenko 
Suggested-by: Andreas Dannenberg 
---
  setup-targetfs-nfs.sh | 7 ---
  1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/setup-targetfs-nfs.sh b/setup-targetfs-nfs.sh
index 60817ca..b6f679f 100644
--- a/setup-targetfs-nfs.sh
+++ b/setup-targetfs-nfs.sh
@@ -80,19 +80,20 @@ extract_fs() {
  done
  
  me=`whoami`

+my_group=`id -gn $me`
  sudo mkdir -p $1
  check_status
  sudo tar xJf $cwd/../filesystem/$fstar -C $1
  check_status
-sudo chown $me:$me $1
+sudo chown $me:$my_group $1
  check_status
-sudo chown -R $me:$me $1/home $1/usr $1/etc $1/lib $1/boot
+sudo chown -R $me:$my_group $1/home $1/usr $1/etc $1/lib $1/boot
  check_status
  
  # Opt isn't a standard Linux directory. First make sure it exist.

  if [ -d $1/opt ];
  then
-sudo chown -R $me:$me $1/opt
+sudo chown -R $me:$my_group $1/opt
  check_status
  fi
  

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


Re: [meta-arago] [tisdk-setup-scripts][PATCH v1] setup-targetfs-nfs: Update command to replace Rules.make variables

2019-12-10 Thread Jacob Stiffler

This has been pushed to master.


Thank you,

Jake

On 12/9/2019 3:34 AM, Nikhil Devshatwar wrote:

Update the setup-targetfs-nfs.sh to replace Rules.make variables
so that they are initialized conditionally.

Signed-off-by: Nikhil Devshatwar 
---
  setup-targetfs-nfs.sh | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup-targetfs-nfs.sh b/setup-targetfs-nfs.sh
index 60817ca..ac1611c 100644
--- a/setup-targetfs-nfs.sh
+++ b/setup-targetfs-nfs.sh
@@ -145,10 +145,10 @@ echo "EXEC_DIR or DESTDIR variable (depending on your 
SDK)."
  echo
  read -p "Press return to continue" REPLY
  
-sed -i "s=EXEC_DIR\=.*$=EXEC_DIR\=$dst/home/root/$platform=g" $cwd/../Rules.make

+sed -i "s=EXEC_DIR ?\=.*$=EXEC_DIR ?\=$dst/home/root/$platform=g" 
$cwd/../Rules.make
  check_status
  
-sed -i "s=DESTDIR\=.*$=DESTDIR\=$dst=g" $cwd/../Rules.make

+sed -i "s=DESTDIR ?\=.*$=DESTDIR ?\=$dst=g" $cwd/../Rules.make
  check_status
  
  echo "Rules.make edited successfully.."

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


Re: [meta-arago] [EXTERNAL] [meta-processor-sdk][PATCH v2] neo-ai-dlr: fix dlr runtime problem

2019-11-26 Thread Jacob Stiffler


On 11/26/2019 10:13 AM, Jianzhong Xu wrote:

* bump up neo-ai-dlr SRCREV
* add a patch to skip git cloning during cmake configuration
* move libdlr.so to python site-packages dlr folder
* add neo-ai-dlr-tests to target file system
* change testing scripts' path to be the same as in source code

Signed-off-by: Jianzhong Xu 
---
  .../packagegroup-arago-tisdk-addons.bbappend  |  2 +-
  ...akeLists-skip-cloning-of-googletests.patch | 50 +++
  recipes-support/neo-ai/neo-ai-dlr_git.bb  | 25 ++
  3 files changed, 65 insertions(+), 12 deletions(-)
  create mode 100644 
recipes-support/neo-ai/files/0001-CMakeLists-skip-cloning-of-googletests.patch


...

diff --git a/recipes-support/neo-ai/neo-ai-dlr_git.bb 
b/recipes-support/neo-ai/neo-ai-dlr_git.bb
index cbf4447..f0cf3e8 100644
--- a/recipes-support/neo-ai/neo-ai-dlr_git.bb
+++ b/recipes-support/neo-ai/neo-ai-dlr_git.bb
@@ -26,9 +26,10 @@ SRC_URI = 
"git://github.com/neo-ai/neo-ai-dlr;protocol=https;branch=${BRANCH};na
 
git://github.com/neo-ai/treelite;protocol=https;branch=master;destsuffix=${S}/3rdparty/treelite;name=neo-ai-treelite
 \
 
git://github.com/dmlc/dmlc-core;protocol=https;branch=master;destsuffix=${S}/3rdparty/treelite/dmlc-core;name=neo-ai-treelite-dmlc-core
 \
 
git://github.com/fmtlib/fmt;protocol=https;nobranch=1;destsuffix=${S}/3rdparty/treelite/3rdparty/fmt;name=neo-ai-treelite-fmt
 \
+   file://0001-CMakeLists-skip-cloning-of-googletests.patch \
  "
  
-SRCREV_neo-ai-dlr = "dd9c8e806065b2c0fca97209c8bfd1cce0749ea9"

+SRCREV_neo-ai-dlr = "35ed4fa2607056608451d85508fea70f458a14a6"
  SRCREV_neo-ai-tvm = "44779571412930681eef9e8b9d32aa845b8cc5ad"
  SRCREV_neo-ai-tvm-dmlc-core = "4d49691f1a9d944c3b0aa5e63f1db3cad1f941f8"
  SRCREV_neo-ai-tvm-dlpack = "bee4d1dd8dc1ee4a1fd8fa6a96476c2f8b7492a3"
@@ -45,26 +46,28 @@ do_install() {
  # This does not do anything
  #cmake_do_install
  
-install -d ${D}${libdir}

-install -m 0644 ${S}/lib/* ${D}${libdir}
+install -d ${D}${includedir}/dlr_tflite
+install -m 0644 ${S}/include/*.h ${D}${includedir}
+install -m 0644 ${S}/include/dlr_tflite/*.h ${D}${includedir}/dlr_tflite
  
-install -d ${D}${includedir}

-install -m 0644 ${S}/include/* ${D}${includedir}
+# Copy build directory to Python installation search path
+cp -r ${B} ${S}



Can you set B = "${S}/build" instead?


  
+# Install DLR Python binding

  cd ${S}/python
  distutils3_do_install
-cd ${B}
  
-# setup.py install some libs under datadir, but we don't need them, so remove.

-rm ${D}${datadir}/dlr/*.so



Can you still remove this file? Packaging now gives a warning:

QA Issue: neo-ai-dlr: Files/directories were installed but not shipped 
in any package:

  /usr/share/dlr/libdlr.so



+# Install DLR library to Python import search path
+install -m 0644 ${S}/build/lib/libdlr.so ${D}${PYTHON_SITEPACKAGES_DIR}/dlr
  
  # Now install python test scripts

-install -d ${D}${datadir}/dlr/tests
-install -m 0644 ${S}/tests/python/integration/*.py 
${D}${datadir}/dlr/tests/
+install -d ${D}${datadir}/neo-ai-dlr/tests/python/integration
+install -m 0644 ${S}/tests/python/integration/*.py 
${D}${datadir}/neo-ai-dlr/tests/python/integration
+install -m 0644 ${S}/tests/python/integration/*.npy 
${D}${datadir}/neo-ai-dlr/tests/python/integration
  }
  
  PACKAGES =+ "${PN}-tests"

-FILES_${PN}-tests = "${datadir}/dlr/tests"
+FILES_${PN}-tests = "${datadir}/neo-ai-dlr/tests"
  RDEPENDS_${PN}-tests += "${PN}"
  
  # Versioned libs are not produced

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


Re: [meta-arago] [EXTERNAL] [meta-processor-sdk][PATCH] neo-ai-dlr: fix dlr runtime problem

2019-11-25 Thread Jacob Stiffler



On 11/20/2019 11:54 AM, Jianzhong Xu wrote:

* move dlr shared library to python sitepackages dlr folder

Signed-off-by: Jianzhong Xu 
---
  recipes-support/neo-ai/neo-ai-dlr_git.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/recipes-support/neo-ai/neo-ai-dlr_git.bb 
b/recipes-support/neo-ai/neo-ai-dlr_git.bb
index cbf4447..e81a939 100644
--- a/recipes-support/neo-ai/neo-ai-dlr_git.bb
+++ b/recipes-support/neo-ai/neo-ai-dlr_git.bb
@@ -57,6 +57,7 @@ do_install() {
  
  # setup.py install some libs under datadir, but we don't need them, so remove.



Can you also update the above comment as it is no longer relevant?



  rm ${D}${datadir}/dlr/*.so
+mv ${D}${libdir}/libdlr.so ${D}${PYTHON_SITEPACKAGES_DIR}/dlr
  
  # Now install python test scripts

  install -d ${D}${datadir}/dlr/tests

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


[meta-arago] [master/thud][PATCH v2] iproute2: soft taprio: add patches for taprio

2019-10-30 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
v2 changes: add Upstream-Status

 .../iproute2/0001-utils-Implement-get_s64.patch|  65 +++
 ...-helper-to-retrieve-a-__s64-from-a-netlin.patch |  40 ++
 ...Add-helper-for-getting-a-__s32-from-netli.patch |  37 ++
 ...port-for-configuring-the-taprio-scheduler.patch | 489 +
 .../0005-taprio-Add-manpage-for-tc-taprio-8.patch  | 169 +++
 ...taprio-Add-support-for-changing-schedules.patch | 151 +++
 ...support-for-cycle_time-and-cycle_time_ext.patch | 148 +++
 .../iproute2/0008-utils-Fix-get_s64-function.patch |  35 ++
 ...0009-taprio-Add-support-for-setting-flags.patch |  78 
 ...prio-add-support-for-setting-txtime_delay.patch |  97 
 .../0011-tc-taprio-Update-documentation.patch  |  81 
 ...sync-pkt_sched-header-with-kernel-version.patch | 131 ++
 .../iproute2/iproute2_4.19.0.bbappend  |  14 +-
 13 files changed, 1534 insertions(+), 1 deletion(-)
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-retrieve-a-__s64-from-a-netlin.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0003-libnetlink-Add-helper-for-getting-a-__s32-from-netli.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0004-tc-Add-support-for-configuring-the-taprio-scheduler.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0005-taprio-Add-manpage-for-tc-taprio-8.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0006-taprio-Add-support-for-changing-schedules.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0007-taprio-Add-support-for-cycle_time-and-cycle_time_ext.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0008-utils-Fix-get_s64-function.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0009-taprio-Add-support-for-setting-flags.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0010-taprio-add-support-for-setting-txtime_delay.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0011-tc-taprio-Update-documentation.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0012-sync-pkt_sched-header-with-kernel-version.patch

diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
new file mode 100644
index 000..9e799ab
--- /dev/null
+++ 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
@@ -0,0 +1,65 @@
+From 7e4397dff47438be65fdf90dc4e51b763797d201 Mon Sep 17 00:00:00 2001
+From: Vinicius Costa Gomes 
+Date: Fri, 5 Oct 2018 16:25:17 -0700
+Subject: [PATCH 01/12] utils: Implement get_s64()
+
+Upstream-Status: Backport
+commit a066bac8a2775bc43d54ae7173057f75f543c44b upstream.
+
+Add this helper to read signed 64-bit integers from a string.
+
+Signed-off-by: Vinicius Costa Gomes 
+Signed-off-by: David Ahern 
+Signed-off-by: Murali Karicheri 
+---
+ include/utils.h |  1 +
+ lib/utils.c | 21 +
+ 2 files changed, 22 insertions(+)
+
+diff --git a/include/utils.h b/include/utils.h
+index 8cb4349e..58574a05 100644
+--- a/include/utils.h
 b/include/utils.h
+@@ -139,6 +139,7 @@ int get_time_rtt(unsigned *val, const char *arg, int *raw);
+ #define get_byte get_u8
+ #define get_ushort get_u16
+ #define get_short get_s16
++int get_s64(__s64 *val, const char *arg, int base);
+ int get_u64(__u64 *val, const char *arg, int base);
+ int get_u32(__u32 *val, const char *arg, int base);
+ int get_s32(__s32 *val, const char *arg, int base);
+diff --git a/lib/utils.c b/lib/utils.c
+index ad27f78c..be29530f 100644
+--- a/lib/utils.c
 b/lib/utils.c
+@@ -384,6 +384,27 @@ int get_u8(__u8 *val, const char *arg, int base)
+   return 0;
+ }
+ 
++int get_s64(__s64 *val, const char *arg, int base)
++{
++  long res;
++  char *ptr;
++
++  errno = 0;
++
++  if (!arg || !*arg)
++  return -1;
++  res = strtoll(arg, , base);
++  if (!ptr || ptr == arg || *ptr)
++  return -1;
++  if ((res == LLONG_MIN || res == LLONG_MAX) && errno == ERANGE)
++  return -1;
++  if (res > INT64_MAX || res < INT64_MIN)
++  return -1;
++
++  *val = res;
++  return 0;
++}
++
+ int get_s32(__s32 *val, const char *arg, int base)
+ {
+   long res;
+-- 
+2.18.1
+
diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-retrieve-a-__s64-from-a-netlin.patch
 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-re

[meta-arago] [master/thud][PATCH] iproute2: soft taprio: add patches for taprio

2019-10-28 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../iproute2/0001-utils-Implement-get_s64.patch|  64 +++
 ...-helper-to-retrieve-a-__s64-from-a-netlin.patch |  39 ++
 ...Add-helper-for-getting-a-__s32-from-netli.patch |  36 ++
 ...port-for-configuring-the-taprio-scheduler.patch | 488 +
 .../0005-taprio-Add-manpage-for-tc-taprio-8.patch  | 168 +++
 ...taprio-Add-support-for-changing-schedules.patch | 150 +++
 ...support-for-cycle_time-and-cycle_time_ext.patch | 147 +++
 .../iproute2/0008-utils-Fix-get_s64-function.patch |  34 ++
 ...0009-taprio-Add-support-for-setting-flags.patch |  77 
 ...prio-add-support-for-setting-txtime_delay.patch |  96 
 .../0011-tc-taprio-Update-documentation.patch  |  80 
 ...sync-pkt_sched-header-with-kernel-version.patch | 128 ++
 .../iproute2/iproute2_4.19.0.bbappend  |  14 +-
 13 files changed, 1520 insertions(+), 1 deletion(-)
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-retrieve-a-__s64-from-a-netlin.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0003-libnetlink-Add-helper-for-getting-a-__s32-from-netli.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0004-tc-Add-support-for-configuring-the-taprio-scheduler.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0005-taprio-Add-manpage-for-tc-taprio-8.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0006-taprio-Add-support-for-changing-schedules.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0007-taprio-Add-support-for-cycle_time-and-cycle_time_ext.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0008-utils-Fix-get_s64-function.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0009-taprio-Add-support-for-setting-flags.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0010-taprio-add-support-for-setting-txtime_delay.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0011-tc-taprio-Update-documentation.patch
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0012-sync-pkt_sched-header-with-kernel-version.patch

diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
new file mode 100644
index 000..a0d5a12
--- /dev/null
+++ 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-utils-Implement-get_s64.patch
@@ -0,0 +1,64 @@
+From 7e4397dff47438be65fdf90dc4e51b763797d201 Mon Sep 17 00:00:00 2001
+From: Vinicius Costa Gomes 
+Date: Fri, 5 Oct 2018 16:25:17 -0700
+Subject: [PATCH 01/12] utils: Implement get_s64()
+
+commit a066bac8a2775bc43d54ae7173057f75f543c44b upstream.
+
+Add this helper to read signed 64-bit integers from a string.
+
+Signed-off-by: Vinicius Costa Gomes 
+Signed-off-by: David Ahern 
+Signed-off-by: Murali Karicheri 
+---
+ include/utils.h |  1 +
+ lib/utils.c | 21 +
+ 2 files changed, 22 insertions(+)
+
+diff --git a/include/utils.h b/include/utils.h
+index 8cb4349e..58574a05 100644
+--- a/include/utils.h
 b/include/utils.h
+@@ -139,6 +139,7 @@ int get_time_rtt(unsigned *val, const char *arg, int *raw);
+ #define get_byte get_u8
+ #define get_ushort get_u16
+ #define get_short get_s16
++int get_s64(__s64 *val, const char *arg, int base);
+ int get_u64(__u64 *val, const char *arg, int base);
+ int get_u32(__u32 *val, const char *arg, int base);
+ int get_s32(__s32 *val, const char *arg, int base);
+diff --git a/lib/utils.c b/lib/utils.c
+index ad27f78c..be29530f 100644
+--- a/lib/utils.c
 b/lib/utils.c
+@@ -384,6 +384,27 @@ int get_u8(__u8 *val, const char *arg, int base)
+   return 0;
+ }
+ 
++int get_s64(__s64 *val, const char *arg, int base)
++{
++  long res;
++  char *ptr;
++
++  errno = 0;
++
++  if (!arg || !*arg)
++  return -1;
++  res = strtoll(arg, , base);
++  if (!ptr || ptr == arg || *ptr)
++  return -1;
++  if ((res == LLONG_MIN || res == LLONG_MAX) && errno == ERANGE)
++  return -1;
++  if (res > INT64_MAX || res < INT64_MIN)
++  return -1;
++
++  *val = res;
++  return 0;
++}
++
+ int get_s32(__s32 *val, const char *arg, int base)
+ {
+   long res;
+-- 
+2.18.1
+
diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-retrieve-a-__s64-from-a-netlin.patch
 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0002-include-Add-helper-to-retrieve-a-__s64-from-a-netlin.patch
new file mode 100644

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

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

Signed-off-by: Jacob Stiffler 
---
v2 changes
* Add "-elapsed" flag to new tests

 .../openssl_perf_scripts/openssl_perf.sh   | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh 
b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
index 5a2a2fd..c389567 100644
--- a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
+++ b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
@@ -20,7 +20,7 @@ fi
 
 echo ""
 echo "Running OpenSSL Speed tests.  "
-echo "There are 7 tests and each takes 15 seconds..."
+echo "There are 11 tests and each takes 15 seconds..."
 echo
 
 TEMP=/home/root/temp
@@ -49,6 +49,22 @@ echo "Running sha1 test.  Please Wait..."
 time -v $OPENSSL speed -evp sha1 -engine cryptodev -elapsed > $TEMP 2>&1
 egrep 'Doing|User|System|Percent|Elapsed' $TEMP
 
+echo "Running sha224 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha224 -engine cryptodev -elapsed > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha256 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha256 -engine cryptodev -elapsed > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha384 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha384 -engine cryptodev -elapsed > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
+echo "Running sha512 test.  Please Wait..."
+time -v $OPENSSL speed -evp sha512 -engine cryptodev -elapsed > $TEMP 2>&1
+egrep 'Doing|User|System|Percent|Elapsed' $TEMP
+
 echo "Running md5 test.  Please Wait..."
 time -v $OPENSSL speed -evp md5 -engine cryptodev -elapsed > $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


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

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

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

diff --git a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh 
b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
index 5a2a2fd..adf0896 100644
--- a/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
+++ b/cryptos_apps_program/openssl_perf_scripts/openssl_perf.sh
@@ -20,7 +20,7 @@ fi
 
 echo ""
 echo "Running OpenSSL Speed tests.  "
-echo "There are 7 tests and each takes 15 seconds..."
+echo "There are 11 tests and each takes 15 seconds..."
 echo
 
 TEMP=/home/root/temp
@@ -49,6 +49,22 @@ echo "Running sha1 test.  Please Wait..."
 time -v $OPENSSL speed -evp sha1 -engine cryptodev -elapsed > $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 -elapsed > $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


[meta-arago] [oe-layersetup][PATCH] processor-sdk: add 6.1.0.8 release config

2019-10-21 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../processor-sdk/processor-sdk-06.01.00.08-config.txt   | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 configs/processor-sdk/processor-sdk-06.01.00.08-config.txt

diff --git a/configs/processor-sdk/processor-sdk-06.01.00.08-config.txt 
b/configs/processor-sdk/processor-sdk-06.01.00.08-config.txt
new file mode 100644
index 000..54adc52
--- /dev/null
+++ b/configs/processor-sdk/processor-sdk-06.01.00.08-config.txt
@@ -0,0 +1,16 @@
+# This file takes repo entries in the format
+# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
+
+bitbake,git://git.openembedded.org/bitbake,1.40,6b045e074c6fea97d4e305a5a3c8bf82135d95eb
+meta-processor-sdk,http://arago-project.org/git/projects/meta-processor-sdk.git,master,0d3220f2aa26c6069df78c68bb6009a35067866c,layers=
+meta-ros,https://github.com/bmwcarit/meta-ros.git,master,72068b17e4192b51e09c8dc633805a35edac8701,layers=
+meta-arago,http://arago-project.org/git/meta-arago.git,ti2019.03,9736c7d3e5c4c5a823e9caa712aa27ae24a40e4e,layers=meta-arago-distro:meta-arago-extras
+meta-browser,git://github.com/OSSystems/meta-browser.git,master,26d50665e2f7223c5f4ad7481a8d2431e7cb55fb,layers=
+meta-qt5,git://github.com/meta-qt5/meta-qt5.git,thud,1520d5b2b2beec5e1c3209d3178219e93ef08bca,layers=
+meta-virtualization,git://git.yoctoproject.org/meta-virtualization,thud,7685c7d415e0002c448007960837ae8898cd57a5,layers=
+meta-openembedded,git://git.openembedded.org/meta-openembedded,thud,2d088d252624b19df384aecc434d23afb636178f,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-multimedia:meta-filesystems
+meta-ti,git://git.yoctoproject.org/meta-ti,ti2019.03,a65f0a338d8f4dcce902cde64fb1413727f1ac20,layers=
+meta-linaro,https://git.linaro.org/openembedded/meta-linaro.git,thud,615ea7561b844a3867cee4299d83d605c10b02ab,layers=meta-linaro-toolchain:meta-optee
+oe-core,git://git.openembedded.org/openembedded-core,thud,cd7cf933b3235560ec71576d8f3836dff736a39f,layers=meta
+OECORELAYERCONF=./sample-files/bblayers.conf.sample
+OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample
-- 
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] [master/thud][PATCH] tisdk-server-rootfs-image: add packagegroup-arago-test-addons

2019-10-15 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thank you,

Jake

On 10/14/2019 12:10 PM, Jacob Stiffler wrote:

* This was missed when dropping tisdk-server-extra-rootfs-image.
* See 6fd2672b9034d1bc5e4890924a70fdc4d4eb09b8

Signed-off-by: Jacob Stiffler 
---
  meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
index 09d9f9d..7c52e39 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
@@ -15,6 +15,7 @@ IMAGE_INSTALL += "\
  packagegroup-arago-tisdk-matrix-extra \
  packagegroup-arago-base-tisdk-server-extra \
  packagegroup-arago-tisdk-connectivity \
+packagegroup-arago-test-addons \
  "
  
  export IMAGE_BASENAME = "tisdk-server-rootfs-image"

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


Re: [meta-arago] KERNEL_DEVICETREE_append in custom layer does not take effect in ti-tisdk-makefile

2019-10-15 Thread Jacob Stiffler


On 10/14/2019 11:02 PM, Denys Dmytriyenko wrote:

On Mon, Oct 14, 2019 at 05:58:50PM +0530, Nikhil Devshatwar wrote:

Hi Denys/Jacob,

I am appending the KERNEL_DEVICETREE variable in the  meta-psdkla layer
linux-ti-staging_%.bbappend recipe

Nikhil,

You are appending the variable in a recipe - it will have the scope of that
recipe only.



All the additional DTB files get built correctly but the ti-tisdk-makefile
recipe cannot replace the Makefile with the updated variable.

Instead, it replaces the Makefile with old value of KERNEL_DEVICETREE

How is this happening? Can you please help me with how to achieve the same?

In order to change the variable to affect all the recipes, you have to do it
in one of the global config files.


We have been adding these in our branding file. See 
http://arago-project.org/git/projects/?p=meta-processor-sdk.git;a=blob;f=conf/distro/include/branding-processor-sdk.inc;h=b28e452119b4eb735d053d148f0d4faf7ff9da61;hb=HEAD#l35



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


[meta-arago] [master/thud][PATCH] tisdk-server-rootfs-image: add packagegroup-arago-test-addons

2019-10-14 Thread Jacob Stiffler
* This was missed when dropping tisdk-server-extra-rootfs-image.
* See 6fd2672b9034d1bc5e4890924a70fdc4d4eb09b8

Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
index 09d9f9d..7c52e39 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
@@ -15,6 +15,7 @@ IMAGE_INSTALL += "\
 packagegroup-arago-tisdk-matrix-extra \
 packagegroup-arago-base-tisdk-server-extra \
 packagegroup-arago-tisdk-connectivity \
+packagegroup-arago-test-addons \
 "
 
 export IMAGE_BASENAME = "tisdk-server-rootfs-image"
-- 
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] [meta-processor-sdk] [PATCH] tvm: fix TVM runtime problem

2019-10-10 Thread Jacob Stiffler
Here's the fix: 
http://arago-project.org/pipermail/meta-arago/2019-October/012007.html


On 10/10/2019 12:25 PM, Jacob Stiffler wrote:

This fails for nativesdk-tvm.


ERROR: Nothing RPROVIDES 'nativesdk-python3-decorator' (but 
virtual:nativesdk:/oe/bld/sources/meta-processor-sdk/recipes-support/tvm/tvm_git.bb 
RDEPENDS on or otherwise requires it)



On 10/8/2019 5:26 PM, Jianzhong Xu wrote:

* add run-time depends of Python3 decorator
* use latest code (Mon Oct 7) from master branch
* update patch file accordingly

Signed-off-by: Jianzhong Xu 
---
  .../0001-CMakeLists-install-unit-tests.patch  | 29 ++-
  recipes-support/tvm/tvm_git.bb    |  7 +++--
  2 files changed, 21 insertions(+), 15 deletions(-)

diff --git 
a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch 
b/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch

index 6582d70..a79856f 100644
--- a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch
+++ b/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch
@@ -1,26 +1,29 @@
-From 2663c9682e427ce64f5bfa53e1ee389f80133cac Mon Sep 17 00:00:00 2001
-From: Jacob Stiffler 
-Date: Wed, 14 Aug 2019 16:27:51 -0400
-Subject: [PATCH] CMakeLists: install unit tests
+From 5904aa69d8f022678aa19dd4c1b5569d5fc243ee Mon Sep 17 00:00:00 2001
+From: Jianzhong Xu 
+Date: Tue, 8 Oct 2019 16:56:30 -0400
+Subject: [PATCH] [PATCH] CMakeLists: install unit tests
    * Install the unittests (cpptest) to /usr/share/tvm/cpptest
  * For simplicity, do not exclude cpptest from the default build.
    Upstream-Status: Innappropriate [Configuration]
  -Signed-off-by: Jacob Stiffler 
+Signed-off-by: Jianzhong Xu 
  ---
   CMakeLists.txt | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)
+ mode change 100644 => 100755 CMakeLists.txt
    diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 494afbd..7e887f6 100644
+old mode 100644
+new mode 100755
+index 10730ac7..ea369a6e
  --- a/CMakeLists.txt
  +++ b/CMakeLists.txt
-@@ -233,10 +233,11 @@ if(GTEST_LIB)
+@@ -333,10 +333,11 @@ if(GTEST_INCLUDE_DIR AND GTEST_LIB)
   list(APPEND TEST_EXECS ${__execname})
- target_link_libraries(${__execname}
-   tvm ${GTEST_LIB} pthread)
+ target_include_directories(${__execname} PUBLIC 
${GTEST_INCLUDE_DIR})

+ target_link_libraries(${__execname} tvm ${GTEST_LIB} pthread dl)
  -    set_target_properties(${__execname} PROPERTIES 
EXCLUDE_FROM_ALL 1)
  -    set_target_properties(${__execname} PROPERTIES 
EXCLUDE_FROM_DEFAULT_BUILD 1)
  +    #set_target_properties(${__execname} PROPERTIES 
EXCLUDE_FROM_ALL 1)

@@ -28,9 +31,9 @@ index 494afbd..7e887f6 100644
 endforeach()
 add_custom_target(cpptest DEPENDS ${TEST_EXECS})
  +  install(TARGETS ${TEST_EXECS} DESTINATION share/tvm/cpptest)
- endif()
-
- # Custom targets
+ elseif(NOT GTEST_INCLUDE_DIR)
+   add_custom_target(cpptest
+   COMMAND echo "Missing Google Test headers in include path"
  --
-2.7.4
+2.17.1
  diff --git a/recipes-support/tvm/tvm_git.bb 
b/recipes-support/tvm/tvm_git.bb

index 9750726..5bbdd36 100644
--- a/recipes-support/tvm/tvm_git.bb
+++ b/recipes-support/tvm/tvm_git.bb
@@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \

file://3rdparty/HalideIR/LICENSE;md5=9910386e68f0616e1ecf1037479fa97e \
  "
  +RDEPENDS_${PN} = " python3-decorator \
+"
+
  PV = "0.5"
  -BRANCH ?= "v${PV}"
+BRANCH = "master"
    # Main TVM sources plus submodules.
  SRC_URI = 
"git://github.com/dmlc/tvm;protocol=https;branch=${BRANCH};name=tvm \
@@ -21,7 +24,7 @@ SRC_URI = 
"git://github.com/dmlc/tvm;protocol=https;branch=${BRANCH};name=tvm \

 file://0001-CMakeLists-install-unit-tests.patch \
  "
  -SRCREV_tvm = "f08015e7fde92c835907d4c9b7ad6d3f634e94a5"
+SRCREV_tvm = "76c239269935288e51fbce14f135d75ad9742b2a"
  SRCREV_dmlc-core = "d07fb7a443b5db8a89d65a15a024af6a425615a5"
  SRCREV_halideir = "b257a9221ee1e5180d994b3488ddcc259b0ac157"
  SRCREV_dlpack = "5c792cef3aee54ad8b7000111c9dc1797f327b59"

___
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] [meta-processor-sdk][PATCH] python3-decorator: extend to nativesdk

2019-10-10 Thread Jacob Stiffler
* Extend to nativesdk for nativesdk-tvm

Signed-off-by: Jacob Stiffler 
---
* Needed for 
http://arago-project.org/pipermail/meta-arago/2019-October/011996.html

 recipes-devtools/python/python3-decorator_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-devtools/python/python3-decorator_%.bbappend

diff --git a/recipes-devtools/python/python3-decorator_%.bbappend 
b/recipes-devtools/python/python3-decorator_%.bbappend
new file mode 100644
index 000..0d0c76f
--- /dev/null
+++ b/recipes-devtools/python/python3-decorator_%.bbappend
@@ -0,0 +1 @@
+BBCLASSEXTEND = "nativesdk"
-- 
2.7.4

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


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

2019-10-10 Thread Jacob Stiffler

Sorry for the delay. I have pushed this to master.

- Jake


On 10/9/2019 11:12 PM, Denys Dmytriyenko wrote:

On Mon, Oct 07, 2019 at 04:41:14PM +0530, Nikhil Devshatwar wrote:

On 03/10/19 7:04 PM, Nikhil Devshatwar wrote:

On 01/10/19 8:02 PM, Nikhil Devshatwar wrote:

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 

ping

Jacob/Denys,
Please merge this

Jake should be back in the office now, so I'll leave this to him as a primary
maintainer of tisdk-setup-scripts - I'm only secondary/backup for that repo.

Denys



Nikhil D


Nikhil D

---
   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

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


Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] [PATCH] tvm: fix TVM runtime problem

2019-10-10 Thread Jacob Stiffler

This fails for nativesdk-tvm.


ERROR: Nothing RPROVIDES 'nativesdk-python3-decorator' (but 
virtual:nativesdk:/oe/bld/sources/meta-processor-sdk/recipes-support/tvm/tvm_git.bb 
RDEPENDS on or otherwise requires it)



On 10/8/2019 5:26 PM, Jianzhong Xu wrote:

* add run-time depends of Python3 decorator
* use latest code (Mon Oct 7) from master branch
* update patch file accordingly

Signed-off-by: Jianzhong Xu 
---
  .../0001-CMakeLists-install-unit-tests.patch  | 29 ++-
  recipes-support/tvm/tvm_git.bb|  7 +++--
  2 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch 
b/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch
index 6582d70..a79856f 100644
--- a/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch
+++ b/recipes-support/tvm/tvm/0001-CMakeLists-install-unit-tests.patch
@@ -1,26 +1,29 @@
-From 2663c9682e427ce64f5bfa53e1ee389f80133cac Mon Sep 17 00:00:00 2001
-From: Jacob Stiffler 
-Date: Wed, 14 Aug 2019 16:27:51 -0400
-Subject: [PATCH] CMakeLists: install unit tests
+From 5904aa69d8f022678aa19dd4c1b5569d5fc243ee Mon Sep 17 00:00:00 2001
+From: Jianzhong Xu 
+Date: Tue, 8 Oct 2019 16:56:30 -0400
+Subject: [PATCH] [PATCH] CMakeLists: install unit tests
  
  * Install the unittests (cpptest) to /usr/share/tvm/cpptest

  * For simplicity, do not exclude cpptest from the default build.
  
  Upstream-Status: Innappropriate [Configuration]
  
-Signed-off-by: Jacob Stiffler 

+Signed-off-by: Jianzhong Xu 
  ---
   CMakeLists.txt | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)
+ mode change 100644 => 100755 CMakeLists.txt
  
  diff --git a/CMakeLists.txt b/CMakeLists.txt

-index 494afbd..7e887f6 100644
+old mode 100644
+new mode 100755
+index 10730ac7..ea369a6e
  --- a/CMakeLists.txt
  +++ b/CMakeLists.txt
-@@ -233,10 +233,11 @@ if(GTEST_LIB)
+@@ -333,10 +333,11 @@ if(GTEST_INCLUDE_DIR AND GTEST_LIB)
   list(APPEND TEST_EXECS ${__execname})
- target_link_libraries(${__execname}
-   tvm ${GTEST_LIB} pthread)
+ target_include_directories(${__execname} PUBLIC ${GTEST_INCLUDE_DIR})
+ target_link_libraries(${__execname} tvm ${GTEST_LIB} pthread dl)
  -set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_ALL 1)
  -set_target_properties(${__execname} PROPERTIES 
EXCLUDE_FROM_DEFAULT_BUILD 1)
  +#set_target_properties(${__execname} PROPERTIES EXCLUDE_FROM_ALL 1)
@@ -28,9 +31,9 @@ index 494afbd..7e887f6 100644
 endforeach()
 add_custom_target(cpptest DEPENDS ${TEST_EXECS})
  +  install(TARGETS ${TEST_EXECS} DESTINATION share/tvm/cpptest)
- endif()
-
- # Custom targets
+ elseif(NOT GTEST_INCLUDE_DIR)
+   add_custom_target(cpptest
+   COMMAND echo "Missing Google Test headers in include path"
  --
-2.7.4
+2.17.1
  
diff --git a/recipes-support/tvm/tvm_git.bb b/recipes-support/tvm/tvm_git.bb

index 9750726..5bbdd36 100644
--- a/recipes-support/tvm/tvm_git.bb
+++ b/recipes-support/tvm/tvm_git.bb
@@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
  
file://3rdparty/HalideIR/LICENSE;md5=9910386e68f0616e1ecf1037479fa97e \
  "
  
+RDEPENDS_${PN} = " python3-decorator \

+"
+
  PV = "0.5"
  
-BRANCH ?= "v${PV}"

+BRANCH = "master"
  
  # Main TVM sources plus submodules.

  SRC_URI = "git://github.com/dmlc/tvm;protocol=https;branch=${BRANCH};name=tvm 
\
@@ -21,7 +24,7 @@ SRC_URI = 
"git://github.com/dmlc/tvm;protocol=https;branch=${BRANCH};name=tvm \
 file://0001-CMakeLists-install-unit-tests.patch \
  "
  
-SRCREV_tvm = "f08015e7fde92c835907d4c9b7ad6d3f634e94a5"

+SRCREV_tvm = "76c239269935288e51fbce14f135d75ad9742b2a"
  SRCREV_dmlc-core = "d07fb7a443b5db8a89d65a15a024af6a425615a5"
  SRCREV_halideir = "b257a9221ee1e5180d994b3488ddcc259b0ac157"
  SRCREV_dlpack = "5c792cef3aee54ad8b7000111c9dc1797f327b59"

___
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


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


Re: [meta-arago] [EXTERNAL] [thud/master PATCH v1] tisdk-readme: Add separate README for k3 platforms

2019-09-27 Thread Jacob Stiffler



On 9/27/2019 5:44 AM, Nikhil Devshatwar wrote:

For machines with k3 platforms, install the README_k3 as README
It describes all the new files needed for booting k3 devices.

Signed-off-by: Nikhil Devshatwar 
---
  .../recipes-tisdk/tisdk-readme/tisdk-readme.bb |  8 +--
  .../tisdk-readme/tisdk-readme/README_k3| 26 ++
  2 files changed, 32 insertions(+), 2 deletions(-)
  create mode 100644 
meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3



If you add this file to 
"meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/k3/README", 
you will not need the other changes to the recipe.




diff --git a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
index 6fdcaff..18f8c04 100644
--- a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
@@ -4,19 +4,23 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
  
  SRC_URI = "\

  file://README \
+file://README_k3 \
  "
  
-PR = "r0"

+PR = "r1"
  PV = "1.0"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
  S = "${WORKDIR}"
  
+README_FILE = "README"

+README_FILE_k3 = "README_k3"
+
  do_install () {
  install -d ${D}/board-support/prebuilt-images
  
-install -m 0644 ${S}/README ${D}/board-support/prebuilt-images/

+install -m 0644 ${S}/${README_FILE} 
${D}/board-support/prebuilt-images/README
  }
  
  FILES_${PN} += "board-support/*"

diff --git 
a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3
new file mode 100644
index 000..0eb6dd3
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3
@@ -0,0 +1,26 @@
+The files contained in this directory represent the images that were built
+as part of the original SDK build and packaging process.  They are meant
+to serve as a restore and starting point for your development.  In order
+to use these images with an SD card they should be placed in the appropriate
+locations.
+
+By default these locations are:
+
++-+-+
+|File |Location |
++-+-+
+| tiboot3.bin | boot partition  |
+| tispl.bin   | boot partition  |
+| u-boot.img  | boot partition  |
+| sysfw.itb   | boot partition  |
+| uEnv.txt| boot partition  |
++-+-+
+| Image   | /boot directory of the rootfs partition |
+| *.dtb   | /boot directory of the rootfs partition |
+| *.dtbo  | /boot directory of the rootfs partition |
++-+-+
+
+By default the boot loaders are read from the first FAT partition, which is
+usually called the "boot" partition.  Then the bootloader will look for the
+Image and .dtb .dtbo files in the /boot directory of the ext4 partition, which 
is
+usually called the "rootfs" partition.

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


[meta-arago] [master/thud/ti2019.03][PATCH 1/2] arago: whitelist netperf's non-commercial license

2019-09-26 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 meta-arago-distro/conf/distro/arago.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index beacad7..2891ff5 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -193,7 +193,7 @@ ENTERPRISE_DISTRO = "1"
 # disable by default the codecs in libav that causes issues with shipping an
 # Arago based SDK. No need to prevent gst-ffmpeg from being used since we
 # disable troublesome software.
-LICENSE_FLAGS_WHITELIST = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav 
commercial_faad2"
+LICENSE_FLAGS_WHITELIST = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav 
commercial_faad2 non-commercial_netperf"
 
 # Do not package own copy of perl into devkit, rely on host one
 ASSUME_PROVIDED += "nativesdk-perl"
-- 
2.7.4

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


[meta-arago] [master/thud/ti2019.03][PATCH 2/2] packagegroup-arago-base-tisdk: add netperf

2019-09-26 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb| 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
index 83c0f21..ec0027b 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
 LICENSE = "MIT"
-PR = "r21"
+PR = "r22"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -20,6 +20,7 @@ RDEPENDS_${PN} = "\
 iptables \
 iperf \
 iperf3 \
+netperf \
 arago-gpl-notice \
 arago-feed-config \
 nfs-utils-client \
-- 
2.7.4

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


Re: [meta-arago] [PATCH] packagegroup: matrix: remove ethernet submenu

2019-09-25 Thread Jacob Stiffler
I forgot the branches in the subject. Can you apply this to master, 
thud, and ti2019.03?


Let me know if I should resubmit.


Thanks,

Jake

On 9/25/2019 12:36 PM, Jacob Stiffler wrote:

* The ethernet submenu is the only submenu explicitly added to a
   packagegroup.
* submenus are RDEPENDS on the matrix apps, so adding here is
   unnecessary.

Signed-off-by: Jacob Stiffler 
---
  .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
index c2c5975..1b57798 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Task to include Matrix v2"
  LICENSE = "MIT"
-PR = "r80"
+PR = "r81"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
@@ -28,7 +28,6 @@ MATRIX_COMMON_APPS = "  \

  matrix-gui-oprofile-demos   \
  matrix-gui-settings-demos   \
  matrix-gui-usb-demos\
-matrix-gui-submenus-ethernet\
  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 
'matrix-gui-weston-terminal-demo', '', d)} \
  "
  

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


[meta-arago] [PATCH] packagegroup: matrix: remove ethernet submenu

2019-09-25 Thread Jacob Stiffler
* The ethernet submenu is the only submenu explicitly added to a
  packagegroup.
* submenus are RDEPENDS on the matrix apps, so adding here is
  unnecessary.

Signed-off-by: Jacob Stiffler 
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
index c2c5975..1b57798 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r80"
+PR = "r81"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -28,7 +28,6 @@ MATRIX_COMMON_APPS = "  \
 matrix-gui-oprofile-demos   \
 matrix-gui-settings-demos   \
 matrix-gui-usb-demos\
-matrix-gui-submenus-ethernet\
 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 
'matrix-gui-weston-terminal-demo', '', d)} \
 "
 
-- 
2.7.4

___
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-sci-fw: update to 2019.08

2019-09-23 Thread Jacob Stiffler

Ping.

On 9/18/2019 8:32 AM, Jacob Stiffler wrote:
Did the checksums for the hs-enc and hs-cert images change in this 
version?



- Jake

On 9/17/2019 7:57 PM, Denys Dmytriyenko wrote:

Signed-off-by: Denys Dmytriyenko 
---
  .../ti-sci-fw/{ti-sci-fw_2019.07.bb => 
ti-sci-fw_2019.08.bb}  | 4 ++--

  1 file changed, 2 insertions(+), 2 deletions(-)
  rename 
meta-arago-distro/recipes-bsp/ti-sci-fw/{ti-sci-fw_2019.07.bb => 
ti-sci-fw_2019.08.bb} (96%)


diff --git 
a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb 
b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb

similarity index 96%
rename from meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
rename to meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb
index d53e926..fab4de4 100644
--- a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
+++ b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb
@@ -14,9 +14,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  TI_SECURE_DEV_PKG ?= ""
  export TI_SECURE_DEV_PKG
  -SRCREV = "3f7c97c9f923f6fbf1b96dcae1da8620a3bab0b3"
+SRCREV = "c75bca342d5a8579c3a459515adb6b77d640a245"
  BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "38a82e00f84efdf381dba001fff75e8411898e99"
+SRCREV_imggen = "92623d82dc683e74225ceaac239b29deac437adf"
  SRCREV_FORMAT = "imggen"
    SRC_URI = " \

___
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


Re: [meta-arago] [EXTERNAL] [meta-processor-sdk 1/2] tensorflow-lite: upstreamed to meta-arago. remove.

2019-09-20 Thread Jacob Stiffler

Thank you!

On 9/20/2019 10:56 AM, Hongmei Gou wrote:

Signed-off-by: Hongmei Gou 
---
  ...001-Makefile-add-label_image-example.patch |  89 ---
  ...odification-for-tflite-1.12-to-eigen.patch |  13 --
  .../files/tensorflow-lite.pc.in   |   6 -
  .../tensorflow-lite/tensorflow-lite_1.12.bb   | 138 --
  4 files changed, 246 deletions(-)
  delete mode 100644 
recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example.patch
  delete mode 100644 
recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.12-to-eigen.patch
  delete mode 100644 recipes-support/tensorflow-lite/files/tensorflow-lite.pc.in
  delete mode 100644 recipes-support/tensorflow-lite/tensorflow-lite_1.12.bb

diff --git 
a/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example.patch
 
b/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example.patch
deleted file mode 100644
index 61f821e..000
--- 
a/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 87cf7e879640436f19f26e338dce6c343c19bfd8 Mon Sep 17 00:00:00 2001
-From: Hongmei Gou 
-Date: Wed, 21 Aug 2019 18:03:17 -0400
-Subject: [PATCH] Makefile: add label_image example
-
-Upstream-Status: Pending
-
-Signed-off-by: Hongmei Gou 

- tensorflow/contrib/lite/tools/make/Makefile | 21 +++--
- 1 file changed, 19 insertions(+), 2 deletions(-)
-
-diff --git a/tensorflow/contrib/lite/tools/make/Makefile 
b/tensorflow/contrib/lite/tools/make/Makefile
-index 16012a3fb1..a5e5cb3fc7 100644
 a/tensorflow/contrib/lite/tools/make/Makefile
-+++ b/tensorflow/contrib/lite/tools/make/Makefile
-@@ -72,6 +72,11 @@ BENCHMARK_BINARY_NAME := benchmark_model
- MINIMAL_SRCS := \
- tensorflow/contrib/lite/examples/minimal/minimal.cc
-
-+# label image example
-+LABELIMAGE_SRCS := \
-+tensorflow/contrib/lite/examples/label_image/bitmap_helpers.cc \
-+tensorflow/contrib/lite/examples/label_image/label_image.cc
-+
- # What sources we want to compile, must be kept in sync with the main Bazel
- # build files.
-
-@@ -108,7 +113,8 @@ $(wildcard tensorflow/contrib/lite/*/*test.cc) \
- $(wildcard tensorflow/contrib/lite/*/*/*test.cc) \
- $(wildcard tensorflow/contrib/lite/*/*/*/*test.cc) \
- $(wildcard tensorflow/contrib/lite/kernels/test_util.cc) \
--$(MINIMAL_SRCS)
-+$(MINIMAL_SRCS) \
-+$(LABELIMAGE_SRCS)
- ifeq ($(BUILD_TYPE),micro)
- CORE_CC_EXCLUDE_SRCS += \
- tensorflow/contrib/lite/mmap_allocation.cc \
-@@ -135,6 +141,7 @@ include $(wildcard $(MAKEFILE_DIR)/targets/*_makefile.inc)
-
- ALL_SRCS := \
-   $(MINIMAL_SRCS) \
-+  $(LABELIMAGE_SRCS) \
-   $(PROFILER_SRCS) \
-   $(PROFILER_SUMMARY_SRCS) \
-   $(TF_LITE_CC_SRCS) \
-@@ -150,6 +157,7 @@ LIB_PATH := $(LIBDIR)$(LIB_NAME)
- BENCHMARK_LIB := $(LIBDIR)$(BENCHMARK_LIB_NAME)
- BENCHMARK_BINARY := $(BINDIR)$(BENCHMARK_BINARY_NAME)
- MINIMAL_BINARY := $(BINDIR)minimal
-+LABELIMAGE_BINARY := $(BINDIR)label_image
-
- CXX := $(CC_PREFIX)${TARGET_TOOLCHAIN_PREFIX}g++
- CC := $(CC_PREFIX)${TARGET_TOOLCHAIN_PREFIX}gcc
-@@ -158,6 +166,9 @@ AR := $(CC_PREFIX)${TARGET_TOOLCHAIN_PREFIX}ar
- MINIMAL_OBJS := $(addprefix $(OBJDIR), \
- $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(MINIMAL_SRCS
-
-+LABELIMAGE_OBJS := $(addprefix $(OBJDIR), \
-+$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(LABELIMAGE_SRCS
-+
- LIB_OBJS := $(addprefix $(OBJDIR), \
- $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(TF_LITE_CC_SRCS
-
-@@ -174,7 +185,7 @@ $(OBJDIR)%.o: %.c
-   $(CC) $(CCFLAGS) $(INCLUDES) -c $< -o $@
-
- # The target that's compiled if there's no command-line arguments.
--all: $(LIB_PATH)  $(MINIMAL_BINARY) $(BENCHMARK_BINARY)
-+all: $(LIB_PATH)  $(MINIMAL_BINARY) $(LABELIMAGE_BINARY) $(BENCHMARK_BINARY)
-
- # The target that's compiled for micro-controllers
- micro: $(LIB_PATH)
-@@ -198,6 +209,12 @@ $(BENCHMARK_LIB) : $(LIB_PATH) $(BENCHMARK_OBJS)
-   @mkdir -p $(dir $@)
-   $(AR) $(ARFLAGS) $(BENCHMARK_LIB) $(LIB_OBJS) $(BENCHMARK_OBJS)
-
-+$(LABELIMAGE_BINARY): $(LABELIMAGE_OBJS) $(LIB_PATH)
-+  @mkdir -p $(dir $@)
-+  $(CXX) $(CXXFLAGS) $(INCLUDES) \
-+  -o $(LABELIMAGE_BINARY) $(LABELIMAGE_OBJS) \
-+  $(LIBFLAGS) $(LIB_PATH) $(LDFLAGS) $(LIBS)
-+
- benchmark_lib: $(BENCHMARK_LIB)
-
- $(BENCHMARK_BINARY) : $(BENCHMARK_LIB)
---
-2.17.1
-
diff --git 
a/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.12-to-eigen.patch
 
b/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.12-to-eigen.patch
deleted file mode 100644
index 1a8de78..000
--- 
a/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.12-to-eigen.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git 
a/tensorflow/contrib/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h
 
b/tensorflow/contrib/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h
-index 306a309beb..4527a64c91 100644
 

Re: [meta-arago] [EXTERNAL] [PATCH v2 0/3] Add tensorflow-lite

2019-09-20 Thread Jacob Stiffler

Denys,

Please backport these to ti2019.03.


Thank you,

Jake


On 8/22/2019 4:31 PM, Hongmei Gou wrote:

This patch set starts from the baseline recipe at
https://github.com/nnsuite/meta-neural-network/tree/master/recipes-tensorflow/tensorflow-lite,

The major changes are listed below:

1. Made some cleanup for the baseline recipes, such as updating NEON2SSE and 
replacing AUTOREV

2. Installed minimal and benchmark_model binaries which have been built with 
the original Makefile

3. Patched Makefile to add label_image and installed the example binary and 
files
(model/image/labels.txt) needed to run the example

v2 change:
Keep the dependencies in the original single recipe, instead of creating 
separate recipes
for all the dependencies

Hongmei Gou (3):
   tensorflow-lite: add version 1.12
   tensorflow-lite: install minimal and benchmark_model examples, and all
 .a files
   tensorflow-lite: add label_image example and install the files to run
 the example

  ...001-Makefile-add-label_image-example.patch |  89 
  ...odification-for-tflite-1.12-to-eigen.patch |  13 ++
  .../files/tensorflow-lite.pc.in   |   6 +
  .../tensorflow-lite/tensorflow-lite_1.12.bb   | 136 ++
  4 files changed, 244 insertions(+)
  create mode 100644 
meta-arago-extras/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example.patch
  create mode 100644 
meta-arago-extras/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.12-to-eigen.patch
  create mode 100644 
meta-arago-extras/recipes-support/tensorflow-lite/files/tensorflow-lite.pc.in
  create mode 100644 
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.12.bb


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


Re: [meta-arago] [EXTERNAL] [PATCH v2] packagegroup-arago-tisdk-addons*: add tensorflow-lite

2019-09-20 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thank you,

Jake

On 9/9/2019 12:48 PM, Hongmei Gou wrote:

Signed-off-by: Hongmei Gou 
---
v2 change: package tensorflow-lite-examples instead of tensorflow-lite

  .../packagegroup-arago-tisdk-addons-sdk-target.bb  | 10 +-
  .../packagegroups/packagegroup-arago-tisdk-addons.bb   |  6 +-
  2 files changed, 14 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
index 390effba..7ba5143a 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Task to install headers and libraries related to addons into the 
SDK"
  LICENSE = "MIT"
-PR = "r42"
+PR = "r43"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
@@ -159,20 +159,28 @@ EXTRA_PACKAGES = ""

  EXTRA_PACKAGES_append_ti33x = " voxelsdk-dev \
  arm-compute-library-dev \
  ${ARMNN_PACKAGES} \
+tensorflow-lite-dev \
+tensorflow-lite-staticdev \
  pdm-anomaly-detection-dev \
  "
  EXTRA_PACKAGES_append_ti43x = " voxelsdk-dev \
  arm-compute-library-dev \
  ${ARMNN_PACKAGES} \
+tensorflow-lite-dev \
+tensorflow-lite-staticdev \
  pdm-anomaly-detection-dev \
  "
  EXTRA_PACKAGES_append_omap-a15 = " voxelsdk-dev \
  arm-compute-library-dev \
  ${ARMNN_PACKAGES} \
+tensorflow-lite-dev \
+tensorflow-lite-staticdev \
  pdm-anomaly-detection-dev \
  "
  EXTRA_PACKAGES_append_am65xx = " arm-compute-library-dev \
   ${ARMNN_PACKAGES} \
+ tensorflow-lite-dev \
+ tensorflow-lite-staticdev \
   pdm-anomaly-detection-dev \
  "
  
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb

index 3990dad6..52b2a64a 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Task to install additional utilities/demos for SDKs"
  LICENSE = "MIT"
-PR = "r74"
+PR = "r75"
  
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
@@ -153,12 +153,14 @@ ARMNN_PACKAGES = "armnn"

  EXTRA_PACKAGES_append_ti33x = " voxelsdk \
  arm-compute-library \
  ${ARMNN_PACKAGES} \
+tensorflow-lite-examples \
  pdm-anomaly-detection \
  "
  
  EXTRA_PACKAGES_append_ti43x = " voxelsdk \

  arm-compute-library \
  ${ARMNN_PACKAGES} \
+tensorflow-lite-examples \
  pdm-anomaly-detection \
  "
  
@@ -167,11 +169,13 @@ EXTRA_PACKAGES_append_omap-a15 = " voxelsdk \

 big-data-ipc-demo-linux-firmware \
 arm-compute-library \
 ${ARMNN_PACKAGES} \
+   tensorflow-lite-examples \
 pdm-anomaly-detection \
  "
  
  EXTRA_PACKAGES_append_am65xx = " arm-compute-library \

   ${ARMNN_PACKAGES} \
+ tensorflow-lite-examples \
   pdm-anomaly-detection \
  "
  

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


Re: [meta-arago] [EXTERNAL] [master/thud/ti2019.03 1/4] flatbuffers: add version 1.10.0

2019-09-20 Thread Jacob Stiffler

Denys,

Please backport this set to ti2019.03.


Thank you,

Jake

On 9/18/2019 5:52 PM, Hongmei Gou wrote:

* This is back ported from meta-openembedded master/warrior branch
* This version is required for building armnn with TensorFlow Lite parser

Signed-off-by: Hongmei Gou 
---
  .../flatbuffers/flatbuffers_1.10.0.bb | 34 +++
  1 file changed, 34 insertions(+)
  create mode 100644 
meta-arago-extras/recipes-devtools/flatbuffers/flatbuffers_1.10.0.bb

diff --git 
a/meta-arago-extras/recipes-devtools/flatbuffers/flatbuffers_1.10.0.bb 
b/meta-arago-extras/recipes-devtools/flatbuffers/flatbuffers_1.10.0.bb
new file mode 100644
index ..452e1e65
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/flatbuffers/flatbuffers_1.10.0.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Memory Efficient Serialization Library"
+HOMEPAGE = "https://github.com/google/flatbuffers;
+SECTION = "console/tools"
+LICENSE = "Apache-2.0"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a873c5645c184d51e0f9b34e1d7cf559"
+
+SRCREV = "c0698cc33f1e534bb59c455909b88cc2726089af"
+
+SRC_URI = "git://github.com/google/flatbuffers.git"
+
+# Make sure C++11 is used, required for example for GCC 4.9
+CXXFLAGS += "-std=c++11"
+BUILD_CXXFLAGS += "-std=c++11"
+
+# BUILD_TYPE=Release is required, otherwise flatc is not installed
+EXTRA_OECMAKE += "\
+-DCMAKE_BUILD_TYPE=Release \
+-DFLATBUFFERS_BUILD_TESTS=OFF \
+-DFLATBUFFERS_BUILD_SHAREDLIB=ON \
+"
+
+inherit cmake
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"

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


[meta-arago] [master/thud/ti2019.03][PATCH] meta-toolchain-arago-qte: add quotes to vars

2019-09-20 Thread Jacob Stiffler
* Add quotes around values which may contain spaces

Signed-off-by: Jacob Stiffler 
---
 .../recipes-core/meta/meta-toolchain-arago-qte.bb  | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb 
b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
index b03b639..d313939 100644
--- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
+++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb
@@ -5,7 +5,7 @@ TOOLCHAIN_SUFFIX ?= "-qte-sdk"
 
 require meta-toolchain-arago.bb
 
-PR = "r19"
+PR = "r20"
 
 # There could be qt5, qt4e and qt4x11 providers, but we don't support qt4x11 
for now
 QT_DIR_NAME = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', '', 'qtopia', d)}"
@@ -19,10 +19,10 @@ toolchain_create_sdk_env_script_append() {
echo 'export OE_QMAKE_CFLAGS="$CFLAGS"' >> $script
echo 'export OE_QMAKE_CXXFLAGS="$CXXFLAGS"' >> $script
echo 'export OE_QMAKE_LDFLAGS="$LDFLAGS"' >> $script
-   echo 'export OE_QMAKE_CC=$CC' >> $script
-   echo 'export OE_QMAKE_CXX=$CXX' >> $script
-   echo 'export OE_QMAKE_LINK=$CXX' >> $script
-   echo 'export OE_QMAKE_AR=$AR' >> $script
+   echo 'export OE_QMAKE_CC="$CC"' >> $script
+   echo 'export OE_QMAKE_CXX="$CXX"' >> $script
+   echo 'export OE_QMAKE_LINK="$CXX"' >> $script
+   echo 'export OE_QMAKE_AR="$AR"' >> $script
echo 'export OE_QMAKE_PREFIX_QT=${prefix}' >> $script
echo 'export OE_QMAKE_LIBDIR_QT=${libdir}' >> $script
echo 'export OE_QMAKE_INCDIR_QT=${includedir}/${QT_DIR_NAME}' >> $script
-- 
2.7.4

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


Re: [meta-arago] [EXTERNAL] [meta-processor-sdk][PATCHv2 3/5] glow: Address devkit related RPATH issue to point to devkit shared libraries instead of host native

2019-09-18 Thread Jacob Stiffler

I get an error when configuring glow-native.


Log data follows:
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 5.3.1 | -- The CXX compiler 
identification is GNU 5.3.1
| -- Check for working C compiler: 
/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/gcc
| -- Check for working C compiler: 
/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/gcc -- 
broken
| CMake Error at 
/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/x86_64-linux/glow-native/0.1+gitAUTOINC+ba8061367a-r0/recipe-sysroot-native/usr/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 
(message):

|   The C compiler
|
| "/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/gcc"
|
|   is not able to compile a simple test program.
|
|   It fails with the following output:
|
| Change Dir: 
/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/x86_64-linux/glow-native/0.1+gitAUTOINC+ba8061367a-r0/build/CMakeFiles/CMakeTmp

|
| Run Build 
Command:"/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/x86_64-linux/glow-native/0.1+gitAUTOINC+ba8061367a-r0/recipe-sysroot-native/usr/bin/ninja" 
"cmTC_cc2e4"

| [1/2] Building C object CMakeFiles/cmTC_cc2e4.dir/testCCompiler.c.o
| [2/2] Linking C executable cmTC_cc2e4
| FAILED: cmTC_cc2e4
| : && 
/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/gcc 
-isystem/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/x86_64-linux/glow-native/0.1+gitAUTOINC+ba8061367a-r0/recipe-sysroot-native/usr/include 
-O2 -pipe  -Wl,-z,origin -ldl -lz -ltinfo -pthread 
CMakeFiles/cmTC_cc2e4.dir/testCCompiler.c.o  -o cmTC_cc2e4 && :
| /oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/ld: 
cannot find -lz
| /oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/hosttools/ld: 
cannot find -ltinfo

| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
|
|
|
|
|   CMake will not be able to correctly generate this project.
| Call Stack (most recent call first):
|   CMakeLists.txt:5 (project)
|
|
| -- Configuring incomplete, errors occurred!

On 8/23/2019 9:58 AM, Djordje Senicic wrote:

- Pytorch Glow is xNN compiler tool and artifacts are required only in devkit.
   Glow build procedure includes creation of native tools that are used in later
   phases of build process. These tools (include-bin, InstrGen, NodeGen) are 
created
   by native compilation, then used by nativesdk. Image-clasification tool 
created by native
   compilation is used by demo-glow to compile network into armv7 object file 
that is included in
   target filesystem.
- RPATH for image-classification tool (created by glow project) is modified
   to be $ORIGIN based (i.e. relative location)
- Update dependencies

Signed-off-by: Djordje Senicic 
---
  ...p-compilation-of-native-helper-tools.patch | 99 +++
  recipes-devtools/glow/glow_git.bb | 62 +---
  2 files changed, 145 insertions(+), 16 deletions(-)
  create mode 100644 
recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch

diff --git 
a/recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch
 
b/recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch
new file mode 100644
index 000..6fd4a4d
--- /dev/null
+++ 
b/recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch
@@ -0,0 +1,99 @@
+From 923f66a209c329b2d5ab245e1c02f91fa6705d4c Mon Sep 17 00:00:00 2001
+From: Djordje Senicic 
+Date: Thu, 1 Aug 2019 04:58:24 -0400
+Subject: [PATCH] Skip compilation of native helper tools
+
+Upstream-Status: Inappropriate [other]
+
+- Applicable for limited use (demo) of AOT image-classifier example only
+
+Signed-off-by: Djordje Senicic 
+---
+ lib/Backends/CPU/CMakeLists.txt|  2 +-
+ lib/Backends/OpenCL/CMakeLists.txt | 12 ++--
+ lib/Graph/CMakeLists.txt   |  3 +--
+ lib/IR/CMakeLists.txt  |  3 +--
+ 4 files changed, 9 insertions(+), 11 deletions(-)
+
+diff --git a/lib/Backends/CPU/CMakeLists.txt b/lib/Backends/CPU/CMakeLists.txt
+index 1e734539..0d5c5e60 100644
+--- a/lib/Backends/CPU/CMakeLists.txt
 b/lib/Backends/CPU/CMakeLists.txt
+@@ -53,7 +53,7 @@ add_custom_command(
+ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/glow/CPU)
+ add_custom_command(
+ OUTPUT ${CMAKE_BINARY_DIR}/glow/CPU/libjit_bc.inc
+-COMMAND include-bin "${CMAKE_BINARY_DIR}/CPU/libjit.bc" 
"${CMAKE_BINARY_DIR}/glow/CPU/libjit_bc.inc"
++COMMAND ${GLOW_BINARY_DIR}/bin/include-bin "${CMAKE_BINARY_DIR}/CPU/libjit.bc" 
"${CMAKE_BINARY_DIR}/glow/CPU/libjit_bc.inc"
+ DEPENDS ${GLOW_BINARY_DIR}/CPU/libjit.bc
+ WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}")
+
+diff --git a/lib/Backends/OpenCL/CMakeLists.txt 
b/lib/Backends/OpenCL/CMakeLists.txt
+index fd9f965c..e37b4b35 100644
+--- a/lib/Backends/OpenCL/CMakeLists.txt
 

Re: [meta-arago] [EXTERNAL] [PATCH] opencv: Fix morph.cl related compilation error

2019-09-18 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thanks,

Jake

On 9/17/2019 7:26 PM, Djordje Senicic wrote:

- C6x intrinsic _min2(), _max2() cannot be applied to data types such as uchar3

Signed-off-by: Djordje Senicic 
---
  .../0001-morph.cl-fix-compilation-error.patch | 35 +++
  .../recipes-support/opencv/opencv_3.1.bb  |  1 +
  2 files changed, 36 insertions(+)
  create mode 100644 
meta-arago-extras/recipes-support/opencv/opencv/0001-morph.cl-fix-compilation-error.patch

diff --git 
a/meta-arago-extras/recipes-support/opencv/opencv/0001-morph.cl-fix-compilation-error.patch
 
b/meta-arago-extras/recipes-support/opencv/opencv/0001-morph.cl-fix-compilation-error.patch
new file mode 100644
index ..5f279f31
--- /dev/null
+++ 
b/meta-arago-extras/recipes-support/opencv/opencv/0001-morph.cl-fix-compilation-error.patch
@@ -0,0 +1,35 @@
+From c3befabd0420d6665cc61931af5aea00e82977e3 Mon Sep 17 00:00:00 2001
+From: Djordje Senicic 
+Date: Tue, 17 Sep 2019 19:16:00 -0400
+Subject: [PATCH] morph.cl: fix compilation error
+
+Upstream-Status: Inappropriate [other]
+
+- TI C6x intrinsic _min2(), _max2() cannot be applied to data types  such as 
uchar3.
+
+Signed-off-by: Djordje Senicic 
+---
+ modules/imgproc/src/opencl/morph.cl | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules/imgproc/src/opencl/morph.cl 
b/modules/imgproc/src/opencl/morph.cl
+index 8e3ab2fa0..47243ca0c 100644
+--- a/modules/imgproc/src/opencl/morph.cl
 b/modules/imgproc/src/opencl/morph.cl
+@@ -90,11 +90,11 @@
+ #if defined INTEL_DEVICE && defined DEPTH_0
+ #define MORPH_OP(A, B) ((A) < (B) ? (A) : (B))
+ #else
+-#define MORPH_OP(A, B) _min2((A), (B))
++#define MORPH_OP(A, B) min((A), (B))
+ #endif
+ #endif
+ #ifdef OP_DILATE
+-#define MORPH_OP(A, B) _max2((A), (B))
++#define MORPH_OP(A, B) max((A), (B))
+ #endif
+
+ #define PROCESS(y, x) \
+--
+2.17.1
+
diff --git a/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb 
b/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb
index acc9d71e..c9670fc6 100644
--- a/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb
@@ -22,6 +22,7 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
  file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \
  file://fixgcc60.patch \
  file://fixpkgconfig.patch \
+file://0001-morph.cl-fix-compilation-error.patch \
  
file://0001-Fix-sign-macro-redefinition-compile-time-error.patch;patchdir=../contrib
 \
  "
  

___
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-sci-fw: update to 2019.08

2019-09-18 Thread Jacob Stiffler

Did the checksums for the hs-enc and hs-cert images change in this version?


- Jake

On 9/17/2019 7:57 PM, Denys Dmytriyenko wrote:

Signed-off-by: Denys Dmytriyenko 
---
  .../ti-sci-fw/{ti-sci-fw_2019.07.bb => ti-sci-fw_2019.08.bb}  | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-arago-distro/recipes-bsp/ti-sci-fw/{ti-sci-fw_2019.07.bb => 
ti-sci-fw_2019.08.bb} (96%)

diff --git a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb 
b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb
similarity index 96%
rename from meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
rename to meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb
index d53e926..fab4de4 100644
--- a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
+++ b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.08.bb
@@ -14,9 +14,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  TI_SECURE_DEV_PKG ?= ""
  export TI_SECURE_DEV_PKG
  
-SRCREV = "3f7c97c9f923f6fbf1b96dcae1da8620a3bab0b3"

+SRCREV = "c75bca342d5a8579c3a459515adb6b77d640a245"
  BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "38a82e00f84efdf381dba001fff75e8411898e99"
+SRCREV_imggen = "92623d82dc683e74225ceaac239b29deac437adf"
  SRCREV_FORMAT = "imggen"
  
  SRC_URI = " \

___
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.2

2019-09-17 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thanks,

Jake

On 9/16/2019 4:26 PM, Yuan Zhao wrote:

- MobileNet v2 support

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 01725245..edfd208f 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.1"
+PV = "1.3.2"
  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 = "73efef4ab6b4c9c20f6ade372c396043e6d36b40"
+SRCREV = "b83df643de46c2ae198dfdac859e51f6b4acc1ea"
  
  # 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] [PATCH] ocl: update version to 01.01.19.01

2019-09-17 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thanks,

Jake

On 9/16/2019 4:25 PM, Yuan Zhao wrote:

- Runtime support update for TIDL API 01.03.02
- Update OpenCL TIDL firmware to 01.01.19.01

Signed-off-by: Yuan Zhao 
---
  meta-arago-extras/recipes-ti/ocl/ocl.inc   | 4 ++--
  meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/ocl.inc 
b/meta-arago-extras/recipes-ti/ocl/ocl.inc
index f6775299..1bfb47d2 100644
--- a/meta-arago-extras/recipes-ti/ocl/ocl.inc
+++ b/meta-arago-extras/recipes-ti/ocl/ocl.inc
@@ -1,5 +1,5 @@
  # patch version at the end needs to be in double digits
-PV = "1.1.19.00"
+PV = "1.1.19.01"
  INC_PR = "r0"
  
  LIC_FILES_CHKSUM = "file://../debian/copyright;md5=2e3965a73a8a49c23836467266120dff"

@@ -11,7 +11,7 @@ OCL_GIT_PROTOCOL = "git"
  OCL_GIT_BRANCH = "master"
  
  
-OCL_SRCREV = "0f4be82079ba6ec9c7c8ee00f879c9f6f0ad4803"

+OCL_SRCREV = "517b95417982e001cda8948509fcc75e0a5b2f14"
  
  BRANCH = "${OCL_GIT_BRANCH}"

  SRC_URI = "${OCL_GIT_URI};protocol=${OCL_GIT_PROTOCOL};branch=${BRANCH}"
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
index 64dfd0d7..96901c16 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
@@ -3,7 +3,7 @@ SUMMARY = "OpenCL TIDL firmware for AM57xx"
  LICENSE = "TI-TFL"
  LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=082a028431c455252c1e1d3d1021d382"
  
-PV = "01.01.19.00"

+PV = "01.01.19.01"
  PR = "r0"
  
  require recipes-ti/includes/arago-paths.inc

@@ -15,7 +15,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  GIT_URI  = "git://git.ti.com/opencl/opencl-firmware.git"
  GIT_PROTOCOL = "git"
  BRANCH   = "master"
-SRCREV   = "32772d41ae6978b0ec66173d2bfc8c041017bda1"
+SRCREV   = "6124427f1eb33fa2afb5152442f4eca930ffd10a"
  
  SRC_URI  = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}"
  

___
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] tidl-utils: bump SRCREV

2019-09-17 Thread Jacob Stiffler

Denys,

Please backport this to ti2019.03.


Thanks,

Jake

On 9/16/2019 1:25 PM, Jianzhong Xu wrote:

* add support for mobilenetv2

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

diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc 
b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
index 64667e59..1fd3063f 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
@@ -1,4 +1,4 @@
  SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
-SRCREV = "23d158e4f18a3391e0d836bb3bd9a7c7c7ada7ee"
+SRCREV = "c88b229e70db220ddbf394f3e77c3d5930a0e35a"
  PV = "01.01.02.00"
-PR = "r1"
+PR = "r2"

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


[meta-arago] [ti2019.03][PATCH] ti-sci-fw: upgrade to 2019.07a

2019-09-13 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../{ti-sci-fw_2019.07.bb => ti-sci-fw_2019.07a.bb}  | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
 rename meta-arago-distro/recipes-bsp/ti-sci-fw/{ti-sci-fw_2019.07.bb => 
ti-sci-fw_2019.07a.bb} (86%)

diff --git a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb 
b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07a.bb
similarity index 86%
rename from meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
rename to meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07a.bb
index d53e926..60d3fc4 100644
--- a/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07.bb
+++ b/meta-arago-distro/recipes-bsp/ti-sci-fw/ti-sci-fw_2019.07a.bb
@@ -14,9 +14,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 TI_SECURE_DEV_PKG ?= ""
 export TI_SECURE_DEV_PKG
 
-SRCREV = "3f7c97c9f923f6fbf1b96dcae1da8620a3bab0b3"
+SRCREV = "fc39e69ec83bfb1c577bcb05cefca4da1172f878"
 BRANCH ?= "ti-linux-firmware"
-SRCREV_imggen = "38a82e00f84efdf381dba001fff75e8411898e99"
+SRCREV_imggen = "3b4a2007a54db72d8814ecbb2555392863c24935"
 SRCREV_FORMAT = "imggen"
 
 SRC_URI = " \
@@ -30,10 +30,10 @@ SRC_URI_append_am65xx-hs-evm = " \

http://install.source.dir.local/ti-sci-firmware-am65x-hs-enc.bin;name=hs-enc \
 "
 
-SRC_URI[hs-cert.md5sum] = "e36d9d945b4aa20347470c7c53dbc54a"
-SRC_URI[hs-cert.sha256sum] = 
"e32182a3b36e5fc9543ca920dafcc2163384e116c88e3c2625399bc1c2ad2f45"
-SRC_URI[hs-enc.md5sum] = "735128f2ac0dafdd44529f243b60a0c6"
-SRC_URI[hs-enc.sha256sum] = 
"46c2870e133058f68d6b25fd4979a0726b7c6e2a100d48431d47e47db4165c75"
+SRC_URI[hs-cert.md5sum] = "2607900285231ed9e505292d19bd5a22"
+SRC_URI[hs-cert.sha256sum] = 
"eded0fd276bc25061a95424487653862894b44c13f445a6a7c787f3d1cd758e3"
+SRC_URI[hs-enc.md5sum] = "52ed4f83bdf82e9dc62cb9986b933660"
+SRC_URI[hs-enc.sha256sum] = 
"51c474c4173b9cf489a7903ffc2d97b7fd6f6a65272cac24047da5d089424832"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4

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


Re: [meta-arago] [master/thud][PATCH] ti-tisdk-makefile: sysfw-image: extend support

2019-09-13 Thread Jacob Stiffler

Denys,

Please backport to ti2019.03.


Thanks,

Jake

On 9/6/2019 1:32 PM, Jacob Stiffler wrote:

* extend support to am65xx-hs-evm and j7-evm

Signed-off-by: Jacob Stiffler 
---
  .../ti-tisdk-makefile/Makefile_sysfw-image | 28 +-
  .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb |  2 +-
  2 files changed, 28 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
index f7b8787..94ee40d 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
@@ -1,3 +1,29 @@
+# Define the following to support multple platforms
+PLATFORM_TYPE_$(PLATFORM) = gp
+PLATFORM_TYPE_am65xx-hs-evm = hs
+PLATFORM_TYPE = $(PLATFORM_TYPE_$(PLATFORM))
+
+SYSFW_CONFIG = evm
+
+SYSFW_SOC_$(PLATFORM) = NULL
+SYSFW_SOC_am65xx-evm = am65x
+SYSFW_SOC_am65xx-hs-evm = am65x
+SYSFW_SOC_j7-evm = j721e
+SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM))
+
+SYSFW_PREFIX = ti-sci-firmware
+
+SYSFW_BASE = $(SYSFW_PREFIX)-$(SYSFW_SOC)-$(PLATFORM_TYPE)
+
+SYSFW_MAKEARGS_common = SYSFW_DL_URL="" SYSFW_HS_DL_URL="" 
SYSFW_HS_INNER_CERT_DL_URL="" \
+
SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE).bin \
+SOC=$(SYSFW_SOC) CONFIG=$(SYSFW_CONFIG)
+
+SYSFW_MAKEARGS_gp =
+SYSFW_MAKEARGS_hs = HS=1 
SYSFW_HS_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin
 \
+
SYSFW_HS_INNER_CERT_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-cert.bin
+
+SYSFW_MAKEARGS = $(SYSFW_MAKEARGS_common) $(SYSFW_MAKEARGS_$(PLATFORM_TYPE))
  
  # Depend on linux-dtbs for the dtc utility

  sysfw-image: linux-dtbs
@@ -5,7 +31,7 @@ sysfw-image: linux-dtbs
@echoBuilding SYSFW Image
@echo =
@cd board-support; cd `find . -maxdepth 1 -type d -name 
"*system-firmware-image*"`; \
-   make SYSFW_DL_URL="" 
SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/ti-sci-firmware-am65x-gp.bin 
CROSS_COMPILE=$(CROSS_COMPILE_ARMV7) PATH=$(PATH):$(LINUXKERNEL_INSTALL_DIR)/scripts/dtc
+   make $(SYSFW_MAKEARGS) CROSS_COMPILE=$(CROSS_COMPILE_ARMV7) 
PATH=$(PATH):$(LINUXKERNEL_INSTALL_DIR)/scripts/dtc
  
  sysfw-image_clean:

@echo =
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 99f6523..417b28b 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
@@ -55,7 +55,7 @@ SRC_URI = "\
  file://Makefile_jailhouse \
  "
  
-PR = "r100"

+PR = "r101"
  
  MAKEFILES_MATRIX_GUI = "matrix-gui-browser \

  refresh-screen \

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


Re: [meta-arago] [EXTERNAL] [master][PATCH 25/32] opencv: require "dsp" machine feature

2019-09-12 Thread Jacob Stiffler

Is this necessary?

In the 3.1 bbappend we configure with opencl only if dsp is in the 
MACHINE_FEATURES. That way we can still use opencv even if the dsp is 
not a MACHINE_FEATURE.


On 9/12/2019 11:38 AM, Denys Dmytriyenko wrote:

Signed-off-by: Denys Dmytriyenko 
---
  meta-arago-distro/recipes-support/opencv/opencv_%.bbappend | 3 +++
  1 file changed, 3 insertions(+)
  create mode 100644 meta-arago-distro/recipes-support/opencv/opencv_%.bbappend

diff --git a/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend 
b/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend
new file mode 100644
index 000..bc885a4
--- /dev/null
+++ b/meta-arago-distro/recipes-support/opencv/opencv_%.bbappend
@@ -0,0 +1,3 @@
+inherit machine_features_check
+
+REQUIRED_MACHINE_FEATURES = "dsp"

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


Re: [meta-arago] [EXTERNAL] [PATCH v2] ocl: update version to 01.01.19.00

2019-09-09 Thread Jacob Stiffler

Denys,

 Can you backport this to ti2019.03?


Thanks,

 Jake

On 9/9/2019 11:21 AM, Yuan Zhao wrote:

- Selected OpenCL 1.2 features
- Runtime support update for TIDL API 01.03.01
- Update OpenCL TIDL firmware to 01.01.19.00

Signed-off-by: Yuan Zhao 
---
  .../ocl-rtos/opencl-examples-rtos_git.bb   |  2 +-
  .../recipes-ti/ocl-rtos/opencl-rtos_git.bb |  2 +
  .../ocl/files/0001-OpenCL_K2x_compile.patch| 12 
  .../ocl/files/0002-OpenCL_l2_cache_size.patch  | 49 
  ...g-8.3.0-OpenCL-example-undefined-behavior.patch | 68 --
  meta-arago-extras/recipes-ti/ocl/ocl.inc   |  5 +-
  .../recipes-ti/ocl/opencl-examples_git.bb  |  4 +-
  .../recipes-ti/ocl/opencl-monitor_git.bb   |  4 +-
  .../recipes-ti/ocl/opencl-tidl-fw_git.bb   |  4 +-
  meta-arago-extras/recipes-ti/ocl/opencl_git.bb |  6 +-
  10 files changed, 13 insertions(+), 143 deletions(-)
  delete mode 100644 
meta-arago-extras/recipes-ti/ocl/files/0001-OpenCL_K2x_compile.patch
  delete mode 100644 
meta-arago-extras/recipes-ti/ocl/files/0002-OpenCL_l2_cache_size.patch
  delete mode 100644 
meta-arago-extras/recipes-ti/ocl/files/0003-Fix-g-8.3.0-OpenCL-example-undefined-behavior.patch

diff --git a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb 
b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb
index 42bc0a9b..15ac0af7 100644
--- a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD"
  require recipes-ti/ocl/ocl.inc
  require recipes-ti/includes/arago-paths.inc
  
-PR = "${INC_PR}.1"

+PR = "${INC_PR}.0"
  
  COMPATIBLE_MACHINE = "omap-a15"

  PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-rtos_git.bb 
b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-rtos_git.bb
index 0c9aca7e..fd7e53c5 100644
--- a/meta-arago-extras/recipes-ti/ocl-rtos/opencl-rtos_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl-rtos/opencl-rtos_git.bb
@@ -38,6 +38,7 @@ export WANT_LLVM_RELEASE = "3.6-ti"
  OCL_BUILD_TARGET_omap-a15   = "ARM_AM57"
  
  ENABLE_ULM = "0"

+SHMEM_MANAGER = "CMEM"
  
  RELEASE_TARGET = ""

  RELEASE_TARGET_omap-a15 = "am57xx"
@@ -63,6 +64,7 @@ do_configure() {
  -DBUILD_TARGET=${OCL_BUILD_TARGET} \
  -DBUILD_OUTPUT=lib \
  -DENABLE_ULM=${ENABLE_ULM} \
+-DSHMEM_MANAGER=${SHMEM_MANAGER} \
  -DBUILD_OS=SYS_BIOS \
  -DIPC_INSTALL_PATH=${IPC_INSTALL_DIR}/packages \
  -DXDC_INSTALL_PATH=${XDC_INSTALL_DIR}/packages \
diff --git 
a/meta-arago-extras/recipes-ti/ocl/files/0001-OpenCL_K2x_compile.patch 
b/meta-arago-extras/recipes-ti/ocl/files/0001-OpenCL_K2x_compile.patch
deleted file mode 100644
index 0098d321..
--- a/meta-arago-extras/recipes-ti/ocl/files/0001-OpenCL_K2x_compile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/host/src/core/dsp/tal/devmem_map_policy_mpm.cpp 
b/host/src/core/dsp/tal/devmem_map_policy_mpm.cpp
-index e5da9cc..182e5e3 100644
 a/host/src/core/dsp/tal/devmem_map_policy_mpm.cpp
-+++ b/host/src/core/dsp/tal/devmem_map_policy_mpm.cpp
-@@ -91,6 +91,7 @@ void* DevMemMapPolicyMPM::Map (DSPDevicePtr64 dsp_addr,  
uint32_t size) const
- else
- ReportError(ErrorType::Fatal,
- ErrorKind::TranslateAddressOutsideMappedAddressRange);
-+return 0;
- }
-
- void DevMemMapPolicyMPM::Unmap(void* host_addr, uint32_t size) const
diff --git 
a/meta-arago-extras/recipes-ti/ocl/files/0002-OpenCL_l2_cache_size.patch 
b/meta-arago-extras/recipes-ti/ocl/files/0002-OpenCL_l2_cache_size.patch
deleted file mode 100644
index 7a81a137..
--- a/meta-arago-extras/recipes-ti/ocl/files/0002-OpenCL_l2_cache_size.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/monitor/src/builtins.c b/monitor/src/builtins.c
-index fbf3bf3..4edf61c 100644
 a/monitor/src/builtins.c
-+++ b/monitor/src/builtins.c
-@@ -159,7 +159,7 @@ EXPORT int __cache_l2_none()
- EXPORT int __cache_l2_32k()
- {
- int32_t scratch_delta = __cache_l2_size() - (32 << 10);
--uint32_t scratch_size  = kernel_config_l2.L2_scratch_size;
-+int32_t scratch_size  = kernel_config_l2.L2_scratch_size;
- if (-scratch_delta > scratch_size) return 0;
- kernel_config_l2.L2_scratch_size += scratch_delta;
-
-@@ -173,7 +173,7 @@ EXPORT int __cache_l2_32k()
- EXPORT int __cache_l2_64k()
- {
- int32_t scratch_delta = __cache_l2_size() - (64 << 10);
--uint32_t scratch_size  = kernel_config_l2.L2_scratch_size;
-+int32_t scratch_size  = kernel_config_l2.L2_scratch_size;
- if (-scratch_delta > scratch_size) return 0;
- kernel_config_l2.L2_scratch_size += scratch_delta;
-
-@@ -187,7 +187,7 @@ EXPORT int __cache_l2_64k()
- EXPORT int __cache_l2_128k()
- {
- int32_t scratch_delta = __cache_l2_size() - (128 << 10);
--uint32_t scratch_size  = kernel_config_l2.L2_scratch_size;
-+

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

2019-09-09 Thread Jacob Stiffler

Denys,

 Can you backport this to ti2019.03?


Thanks,

 Jake

On 9/6/2019 6:16 PM, Yuan Zhao wrote:

- Bug fixes

Signed-off-by: Yuan Zhao 
---
  .../files/0001-tidl-api_l2_cache_size.patch| 41 ---
  .../0002-tidl-api_gcc_8.3.0_compilation.patch  | 59 --
  meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc |  8 ++-
  3 files changed, 3 insertions(+), 105 deletions(-)
  delete mode 100644 
meta-arago-extras/recipes-ti/tidl-api/files/0001-tidl-api_l2_cache_size.patch
  delete mode 100644 
meta-arago-extras/recipes-ti/tidl-api/files/0002-tidl-api_gcc_8.3.0_compilation.patch

diff --git 
a/meta-arago-extras/recipes-ti/tidl-api/files/0001-tidl-api_l2_cache_size.patch 
b/meta-arago-extras/recipes-ti/tidl-api/files/0001-tidl-api_l2_cache_size.patch
deleted file mode 100644
index 84e12a18..
--- 
a/meta-arago-extras/recipes-ti/tidl-api/files/0001-tidl-api_l2_cache_size.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/tidl_api/dsp/ocl_wrapper.cl b/tidl_api/dsp/ocl_wrapper.cl
-index e75ed1d..cb56302 100644
 a/tidl_api/dsp/ocl_wrapper.cl
-+++ b/tidl_api/dsp/ocl_wrapper.cl
-@@ -46,6 +46,7 @@ void ocl_tidl_initialize(global unsigned char*
createParams,
- {
- // Set L1 cache to 16KB. TIDL requires 16KB of L1 scratch
- __cache_l1d_16k();
-+__cache_l2_64k();
-
- ocl_dsp_tidl_initialize(createParams, netParamsBuffer,
- externalMemoryHeapBase, initializeParams,
-@@ -66,5 +67,6 @@ void ocl_tidl_process(global OCL_TIDL_ProcessParams* 
processParams,
- kernel void ocl_tidl_cleanup()
- {
- ocl_dsp_tidl_cleanup();
-+__cache_l2_128k();
- __cache_l1d_all();
- }
-diff --git a/tidl_api/src/ocl_device.cpp b/tidl_api/src/ocl_device.cpp
-index ab0bf26..d9351cd 100644
 a/tidl_api/src/ocl_device.cpp
-+++ b/tidl_api/src/ocl_device.cpp
-@@ -511,7 +511,7 @@ static bool CheckOpenCLVersion(cl_platform_id id)
- err = clGetPlatformInfo(id, CL_PLATFORM_VERSION, 0, nullptr, );
- if (err != CL_SUCCESS) return false;
-
--std::unique_ptr version(new char[length]);
-+std::unique_ptr version(new char[length]);
- err = clGetPlatformInfo(id, CL_PLATFORM_VERSION, length, version.get(),
- nullptr);
- if (err != CL_SUCCESS) return false;
-@@ -543,7 +543,7 @@ static bool PlatformIsAM57()
- err = clGetPlatformInfo(id, CL_PLATFORM_NAME, 0, nullptr, );
- if (err != CL_SUCCESS) return false;
-
--std::unique_ptr name(new char[length]);
-+std::unique_ptr name(new char[length]);
-
- err = clGetPlatformInfo(id, CL_PLATFORM_NAME, length, name.get(), 
nullptr);
- if (err != CL_SUCCESS) return false;
diff --git 
a/meta-arago-extras/recipes-ti/tidl-api/files/0002-tidl-api_gcc_8.3.0_compilation.patch
 
b/meta-arago-extras/recipes-ti/tidl-api/files/0002-tidl-api_gcc_8.3.0_compilation.patch
deleted file mode 100644
index 36e8ab88..
--- 
a/meta-arago-extras/recipes-ti/tidl-api/files/0002-tidl-api_gcc_8.3.0_compilation.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From aa7101256aefcea11d326740c111bf37a48b191e Mon Sep 17 00:00:00 2001
-From: Yuan Zhao 
-Date: Thu, 20 Jun 2019 12:01:24 -0500
-Subject: [PATCH] Fix g++ 8.3.0 compilation error
-
-- Fix a syntax allowed in g++ 7.2.1 but not in 8.3.0
-- Make should report error from loop
-
-Upstream-Status: Submitted [Remove this patch when next release is out]
-
-Signed-off-by: Yuan Zhao 

- examples/Makefile| 2 +-
- examples/classification/main.cpp | 2 +-
- examples/imagenet/main.cpp   | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/examples/Makefile b/examples/Makefile
-index 52b3ff6..9217380 100644
 a/examples/Makefile
-+++ b/examples/Makefile
-@@ -34,7 +34,7 @@ RUN_DIRS := $(filter-out classification, $(DIRS))
- define make_in_dirs
-   @for dir in $(1); do \
- echo "=== " $$dir " =" ; \
--$(MAKE) --no-print-directory $(MAKEFILE) -C $$dir $(2); \
-+$(MAKE) --no-print-directory $(MAKEFILE) -C $$dir $(2) || exit 1; \
-   done
- endef
-
-diff --git a/examples/classification/main.cpp 
b/examples/classification/main.cpp
-index 020004b..25361f8 100644
 a/examples/classification/main.cpp
-+++ b/examples/classification/main.cpp
-@@ -699,7 +699,7 @@ int tf_postprocess(uchar *in, int size, int roi_idx, int 
frame_idx, int f_id)
-   int rpt_id = -1;
-
-   typedef std::pair val_index;
--  auto constexpr cmp = [](val_index , val_index ) { return left.first 
> right.first; };
-+  auto cmp = [](val_index , val_index ) { return left.first > 
right.first; };
-   std::priority_queue, decltype(cmp)> 
queue(cmp);
-   // initialize priority queue with smallest value on top
-   for (int i = 0; i < k; i++) {
-diff --git a/examples/imagenet/main.cpp b/examples/imagenet/main.cpp
-index 937f467..dc1035b 100644
 a/examples/imagenet/main.cpp
-+++ b/examples/imagenet/main.cpp
-@@ -309,7 +309,7 @@ bool WriteFrameOutput(const 

Re: [meta-arago] [EXTERNAL] [meta-processor-sdk] packagegroup-arago-tisdk-addons: package tensorflow-lite-examples

2019-09-09 Thread Jacob Stiffler

Upstream?

On 9/9/2019 10:05 AM, Hongmei Gou wrote:

Signed-off-by: Hongmei Gou 
---
  .../packagegroup-arago-tisdk-addons.bbappend   | 10 +-
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend 
b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
index c7f654d..c02f092 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
@@ -1,9 +1,9 @@
-PR_append = "-tisdk56"
+PR_append = "-tisdk57"
  
-EXTRA_PACKAGES_append_ti33x = " opencv tensorflow-lite"

-EXTRA_PACKAGES_append_ti43x = " opencv tensorflow-lite"
-EXTRA_PACKAGES_append_omap-a15 = " opencv tensorflow-lite"
-EXTRA_PACKAGES_append_am65xx = " tensorflow-lite"
+EXTRA_PACKAGES_append_ti33x = " opencv tensorflow-lite-examples"
+EXTRA_PACKAGES_append_ti43x = " opencv tensorflow-lite-examples"
+EXTRA_PACKAGES_append_omap-a15 = " opencv tensorflow-lite-examples"
+EXTRA_PACKAGES_append_am65xx = " tensorflow-lite-examples"
  EXTRA_PACKAGES_append_keystone = " opencv"
  EXTRA_PACKAGES_remove_k2hk-hs-evm = "opencv"
  

___
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 v2] rng-tools: remove duplicate initscript and wait for module load

2019-09-09 Thread Jacob Stiffler

Denys,

Can you backport this to ti2019.03?


Thanks,

Jake

On 9/4/2019 1:25 PM, Denys Dmytriyenko wrote:

Since Arago still has a mix of SysVinit iniscripts and systemd unit files, it
enables both of the DISTRO_FEATURES, resulting in some duplication. It appears
that rngd currently has a problem handling signals when forked in daemon mode.
Hence, drop SysVinit initscript in favor of systemd service, as the latter one
starts rngd in foreground. Also, add udev dependency rule on omap_rng module.

Signed-off-by: Denys Dmytriyenko 
---
v2 - since dropping initscript, disable corresponding update-rc.d processing

  .../recipes-support/rng-tools/rng-tools/rngd.rules|  1 +
  .../recipes-support/rng-tools/rng-tools_%.bbappend| 15 +++
  2 files changed, 16 insertions(+)
  create mode 100644 
meta-arago-distro/recipes-support/rng-tools/rng-tools/rngd.rules
  create mode 100644 
meta-arago-distro/recipes-support/rng-tools/rng-tools_%.bbappend

diff --git a/meta-arago-distro/recipes-support/rng-tools/rng-tools/rngd.rules 
b/meta-arago-distro/recipes-support/rng-tools/rng-tools/rngd.rules
new file mode 100644
index 000..a21c99b
--- /dev/null
+++ b/meta-arago-distro/recipes-support/rng-tools/rng-tools/rngd.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="module", KERNEL=="omap_rng", TAG+="systemd", 
ENV{SYSTEMD_WANTS}+="rngd.service"
diff --git a/meta-arago-distro/recipes-support/rng-tools/rng-tools_%.bbappend 
b/meta-arago-distro/recipes-support/rng-tools/rng-tools_%.bbappend
new file mode 100644
index 000..2a7810f
--- /dev/null
+++ b/meta-arago-distro/recipes-support/rng-tools/rng-tools_%.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR_append = ".arago0"
+
+SRC_URI += "file://rngd.rules"
+
+do_install_append() {
+   # remove duplicate initscript
+   rm -f ${D}${sysconfdir}/init.d/rng-tools
+
+   install -d ${D}${sysconfdir}/udev/rules.d/
+   install -m0644 ${WORKDIR}/rngd.rules ${D}${sysconfdir}/udev/rules.d/
+}
+
+INHIBIT_UPDATERCD_BBCLASS = "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 2/2] armnn: Upgrade to latest release 19.08

2019-09-09 Thread Jacob Stiffler

Denys,

Can you backport this to ti2019.03?


Thanks,

Jake

On 9/3/2019 11:52 AM, Djordje Senicic wrote:

- Upgrade to latest release and modify example for new API (19.08 change)
- Realign patches (no change only context lines) for the new release

Signed-off-by: Djordje Senicic 
---
  ...2-enable-use-of-boost-shared-library.patch | 36 ---
  .../0004-generate-versioned-library.patch | 23 ++--
  ...mples-update-for-19.08-modifications.patch | 28 +++
  .../recipes-support/armnn/armnn_git.bb| 10 +++---
  4 files changed, 60 insertions(+), 37 deletions(-)
  create mode 100644 
meta-arago-extras/recipes-support/armnn/armnn/0010-armnnexamples-update-for-19.08-modifications.patch

diff --git 
a/meta-arago-extras/recipes-support/armnn/armnn/0002-enable-use-of-boost-shared-library.patch
 
b/meta-arago-extras/recipes-support/armnn/armnn/0002-enable-use-of-boost-shared-library.patch
index 50c2e1da..a436ffda 100644
--- 
a/meta-arago-extras/recipes-support/armnn/armnn/0002-enable-use-of-boost-shared-library.patch
+++ 
b/meta-arago-extras/recipes-support/armnn/armnn/0002-enable-use-of-boost-shared-library.patch
@@ -1,37 +1,31 @@
-From 34a7ec821b11f7bed3dd644bf341cbaf6023516b Mon Sep 17 00:00:00 2001
-From: Qin Su 
-Date: Tue, 11 Sep 2018 17:11:07 -0400
-Subject: [PATCH] enable use of boost shared library
+From b46177bb1a59df0130aba88555ec4f81024669a8 Mon Sep 17 00:00:00 2001
+From: Djordje Senicic 
+Date: Tue, 27 Aug 2019 09:40:54 -0400
+Subject: [PATCH] fix boost lib dependency
  
  Upstream-Status: Inappropriate [configuration]

-This is a hack to modify hard coded configuration. If anything, it
-should be made configurable.
+This is a hack to modify hard coded configuration. If anything, it should be 
made configurable.
  
-Signed-off-by: Qin Su 

+Signed-off-by: Djordje Senicic 
  ---
- cmake/GlobalConfig.cmake | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
- mode change 100644 => 100755 cmake/GlobalConfig.cmake
+ cmake/GlobalConfig.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
  
  diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake

-old mode 100644
-new mode 100755
-index 2dbeada..a5a1113
+index f518f809..d94c4e50 100755
  --- a/cmake/GlobalConfig.cmake
  +++ b/cmake/GlobalConfig.cmake
-@@ -96,8 +96,10 @@ endif()
+@@ -135,8 +135,8 @@ endif()
   set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules 
${CMAKE_MODULE_PATH})
-
+
   # Boost
  -add_definitions("-DBOOST_ALL_NO_LIB") # Turn off auto-linking as we specify 
the libs manually
  -set(Boost_USE_STATIC_LIBS ON)
-+#add_definitions("-DBOOST_ALL_NO_LIB") # Turn off auto-linking as we specify 
the libs manually
-+#set(Boost_USE_STATIC_LIBS ON)
  +add_definitions(-DBOOST_ALL_DYN_LINK) # use shared library
  +set(Boost_USE_STATIC_LIBS OFF)
   find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework system 
filesystem log program_options)
- include_directories(SYSTEM "${Boost_INCLUDE_DIR}")
- link_directories(${Boost_LIBRARY_DIR})
---
-1.9.1
+ include_directories(SYSTEM "${Boost_INCLUDE_DIRS}")
+ link_directories(${Boost_LIBRARY_DIRS})
+--
+2.17.1
  
diff --git a/meta-arago-extras/recipes-support/armnn/armnn/0004-generate-versioned-library.patch b/meta-arago-extras/recipes-support/armnn/armnn/0004-generate-versioned-library.patch

index 06756130..a3c3e21a 100644
--- 
a/meta-arago-extras/recipes-support/armnn/armnn/0004-generate-versioned-library.patch
+++ 
b/meta-arago-extras/recipes-support/armnn/armnn/0004-generate-versioned-library.patch
@@ -1,19 +1,20 @@
-From ad22150032bda1b1a8d0f0cb4b0b020f80724313 Mon Sep 17 00:00:00 2001
+From 94bec1c47b8da6350c598827950ef4852e998bd9 Mon Sep 17 00:00:00 2001
  From: Djordje Senicic 
-Date: Mon, 24 Jun 2019 15:10:04 -0400
-Subject: [PATCH] generate versioned library
+Date: Mon, 2 Sep 2019 10:16:21 -0400
+Subject: [PATCH] Generate versioned library
  
  Upstream-Status: Inappropriate [configuration]

+
  Signed-off-by: Djordje Senicic 
  ---
   CMakeLists.txt | 4 
   1 file changed, 4 insertions(+)
  
  diff --git a/CMakeLists.txt b/CMakeLists.txt

-index b6c97761..5c7b13a7 100644
+index 8bdcd8df..38d1390f 100644
  --- a/CMakeLists.txt
  +++ b/CMakeLists.txt
-@@ -88,6 +88,7 @@ if(BUILD_CAFFE_PARSER)
+@@ -95,6 +95,7 @@ if(BUILD_CAFFE_PARSER)
   
   target_link_libraries(armnnCaffeParser armnn)

   target_link_libraries(armnnCaffeParser ${PROTOBUF_LIBRARIES})
@@ -21,7 +22,7 @@ index b6c97761..5c7b13a7 100644
   
   endif()
   
-@@ -112,6 +113,7 @@ if(BUILD_ONNX_PARSER)

+@@ -119,6 +120,7 @@ if(BUILD_ONNX_PARSER)
   
   # Protobuf

   target_link_libraries(armnnOnnxParser ${PROTOBUF_LIBRARIES})
@@ -29,18 +30,18 @@ index b6c97761..5c7b13a7 100644
   endif()
   
   if(BUILD_TF_PARSER)

-@@ -135,6 +137,7 @@ if(BUILD_TF_PARSER)
+@@ -142,6 +144,7 @@ if(BUILD_TF_PARSER)
   
   # Protobuf (use the specific version tensorflow wants)

   target_link_libraries(armnnTfParser ${PROTOBUF_LIBRARIES})
  +  

Re: [meta-arago] [EXTERNAL] [thud/master] [PATCH] tidl-utils: bump SRCREV

2019-09-09 Thread Jacob Stiffler

Denys,

Can you backport this to ti2019.03?


Thanks,

Jake

On 9/4/2019 10:46 AM, Jianzhong Xu wrote:

* bug fixes and config files update in tidl import tool

Signed-off-by: Jianzhong Xu 
---
  meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc | 6 ++
  1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc 
b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
index 6fdeec48..64667e59 100644
--- a/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
+++ b/meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
@@ -1,6 +1,4 @@
  SRC_URI = "git://git.ti.com/tidl/tidl-utils.git;protocol=git;branch=master"
-SRCREV = "b2466e02f99d85d8afcbc93edc612da5cc9345de"
-
+SRCREV = "23d158e4f18a3391e0d836bb3bd9a7c7c7ada7ee"
  PV = "01.01.02.00"
-PR = "r0"
-
+PR = "r1"

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


Re: [meta-arago] [EXTERNAL] [PATCH 1/2] arm-compute-library: Upgrade to 19.08 release

2019-09-09 Thread Jacob Stiffler

Denys,

Can you backport this to ti2019.03?


Thanks,

Jake

On 9/3/2019 11:52 AM, Djordje Senicic wrote:

- Upgrade to the latest release
- Remove custom modifications, as profiling is done using armnn

Signed-off-by: Djordje Senicic 
---
  .../0001-add-ti-benchmark-test-group.patch| 61 
  .../0002-add-ti-benchmark-test-group.patch| 71 ---
  .../0003-add-ti-benchmark-test-group.patch| 39 --
  .../0004-add-ti-benchmark-test-group.patch| 49 -
  .../0005-add-ti-benchmark-test-group.patch| 46 
  .../0006-add-ti-benchmark-test-group.patch| 44 
  .../0007-add-ti-benchmark-test-group.patch| 44 
  .../0008-add-ti-benchmark-test-group.patch| 31 
  .../0009-add-ti-benchmark-test-group.patch| 44 
  .../0010-add-ti-benchmark-test-group.patch| 50 -
  .../0011-add-ti-benchmark-test-group.patch| 37 --
  .../arm-compute-library_git.bb| 19 ++---
  12 files changed, 4 insertions(+), 531 deletions(-)
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0002-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0003-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0004-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0005-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0006-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0007-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0008-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0009-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0010-add-ti-benchmark-test-group.patch
  delete mode 100644 
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0011-add-ti-benchmark-test-group.patch

diff --git 
a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch
 
b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch
deleted file mode 100644
index f00561ef..
--- 
a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library/0001-add-ti-benchmark-test-group.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 497a8abf760dbd9be715dfe6abf81c670fc85912 Mon Sep 17 00:00:00 2001
-From: Qin Su 
-Date: Tue, 27 Nov 2018 17:16:33 -0500
-Subject: [PATCH 01/11] add TI benchmark test group
-
-Upstream-Status: Inappropriate [TI only test code]
-
-Signed-off-by: Qin Su 

- .../squeezenet/SqueezeNetActivationLayerDataset.h  | 35 ++
- 1 file changed, 35 insertions(+)
-
-diff --git 
a/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h 
b/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h
-index 7f4bf4d..a66f473 100644
 a/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h
-+++ b/tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h
-@@ -71,6 +71,41 @@ public:
- SqueezeNetActivationLayerDataset(SqueezeNetActivationLayerDataset &&) = 
default;
- ~SqueezeNetActivationLayerDataset()   = 
default;
- };
-+class TISqueezeNetActivationLayerDataset final : public
-+
framework::dataset::CartesianProductDataset,
 framework::dataset::SingletonDataset>
-+{
-+public:
-+TISqueezeNetActivationLayerDataset()
-+: CartesianProductDataset
-+{
-+framework::dataset::make("Shape", { // relu_conv1
-+TensorShape(114U, 114U, 64U),
-+// fire2/relu_squeeze1x1, fire3/relu_squeeze1x1
-+TensorShape(57U, 57U, 16U),
-+// fire2/relu_expand1x1, fire2/relu_expand3x3, 
fire3/relu_expand1x1, fire3/relu_expand3x3
-+TensorShape(57U, 57U, 64U),
-+// fire4/relu_squeeze1x1, fire5/relu_squeeze1x1
-+TensorShape(28U, 28U, 32U),
-+// fire4/relu_expand1x1, fire4/relu_expand3x3, 
fire5/relu_expand1x1, fire5/relu_expand3x3
-+TensorShape(28U, 28U, 128U),
-+// fire6/relu_squeeze1x1, fire7/relu_squeeze1x1
-+TensorShape(14U, 14U, 48U),
-+// fire6/relu_expand1x1, fire6/relu_expand3x3, 

[meta-arago] [master/thud][PATCH] ti-tisdk-makefile: sysfw-image: extend support

2019-09-06 Thread Jacob Stiffler
* extend support to am65xx-hs-evm and j7-evm

Signed-off-by: Jacob Stiffler 
---
 .../ti-tisdk-makefile/Makefile_sysfw-image | 28 +-
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb |  2 +-
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
index f7b8787..94ee40d 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image
@@ -1,3 +1,29 @@
+# Define the following to support multple platforms
+PLATFORM_TYPE_$(PLATFORM) = gp
+PLATFORM_TYPE_am65xx-hs-evm = hs
+PLATFORM_TYPE = $(PLATFORM_TYPE_$(PLATFORM))
+
+SYSFW_CONFIG = evm
+
+SYSFW_SOC_$(PLATFORM) = NULL
+SYSFW_SOC_am65xx-evm = am65x
+SYSFW_SOC_am65xx-hs-evm = am65x
+SYSFW_SOC_j7-evm = j721e
+SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM))
+
+SYSFW_PREFIX = ti-sci-firmware
+
+SYSFW_BASE = $(SYSFW_PREFIX)-$(SYSFW_SOC)-$(PLATFORM_TYPE)
+
+SYSFW_MAKEARGS_common = SYSFW_DL_URL="" SYSFW_HS_DL_URL="" 
SYSFW_HS_INNER_CERT_DL_URL="" \
+
SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE).bin \
+SOC=$(SYSFW_SOC) CONFIG=$(SYSFW_CONFIG)
+
+SYSFW_MAKEARGS_gp = 
+SYSFW_MAKEARGS_hs = HS=1 
SYSFW_HS_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-enc.bin
 \
+
SYSFW_HS_INNER_CERT_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/$(SYSFW_BASE)-cert.bin
+
+SYSFW_MAKEARGS = $(SYSFW_MAKEARGS_common) $(SYSFW_MAKEARGS_$(PLATFORM_TYPE))
 
 # Depend on linux-dtbs for the dtc utility
 sysfw-image: linux-dtbs
@@ -5,7 +31,7 @@ sysfw-image: linux-dtbs
@echoBuilding SYSFW Image
@echo =
@cd board-support; cd `find . -maxdepth 1 -type d -name 
"*system-firmware-image*"`; \
-   make SYSFW_DL_URL="" 
SYSFW_PATH=$(TI_SDK_PATH)/board-support/prebuilt-images/ti-sci-firmware-am65x-gp.bin
 CROSS_COMPILE=$(CROSS_COMPILE_ARMV7) 
PATH=$(PATH):$(LINUXKERNEL_INSTALL_DIR)/scripts/dtc
+   make $(SYSFW_MAKEARGS) CROSS_COMPILE=$(CROSS_COMPILE_ARMV7) 
PATH=$(PATH):$(LINUXKERNEL_INSTALL_DIR)/scripts/dtc
 
 sysfw-image_clean:
@echo =
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 99f6523..417b28b 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
@@ -55,7 +55,7 @@ SRC_URI = "\
 file://Makefile_jailhouse \
 "
 
-PR = "r100"
+PR = "r101"
 
 MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
 refresh-screen \
-- 
2.7.4

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


  1   2   3   4   5   6   7   8   9   10   >