ti-analytics: remove
RFC PATCH 1/16 ti-analytics: remove
From: Denys Dmytriyenko <[email protected]>
Remove packagegroup that used to build analytics demos and dependencies. Those demos have been disabled for a while and are being deprecated - remove corresponding packagegroup first for bisectability.
--- .../images/tisdk-default-image.bb | 1 - .../packagegroups/ti-analytics.bb | 27 ------------------- .../recipes-core/packagegroups/ti-world.bb | 1 - 3 files changed, 29 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +0 -1
@@ -25,7 +25,6 @@ IMAGE_INSTALL += "\ packagegroup-arago-tisdk-addons \ packagegroup-arago-tisdk-addons-extra \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ - ti-analytics \ ti-demos \ ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ packagegroup-arago-tisdk-sysrepo \
meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb deleted +0 -27
@@ -1,27 +0,0 @@ -SUMMARY = "TI World packagegroup" -LICENSE = "MIT" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup - -TENSORFLOW_DEMO = "" -#TENSORFLOW_DEMO = " \ -# ${@oe.utils.all_distro_features(d, 'opencv', 'tensorflow-lite-demo', '')} \ -#" -#TENSORFLOW_DEMO:dra7xx = " \ -# ${@['','tensorflow-lite-demo'][oe.utils.all_distro_features(d, 'opencl opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ -#" - -ANALYTICS = "" -#ANALYTICS = " \ -# ${TENSORFLOW_DEMO} \ -# ${@['','qt-opencv-opencl-opengl-multithreaded'][oe.utils.all_distro_features(d, 'opencv opencl opengl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'gpu dsp', True, False, d)]} \ -# ${@['','barcode-roi'][oe.utils.all_distro_features(d, 'opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ -#" -ANALYTICS:j7 = "" -ANALYTICS:omapl138 = "" - -RDEPENDS:${PN} = "\ - ${ANALYTICS} \ -"
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +0 -1
@@ -56,7 +56,6 @@ RDEPENDS:${PN} = "\ ${DEVTOOLS} \ ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \ packagegroup-arago-misc \ - ti-analytics \ ti-demos \ ${PREFERRED_PROVIDER_virtual/docker} \ "
Signature · 1 line
2.25.1
RFC PATCH 2/16 packagegroup: remove opencl/openmp packagegroups
From: Denys Dmytriyenko <[email protected]>
These packagegroups used to group together components for OpenCL/MP support and related other libraries, which are being deprecated. Remove them first for bisectability.
--- .../images/tisdk-default-image.bb | 7 ----- ...kagegroup-arago-tisdk-opencl-sdk-target.bb | 22 ------------- .../packagegroup-arago-tisdk-opencl.bb | 31 ------------------- ...ckagegroup-arago-toolchain-tisdk-target.bb | 1 - .../recipes-core/packagegroups/ti-opencl.bb | 12 ------- .../recipes-core/packagegroups/ti-world.bb | 6 ---- 6 files changed, 79 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +0 -7
@@ -18,7 +18,6 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-qte','',d)} \ - ${@['','packagegroup-arago-tisdk-opencl'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \
@@ -54,13 +53,7 @@ DEVTOOLS = " \ dtc \ " -OPENCL = " \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','ti-opencl','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-extra','',d)} \ -" - IMAGE_INSTALL += "\ - ${@oe.utils.all_distro_features(d, "opencl", "${OPENCL}")} \ ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${PYTHON2APPS}", "", d)} \ ${DEVTOOLS} \ ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb deleted +0 -22
@@ -1,22 +0,0 @@ -DESCRIPTION = "Task to install headers and libraries of OpenCL/MP and related components" -LICENSE = "MIT" -PR = "r2" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup features_check - -REQUIRED_DISTRO_FEATURES = "opencl" - -UTILS = " \ - opencl-staticdev \ - ${@oe.utils.all_distro_features(d, 'openmp', 'openmpacc-dev')} \ -" - -UTILS:append:dra7xx = " \ - ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-dev')} \ -" - -RDEPENDS:${PN} = "\ - ${UTILS} \ -"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb deleted +0 -31
@@ -1,31 +0,0 @@ -DESCRIPTION = "Task to install OpenCL/MP and related components" -LICENSE = "MIT" -PR = "r4" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup features_check - -REQUIRED_DISTRO_FEATURES = "opencl" - -PACKAGES =+ "${PN}-extra" - -MAIN_PKGS = " \ - opencl-examples-offline-compile \ -" - -EXTRA_PKGS = " \ -" - -# ti-fftw-examples -EXTRA_PKGS:append:dra7xx = " \ - ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples')} \ -" - -RDEPENDS:${PN} = "\ - ${MAIN_PKGS} \ -" - -RDEPENDS:${PN}-extra = "\ - ${EXTRA_PKGS} \ -"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb +0 -1
@@ -23,6 +23,5 @@ RDEPENDS:${PN} = "\ ${TISDK_TOOLCHAIN_BASE_TARGET} \ ${TISDK_TOOLCHAIN_EXTRA_TARGET} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics-sdk-target','',d)} \ - ${@['','packagegroup-arago-tisdk-opencl-sdk-target'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ packagegroup-arago-tisdk-addons-sdk-target \ "
meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb deleted +0 -12
@@ -1,12 +0,0 @@ -# This is just an alias between debian and OE names - -LICENSE = "MIT" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup - -PACKAGES += "${PN}-runtime" - -RDEPENDS:${PN} = "opencl" -RDEPENDS:${PN}-runtime = "opencl-runtime"
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +0 -6
@@ -33,11 +33,6 @@ DEVTOOLS = " \ git \ " -OPENCL = " \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl ti-opencl','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-extra','',d)} \ -" - RDEPENDS:${PN} = "\ packagegroup-arago-base \ packagegroup-arago-console \
@@ -45,7 +40,6 @@ RDEPENDS:${PN} = "\ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-qte qt3d-examples','',d)} \ - ${@oe.utils.all_distro_features(d, "opencl", "${OPENCL}")} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \
Signature · 1 line
2.25.1
RFC PATCH 3/16 qt-opencv-opencl-opengl-multithreaded: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Old analytics demos haven't been maintained for quite some time, remove.
This demo used to offload processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects.
--- ...-opencv-opencl-opengl-multithreaded_git.bb | 46 ------------------- ...group-arago-tisdk-multimedia-sdk-target.bb | 1 - 2 files changed, 47 deletions(-) delete mode 100644 meta-arago-demos/recipes-apps/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb
meta-arago-demos/recipes-apps/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb deleted +0 -46
@@ -1,46 +0,0 @@ -DESCRIPTION = "A simple multithreaded OpenCV example application using the Qt framework" -HOMEPAGE = "https://github.com/devernay/qt-opencv-multithreaded" -SECTION = "multimedia" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=e28b998056a1a513e87be11c5045e85b" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp gpu" -REQUIRED_DISTRO_FEATURES = "opencv opencl opengl" - -DEPENDS += "opencv opencl virtual/egl ti-cgt6x-native clocl-native dsplib-c66x" - -COMPATIBLE_MACHINE = "dra7xx" - -PV = "1.3.3" -PR = "r3" - -BRANCH = "master" -SRC_URI = "git://git.ti.com/git/apps/qt-opencv-opencl-opengl-multithreaded.git;protocol=https;branch=${BRANCH}" - -SRCREV = "80051ec8befd921e40cfb74a49234ed045576bbc" - -S = "${WORKDIR}/git" - -inherit qt5 - -export TARGET_ROOTDIR = "${STAGING_DIR_HOST}" -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_DSPLIB_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-dsplib-c66x-tree" - -CXXFLAGS:append = " -DOCV_NATIVE " - -do_compile() { - cd ${S} - oe_runmake -f oclMakefile - cd - - oe_runmake -} - -do_install() { - install -d ${D}/usr/bin - install -m 755 qt-opencv-opencl-opengl-multithreaded ${D}/usr/bin/qt-opencv-opencl-opengl-multithreaded -} - -RDEPENDS:${PN} += "opencv opencl-runtime"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-target.bb +0 -1
@@ -13,7 +13,6 @@ BARCODE_PKG = "" MULTIMEDIA = "" -# ${@['','qt-opencv-opencl-opengl-multithreaded-dev'][oe.utils.all_distro_features(d, 'opencv opencl opengl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'gpu dsp', True, False, d)]} MULTIMEDIA:append:dra7xx = " \ hevc-arm-decoder-dev \ hevc-arm-decoder-staticdev \
Signature · 1 line
2.25.1
RFC PATCH 4/16 barcode-roi: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Old analytics demos haven't been maintained for quite some time, remove.
This demo used to offload processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects.
--- .../barcode-demo/barcode-roi_git.bb | 34 ------------------- ...group-arago-tisdk-multimedia-sdk-target.bb | 10 ------ 2 files changed, 44 deletions(-) delete mode 100644 meta-arago-demos/recipes-apps/barcode-demo/barcode-roi_git.bb
meta-arago-demos/recipes-apps/barcode-demo/barcode-roi_git.bb deleted +0 -34
@@ -1,34 +0,0 @@ -DESCRIPTION = "Barcode demo to detect region of interest" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://detect_barcode.cpp;beginline=1;endline=25;md5=babab64d39715b3671dd16bcb4f4917b" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "opencv" - -DEPENDS += "opencv" - -PV = "01.00.00" -PR = "r1" - -BRANCH = "master" -SRC_URI = "git://git.ti.com/git/apps/barcode-roi-detection.git;protocol=https;branch=${BRANCH}" - -SRCREV = "50fa051f66012ebaa10eba1cb289287c4c5e7432" - -S = "${WORKDIR}/git" - -do_install() { - install -d ${D}${bindir} - install -m 755 ${S}/detect_barcode ${D}${bindir} - - install -d ${D}${datadir}/ti/image - install -m 644 ${S}/test/sample_barcode.jpg ${D}${datadir}/ti/image -} - -FILES:${PN} += "\ - ${datadir}/ti/image \ -" - -INSANE_SKIP:${PN} = "ldflags"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-target.bb +0 -10
@@ -6,11 +6,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup -BARCODE_PKG = "" -#BARCODE_PKG = " \ -# ${@['','barcode-roi-dev'][oe.utils.all_distro_features(d, 'opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ -#" - MULTIMEDIA = "" MULTIMEDIA:append:dra7xx = " \
@@ -18,11 +13,6 @@ MULTIMEDIA:append:dra7xx = " \ hevc-arm-decoder-staticdev \ " -MULTIMEDIA:append:ti33x = " ${BARCODE_PKG}" -MULTIMEDIA:append:ti43x = " ${BARCODE_PKG}" -MULTIMEDIA:append:omap-a15 = " ${BARCODE_PKG}" -MULTIMEDIA:append:am65xx = " ${BARCODE_PKG}" - RDEPENDS:${PN} = "\ ${MULTIMEDIA} \ packagegroup-arago-gst-sdk-target \
Signature · 1 line
2.25.1
RFC PATCH 5/16 arm-compute-library: remove
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove local copy of an old and outdated arm-compute-library component.
There are much newer versions of this component available from other layers.
--- ...kagegroup-arago-tisdk-addons-sdk-target.bb | 5 +- .../arm-compute-library_git.bb | 61 ------------------- 2 files changed, 1 insertion(+), 65 deletions(-) delete mode 100644 meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -4
@@ -38,24 +38,21 @@ PDM_ANOMALY_PKG_DEV = "\ EXTRA_PACKAGES = "" #EXTRA_PACKAGES:append:ti33x = " \ -# arm-compute-library-dev \ # tensorflow-lite-dev \ # tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" #EXTRA_PACKAGES:append:ti43x = " \ -# arm-compute-library-dev \ # tensorflow-lite-dev \ # tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" #EXTRA_PACKAGES:append:omap-a15 = " \ -# arm-compute-library-dev \ # tensorflow-lite-dev \ # tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" -#EXTRA_PACKAGES:append:am65xx = " arm-compute-library-dev \ +#EXTRA_PACKAGES:append:am65xx = " \ # tensorflow-lite-dev \ # tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \
meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb deleted +0 -61
61 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 6/16 tensorflow-lite: remove
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove local copy of an old and outdated tensorflow-lite component.
There are much newer versions of this component available from other layers.
--- ...kagegroup-arago-tisdk-addons-sdk-target.bb | 8 -- ...akefile-add-label_image-example-1.15.patch | 82 ----------- ...odification-for-tflite-1.15-to-eigen.patch | 16 --- .../files/tensorflow-lite.pc.in | 6 - .../tensorflow-lite/files/tflite-benchmark.sh | 59 -------- .../tensorflow-lite-demo_git.bb | 64 --------- .../tensorflow-lite/tensorflow-lite_1.15.bb | 133 ------------------ 7 files changed, 368 deletions(-) delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example-1.15.patch delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.15-to-eigen.patch delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/tensorflow-lite.pc.in delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/tflite-benchmark.sh delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb delete mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +0 -8
@@ -38,23 +38,15 @@ PDM_ANOMALY_PKG_DEV = "\ EXTRA_PACKAGES = "" #EXTRA_PACKAGES:append:ti33x = " \ -# tensorflow-lite-dev \ -# tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" #EXTRA_PACKAGES:append:ti43x = " \ -# tensorflow-lite-dev \ -# tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" #EXTRA_PACKAGES:append:omap-a15 = " \ -# tensorflow-lite-dev \ -# tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #" #EXTRA_PACKAGES:append:am65xx = " \ -# tensorflow-lite-dev \ -# tensorflow-lite-staticdev \ # ${PDM_ANOMALY_PKG_DEV} \ #"
meta-arago-extras/recipes-support/tensorflow-lite/files/0001-Makefile-add-label_image-example-1.15.patch deleted +0 -82
82 lines not on this page · raw message
meta-arago-extras/recipes-support/tensorflow-lite/files/apply-modification-for-tflite-1.15-to-eigen.patch deleted +0 -16
@@ -1,16 +0,0 @@ - -Upstream-Status: Inappropriate [arago specific] - -diff --git a/tensorflow/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h b/tensorflow/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h -index 306a309beb..4527a64c91 100644 ---- a/tensorflow/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h -+++ b/tensorflow/lite/tools/make/downloads/eigen/Eigen/src/Core/arch/NEON/Complex.h -@@ -307,7 +307,7 @@ - static uint64x2_t p2ul_CONJ_XOR = {0x0, 0x8000000000000000}; - #else - const uint64_t p2ul_conj_XOR_DATA[] = { 0x0, 0x8000000000000000 }; -- static uint64x2_t p2ul_CONJ_XOR = vld1q_u64( p2ul_conj_XOR_DATA ); -+ static uint64x2_t p2ul_CONJ_XOR;// = vld1q_u64( p2ul_conj_XOR_DATA ); - Removed by script - #endif - - struct Packet1cd
meta-arago-extras/recipes-support/tensorflow-lite/files/tensorflow-lite.pc.in deleted +0 -6
@@ -1,6 +0,0 @@ - Name: tensorflow lite - Description: tensorflow lite static library - Version: @version@ - Requires: - Libs: -L@libdir@ -ltensorflow-lite - Cflags: -I@includedir@
meta-arago-extras/recipes-support/tensorflow-lite/files/tflite-benchmark.sh deleted +0 -59
59 lines not on this page · raw message
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb deleted +0 -64
64 lines not on this page · raw message
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb deleted +0 -133
133 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 7/16 tidl-api, tidl-utils: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove old tidl components as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- ...nativesdk-packagegroup-arago-tisdk-host.bb | 8 --- .../recipes-ti/tidl-api/tidl-api.inc | 21 ------- .../recipes-ti/tidl-api/tidl-api_git.bb | 57 ------------------- .../recipes-ti/tidl-api/tidl-examples_git.bb | 52 ----------------- .../recipes-ti/tidl-api/tidl-viewer_git.bb | 33 ----------- .../recipes-ti/tidl-utils/tidl-import_git.bb | 46 --------------- .../recipes-ti/tidl-utils/tidl-utils.bb | 34 ----------- .../recipes-ti/tidl-utils/tidl-utils.inc | 4 -- 8 files changed, 255 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-viewer_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +0 -8
@@ -7,13 +7,6 @@ inherit_defer nativesdk PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" -TIDL_TOOLS = "" -#TIDL_TOOLS = " \ -# nativesdk-tidl-import \ -# nativesdk-tidl-viewer \ -# nativesdk-tidl-utils \ -#" - EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \
@@ -22,7 +15,6 @@ EXTRA_TI_TOOLS = " \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ nativesdk-gcc-arm-baremetal \ - ${@oe.utils.all_distro_features(d, "opencl opencv", "${TIDL_TOOLS}")} \ " RDEPENDS:${PN} = "\
meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc deleted +0 -21
@@ -1,21 +0,0 @@ -PV = "1.5.1" -INC_PR = "r0" - -LIC_FILES_CHKSUM = "file://license.txt;md5=e3daeabffb9fc131a73f16d16cbdb118" - -GIT_URI = "git://git.ti.com/git/tidl/tidl-api.git" -GIT_PROTOCOL = "https" -BRANCH = "master" - -SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "4b801ad96b50f53e977b96d8b227ba4bcb26e011" - -# default patchdir is ${S} -S = "${WORKDIR}/git" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_MACHINE_FEATURES:class-native = "" -REQUIRED_MACHINE_FEATURES:class-nativesdk = "" -REQUIRED_DISTRO_FEATURES = "opencl opencv"
meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb deleted +0 -57
57 lines not on this page · raw message
meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb deleted +0 -52
52 lines not on this page · raw message
meta-arago-extras/recipes-ti/tidl-api/tidl-viewer_git.bb deleted +0 -33
@@ -1,33 +0,0 @@ -SUMMARY = "TIDL Network Viewer" -DESCRIPTION = "TIDL Network viewer using dot and graphviz" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" -LICENSE = "BSD-3-Clause" - -include tidl-api.inc - -PR = "${INC_PR}.0" - -DEPENDS = "boost boost-native ti-cgt6x-native clocl-native" - -TARGET:class-target = "arm" -TARGET:class-native = "x86" -TARGET:class-nativesdk = "x86" - -CXXFLAGS:append:class-native = " -DPLATFORM_64BIT " -CXXFLAGS:append:class-nativesdk = " -DPLATFORM_64BIT " - -EXTRA_OEMAKE = " -C ${S}/viewer \ - TARGET=${TARGET} \ - TARGET_ROOTDIR=${STAGING_DIR_HOST} \ -" - -do_compile() { - oe_runmake -} - -do_install() { - install -d ${D}${bindir} - install -m 755 ${S}/viewer/${TARGET}/tidl_viewer ${D}${bindir} -} - -BBCLASSEXTEND = "native nativesdk"
meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb deleted +0 -46
46 lines not on this page · raw message
meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb deleted +0 -34
@@ -1,34 +0,0 @@ -SUMMARY = "TIDL Utilities and configuration files" -DESCRIPTION = "TIDL Utilities for standalone simulation and importing / translation of Caffe and TF-Slim models" -HOMEPAGE = "http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#tidl" -LICENSE = "TI-TFL" - -require ./tidl-utils.inc - -LIC_FILES_CHKSUM = "file://docs/LICENSE.txt;md5=a93aa5af7a3bbbb6fb34c8df59efaa5c" - -RDEPENDS:${PN}:class-target += "tidl-api tidl-examples" - -S = "${WORKDIR}/git" - -TARGET:class-target = "arm" -TARGET:class-native = "x86" -TARGET:class-nativesdk = "x86" - -CP_ARGS = "-Prf --preserve=mode,timestamps --no-preserve=ownership" - -do_install() { - install -d ${D}${bindir} - install -d ${D}${datadir}/ti/tidl/utils/test - install -d ${D}${datadir}/ti/tidl/utils/docs - install -m 755 ${S}/${TARGET}/bin/* ${D}${bindir} - cp ${CP_ARGS} ${S}/test/* ${D}${datadir}/ti/tidl/utils/test/. - cp ${CP_ARGS} ${S}/docs/* ${D}${datadir}/ti/tidl/utils/docs/. -} - -FILES:${PN} += "${datadir}/ti/tidl/utils \ - ${bindir}" - -BBCLASSEXTEND = "native nativesdk" - -INSANE_SKIP:${PN} += "build-deps ldflags already-stripped"
meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc deleted +0 -4
@@ -1,4 +0,0 @@ -SRC_URI = "git://git.ti.com/git/tidl/tidl-utils.git;protocol=https;branch=master" -SRCREV = "6a51b2aff1709c13edb3445bdb4698a28fbb2ae7" -PV = "01.01.03.02" -PR = "r1"
Signature · 1 line
2.25.1
Re: [meta-arago] [master][RFC PATCH 07/16] tidl-api, tidl-utils: deprecate
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Remove old tidl components as deprecated and not maintained.
Might be good to point out in this message that we are not really deprecating our DL components, they simply moved to another layer (meta-edgeai), and these are just leftover remnants, not that our TIDL/AI solution is now unmaintained or something crazy like that.
Otherwise LGTM,
Quoted 339 lines
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
Signed-off-by Denys Dmytriyenko <[email protected]>--- ...nativesdk-packagegroup-arago-tisdk-host.bb | 8 --- .../recipes-ti/tidl-api/tidl-api.inc | 21 ------- .../recipes-ti/tidl-api/tidl-api_git.bb | 57 ------------------- .../recipes-ti/tidl-api/tidl-examples_git.bb | 52 ----------------- .../recipes-ti/tidl-api/tidl-viewer_git.bb | 33 ----------- .../recipes-ti/tidl-utils/tidl-import_git.bb | 46 --------------- .../recipes-ti/tidl-utils/tidl-utils.bb | 34 ----------- .../recipes-ti/tidl-utils/tidl-utils.inc | 4 -- 8 files changed, 255 deletions(-)delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-api/tidl-viewer_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb delete mode 100644 meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +0
-8@@ -7,13 +7,6 @@ inherit_defer nativesdk PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" -TIDL_TOOLS = "" -#TIDL_TOOLS = " \ -# nativesdk-tidl-import \ -# nativesdk-tidl-viewer \ -# nativesdk-tidl-utils \ -#" - EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \@@ -22,7 +15,6 @@ EXTRA_TI_TOOLS = " \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ nativesdk-gcc-arm-baremetal \ - ${@oe.utils.all_distro_features(d, "opencl opencv", "${TIDL_TOOLS}")} \ " RDEPENDS:${PN} = "\meta-arago-extras/recipes-ti/tidl-api/tidl-api.inc deleted +0
-21@@ -1,21 +0,0 @@ -PV = "1.5.1" -INC_PR = "r0" - -LIC_FILES_CHKSUM = "file://license.txt;md5=e3daeabffb9fc131a73f16d16cbdb118" - -GIT_URI = "git://git.ti.com/git/tidl/tidl-api.git" -GIT_PROTOCOL = "https" -BRANCH = "master" - -SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "4b801ad96b50f53e977b96d8b227ba4bcb26e011" - -# default patchdir is ${S} -S = "${WORKDIR}/git" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_MACHINE_FEATURES:class-native = "" -REQUIRED_MACHINE_FEATURES:class-nativesdk = "" -REQUIRED_DISTRO_FEATURES = "opencl opencv"meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb deleted +0
-57@@ -1,57 +0,0 @@ -SUMMARY = "TIDL API" -DESCRIPTION = "TIDL API header and library. Refer TIDL API User's Guide for details." -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" -LICENSE = "BSD-3-Clause" - -include tidl-api.inc -require recipes-ti/includes/ti-paths.inc - -PR = "${INC_PR}.0" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit python3native - -DEPENDS = "opencv \ - opencl \ - opencl-monitor \ - ti-cgt6x-native \ - clocl-native \ -" - -RDEPENDS:${PN} += "opencl-runtime \ - opencv \ -" - -EXTRA_OEMAKE = " -C ${S}/tidl_api \ - TARGET_ROOTDIR=${STAGING_DIR_HOST} \ - TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ -" - -do_compile() { - oe_runmake -} - -CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - -TIDL_INSTALL_DIR = "${datadir}/ti/tidl" - -do_install() { - install -d ${D}${TIDL_INSTALL_DIR} - install -d ${D}${TIDL_INSTALL_DIR}/tidl_api - install -d ${D}${TIDL_INSTALL_DIR}/viewer - install -d ${D}${libdir} - cp ${CP_ARGS} ${S}/tidl_api/libtidl_*.so* ${D}${libdir} - rm -f ${S}/tidl_api/libtidl_*.so* - cp ${CP_ARGS} ${S}/tidl_api/* ${D}${TIDL_INSTALL_DIR}/tidl_api/ - cp ${CP_ARGS} ${S}/viewer/* ${D}${TIDL_INSTALL_DIR}/viewer/ - install ${S}/readme.md ${D}${TIDL_INSTALL_DIR}/ -} - -FILES:${PN} += "\ - ${TIDL_INSTALL_DIR} \ -" - - -INSANE_SKIP:${PN} = "arch ldflags textrel staticdev"meta-arago-extras/recipes-ti/tidl-api/tidl-examples_git.bb deleted +0
-52@@ -1,52 +0,0 @@ -SUMMARY = "TIDL API examples" -DESCRIPTION = "Examples of TIDL API. Refer TIDL API User's Guide for details." -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" -LICENSE = "BSD-3-Clause" - -include tidl-api.inc -require recipes-ti/includes/ti-paths.inc - -PR = "${INC_PR}.0" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEPENDS = "opencv \ - clocl-native \ - ti-cgt6x-native \ - tidl-api \ - json-c \ -" - -RDEPENDS:${PN} += "tidl-api \ - opencl-runtime \ - opencv \ - json-c \ - python3-core \ -" - -EXTRA_OEMAKE = " -C ${S}/examples \ - TARGET_ROOTDIR=${STAGING_DIR_HOST} \ - TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ -" - -do_compile() { - oe_runmake -} - -CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" - -TIDL_INSTALL_DIR = "${datadir}/ti/tidl" - -do_install() { - install -d ${D}${TIDL_INSTALL_DIR} - install -d ${D}${TIDL_INSTALL_DIR}/examples - cp ${CP_ARGS} ${S}/examples/* ${D}${TIDL_INSTALL_DIR}/examples/ -} - -FILES:${PN} += "\ - ${TIDL_INSTALL_DIR} \ -" - - -INSANE_SKIP:${PN} = "arch ldflags textrel staticdev"meta-arago-extras/recipes-ti/tidl-api/tidl-viewer_git.bb deleted +0
-33@@ -1,33 +0,0 @@ -SUMMARY = "TIDL Network Viewer" -DESCRIPTION = "TIDL Network viewer using dot and graphviz" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" -LICENSE = "BSD-3-Clause" - -include tidl-api.inc - -PR = "${INC_PR}.0" - -DEPENDS = "boost boost-native ti-cgt6x-native clocl-native" - -TARGET:class-target = "arm" -TARGET:class-native = "x86" -TARGET:class-nativesdk = "x86" - -CXXFLAGS:append:class-native = " -DPLATFORM_64BIT " -CXXFLAGS:append:class-nativesdk = " -DPLATFORM_64BIT " - -EXTRA_OEMAKE = " -C ${S}/viewer \ - TARGET=${TARGET} \ - TARGET_ROOTDIR=${STAGING_DIR_HOST} \ -" - -do_compile() { - oe_runmake -} - -do_install() { - install -d ${D}${bindir} - install -m 755 ${S}/viewer/${TARGET}/tidl_viewer ${D}${bindir} -} - -BBCLASSEXTEND = "native nativesdk"meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb deleted +0
-46@@ -1,46 +0,0 @@ -SUMMARY = "TIDL import tool for conversion of Caffe and TF models into TI custom network format" -DESCRIPTION = "TIDL import tool is using protobuf to read and parse information from external network models \ - This is ARM Linux implementation." - -require ./tidl-utils.inc - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://modules/ti_dl/inc/itidl_ti.h;beginline=1;endline=34;md5=cabe1fdaabfa0d85dc5544566b0e2425" - -S = "${WORKDIR}/git/src/importTool" - -DEPENDS = "protobuf zlib protobuf-native flatbuffers tensorflow-lite flatbuffers-native tensorflow-lite-native" - -EXTRA_OEMAKE += "TIARM_TOOLS=${GCC_ARM_NONE_TOOLCHAIN}" -EXTRA_OEMAKE += "XDAIS_PATH=${XDAIS_INSTALL_DIR}" -EXTRA_OEMAKE += "SHOW_COMMANDS=1" -EXTRA_OEMAKE += "CORE=eve" -EXTRA_OEMAKE += "TARGET_BUILD=release" -EXTRA_OEMAKE += "TARGET_PLATFORM=PC" - -EXTRA_MAKE_ARGS = "PLATFORM_BUILD=x86 LINUXENV=x86 LINUX_IMPORT_TOOL=64BIT \ - PROTOBUF_LIB_DIR=${STAGING_DIR_NATIVE}/usr/lib PROTOBUF_INC_DIR=${STAGING_DIR_NATIVE}/usr/include \ - FLATBUFFERS_INC_DIR=${STAGING_DIR_NATIVE}$/usr/include/flatbuffers \ - TF_LITE_GENERATED_PATH=${STAGING_DIR_NATIVE}/usr/include/tensorflow/lite/schema" -EXTRA_MAKE_ARGS:class-target = "LINUX_BUILD_TOOLS=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} \ - PROTOBUF_LIB_DIR=${STAGING_LIBDIR} PROTOBUF_INC_DIR=${STAGING_INCDIR} \ - FLATBUFFERS_INC_DIR=${STAGING_INCDIR}/flatbuffers \ - TF_LITE_GENERATED_PATH=${STAGING_INCDIR}/tensorflow/lite/schema LINUXENV=oearm" - -EXTRA_OEMAKE += "${EXTRA_MAKE_ARGS}" - -do_compile() { - cd ${S}/modules/ti_dl/utils - ./genProtoSrc.sh - cd ${S} - oe_runmake -C modules/ti_dl/utils/tidlModelImport -} - -do_install () { - install -d ${D}${bindir} - install -m 755 ${S}/modules/ti_dl/utils/tidlModelImport/out/tidl_model_import.out ${D}${bindir} -} - -INSANE_SKIP:${PN} = "ldflags" - -BBCLASSEXTEND = "native nativesdk"meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.bb deleted +0
-34@@ -1,34 +0,0 @@ -SUMMARY = "TIDL Utilities and configuration files" -DESCRIPTION = "TIDL Utilities for standalone simulation and importing / translation of Caffe and TF-Slim models" -HOMEPAGE = "http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components.html#tidl" -LICENSE = "TI-TFL" - -require ./tidl-utils.inc - -LIC_FILES_CHKSUM = "file://docs/LICENSE.txt;md5=a93aa5af7a3bbbb6fb34c8df59efaa5c" - -RDEPENDS:${PN}:class-target += "tidl-api tidl-examples" - -S = "${WORKDIR}/git" - -TARGET:class-target = "arm" -TARGET:class-native = "x86" -TARGET:class-nativesdk = "x86" - -CP_ARGS = "-Prf --preserve=mode,timestamps --no-preserve=ownership" - -do_install() { - install -d ${D}${bindir} - install -d ${D}${datadir}/ti/tidl/utils/test - install -d ${D}${datadir}/ti/tidl/utils/docs - install -m 755 ${S}/${TARGET}/bin/* ${D}${bindir} - cp ${CP_ARGS} ${S}/test/* ${D}${datadir}/ti/tidl/utils/test/. - cp ${CP_ARGS} ${S}/docs/* ${D}${datadir}/ti/tidl/utils/docs/. -} - -FILES:${PN} += "${datadir}/ti/tidl/utils \ - ${bindir}" - -BBCLASSEXTEND = "native nativesdk" - -INSANE_SKIP:${PN} += "build-deps ldflags already-stripped"meta-arago-extras/recipes-ti/tidl-utils/tidl-utils.inc deleted +0
-4@@ -1,4 +0,0 @@ -SRC_URI = "git://git.ti.com/git/tidl/tidl-utils.git;protocol=https;branch=master" -SRCREV = "6a51b2aff1709c13edb3445bdb4698a28fbb2ae7" -PV = "01.01.03.02" -PR = "r1"
RFC PATCH 8/16 tiovx: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove tiovx components as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- ...r-Yocto-build-and-add-RTOS-build-var.patch | 135 ------------------ .../recipes-ti/tiovx/files/reload-dsp-fw.sh | 66 --------- .../recipes-ti/tiovx/files/setenv.sh | 8 -- .../recipes-ti/tiovx/tiovx-app-host.bb | 60 -------- .../recipes-ti/tiovx/tiovx-lib-host.bb | 42 ------ .../recipes-ti/tiovx/tiovx-sys-iface.bb | 51 ------- .../recipes-ti/tiovx/tiovx-sys.inc | 5 - 7 files changed, 367 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/tiovx/files/0001-Fix-paths-for-Yocto-build-and-add-RTOS-build-var.patch delete mode 100755 meta-arago-extras/recipes-ti/tiovx/files/reload-dsp-fw.sh delete mode 100644 meta-arago-extras/recipes-ti/tiovx/files/setenv.sh delete mode 100644 meta-arago-extras/recipes-ti/tiovx/tiovx-app-host.bb delete mode 100644 meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb delete mode 100644 meta-arago-extras/recipes-ti/tiovx/tiovx-sys-iface.bb delete mode 100644 meta-arago-extras/recipes-ti/tiovx/tiovx-sys.inc
meta-arago-extras/recipes-ti/tiovx/files/0001-Fix-paths-for-Yocto-build-and-add-RTOS-build-var.patch deleted +0 -135
@@ -1,135 +0,0 @@ -From 32bd788608034f5a49d9cd4a0163190ef666d9a2 Mon Sep 17 00:00:00 2001 -From: Djordje Senicic <[email protected]> -Date: Mon, 14 Aug 2017 10:26:39 -0400 -Subject: [PATCH] Fix paths for Yocto build and add RTOS build var - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Djordje Senicic <[email protected]> ---- - Makefile | 27 +++++++++++++++++++-------- - psdk_tools_path.mak | 32 ++++++++++++++------------------ - 2 files changed, 33 insertions(+), 26 deletions(-) - -diff --git a/Makefile b/Makefile -index 0832e07..1be5b0d 100755 ---- a/Makefile -+++ b/Makefile -@@ -1,6 +1,6 @@ - - # Valid values are: vsdk psdk --BUILD_SDK=vsdk -+BUILD_SDK=psdk - - include $(BUILD_SDK)_tools_path.mak - -@@ -8,11 +8,12 @@ BUILD_EMULATION_MODE?=no - BUILD_TARGET_MODE?=yes - - BUILD_CONFORMANCE_TEST?=yes --BUILD_IVISION_KERNELS?=yes -+BUILD_IVISION_KERNELS?=no - BUILD_BAM?=yes - BUILD_TUTORIAL?=yes - BUILD_LINUX_A15?=yes --BUILD_EVE?=yes -+BUILD_RTOS?=no -+BUILD_EVE?=no - - PROFILE?=all - -@@ -43,12 +44,17 @@ TARGET_COMBOS := - - ifeq ($(BUILD_TARGET_MODE),yes) - ifeq ($(PROFILE), $(filter $(PROFILE), debug all)) -- TARGET_COMBOS += TDAX:SYSBIOS:M4:1:debug:TIARMCGT -- TARGET_COMBOS += TDAX:SYSBIOS:C66:1:debug:CGT6X -+ ifeq ($(BUILD_RTOS),yes) -+ TARGET_COMBOS += TDAX:SYSBIOS:M4:1:debug:TIARMCGT -+ TARGET_COMBOS += TDAX:SYSBIOS:C66:1:debug:CGT6X -+ endif -+ - ifeq ($(BUILD_EVE),yes) - TARGET_COMBOS += TDAX:SYSBIOS:EVE:1:debug:ARP32CGT - endif -+ ifeq ($(BUILD_RTOS),yes) - TARGET_COMBOS += TDAX:SYSBIOS:A15:1:debug:GCC -+ endif - ifneq ($(OS),Windows_NT) - ifeq ($(BUILD_LINUX_A15),yes) - TARGET_COMBOS += TDAX:LINUX:A15:1:debug:GCC_LINARO -@@ -57,12 +63,17 @@ ifeq ($(BUILD_TARGET_MODE),yes) - endif - - ifeq ($(PROFILE), $(filter $(PROFILE), release all)) -- TARGET_COMBOS += TDAX:SYSBIOS:M4:1:release:TIARMCGT -- TARGET_COMBOS += TDAX:SYSBIOS:C66:1:release:CGT6X -+ ifeq ($(BUILD_RTOS),yes) -+ TARGET_COMBOS += TDAX:SYSBIOS:M4:1:release:TIARMCGT -+ TARGET_COMBOS += TDAX:SYSBIOS:C66:1:release:CGT6X -+ endif -+ - ifeq ($(BUILD_EVE),yes) - TARGET_COMBOS += TDAX:SYSBIOS:EVE:1:release:ARP32CGT - endif -- TARGET_COMBOS += TDAX:SYSBIOS:A15:1:release:GCC -+ ifeq ($(BUILD_RTOS),yes) -+ TARGET_COMBOS += TDAX:SYSBIOS:A15:1:release:GCC -+ endif - ifneq ($(OS),Windows_NT) - ifeq ($(BUILD_LINUX_A15),yes) - TARGET_COMBOS += TDAX:LINUX:A15:1:release:GCC_LINARO -diff --git a/psdk_tools_path.mak b/psdk_tools_path.mak -index 36394f8..8fd468d 100755 ---- a/psdk_tools_path.mak -+++ b/psdk_tools_path.mak -@@ -2,7 +2,6 @@ - TIOVX_PATH = $(abspath .) - - PLSDK_PATH := /home/x0157990/ti-processor-sdk-linux-am57xx-evm-04.00.00.04 --PRSDK_PATH := /home/x0157990/ti-processor-sdk-rtos-am57xx-evm-04-00-00-04 - - CROSS_COMPILE_LINARO := arm-linux-gnueabihf- - CROSS_COMPILE := arm-none-eabi- -@@ -16,23 +15,20 @@ ifeq ($(BUILD_OS),Windows_NT) - GCC_WINDOWS_ROOT ?= C:/CodeBlocks/MinGW - endif - --XDC_PATH := $(PRSDK_PATH)/xdctools_3_32_01_22_core/ --TIARMCGT_ROOT := $(PRSDK_PATH)/ti-cgt-arm_16.9.2.LTS -+XDC_PATH := $(XDC_INSTALL_DIR) -+TIARMCGT_ROOT := $(TIARMCGTPATH) -+GCC_ROOT_LINARO := $(GCCLINARO) -+XDIAS_PATH := $(XDAISPATH) -+BIOS_PATH := $(SYSBIOSPATH) -+PDK_PATH := $(PDKPATH) -+SDK_PLATFORM_IF_PATH := $(SDKPLATFORMIFPATH) - --GCC_ROOT := $(PRSDK_PATH)/gcc-arm-none-eabi-4_9-2015q3 --GCC_ROOT_LINARO := /home/x0157990/linaro/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf --CGT6X_ROOT := $(PRSDK_PATH)/ti-cgt-c6000_8.1.3/ -+GCC_ROOT ?= $(GCCARMNONEPATH) -+CGT6X_ROOT := $(TI_CGT_INSTALL) - GCC_LINUX_ROOT ?= /usr/ -+VXLIB_PATH ?= $(VXLIBPATH) -+ARP32CGT_ROOT ?= $(EVETOOLSPATH} -+DMAUTILS_PATH ?= $(DSPAPPS_PATH)/dmautils -+ALGFRAMEWORK_PATH ?= $(DSPAPPS_PATH)/algframework -+EDMA3_LLD_PATH := $(EDMA3LLDPATH) - -- --VXLIB_PATH ?= $(PRSDK_PATH)/vxlib_c66x_1_1_0_0 --XDIAS_PATH := $(PRSDK_PATH)/xdais_7_24_00_04 --EDMA3_LLD_PATH := $(PRSDK_PATH)/edma3_lld_2_12_04_28/ --BIOS_PATH := $(PRSDK_PATH)/bios_6_46_05_55/ -- --DMAUTILS_PATH ?= $(PRSDK_PATH)/REL.DMAUTILS.00.08.00.02/dmautils --ALGFRAMEWORK_PATH ?= $(PRSDK_PATH)/REL.ALGFRAMEWORK.02.07.00.00/algframework --PDK_PATH := $(PRSDK_PATH)/pdk_am57xx_1_0_7 --CMEM_PATH ?= $(PLSDK_INSTALL_PATH)/board-support/extra-drivers/cmem-mod-4.14.00.00+gitAUTOINC+b514a99ac4/ --TARGETFS := $(PLSDK_PATH)/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/ --SDK_PLATFORM_IF_PATH ?= /home/x0157990/am57/openvx/ex41_forwardmsg/vx -\ No newline at end of file --- -1.9.1 -
meta-arago-extras/recipes-ti/tiovx/files/reload-dsp-fw.sh deleted +0 -66
66 lines not on this page · raw message
meta-arago-extras/recipes-ti/tiovx/files/setenv.sh deleted +0 -8
@@ -1,8 +0,0 @@ -#!/bin/bash - -export PROC_LIST='host khronos_example' - -export LINUX_SYSROOT_DIR=/ -export TIOVXPATH=/usr/include/VX -export IPCPATH=/usr/share/ti/ti-ipc-tree -export SDKPLATFORMIFPATH=/usr/share/ti/ti-tiovx-lib-tree/sys-iface
meta-arago-extras/recipes-ti/tiovx/tiovx-app-host.bb deleted +0 -60
60 lines not on this page · raw message
meta-arago-extras/recipes-ti/tiovx/tiovx-lib-host.bb deleted +0 -42
42 lines not on this page · raw message
meta-arago-extras/recipes-ti/tiovx/tiovx-sys-iface.bb deleted +0 -51
51 lines not on this page · raw message
meta-arago-extras/recipes-ti/tiovx/tiovx-sys.inc deleted +0 -5
@@ -1,5 +0,0 @@ -PV = "01.00.01.00" - -BRANCH="master" -SRCREV = "5be60aee8d013907a4d8a6cc8af35a517a33b49e" -SRC_URI = "git://git.ti.com/git/processor-sdk/tiovx-app.git;protocol=https;branch=${BRANCH}"
Signature · 1 line
2.25.1
RFC PATCH 9/16 fftlib: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove fftlib component as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- .../recipes-ti/fftlib/fftlib.inc | 17 --- .../recipes-ti/fftlib/fftlib_git.bb | 103 ------------------ .../recipes-ti/fftlib/ti-fftw-examples_git.bb | 25 ----- .../recipes-ti/fftlib/ti-fftw_git.bb | 63 ----------- 4 files changed, 208 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib.inc delete mode 100644 meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb delete mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb
meta-arago-extras/recipes-ti/fftlib/fftlib.inc deleted +0 -17
@@ -1,17 +0,0 @@ -PV = "3_1_0_0" -INC_PR = "r4" - -require recipes-ti/includes/arago-paths.inc - - -FFTLIB_GIT_URI = "git://git.ti.com/git/fftlib/fftlib" -FFTLIB_GIT_PROTOCOL = "https" -FFTLIB_GIT_BRANCH = "master" -FFTLIB_GIT_DESTSUFFIX = "${WORKDIR}/git" - -FFTLIB_SRCREV = "e05426894c73af940ccc26880ebd7f2c9ce21880" - -BRANCH = "${FFTLIB_GIT_BRANCH}" -SRC_URI = "${FFTLIB_GIT_URI};destsuffix=${FFTLIB_GIT_DESTSUFFIX};protocol=${FFTLIB_GIT_PROTOCOL};branch=${BRANCH}" - -SRCREV = "${FFTLIB_SRCREV}"
meta-arago-extras/recipes-ti/fftlib/fftlib_git.bb deleted +0 -103
103 lines not on this page · raw message
meta-arago-extras/recipes-ti/fftlib/ti-fftw-examples_git.bb deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "TI FFTW" -HOMEPAGE = "http://git.ti.com/fftlib" -LICENSE = "BSD-3-Clause" - -LIC_FILES_CHKSUM = "file://../docs/TI-FFTW_3.1.0_manifest.html;md5=aaa275ec704a738216ba696898941b44" - -include fftlib.inc - -PR = "${INC_PR}.0" - -DEPENDS = "ti-fftw" - -RDEPENDS:${PN} += "ti-fftw-staticdev" - -S = "${WORKDIR}/git/ti/fftw/examples" - -EXTRA_OEMAKE += "TARGET_ROOTDIR="${STAGING_DIR_TARGET}"" - -do_install() { - install -d ${D}${datadir}/ti/examples/fftw - cp -r ./* ${D}${datadir}/ti/examples/fftw -} - -FILES:${PN} = "${datadir}/ti/examples/fftw" -INSANE_SKIP:${PN} = "ldflags"
meta-arago-extras/recipes-ti/fftlib/ti-fftw_git.bb deleted +0 -63
63 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 10/16 linalg: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove linalg component as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- ...001-Makefile-fix-toolchain-variables.patch | 194 ------------------ ...RALLEL_MAKE-variable-to-overwrite-j8.patch | 66 ------ .../recipes-ti/linalg/linalg-examples_git.bb | 34 --- .../recipes-ti/linalg/linalg.inc | 56 ----- .../recipes-ti/linalg/linalg_git.bb | 25 --- 5 files changed, 375 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/linalg/files/0001-Makefile-fix-toolchain-variables.patch delete mode 100644 meta-arago-extras/recipes-ti/linalg/files/0001-Makefile-pass-PARALLEL_MAKE-variable-to-overwrite-j8.patch delete mode 100644 meta-arago-extras/recipes-ti/linalg/linalg-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/linalg/linalg.inc delete mode 100644 meta-arago-extras/recipes-ti/linalg/linalg_git.bb
meta-arago-extras/recipes-ti/linalg/files/0001-Makefile-fix-toolchain-variables.patch deleted +0 -194
@@ -1,194 +0,0 @@ -From a99f267c7dd799cd66f64fa41a3bd7b5c5d6f8a1 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <[email protected]> -Date: Sun, 26 Mar 2017 18:17:06 -0400 -Subject: [PATCH] Makefile: fix toolchain variables - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Denys Dmytriyenko <[email protected]> ---- - examples/arm+dsp/make.inc | 1 - - src/ti/linalg/blis/config/cortex-a15/make_defs.mk | 1 - - src/ti/linalg/cblas/Makefile.ARM | 4 +--- - src/ti/linalg/clapack/make.inc.ARM | 8 +++----- - src/ti/linalg/clapack/make.inc.ARMBLAS | 10 ++++------ - src/ti/linalg/clapack/make.inc.ARMOpenCL | 8 +++----- - src/ti/linalg/make.inc | 6 +----- - src/ti/linalg/tuning/make.inc | 1 - - 8 files changed, 12 insertions(+), 27 deletions(-) - -diff --git a/examples/arm+dsp/make.inc b/examples/arm+dsp/make.inc -index c3a042d..e916b97 100644 ---- a/examples/arm+dsp/make.inc -+++ b/examples/arm+dsp/make.inc -@@ -11,7 +11,6 @@ ifneq (,$(findstring 86, $(UNAME_M))) - - # gcc ARM cross compiler will not, by default, search the host's - # /usr/include. Explicitly specify here to find dependent vendor headers -- CC = arm-linux-gnueabihf-gcc - else - CC = gcc - endif -diff --git a/src/ti/linalg/blis/config/cortex-a15/make_defs.mk b/src/ti/linalg/blis/config/cortex-a15/make_defs.mk -index 58130a0..13e10be 100644 ---- a/src/ti/linalg/blis/config/cortex-a15/make_defs.mk -+++ b/src/ti/linalg/blis/config/cortex-a15/make_defs.mk -@@ -74,7 +74,6 @@ GIT_LOG := $(GIT) log --decorate - # - - # --- Determine the C compiler and related flags --- --CC := arm-linux-gnueabihf-gcc - #CC := gcc - # Enable IEEE Standard 1003.1-2004 (POSIX.1d). - # NOTE: This is needed to enable posix_memalign(). -diff --git a/src/ti/linalg/cblas/Makefile.ARM b/src/ti/linalg/cblas/Makefile.ARM -index 3702887..e065831 100644 ---- a/src/ti/linalg/cblas/Makefile.ARM -+++ b/src/ti/linalg/cblas/Makefile.ARM -@@ -32,8 +32,6 @@ LN_S = ln -sf - # Compilers - #----------------------------------------------------------------------------- - --CC = arm-linux-gnueabihf-gcc --FC = arm-linux-gnueabihf-gfortran - LOADER = $(FC) - - #----------------------------------------------------------------------------- -@@ -47,6 +45,6 @@ FFLAGS = -O2 - # Archive programs and flags - #----------------------------------------------------------------------------- - --ARCH = arm-linux-gnueabihf-ar -+ARCH = $(AR) - ARCHFLAGS = r - RANLIB = echo -diff --git a/src/ti/linalg/clapack/make.inc.ARM b/src/ti/linalg/clapack/make.inc.ARM -index 0fdbe72..204904b 100644 ---- a/src/ti/linalg/clapack/make.inc.ARM -+++ b/src/ti/linalg/clapack/make.inc.ARM -@@ -23,10 +23,9 @@ PLAT = _ARM - # This is used to compile C libary - #CC = arm-linux-gnueabihf-gcc -DNO_BLAS_WRAP - # if no wrapping of the blas library is needed, uncomment next line --CC = arm-linux-gnueabihf-gcc - CFLAGS = -O2 -I$(TOPDIR)/INCLUDE --LINKER = arm-linux-gnueabihf-ld --LOADER = arm-linux-gnueabihf-gcc -+LINKER = $(LD) -+LOADER = $(CC) - LOADOPTS = -L$(TARGET_ROOTDIR)/lib -L$(TARGET_ROOTDIR)/usr/lib -Wl,-rpath-link,$(TARGET_ROOTDIR)/lib -Wl,-rpath-link,$(TARGET_ROOTDIR)/usr/lib - NOOPT = -O0 -I$(TOPDIR)/INCLUDE - DRVCFLAGS = $(CFLAGS) -@@ -51,9 +50,8 @@ TIMER = INT_CPU_TIME - # The archiver and the flag(s) to use when building archive (library) - # If you system has no ranlib, set RANLIB = echo. - # --ARCH = arm-linux-gnueabihf-ar -+ARCH = $(AR) - ARCHFLAGS= cr --RANLIB = arm-linux-gnueabihf-ranlib - # - # The location of BLAS library for linking the testing programs. - # The target's machine-specific, optimized BLAS library should be -diff --git a/src/ti/linalg/clapack/make.inc.ARMBLAS b/src/ti/linalg/clapack/make.inc.ARMBLAS -index e3b1b04..d95763c 100644 ---- a/src/ti/linalg/clapack/make.inc.ARMBLAS -+++ b/src/ti/linalg/clapack/make.inc.ARMBLAS -@@ -23,10 +23,9 @@ PLAT = _ARMBLAS - # This is used to compile C libary - #CC = arm-linux-gnueabihf-gcc - # if no wrapping of the blas library is needed, uncomment next line --CC = arm-linux-gnueabihf-gcc -DNO_BLAS_WRAP --CFLAGS = -O3 -I$(TOPDIR)/INCLUDE --LINKER = arm-linux-gnueabihf-ld --LOADER = arm-linux-gnueabihf-gcc -+CFLAGS = -O3 -I$(TOPDIR)/INCLUDE -DNO_BLAS_WRAP -+LINKER = $(LD) -+LOADER = $(CC) - LOADOPTS = - NOOPT = -O0 -I$(TOPDIR)/INCLUDE - DRVCFLAGS = $(CFLAGS) -@@ -51,9 +50,8 @@ TIMER = INT_CPU_TIME - # The archiver and the flag(s) to use when building archive (library) - # If you system has no ranlib, set RANLIB = echo. - # --ARCH = arm-linux-gnueabihf-ar -+ARCH = $(AR) - ARCHFLAGS= cr --RANLIB = arm-linux-gnueabihf-ranlib - # - # The location of BLAS library for linking the testing programs. - # The target's machine-specific, optimized BLAS library should be -diff --git a/src/ti/linalg/clapack/make.inc.ARMOpenCL b/src/ti/linalg/clapack/make.inc.ARMOpenCL -index 036b3d1..1acc421 100644 ---- a/src/ti/linalg/clapack/make.inc.ARMOpenCL -+++ b/src/ti/linalg/clapack/make.inc.ARMOpenCL -@@ -21,12 +21,11 @@ PLAT = _ARM - # - ####################################################### - # This is used to compile C libary --CC = arm-linux-gnueabihf-gcc #-pg - # if no wrapping of the blas library is needed, uncomment next line - #CC = arm-linux-gnueabihf-gcc -DNO_BLAS_WRAP - CFLAGS = -O2 -I$(TOPDIR)/INCLUDE #-g --LINKER = arm-linux-gnueabihf-ld --LOADER = arm-linux-gnueabihf-gcc -+LINKER = $(LD) -+LOADER = $(CC) - LOADOPTS = -L$(TARGET_ROOTDIR)/lib -L$(TARGET_ROOTDIR)/usr/lib -Wl,-rpath-link,$(TARGET_ROOTDIR)/lib -Wl,-rpath-link,$(TARGET_ROOTDIR)/usr/lib - NOOPT = -O0 -I$(TOPDIR)/INCLUDE - DRVCFLAGS = $(CFLAGS) -@@ -51,9 +50,8 @@ TIMER = INT_CPU_TIME - # The archiver and the flag(s) to use when building archive (library) - # If you system has no ranlib, set RANLIB = echo. - # --ARCH = arm-linux-gnueabihf-ar -+ARCH = $(AR) - ARCHFLAGS= cr --RANLIB = arm-linux-gnueabihf-ranlib - # - # The location of BLAS library for linking the testing programs. - # The target's machine-specific, optimized BLAS library should be -diff --git a/src/ti/linalg/make.inc b/src/ti/linalg/make.inc -index b2e1afe..8588019 100644 ---- a/src/ti/linalg/make.inc -+++ b/src/ti/linalg/make.inc -@@ -1,5 +1,4 @@ -- --CPP = g++ -+CPP = $(CXX) - CL6X = cl6x -mv6600 --abi=eabi $(DSP_INCLUDE) - CLOCL = clocl - -@@ -7,8 +6,6 @@ LIBS = -lOpenCL -locl_util #-lstdc++ -lrt - - UNAME_M :=$(shell uname -m) - --OBJCOPY = arm-linux-gnueabihf-objcopy -- - ifneq (,$(findstring 86, $(UNAME_M))) - .DEFAULT_GOAL := cross - -@@ -29,7 +26,6 @@ ifneq (,$(findstring 86, $(UNAME_M))) - - # gcc ARM cross compiler will not, by default, search the host's - # /usr/include. Explicitly specify here to find dependent vendor headers -- cross: override CPP = arm-linux-gnueabihf-g++ - cross: CPP_FLAGS += -I$(TARGET_ROOTDIR)/usr/include -idirafter /usr/include - #cross: CL6X_FLAGS += -I$(OMP_DIR)/packages/ti/runtime/openmp - -diff --git a/src/ti/linalg/tuning/make.inc b/src/ti/linalg/tuning/make.inc -index cd3c653..ecce3d9 100644 ---- a/src/ti/linalg/tuning/make.inc -+++ b/src/ti/linalg/tuning/make.inc -@@ -11,7 +11,6 @@ ifneq (,$(findstring 86, $(UNAME_M))) - - # gcc ARM cross compiler will not, by default, search the host's - # /usr/include. Explicitly specify here to find dependent vendor headers -- CC = arm-linux-gnueabihf-gcc - else - CC = gcc - endif --- -2.7.4 -
meta-arago-extras/recipes-ti/linalg/files/0001-Makefile-pass-PARALLEL_MAKE-variable-to-overwrite-j8.patch deleted +0 -66
66 lines not on this page · raw message
meta-arago-extras/recipes-ti/linalg/linalg-examples_git.bb deleted +0 -34
@@ -1,34 +0,0 @@ -DESCRIPTION = "TI Linear Algebra Library examples" - -include linalg.inc -PR = "${INC_PR}.0" - -DEPENDS += "linalg" -RDEPENDS:${PN} += "opencl-runtime" - -export LINALG_DIR = "${LINALG_INSTALL_DIR}" - -EXAMPLES_ROOT = "${WORKDIR}/git/examples/arm+dsp" - -do_compile() { - cd examples/arm+dsp - make - # Remove object files before installing so that the binaries are not present - find . -name "*.obj" -type f -delete - find . -name "*.o" -type f -delete -} - -do_install() { - install -d ${D}${datadir}/ti/examples/linalg - cp -r examples/arm+dsp/* ${D}${datadir}/ti/examples/linalg -} - -FILES:${PN} += "\ - ${datadir}/ti/examples/linalg/* \ -" - -FILES:${PN}-dbg += "\ - ${datadir}/ti/examples/linalg/*/.debug \ -" - -INSANE_SKIP:${PN} = "arch ldflags textrel"
meta-arago-extras/recipes-ti/linalg/linalg.inc deleted +0 -56
56 lines not on this page · raw message
meta-arago-extras/recipes-ti/linalg/linalg_git.bb deleted +0 -25
@@ -1,25 +0,0 @@ -DESCRIPTION = "TI Linear Algebra Library" - -include linalg.inc -PR = "${INC_PR}.0" - -TARGET:dra7xx = "SOC_AM572x" -MEM_MODEL:dra7xx = "Small" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_compile() { - make -f build/Makefile MEM_MODEL=${MEM_MODEL} TARGET=${TARGET} LIBOS=LIB_OPENCL PARALLEL_MAKE="${PARALLEL_MAKE}" -} - -do_install() { - install -d ${D}${LINALG_INSTALL_DIR_RECIPE} - cp -r exports/linalg_${PV}/* ${D}${LINALG_INSTALL_DIR_RECIPE} -} - -# to create a package for LINALG -FILES:${PN}-dev += "${LINALG_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN}-dev = "arch staticdev" -ALLOW_EMPTY:${PN} = "1" - -RDEPENDS:${PN}-dev += "bash perl"
Signature · 1 line
2.25.1
RFC PATCH 11/16 libarch: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove libarch component as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- .../libarch/libarch-examples_git.bb | 36 ------------------- .../recipes-ti/libarch/libarch.inc | 36 ------------------- .../recipes-ti/libarch/libarch_git.bb | 20 ----------- 3 files changed, 92 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch.inc delete mode 100644 meta-arago-extras/recipes-ti/libarch/libarch_git.bb
meta-arago-extras/recipes-ti/libarch/libarch-examples_git.bb deleted +0 -36
@@ -1,36 +0,0 @@ -DESCRIPTION = "TI Library Architecture Examples" - -include libarch.inc - -PR = "${INC_PR}.0" - -DEPENDS += "libarch clocl-native" -RDEPENDS:${PN} += "opencl-runtime" - -export LIBARCH_DIR = "${LIBARCH_INSTALL_DIR}" -export TARGET_ROOTDIR = "${STAGING_DIR_TARGET}" - -do_compile() { - cd examples - make TARGET=${TARGET} LIBOS=LIB_OPENCL - # Remove object files before installing so that the binaries are not present - find . -name "*.obj" -type f -delete - find . -name "*.o" -type f -delete - find . -name "*.out" -type f -delete - find . -name "*.dsp_h" -type f -delete -} - -do_install() { - install -d ${D}${datadir}/ti/examples/libarch - cp -r examples/arm+dsp ${D}${datadir}/ti/examples/libarch - cp -r examples/common ${D}${datadir}/ti/examples/libarch - cp examples/Makefile ${D}${datadir}/ti/examples/libarch -} - -FILES:${PN} += "\ - ${datadir}/ti/examples/libarch/* \ " - -FILES:${PN}-dbg += "\ - ${datadir}/ti/examples/libarch/*/.debug \ " - -INSANE_SKIP:${PN} = "arch ldflags textrel"
meta-arago-extras/recipes-ti/libarch/libarch.inc deleted +0 -36
@@ -1,36 +0,0 @@ -HOMEPAGE = "https://git.ti.com/library-architecture/libarch" -LICENSE = "BSD-3-Clause" - -PV = "1_0_0_0" -INC_PR = "r2" - -require recipes-ti/includes/arago-paths.inc -require recipes-ti/includes/ti-staging.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "opencl" - -BRANCH = "master" -LIC_FILES_CHKSUM = "file://src/ti/libarch/docs/LibArch_1.0.0_manifest.html;md5=bb48cacb8827ec8d8e5a94c4f2425ee3" -SRC_URI = "git://git.ti.com/git/library-architecture/libarch.git;protocol=https;branch=${BRANCH}" -SRCREV = "cb6d785e95cd390c6388853a4f1e99a302e5a58f" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git" - -DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-sysbios ti-cgt6x-native ti-xdais ti-framework-components opencl opencl-monitor doxygen-native zip-native" - -export CGTROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export TI_OCL_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/opencl" -export XDC_DIR = "${XDC_INSTALL_DIR}" -export BIOS_DIR= "${SYSBIOS_INSTALL_DIR}" -export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" -export FC_DIR = "${FC_INSTALL_DIR}" -export PDK_DIR = "${PDK_INSTALL_DIR}" - -TARGET:dra7xx = "SOC_AM572x"
meta-arago-extras/recipes-ti/libarch/libarch_git.bb deleted +0 -20
@@ -1,20 +0,0 @@ -DESCRIPTION = "TI Library Architecture" - -include libarch.inc - -PR = "${INC_PR}.0" - -do_compile() { - make -f build/Makefile TARGET=${TARGET} LIBOS=LIB_OPENCL -} - -do_install() { - install -d ${D}${LIBARCH_INSTALL_DIR_RECIPE} - cp -r exports/libarch_*/* ${D}${LIBARCH_INSTALL_DIR_RECIPE} -} - -FILES:${PN}-dev += "${LIBARCH_INSTALL_DIR_RECIPE}" - -# skip checking binary against ARM architecture -INSANE_SKIP:${PN}-dev = "arch" -ALLOW_EMPTY:${PN} = "1"
Signature · 1 line
2.25.1
RFC PATCH 12/16 gstreamer1.0-plugins-dsp66: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove gstreamer1.0-plugins-dsp66 component as deprecated and not maintained.
This component was offloading processing tasks to DSP using heavily modified OpenCL/OpenCV forks of old versions of corresponding upstream projects on legacy platforms.
--- .../packagegroup-arago-gst-sdk-target.bb | 5 - .../packagegroups/packagegroup-arago-gst.bb | 5 - ...-use-of-CPP-CXX-and-other-standard-v.patch | 91 ------------------- ...e.ac-stop-using-export-symbols-regex.patch | 32 ------- .../gstreamer1.0-plugins-dsp66_git.bb | 50 ---------- 5 files changed, 183 deletions(-) delete mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-Makefile-correct-use-of-CPP-CXX-and-other-standard-v.patch delete mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch delete mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +0 -5
@@ -14,13 +14,8 @@ GSTREAMER_DEPS = " \ gstreamer1.0-libav-dev \ " -GSTREAMER_DSP = " \ - ${@['','gstreamer1.0-plugins-dsp66-dev'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ -" - # gstreamer1.0-plugins-hevc-dev GSTREAMER_DEPS:append:dra7xx = " \ - ${GSTREAMER_DSP} \ " RDEPENDS:${PN} = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +0 -5
@@ -17,13 +17,8 @@ GSTREAMER_DEPS = " \ gstreamer1.0-libav \ " -GSTREAMER_DSP = " \ - ${@['','gstreamer1.0-plugins-dsp66'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ -" - # gstreamer1.0-plugins-hevc GSTREAMER_DEPS:append:dra7xx = " \ - ${GSTREAMER_DSP} \ " GSTREAMER_ACCEL_MM = ""
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-Makefile-correct-use-of-CPP-CXX-and-other-standard-v.patch deleted +0 -91
91 lines not on this page · raw message
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 0fcda9d85c96d5c39dffe21d3bdf01a038b911c9 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <[email protected]> -Date: Tue, 22 Jan 2019 20:39:15 -0500 -Subject: [PATCH] configure.ac: stop using -export-symbols-regex - -The old regex is no longer correct for GStreamer 1.14. - -Bug-Debian: https://bugs.debian.org/894642 - -Upstream-Status: Inappropriate [arago specific] - -Signed-off-by: Denys Dmytriyenko <[email protected]> ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index fee3161..8159c60 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -81,7 +81,7 @@ fi - AC_SUBST(plugindir) - - dnl set proper LDFLAGS for plugins --GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS" -+GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS" - AC_SUBST(GST_PLUGIN_LDFLAGS) - - AC_CONFIG_FILES([Makefile src/Makefile]) --- -2.7.4 -
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb deleted +0 -50
50 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 13/16 openmpacc: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove openmpacc component as deprecated and not maintained.
--- ...nativesdk-packagegroup-arago-tisdk-host.bb | 1 - .../recipes-ti/openmpacc/clacc_git.bb | 65 --------------- .../openmpacc/openmpacc-examples_git.bb | 79 ------------------- .../recipes-ti/openmpacc/openmpacc.inc | 27 ------- .../recipes-ti/openmpacc/openmpacc_git.bb | 20 ----- 5 files changed, 192 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb delete mode 100644 meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/openmpacc/openmpacc.inc delete mode 100644 meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +0 -1
@@ -11,7 +11,6 @@ EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \ nativesdk-clocl \ - ${@oe.utils.all_distro_features(d, "opencl openmp", "nativesdk-clacc")} \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ nativesdk-gcc-arm-baremetal \
meta-arago-extras/recipes-ti/openmpacc/clacc_git.bb deleted +0 -65
65 lines not on this page · raw message
meta-arago-extras/recipes-ti/openmpacc/openmpacc-examples_git.bb deleted +0 -79
79 lines not on this page · raw message
meta-arago-extras/recipes-ti/openmpacc/openmpacc.inc deleted +0 -27
@@ -1,27 +0,0 @@ -SUMMARY = "TI OpenMP Accelerator Model" -HOMEPAGE = "http://downloads.ti.com/mctools/esd/docs/openmpacc/" -LICENSE = "BSD-3-Clause" - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_MACHINE_FEATURES:class-native = "" -REQUIRED_MACHINE_FEATURES:class-nativesdk = "" -REQUIRED_DISTRO_FEATURES = "opencl openmp" - -PV = "1.5.6.0" -INC_PR = "r0" - -LIC_FILES_CHKSUM = "file://../debian/copyright;md5=aaa2a0939d08197132fc382e97b62eb0" - -FILESEXTRAPATHS:prepend := "${THISDIR}/openmpacc:" - -OMPACC_GIT_URI = "git://git.ti.com/git/openmp/ti-openmpacc.git" -OMPACC_GIT_PROTOCOL = "https" -OMPACC_GIT_BRANCH = "master" - -OMPACC_SRCREV = "7c4e68a0bf73ec193edff9dfc23ea764ae6ad434" - -BRANCH = "${OMPACC_GIT_BRANCH}" -SRC_URI = "${OMPACC_GIT_URI};protocol=${OMPACC_GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "${OMPACC_SRCREV}"
meta-arago-extras/recipes-ti/openmpacc/openmpacc_git.bb deleted +0 -20
@@ -1,20 +0,0 @@ -DESCRIPTION = "TI OpenMP-Acc host runtime and development packages" - -include openmpacc.inc - -PR = "${INC_PR}.1" - -inherit cmake - -DEPENDS = "boost boost-native opencl" -RDEPENDS:${PN} += "opencl-runtime" -RDEPENDS:${PN}-dev += "clacc" - -S = "${WORKDIR}/git/host" - -export TARGET_ROOTDIR = "${STAGING_DIR_HOST}" -export LINUX_DEVKIT_ROOT = "${STAGING_DIR_HOST}" - -EXTRA_OECMAKE += "-DVERSION="${PV}" -DBUILD_OUTPUT=lib" - -FILES:${PN} += "/usr/share/ti/openmpacc/*"
Signature · 1 line
2.25.1
RFC PATCH 14/16 opencl: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove opencl components as deprecated and not maintained.
--- .../conf/distro/include/branding-core.inc | 4 - .../recipes-core/images/arago-image.inc | 1 - ...nativesdk-packagegroup-arago-tisdk-host.bb | 1 - meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 43 ------ ...-resource-table-for-new-Linux-kernel.patch | 95 ------------ meta-arago-extras/recipes-ti/ocl/ocl.inc | 17 --- ...tmpy-Link-with-libdl-to-resolve-link.patch | 42 ----- .../recipes-ti/ocl/opencl-examples_git.bb | 144 ------------------ .../recipes-ti/ocl/opencl-monitor-ipu_git.bb | 64 -------- .../recipes-ti/ocl/opencl-monitor_git.bb | 103 ------------- .../recipes-ti/ocl/opencl-tidl-fw_git.bb | 39 ----- .../recipes-ti/ocl/opencl_git.bb | 79 ---------- 12 files changed, 632 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/ocl/clocl_git.bb delete mode 100644 meta-arago-extras/recipes-ti/ocl/files/0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patch delete mode 100644 meta-arago-extras/recipes-ti/ocl/ocl.inc delete mode 100644 meta-arago-extras/recipes-ti/ocl/ocl/0001-float_compute-matmpy-Link-with-libdl-to-resolve-link.patch delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-monitor-ipu_git.bb delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl_git.bb
meta-arago-distro/conf/distro/include/branding-core.inc +0 -4
@@ -5,10 +5,6 @@ # The policy is for the "Core" brand to be the default, # hence this file is mostly empty and used as a template -# Lower opencl-monitor priority for now -ALTERNATIVE_PRIORITY:pn-opencl-monitor = "1" -ALTERNATIVE_PRIORITY:pn-opencl-monitor-ipu = "1" - # Raise priority for sample IPC FW images ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15"
meta-arago-distro/recipes-core/images/arago-image.inc +0 -1
@@ -23,7 +23,6 @@ SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" BAD_RECOMMENDATIONS += " \ ti-llvm3.6-dev \ - opencl-monitor-dev \ libulm-dev \ gdbserver-c6x-dev \ coreutils \
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +0 -1
@@ -10,7 +10,6 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \ - nativesdk-clocl \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ nativesdk-gcc-arm-baremetal \
meta-arago-extras/recipes-ti/ocl/clocl_git.bb deleted +0 -43
43 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/files/0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patch deleted +0 -95
95 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/ocl.inc deleted +0 -17
@@ -1,17 +0,0 @@ -# patch version at the end needs to be in double digits -PV = "1.2.00.02" -INC_PR = "r0" - -LIC_FILES_CHKSUM = "file://../debian/copyright;md5=2e3965a73a8a49c23836467266120dff" - -FILESEXTRAPATHS:prepend := "${THISDIR}/ocl:" - -OCL_GIT_URI = "git://git.ti.com/git/opencl/ti-opencl.git" -OCL_GIT_PROTOCOL = "https" -OCL_GIT_BRANCH = "master" - -OCL_SRCREV = "b1dfed9af21a1236380b9d643c432e4f0c619fce" - -BRANCH = "${OCL_GIT_BRANCH}" -SRC_URI = "${OCL_GIT_URI};protocol=${OCL_GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "${OCL_SRCREV}"
meta-arago-extras/recipes-ti/ocl/ocl/0001-float_compute-matmpy-Link-with-libdl-to-resolve-link.patch deleted +0 -42
42 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb deleted +0 -144
144 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/opencl-monitor-ipu_git.bb deleted +0 -64
64 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb deleted +0 -103
103 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb deleted +0 -39
@@ -1,39 +0,0 @@ -SUMMARY = "OpenCL TIDL firmware for AM57xx" - -LICENSE = "TI-TFL" -LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=082a028431c455252c1e1d3d1021d382" - -PV = "01.02.00.01" -PR = "r0" - -require recipes-ti/includes/arago-paths.inc - -COMPATIBLE_MACHINE = "dra7xx" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -GIT_URI = "git://git.ti.com/git/opencl/opencl-firmware.git" -GIT_PROTOCOL = "https" -BRANCH = "master" -SRCREV = "9e3d0b34f604203f275fba4807481a8a763a4f63" - -SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" - -S = "${WORKDIR}/git" - -TARGET = "eve_firmware.bin ocl_tidl_dsp.lib" - -do_install() { - install -d ${D}${OCL_TIDL_FW_INSTALL_DIR_RECIPE} - for f in ${TARGET}; do - install -m 0644 ${S}/$f ${D}${OCL_TIDL_FW_INSTALL_DIR_RECIPE}/$f - done -} - -FILES:${PN} += "${OCL_TIDL_FW_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN} = "arch" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
meta-arago-extras/recipes-ti/ocl/opencl_git.bb deleted +0 -79
79 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [meta-arago] [master][RFC PATCH 14/16] opencl: deprecate
Quoted 4 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Remove opencl components as deprecated and not maintained.
Sad to see this go. I do have some of this working again locally, but it requires pulling back in all the PDK build infra into meta-ti. So no good reason to have this in meta-arago if it cannot be built currently.
If DSP programming support ever does reemerge, the low level interfaces like OpenMP/OpenCL and compilers would probably belong in meta-ti IMHO. So either way, for removing this from meta-arago,
Quoted 744 lines
Signed-off-by Denys Dmytriyenko <[email protected]>--- .../conf/distro/include/branding-core.inc | 4 - .../recipes-core/images/arago-image.inc | 1 - ...nativesdk-packagegroup-arago-tisdk-host.bb | 1 - meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 43 ------ ...-resource-table-for-new-Linux-kernel.patch | 95 ------------ meta-arago-extras/recipes-ti/ocl/ocl.inc | 17 --- ...tmpy-Link-with-libdl-to-resolve-link.patch | 42 ----- .../recipes-ti/ocl/opencl-examples_git.bb | 144 ------------------ .../recipes-ti/ocl/opencl-monitor-ipu_git.bb | 64 -------- .../recipes-ti/ocl/opencl-monitor_git.bb | 103 ------------- .../recipes-ti/ocl/opencl-tidl-fw_git.bb | 39 ----- .../recipes-ti/ocl/opencl_git.bb | 79 ---------- 12 files changed, 632 deletions(-)delete mode 100644 meta-arago-extras/recipes-ti/ocl/clocl_git.bb
delete mode 100644meta-arago-extras/recipes-ti/ocl/files/0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patchdelete mode 100644 meta-arago-extras/recipes-ti/ocl/ocl.inc
delete mode 100644meta-arago-extras/recipes-ti/ocl/ocl/0001-float_compute-matmpy-Link-with-libdl-to-resolve-link.patchdelete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb
delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-monitor-ipu_git.bb
delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb
delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb
delete mode 100644 meta-arago-extras/recipes-ti/ocl/opencl_git.bbmeta-arago-distro/conf/distro/include/branding-core.inc +0
-4@@ -5,10 +5,6 @@ # The policy is for the "Core" brand to be the default, # hence this file is mostly empty and used as a template -# Lower opencl-monitor priority for now -ALTERNATIVE_PRIORITY:pn-opencl-monitor = "1" -ALTERNATIVE_PRIORITY:pn-opencl-monitor-ipu = "1" - # Raise priority for sample IPC FW images ALTERNATIVE_PRIORITY:pn-ti-ipc-rtos = "15"meta-arago-distro/recipes-core/images/arago-image.inc +0
-1@@ -23,7 +23,6 @@ SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" BAD_RECOMMENDATIONS += " \ ti-llvm3.6-dev \ - opencl-monitor-dev \ libulm-dev \ gdbserver-c6x-dev \ coreutils \meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb +0
-1@@ -10,7 +10,6 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" EXTRA_TI_TOOLS = " \ nativesdk-ti-cgt6x \ nativesdk-ti-cgt-pru \ - nativesdk-clocl \ nativesdk-open62541-examples \ nativesdk-open62541-tests \ nativesdk-gcc-arm-baremetal \meta-arago-extras/recipes-ti/ocl/clocl_git.bb deleted +0
-43@@ -1,43 +0,0 @@ -DESCRIPTION = "TI OpenCL offline C compiler for compute devices" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/opencl/index.html" -LICENSE = "BSD-3-Clause" - -include ocl.inc - -PR = "${INC_PR}.0" - -DEPENDS = "ti-llvm3.6 ti-llvm3.6-native boost" - -S = "${WORKDIR}/git/host" - -export WANT_LLVM_RELEASE = "3.6-ti" - -TARGET:class-target = "arm" -TARGET:class-native = "x86" -TARGET:class-nativesdk = "x86" - -EXTRA_OEMAKE = " -C ${S}/clocl \ - _PRODUCT_VERSION=${PV} \ - TARGET=${TARGET} \ - LLVM_CONFIG_EXE=${STAGING_BINDIR_NATIVE}/llvm-config \ -" - -do_compile() { - oe_runmake -} - -do_install() { - install -d ${D}${bindir} - install -m 755 ${S}/clocl/${TARGET}/clocl ${D}${bindir} -} - -RDEPENDS:${PN} += "ti-cgt6x" -BBCLASSEXTEND = "native nativesdk" - -# Disable the "buildpaths" check while we figure out how we are -# going to address this issue. -# -# The ti-llvm3.6 compiler is a custom TI compiler that has not -# been updated for a number of years. It does not currently -# support reproducible builds. -INSANE_SKIP:${PN} += "buildpaths"meta-arago-extras/recipes-ti/ocl/files/0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patch deleted +0
-95@@ -1,95 +0,0 @@ -ocl: Update VRING in resource table for new Linux kernel - -- Mark the vring device addresses as FW_RSC_ADDR_ANY, so that Linux kernel - knows it needs to update these to the actual dynamically allocated - memory locations. The virtqueue driver itself will poll for the - completion status of this update. -- The change is backward compatible with 4.19 kernel - -Upstream-Status: Submitted - -Signed-off-by: Yuan Zhao <[email protected]> ---- - monitor/src/custom_rsc_table_tci6638.h | 7 +++---- - monitor/src/custom_rsc_table_vayu_dsp.h | 7 +++---- - monitor_ipu/src/custom_rsc_table_vayu_ipu1.h | 7 +++---- - 3 files changed, 9 insertions(+), 12 deletions(-) - -diff --git a/monitor/src/custom_rsc_table_tci6638.h b/monitor/src/custom_rsc_table_tci6638.h -index db6f686..c9f3f49 100644 ---- a/monitor/src/custom_rsc_table_tci6638.h -+++ b/monitor/src/custom_rsc_table_tci6638.h -@@ -49,8 +49,7 @@ - /* flip up bits whose indices represent features we support */ - #define RPMSG_IPU_C0_FEATURES 1 - --#define RPMSG_VRING0_DA 0xA0000000 --#define RPMSG_VRING1_DA 0xA0004000 -+#define RPMSG_VRING_ADDR_ANY FW_RSC_ADDR_ANY - - /* - * sizes of the virtqueues (expressed in number of buffers supported, -@@ -112,8 +111,8 @@ struct my_resource_table ti_ipc_remoteproc_ResourceTable = { - /* no config data */ - }, - /* the two vrings */ -- { RPMSG_VRING0_DA, 4096, RPMSG_VQ0_SIZE, 1, 0 }, -- { RPMSG_VRING1_DA, 4096, RPMSG_VQ1_SIZE, 2, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, RPMSG_VQ0_SIZE, 1, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, RPMSG_VQ1_SIZE, 2, 0 }, - #endif - - { -diff --git a/monitor/src/custom_rsc_table_vayu_dsp.h b/monitor/src/custom_rsc_table_vayu_dsp.h -index ddcf4a5..f7fe9e7 100644 ---- a/monitor/src/custom_rsc_table_vayu_dsp.h -+++ b/monitor/src/custom_rsc_table_vayu_dsp.h -@@ -138,8 +138,7 @@ - - // Must be marked non-cached by monitor - #define DSP_MEM_IPC_VRING 0xFFF00000 --#define DSP_MEM_RPMSG_VRING0 0xFFF00000 --#define DSP_MEM_RPMSG_VRING1 0xFFF04000 -+#define RPMSG_VRING_ADDR_ANY FW_RSC_ADDR_ANY - #define DSP_MEM_VRING_BUFS0 0xFFF40000 - #define DSP_MEM_VRING_BUFS1 0xFFF80000 - -@@ -272,8 +271,8 @@ struct my_resource_table ti_ipc_remoteproc_ResourceTable = { - /* no config data */ - }, - /* the two vrings */ -- { DSP_MEM_RPMSG_VRING0, 4096, DSP_RPMSG_VQ0_SIZE, 1, 0 }, -- { DSP_MEM_RPMSG_VRING1, 4096, DSP_RPMSG_VQ1_SIZE, 2, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, DSP_RPMSG_VQ0_SIZE, 1, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, DSP_RPMSG_VQ1_SIZE, 2, 0 }, - - { - TYPE_CARVEOUT, -diff --git a/monitor_ipu/src/custom_rsc_table_vayu_ipu1.h b/monitor_ipu/src/custom_rsc_table_vayu_ipu1.h -index b06ab86..ab80089 100644 ---- a/monitor_ipu/src/custom_rsc_table_vayu_ipu1.h -+++ b/monitor_ipu/src/custom_rsc_table_vayu_ipu1.h -@@ -96,8 +96,7 @@ - - #define IPU_MEM_IPC_VRING 0x60000000 - #define IPU_PHYS_MEM_IPC_VRING 0x9D000000 --#define IPU_MEM_RPMSG_VRING0 0x60000000 --#define IPU_MEM_RPMSG_VRING1 0x60004000 -+#define RPMSG_VRING_ADDR_ANY FW_RSC_ADDR_ANY - - /* - * Sizes of the virtqueues (expressed in number of buffers supported, -@@ -206,8 +205,8 @@ struct my_resource_table ti_ipc_remoteproc_ResourceTable = { - /* no config data */ - }, - /* the two vrings */ -- { IPU_MEM_RPMSG_VRING0, 4096, IPU_RPMSG_VQ0_SIZE, 1, 0 }, -- { IPU_MEM_RPMSG_VRING1, 4096, IPU_RPMSG_VQ1_SIZE, 2, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, IPU_RPMSG_VQ0_SIZE, 1, 0 }, -+ { RPMSG_VRING_ADDR_ANY, 4096, IPU_RPMSG_VQ1_SIZE, 2, 0 }, - - { - TYPE_CARVEOUT, --- -2.17.1 -meta-arago-extras/recipes-ti/ocl/ocl.inc deleted +0
-17@@ -1,17 +0,0 @@ -# patch version at the end needs to be in double digits -PV = "1.2.00.02" -INC_PR = "r0" - -LIC_FILES_CHKSUM = "file://../debian/copyright;md5=2e3965a73a8a49c23836467266120dff" - -FILESEXTRAPATHS:prepend := "${THISDIR}/ocl:" - -OCL_GIT_URI = "git://git.ti.com/git/opencl/ti-opencl.git" -OCL_GIT_PROTOCOL = "https" -OCL_GIT_BRANCH = "master" - -OCL_SRCREV = "b1dfed9af21a1236380b9d643c432e4f0c619fce" - -BRANCH = "${OCL_GIT_BRANCH}" -SRC_URI = "${OCL_GIT_URI};protocol=${OCL_GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "${OCL_SRCREV}"meta-arago-extras/recipes-ti/ocl/ocl/0001-float_compute-matmpy-Link-with-libdl-to-resolve-link.patch deleted +0
-42@@ -1,42 +0,0 @@ -From 79b7c204cafc2c96716b8e91093f135656820e16 Mon Sep 17 00:00:00 2001 -From: Jacob Stiffler <[email protected]> -Date: Thu, 5 May 2016 08:35:34 -0400 -Subject: [PATCH] float_compute, matmpy: Link with libdl to resolve linking - error - -* with GCC 5.3 toolchain, linking with libgomp also requires linking - with libdl - -Upstream-Status: Pending - -Signed-off-by: Jacob Stiffler <[email protected]> ---- - examples/float_compute/Makefile | 2 +- - examples/matmpy/Makefile | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/examples/float_compute/Makefile b/examples/float_compute/Makefile -index cb129f3..5514e0e 100644 ---- a/examples/float_compute/Makefile -+++ b/examples/float_compute/Makefile -@@ -5,4 +5,4 @@ CLOCL_FLAGS = - include ../make.inc - - $(EXE): main.o dsp_compute.out -- @$(CPP) $(CPP_FLAGS) main.o $(LD_FLAGS) $(LIBS) -o $@ -lrt -+ @$(CPP) $(CPP_FLAGS) main.o $(LD_FLAGS) $(LIBS) -o $@ -lrt -ldl -diff --git a/examples/matmpy/Makefile b/examples/matmpy/Makefile -index 9b20091..f9e6112 100644 ---- a/examples/matmpy/Makefile -+++ b/examples/matmpy/Makefile -@@ -6,6 +6,6 @@ CLOCL_FLAGS = - include ../make.inc - - $(EXE): main.o kernel.out -- @$(CPP) $(CPP_FLAGS) main.o $(LD_FLAGS) $(LIBS) -lrt -lgomp -o $@ -+ @$(CPP) $(CPP_FLAGS) main.o $(LD_FLAGS) $(LIBS) -lrt -lgomp -ldl -o $@ - - kernel.out: ccode.obj --- -1.9.1 -meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb deleted +0
-144@@ -1,144 +0,0 @@ -SUMMARY = "TI OpenCL example applications" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/opencl/index.html" -LICENSE = "BSD-3-Clause" - -include ocl.inc -require recipes-ti/includes/ti-paths.inc - -PR = "${INC_PR}.1" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEPENDS = "opencl opencl-monitor ti-cgt6x-native clocl-native" - -OCL_PERSISTENT_DEPENDS = "ti-xdctools-native ti-ipc-rtos ti-sysbios" - -DEPENDS:append:dra7xx = " ${OCL_PERSISTENT_DEPENDS}" - -# 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-compile ${PN}-offline-compile" -RDEPENDS:${PN}-dev += "libgomp-dev" -RDEPENDS:${PN}-offline-compile += "opencl-runtime" -RDEPENDS:${PN}-runtime-compile += "opencl" - -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 \ - conv1d \ - dgemm \ - dspheap \ - dsplib_fft \ - edmamgr \ - float_compute \ - matmpy \ - monte_carlo \ - null \ - offline \ - offline_embed \ - ooo_callback \ - platforms \ - sgemm \ - simple \ - timeout \ - vecadd \ - vecadd_openmp \ - vecadd_openmp_t \ - vecadd_subdevice \ -" - -OCL_PERSISTENT_EXAMPLE_LIST = " persistent_clock_concurrent \ - persistent_clock_spanning \ - persistent_common \ - persistent_kernel_timeout \ - persistent_messageq_concurrent \ - persistent_task_concurrent \ - persistent_task_spanning \ -" - -OCL_EXAMPLE_LIST:append:dra7xx = " ${OCL_PERSISTENT_EXAMPLE_LIST}" - -OCL_MPAX_EXAMPLE_LIST = " vecadd_mpax \ - vecadd_mpax_openmp \ -" - -python do_unpack:append() { - s = d.getVar("S") - os.makedirs(s) -} - -python do_patch:append() { - import shutil - git_dir = d.expand("${WORKDIR}/git/examples") - s = d.getVar("S") - shutil.copy(os.path.join(git_dir,"Makefile"),s) - shutil.copy(os.path.join(git_dir,"make.inc"),s) - for example in d.getVar("OCL_EXAMPLE_LIST").split(): - shutil.copytree(os.path.join(git_dir,example), os.path.join(s,example)) -} - - -EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \ - TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ -" - -export XDC_DIR = "${XDC_INSTALL_DIR}/packages" -export IPC_DIR = "${IPC_INSTALL_DIR}/packages" -export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}/packages" - -do_install() { - install -d ${D}${datadir}/ti/examples/opencl - - install ${B}/Makefile ${D}${datadir}/ti/examples/opencl - install ${B}/make.inc ${D}${datadir}/ti/examples/opencl - - for ocl_example in ${OCL_EXAMPLE_LIST}; do - install -d ${D}${datadir}/ti/examples/opencl/${ocl_example} - cp -rv ${B}/${ocl_example}/* ${D}${datadir}/ti/examples/opencl/${ocl_example} - done -} - -# First package the examples which require run-time kernel compilation. -FILES:${PN}-runtime-compile += "\ - ${@' '.join(['${datadir}/ti/examples/opencl/' + example for example in d.getVar('OCL_RUNTIME_COMPILE_EXAMPLE_LIST').split()])} \ -" - -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-compile += "\ - ${datadir}/ti/examples/opencl/ \ -" - -FILES:${PN}-offline-compile-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-compile = "arch ldflags textrel staticdev" -INSANE_SKIP:${PN}-runtime-compile = "arch ldflags textrel staticdev"meta-arago-extras/recipes-ti/ocl/opencl-monitor-ipu_git.bb deleted +0
-64@@ -1,64 +0,0 @@ -DESCRIPTION = "TI OpenCL M4/IPU device firmware for AM57x" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/opencl/index.html" -LICENSE = "BSD-3-Clause" - -include ocl.inc -require recipes-ti/includes/arago-paths.inc - -PR = "${INC_PR}.1" -SRC_URI += "file://0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patch;patchdir=.." - -inherit update-alternatives - -DEPENDS = " common-csl-ip-rtos \ - pm-lld-rtos \ - ti-xdctools-native \ - ti-ipc-rtos \ - ti-sysbios \ - ti-pdk-build-rtos \ - ti-cgt-arm-native \ - util-linux-native \ - opencl-tidl-fw \ -" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git/monitor_ipu" - -export IPC_DIR = "${IPC_INSTALL_DIR}" -export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" -export PDK_DIR = "${PDK_INSTALL_DIR}" -export XDC_DIR = "${XDC_INSTALL_DIR}" -export TI_OCL_M4_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/ti-cgt-arm" -export CSL_LIB_M4 = "${PDK_DIR}/packages/ti/csl/lib/am572x/m4/release/ti.csl.aem4" -export PM_HAL_LIB_M4 = "$(PDK_DIR)/packages/ti/drv/pm/lib/am572x/m4/release/pm_hal.aem4" -export OCL_TIDL_FW_DIR = "${OCL_TIDL_FW_INSTALL_DIR}" -export OCL_FPERMS = "664" -export OCL_DPERMS = "775" - -EXTRA_OEMAKE += " BUILD_AM57=1 \ - WORKING_DIRECTORY=${S} \ -" - -do_compile() { - oe_runmake -f Makefile -} - -do_install() { - install -m ${OCL_DPERMS} -d ${D}${base_libdir}/firmware - install -m ${OCL_FPERMS} bin/release/server_ipu1.xem4 ${D}${base_libdir}/firmware/dra7-ipu1-fw.xem4.opencl-monitor -} - -ALTERNATIVE:${PN} = "dra7-ipu1-fw.xem4" -ALTERNATIVE_LINK_NAME[dra7-ipu1-fw.xem4] = "${base_libdir}/firmware/dra7-ipu1-fw.xem4" -ALTERNATIVE_TARGET[dra7-ipu1-fw.xem4] = "${base_libdir}/firmware/dra7-ipu1-fw.xem4.opencl-monitor" -ALTERNATIVE_PRIORITY = "100" - -MONITOR_IPU_FIRMWARE = "${base_libdir}/firmware/dra7-ipu1-fw.*" - -FILES:${PN} += " \ - ${MONITOR_IPU_FIRMWARE} \ -" - -INSANE_SKIP:${PN} = "arch"meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb deleted +0
-103@@ -1,103 +0,0 @@ -DESCRIPTION = "TI OpenCL compute device firmware" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/opencl/index.html" -LICENSE = "BSD-3-Clause" - -include ocl.inc -require recipes-ti/includes/arago-paths.inc - -inherit features_check - -REQUIRED_MACHINE_FEATURES = "dsp" -REQUIRED_DISTRO_FEATURES = "opencl openmp" - -PR = "${INC_PR}.2" -SRC_URI += "file://0001-Update-VRING-in-resource-table-for-new-Linux-kernel.patch;patchdir=.." - -inherit update-alternatives - -DEPENDS = " ti-llvm3.6-native \ - common-csl-ip-rtos \ - ti-xdctools-native \ - ti-ipc-rtos \ - ti-sysbios \ - ti-cgt6x-native \ - edma3-lld-rtos \ - ti-xdais \ - ti-framework-components \ - libulm \ - gdbserver-c6x \ - libaet \ - openmp-rtos \ -" - -DEPENDS:append:dra7xx = " opencl-tidl-fw \ -" - -COMPATIBLE_MACHINE = "dra7xx" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/git/monitor" - -BUILD_TARGET:dra7xx = "ARM_AM57" - -export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export PDK_DIR = "${PDK_INSTALL_DIR}" -export IPC_DIR = "${IPC_INSTALL_DIR}" -export XDC_DIR = "${XDC_INSTALL_DIR}" -export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" -export EDMA3LLD_DIR = "${EDMA3_LLD_INSTALL_DIR}" -export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" -export FC_DIR = "${FC_INSTALL_DIR}" -export MPM_DIR = "${MPM_INSTALL_DIR}" -export OMP_DIR = "${OMP_INSTALL_DIR}" -export ULM_DIR ="${STAGING_DIR_TARGET}/usr/share/ti/ulm" -export GDB_SERVER_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/gdbc6x" -export AET_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ctoolslib/aet" -export X86_LLVM_DIR = "${STAGING_DIR_NATIVE}/usr" -export XDCPATH = "${S};${IPC_DIR}/packages;${BIOS_DIR}/packages;${EDMA3LLD_DIR}/packages;${FC_DIR}/packages;${XDAIS_DIR}/packages" -export OCL_TIDL_FW_DIR = "${OCL_TIDL_FW_INSTALL_DIR}" -export OCL_FPERMS = "664" -export OCL_DPERMS = "775" -export SHARE_PATH="${D}${datadir}/ti/opencl" - -EXTRA_OEMAKE += " BUILD_OS=linux \ - WORKING_DIRECTORY=${S} \ - BUILD_TARGET=${BUILD_TARGET} \ -" -do_compile() { - oe_runmake -f Makefile -} - -do_install() { - install -m ${OCL_DPERMS} -d ${SHARE_PATH} -} - -install_dsp_objs() { - install -m ${OCL_FPERMS} monitor_${1}/dsp0.out ${SHARE_PATH}/dsp.out - install -m ${OCL_FPERMS} monitor_${1}/dsp0.syms.obj ${SHARE_PATH}/dsp_syms.obj - install -m ${OCL_FPERMS} monitor_${1}/dsp0.syms ${SHARE_PATH}/dsp.syms -} - -do_install:append:dra7xx() { - install_dsp_objs am57x - install -m ${OCL_DPERMS} -d ${D}${base_libdir}/firmware - install -m ${OCL_FPERMS} monitor_am57x/dsp0.out ${D}${base_libdir}/firmware/dra7-dsp1-fw.xe66.${BPN} - install -m ${OCL_FPERMS} monitor_am57x/dsp1.out ${D}${base_libdir}/firmware/dra7-dsp2-fw.xe66.${BPN} -} - -ALTERNATIVE:${PN}:dra7xx = "dra7-dsp1-fw.xe66 dra7-dsp2-fw.xe66" -ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/dra7-dsp1-fw.xe66" -ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/dra7-dsp1-fw.xe66.${BPN}" -ALTERNATIVE_LINK_NAME[dra7-dsp2-fw.xe66] = "${base_libdir}/firmware/dra7-dsp2-fw.xe66" -ALTERNATIVE_TARGET[dra7-dsp2-fw.xe66] = "${base_libdir}/firmware/dra7-dsp2-fw.xe66.${BPN}" -ALTERNATIVE_PRIORITY = "100" - -MONITOR_FIRMWARE = "" -MONITOR_FIRMWARE:dra7xx = "${base_libdir}/firmware/*" - -FILES:${PN} += " \ - ${datadir}/ti/opencl/* \ - ${MONITOR_FIRMWARE} \ -" - -INSANE_SKIP:${PN} = "arch"meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb deleted +0
-39@@ -1,39 +0,0 @@ -SUMMARY = "OpenCL TIDL firmware for AM57xx" - -LICENSE = "TI-TFL" -LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=082a028431c455252c1e1d3d1021d382" - -PV = "01.02.00.01" -PR = "r0" - -require recipes-ti/includes/arago-paths.inc - -COMPATIBLE_MACHINE = "dra7xx" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -GIT_URI = "git://git.ti.com/git/opencl/opencl-firmware.git" -GIT_PROTOCOL = "https" -BRANCH = "master" -SRCREV = "9e3d0b34f604203f275fba4807481a8a763a4f63" - -SRC_URI = "${GIT_URI};protocol=${GIT_PROTOCOL};branch=${BRANCH}" - -S = "${WORKDIR}/git" - -TARGET = "eve_firmware.bin ocl_tidl_dsp.lib" - -do_install() { - install -d ${D}${OCL_TIDL_FW_INSTALL_DIR_RECIPE} - for f in ${TARGET}; do - install -m 0644 ${S}/$f ${D}${OCL_TIDL_FW_INSTALL_DIR_RECIPE}/$f - done -} - -FILES:${PN} += "${OCL_TIDL_FW_INSTALL_DIR_RECIPE}" - -INSANE_SKIP:${PN} = "arch" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1"meta-arago-extras/recipes-ti/ocl/opencl_git.bb deleted +0
-79@@ -1,79 +0,0 @@ -DESCRIPTION = "TI OpenCL host runtime and development packages" -HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/opencl/index.html" -LICENSE = "BSD-3-Clause" - -include ocl.inc - -PR = "${INC_PR}.3" - -inherit cmake systemd - -COMPATIBLE_MACHINE = "dra7xx" -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" -MONITORS:append:dra7xx = " opencl-monitor-ipu" - -DEPENDS = " virtual/libgl \ - ${MONITORS} \ - cmake-native \ - cmem \ - ti-llvm3.6 \ - ti-llvm3.6-native \ - binutils \ - sqlite3 \ - libffi \ - boost \ - boost-native \ - libloki \ - pkgconfig-native \ - libulm \ - elfutils \ - json-c \ -" - -DEPENDS:append:dra7xx = " ti-ipc virtual/kernel" - -RDEPENDS:${PN}-runtime += "bash ${MONITORS}" -RDEPENDS:${PN}-dev += "virtual-libgl-dev" -RDEPENDS:${PN} += "${PN}-runtime clocl bash" - -# Use main package to pull in full support -ALLOW_EMPTY:${PN} = "1" - -S = "${WORKDIR}/git/host" - -export WANT_LLVM_RELEASE = "3.6-ti" - -OCL_BUILD_TARGET:dra7xx = "ARM_AM57" - -ENABLE_ULM = "1" -SHMEM_MANAGER = "CMEM" - -EXTRA_OECMAKE += " -DBUILD_TARGET=${OCL_BUILD_TARGET} -DBUILD_OUTPUT=lib -DENABLE_ULM=${ENABLE_ULM} -DOCL_VERSION=${PV} -DSHMEM_MANAGER=${SHMEM_MANAGER}" - -EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} LINUX_DEVKIT_ROOT=${STAGING_DIR_HOST}" -export KERNEL_INSTALL_DIR = "${STAGING_KERNEL_DIR}" - -MCTD = "" -MCTD:dra7xx = "${S}/mct-daemon/ti-mct-daemon.service.am57x" - -do_install:append() { - install -d ${D}${systemd_system_unitdir} - 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)}" - -FILES:${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}" - -FILES:${PN} += " \ - ${datadir}/ti/opencl/* \ -"
RFC PATCH 15/16 llvm: deprecate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Remove llvm component as deprecated and not maintained.
--- .../recipes-core/images/arago-image.inc | 1 - .../recipes-core/llvm/llvm-common.bb | 23 --- .../recipes-core/llvm/llvm-common.bbappend | 5 - .../recipes-core/llvm/llvm-common/llvm-config | 11 -- meta-arago-extras/recipes-core/llvm/llvm.inc | 162 --------------- ...not-check-build-executable-extension.patch | 39 ---- .../recipes-core/llvm/ti-llvm3.6_3.6.bb | 184 ------------------ 7 files changed, 425 deletions(-) delete mode 100644 meta-arago-extras/recipes-core/llvm/llvm-common.bb delete mode 100644 meta-arago-extras/recipes-core/llvm/llvm-common.bbappend delete mode 100644 meta-arago-extras/recipes-core/llvm/llvm-common/llvm-config delete mode 100644 meta-arago-extras/recipes-core/llvm/llvm.inc delete mode 100644 meta-arago-extras/recipes-core/llvm/ti-llvm3.6/0001-configure-Do-not-check-build-executable-extension.patch delete mode 100644 meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
meta-arago-distro/recipes-core/images/arago-image.inc +0 -1
@@ -22,7 +22,6 @@ TOOLCHAIN_HOST_TASK:append = " nativesdk-buildtools-perl-dummy" SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" BAD_RECOMMENDATIONS += " \ - ti-llvm3.6-dev \ libulm-dev \ gdbserver-c6x-dev \ coreutils \
meta-arago-extras/recipes-core/llvm/llvm-common.bb deleted +0 -23
@@ -1,23 +0,0 @@ -SUMMARY = "Helper script for OE's llvm support" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -SRC_URI = "file://llvm-config" - -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" - -ALLOW_EMPTY:${PN} = "1" -SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_common_sysroot_preprocess" - -llvm_common_sysroot_preprocess() { - install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ - install -m 0755 ${S}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ -} - -do_install:class-native() { - install -d ${D}${bindir} - install -m 0755 ${S}/llvm-config ${D}${bindir} -} - -BBCLASSEXTEND = "native"
meta-arago-extras/recipes-core/llvm/llvm-common.bbappend deleted +0 -5
@@ -1,5 +0,0 @@ -PR:append = ".arago0" - -SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " llvm_common_sysroot_preprocess" - -BBCLASSEXTEND += "nativesdk"
meta-arago-extras/recipes-core/llvm/llvm-common/llvm-config deleted +0 -11
@@ -1,11 +0,0 @@ -#!/bin/sh -# Wrapper script for real llvm-config. Simply calls - -if [ $WANT_LLVM_RELEASE ]; then - exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@} -else - echo "To use llvm-common WANT_LLVM_RELEASE needs to be exported." - echo "For example if this is being called through a recipe:" - echo "export WANT_LLVM_RELEASE=\"3.3\"" - exit 1 -fi
meta-arago-extras/recipes-core/llvm/llvm.inc deleted +0 -162
162 lines not on this page · raw message
meta-arago-extras/recipes-core/llvm/ti-llvm3.6/0001-configure-Do-not-check-build-executable-extension.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 60da8adc29a84796c9768a1a962eda1915c87332 Mon Sep 17 00:00:00 2001 -From: Jake Stiffler <[email protected]> -Date: Fri, 20 Feb 2015 10:55:11 -0500 -Subject: [PATCH] configure: Do not check build executable extension. - - * This seems to cause issues nativesdk and build sdk - architectures are the same. - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Jake Stiffler <[email protected]> ---- - configure | 3 +++ - 1 files changed, 3 insertions(+) - -diff --git a/configure b/configure -index decbc40..387c4fd 100755 ---- a/configure -+++ b/configure -@@ -4951,6 +4951,8 @@ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} - rm -f conftest* - echo 'int main () { return 0; }' > conftest.$ac_ext - ac_cv_build_exeext= -+ -+if false; then - if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5 - (eval $ac_build_link) 2>&5 - ac_status=$? -@@ -4967,6 +4969,7 @@ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} - echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;} - { (exit 1); exit 1; }; } - fi -+fi - rm -f conftest* - test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank - fi --- -1.7.9.5 -
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb deleted +0 -184
184 lines not on this page · raw message
Signature · 1 line
2.25.1
RFC PATCH 16/16 arago-paths.inc: remove
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
This include file was referenced from many deprecated components and is no longer needed, remove.
--- .../recipes-ti/includes/arago-paths.inc | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 meta-arago-extras/recipes-ti/includes/arago-paths.inc
meta-arago-extras/recipes-ti/includes/arago-paths.inc deleted +0 -15
@@ -1,15 +0,0 @@ -require recipes-ti/includes/ti-paths.inc - -export LIBARCH_INSTALL_DIR_RECIPE = "${installdir}/ti-libarch-tree" -export LINALG_INSTALL_DIR_RECIPE = "${installdir}/ti-linalg-tree" -export OCL_TIDL_FW_INSTALL_DIR_RECIPE = "${installdir}/ti-opencl-tidl-fw-tree" -export FFTLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-fftlib-tree" -export FFTW_INSTALL_DIR_RECIPE = "${installdir}/ti-fftw-tree" -export TIOVX_INSTALL_DIR_RECIPE = "${installdir}/ti-tiovx-lib-tree" - -export LIBARCH_INSTALL_DIR = "${STAGING_DIR_TARGET}${LIBARCH_INSTALL_DIR_RECIPE}" -export LINALG_INSTALL_DIR = "${STAGING_DIR_TARGET}${LINALG_INSTALL_DIR_RECIPE}" -export OCL_TIDL_FW_INSTALL_DIR = "${STAGING_DIR_TARGET}${OCL_TIDL_FW_INSTALL_DIR_RECIPE}" -export FFTLIB_INSTALL_DIR = "${STAGING_DIR_TARGET}${FFTLIB_INSTALL_DIR_RECIPE}" -export FFTW_INSTALL_DIR = "${STAGING_DIR_TARGET}${FFTW_INSTALL_DIR_RECIPE}" -export TIOVX_INSTALL_DIR = "${STAGING_DIR_TARGET}${TIOVX_INSTALL_DIR_RECIPE}"
Signature · 1 line
2.25.1