arago-tiny-image: make it tinier by removing non essential packages
PATCH 1/9 arago-tiny-image: make it tinier by removing non essential packages
From: Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-core/images/arago-tiny-image.bb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
meta-arago-distro/recipes-core/images/arago-tiny-image.bb +3 -9
@@ -2,17 +2,11 @@ ARAGO_SYSVINIT = "1" require arago-image.inc +IMAGE_FEATURES_remove = "package-management splash" + IMAGE_FSTYPES += "cpio" -# Install a small set of utils which can be used for diagnostics -ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= " \ - parted \ - util-linux \ - e2fsprogs \ - dosfstools \ - devmem2 \ - arago-feed-config \ -" +ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= "" IMAGE_INSTALL = " \ packagegroup-arago-sysvinit-boot \
Signature · 1 line
2.7.4
PATCH 2/9 images: combine tisdk-rootfs-image with "server"
From: Denys Dmytriyenko <[email protected]>
Guard some tasks based on MACHINE_FEATURES, like "gpu", "dsp", etc.
Also, temporarily remove arago-tiny-image from the bundle, as it lacks package management and fails to generate the software manifest.
--- .../images/arago-core-tisdk-bundle.inc | 6 +----- .../recipes-core/images/arago-image.inc | 1 + .../recipes-core/images/tisdk-rootfs-image.bb | 13 ++++++++--- .../images/tisdk-server-rootfs-image.bb | 25 ---------------------- 4 files changed, 12 insertions(+), 33 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb
meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc +1 -5
@@ -32,15 +32,11 @@ DTB_FILTER_am65xx = "am65" DTB_FILTER_j7-evm = "j721e" # List of target side images to build for the SDK -TARGET_IMAGES = "arago-base-tisdk-image tisdk-rootfs-image arago-tiny-image" +TARGET_IMAGES = "arago-base-tisdk-image tisdk-rootfs-image" # dra71 lcard requires an initramfs with modules for NFS boot TARGET_IMAGES_append_dra7xx-evm = " netboot-initrd" -# Some devices do not support display and use a server image instead -TARGET_IMAGES_keystone = "arago-base-tisdk-image tisdk-server-rootfs-image arago-tiny-image" -TARGET_IMAGES_omapl138 = "arago-base-tisdk-image tisdk-server-rootfs-image arago-tiny-image" - TISDK_TOOLCHAIN = "meta-toolchain-arago-tisdk" TOOLCHAIN_SUFFIX = "-tisdk"
meta-arago-distro/recipes-core/images/arago-image.inc +1 -0
@@ -11,6 +11,7 @@ EXTRA_IMAGECMD_ext2.gz += "-i 4096" IMAGE_INSTALL = " \ packagegroup-core-boot \ + ${VIRTUAL-RUNTIME_initramfs} \ ${CORE_IMAGE_EXTRA_INSTALL} \ "
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +10 -3
@@ -2,6 +2,8 @@ require arago-image.inc +SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \
@@ -10,7 +12,7 @@ IMAGE_INSTALL += "\ packagegroup-arago-test-addons \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-gtk','',d)} \ - packagegroup-arago-tisdk-qte \ + ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-extra','',d)} \ packagegroup-arago-tisdk-connectivity \
@@ -21,7 +23,12 @@ IMAGE_INSTALL += "\ packagegroup-arago-tisdk-amsdk \ packagegroup-arago-tisdk-addons \ packagegroup-arago-tisdk-addons-extra \ - packagegroup-arago-tisdk-hmi \ - " + ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ +" export IMAGE_BASENAME = "tisdk-rootfs-image" + +# Disable ubi/ubifs as the filesystem requires more space than is +# available on the HW. +IMAGE_FSTYPES_remove_keystone = "ubifs ubi" +IMAGE_FSTYPES_remove_omapl138 = "ubifs ubi"
meta-arago-distro/recipes-core/images/tisdk-server-rootfs-image.bb deleted +0 -25
@@ -1,25 +0,0 @@ -# Arago TI SDK filesystem image - -require arago-base-tisdk-image.bb - -SPLASH = "" - -IMAGE_INSTALL += "\ - packagegroup-arago-tisdk-addons \ - packagegroup-arago-tisdk-addons-extra \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-extra','',d)} \ - packagegroup-arago-tisdk-crypto \ - packagegroup-arago-tisdk-multimedia \ - packagegroup-arago-tisdk-matrix \ - packagegroup-arago-tisdk-matrix-extra \ - packagegroup-arago-base-tisdk-server-extra \ - packagegroup-arago-tisdk-connectivity \ - packagegroup-arago-test-addons \ -" - -export IMAGE_BASENAME = "tisdk-server-rootfs-image" - -# Disable ubi/ubifs as the filesystem requires more space than is -# available on the HW. -IMAGE_FSTYPES_remove = "ubifs ubi"
Signature · 1 line
2.7.4
PATCH 3/9 ti-world: list of packages to populate feeds
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
As ti-world contains everything from default rootfs plus more, shrink down default rootfs by dropping following piece:
* OpenCL-extra
* Build essentials and other devtools
* valgrind
* qt-opencv-opencl-opengl-multithreaded-dev
* qt3d-examples
* qtwebengine and qtbrowser
* Introduce "misc" packagegroup
---
.../recipes-core/images/tisdk-rootfs-image.bb | 1 -
.../packagegroups/packagegroup-arago-misc.bb | 11 +++++
.../packagegroups/packagegroup-arago-qte.bb | 8 ----
.../packagegroup-arago-tisdk-addons.bb | 9 -----
.../packagegroup-arago-tisdk-multimedia.bb | 1 -
.../packagegroups/packagegroup-arago-tisdk-qte.bb | 10 -----
.../ti-world.bb} | 47 ++++++++++++++++------
7 files changed, 46 insertions(+), 41 deletions(-)
create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-misc.bb
copy meta-arago-distro/recipes-core/{images/tisdk-rootfs-image.bb => packagegroups/ti-world.bb} (52%)meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +0 -1
@@ -14,7 +14,6 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-extra','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-matrix \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-misc.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "Task to install additional miscellaneous packages" +LICENSE = "MIT" +PR = "r0" + +inherit packagegroup + +RDEPENDS_${PN} = "\ + nano \ + mc \ + rsync \ +"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb +0 -8
@@ -41,19 +41,11 @@ QT5_ESSENTIALS = "\ qtvirtualkeyboard-plugins \ qtvirtualkeyboard-qmlplugins \ qtwebkit-qmlplugins \ - qtwebengine-qmlplugins \ liberation-fonts \ qtconnectivity \ qtconnectivity-qmlplugins \ " -#QT5_ESSENTIALS_append_k3 = "\ -# qtwebkit-qmlplugins \ -#" -#QT5_ESSENTIALS_remove_k3 = "\ -# qtwebengine-qmlplugins \ -#" - RDEPENDS_${PN} = "\ ${@oe.utils.conditional('QT_PROVIDER', 'qt5', "${QT5_ESSENTIALS}", "${QT4_ESSENTIALS}", d)} \ "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +0 -9
@@ -23,7 +23,6 @@ UTILS = " \ libdrm-kms \ kms++ \ kms++-python \ - ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \ stream \ strongswan \ kexec \
@@ -130,13 +129,6 @@ EXTRA_LIBS_append_ti33x = " \ uio-module-drv \ " -DEVTOOLS = " \ - linux-libc-headers-dev \ - packagegroup-core-buildessential \ - packagegroup-core-tools-debug \ - git \ -" - EXTRA_PACKAGES = " \ nodejs \ nodejs-npm \
@@ -197,7 +189,6 @@ EXTRA_PACKAGES_append_k2g-evm = " pruss-lld-apps" RDEPENDS_${PN} = "\ ${UTILS} \ ${UTILS_UBOOT_FW} \ - ${DEVTOOLS} \ ${EXTRA_LIBS} \ "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb +0 -1
@@ -29,7 +29,6 @@ MULTIMEDIA_append_omap-a15 = " \ MULTIMEDIA_append_dra7xx = " \ vis \ hevc-arm-decoder \ - ${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'qt-opencv-opencl-opengl-multithreaded-dev', '', d)} \ " MULTIMEDIA_append_omap5-evm = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb +0 -10
@@ -13,7 +13,6 @@ QT4_DEMOS = "\ " QT5_DEMOS = "\ - qt3d-examples \ qtbase-examples \ qtdeclarative-examples \ qtdeclarative-tools \
@@ -22,19 +21,10 @@ QT5_DEMOS = "\ qtscript-examples \ qtsvg-examples \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-examples', '', d)} \ - qtwebengine-examples \ - qtwebbrowser \ - qtwebbrowser-examples \ qtserialport-examples \ qtcharts-examples \ " -#QT5_DEMOS_remove_k3 = "\ -# qtwebbrowser \ -# qtwebbrowser-examples \ -# qtwebengine-examples \ -#" - QT_DEMOS = "\ qt-tstat \ "
meta-arago-distro/recipes-core/packagegroups/ti-world.bb renamed from meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +35 -12
63 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 4/9 opencl: major refactor
In reply to Denys DmytriyenkoFrom: Jacob Stiffler <[email protected]>
For opencl, use the runtime package to pull in the minimal set of dependencies needed to run opencl applications. The applications must use precompiled kernels. Use the main package to pull in the full set of tools, including clocl and the accelerator toolchains.
For the opencl-examples, the offline-compile package are the examples which provide precompiled kernels, and thus require the minimum set of dependencies. The runtime-compile package requires the kernels to be compiled during runtime, and thus require the full set of opencl tools, including clocl.
--- .../packagegroup-arago-tisdk-opencl.bb | 6 +-- meta-arago-extras/conf/layer.conf | 1 - meta-arago-extras/recipes-ti/ocl/clocl_git.bb | 1 + .../recipes-ti/ocl/opencl-examples_git.bb | 47 +++++++++++++++++++--- meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 33 ++++++++------- 5 files changed, 61 insertions(+), 27 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb +1 -5
@@ -9,13 +9,10 @@ inherit packagegroup PACKAGES =+ "${PN}-extra" MAIN_PKGS = " \ - opencl-examples \ + opencl-examples-offline-compile \ " EXTRA_PKGS = " \ - opencl-staticdev \ - opencl-examples-dev \ - openmpacc-examples-dev \ python-pyopencl \ "
@@ -27,7 +24,6 @@ EXTRA_PKGS_append_k2hk = " \ # ti-fftw-examples EXTRA_PKGS_append_dra7xx = " \ linalg-examples \ - opencl-examples \ kaldi \ "
meta-arago-extras/conf/layer.conf +0 -1
@@ -41,5 +41,4 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ SIGGEN_EXCLUDERECIPES_ABISAFE += " \ ipsecmgr-mod \ gstreamer1.0-plugins-bad \ - opencl \ "
meta-arago-extras/recipes-ti/ocl/clocl_git.bb +1 -0
@@ -31,4 +31,5 @@ do_install() { install -m 755 ${S}/clocl/${TARGET}/clocl ${D}${bindir} } +RDEPENDS_${PN} += "ti-cgt6x" BBCLASSEXTEND = "native nativesdk"
meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb +41 -6
72 lines not on this page · raw message
meta-arago-extras/recipes-ti/ocl/opencl_git.bb +18 -15
@@ -4,17 +4,23 @@ LICENSE = "BSD" include ocl.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.3" inherit cmake systemd COMPATIBLE_MACHINE = "dra7xx|keystone" PACKAGE_ARCH = "${MACHINE_ARCH}" +# Define runtime package for minimal dependencies to run opencl applications +# which precompile the offloaded kernels. The base package will provide the +# ability to compile kernels (clocl) during runtime. PACKAGES =+ "${PN}-runtime" +MONITORS = " opencl-monitor" +MONITORS_append_dra7xx = " opencl-monitor-ipu" + DEPENDS = " ocl-gl-headers \ - opencl-monitor \ + ${MONITORS} \ cmake-native \ cmem \ ti-llvm3.6 \
@@ -31,20 +37,16 @@ DEPENDS = " ocl-gl-headers \ json-c \ " -DEPENDS_append_dra7xx = " ti-ipc virtual/kernel" +DEPENDS_append_dra7xx = " ti-ipc virtual/kernel" DEPENDS_append_keystone = " mpm-transport multiprocmgr" DEPENDS_remove_k2g = " libulm" -MONITORS = " opencl-monitor" -MONITORS_append_am57xx-evm = " opencl-monitor-ipu" -MONITORS_append_am57xx-hs-evm = " opencl-monitor-ipu" -MONITORS_append_dra7xx = " opencl-monitor-ipu" - -RDEPENDS_${PN} += " bash" -RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor" -RDEPENDS_${PN}-runtime += " ${PN} ${MONITORS} clocl ti-cgt6x" +RDEPENDS_${PN}-runtime += "bash ${MONITORS}" +RDEPENDS_${PN}-dev += "ocl-gl-headers-dev" +RDEPENDS_${PN} += "${PN}-runtime clocl bash" -ALLOW_EMPTY_${PN}-runtime = "1" +# Use main package to pull in full support +ALLOW_EMPTY_${PN} = "1" S = "${WORKDIR}/git/host"
@@ -73,10 +75,11 @@ do_install_append() { install -m0644 ${MCTD} ${D}${systemd_system_unitdir}/ti-mct-daemon.service } -SYSTEMD_SERVICE_${PN} = "ti-mct-daemon.service" -SYSTEMD_AUTO_ENABLE_${PN} = "${@oe.utils.conditional("RESERVE_CMEM", "1", "enable", "disable", d)}" +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}" +FILES_${PN}-runtime += "${bindir} ${systemd_system_unitdir} ${sysconfdir}/ti-mctd ${libdir}/lib*${SOLIBS}" FILES_${PN} += " \ ${datadir}/ti/opencl/* \
Signature · 1 line
2.7.4
PATCH 5/9 ti-opencl: add aliases for opencl and opencl-runtime
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb | 12 ++++++++++++ meta-arago-distro/recipes-core/packagegroups/ti-world.bb | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb
meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb new file +12 -0
@@ -0,0 +1,12 @@ +# 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 +1 -1
@@ -37,7 +37,7 @@ RDEPENDS_${PN} = "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte qt3d-examples','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl','',d)} \ + ${@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)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \
Signature · 1 line
2.7.4
PATCH 6/9 build-essential: add a debian-named alias for OE packagegroup
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-core/packagegroups/build-essential.bb | 7 +++++++ meta-arago-distro/recipes-core/packagegroups/ti-world.bb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 meta-arago-distro/recipes-core/packagegroups/build-essential.bb
meta-arago-distro/recipes-core/packagegroups/build-essential.bb new file +7 -0
@@ -0,0 +1,7 @@ +# This is just an alias between debian and OE names + +LICENSE = "MIT" + +inherit packagegroup + +RDEPENDS_${PN} = "packagegroup-core-buildessential"
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +1 -1
@@ -23,7 +23,7 @@ EXTRABROWSERS = " \ DEVTOOLS = " \ linux-libc-headers-dev \ - packagegroup-core-buildessential \ + build-essential \ packagegroup-core-tools-debug \ git \ "
Signature · 1 line
2.7.4
PATCH 7/9 ti-test: combine and rename arago-test and arago-test-addons
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Also remove test package from base rootfs
---
.../recipes-core/images/arago-base-tisdk-image.bb | 1 -
.../recipes-core/images/tisdk-rootfs-image.bb | 3 +-
.../packagegroups/packagegroup-arago-test.bb | 92 --------------------
...ackagegroup-arago-test-addons.bb => ti-test.bb} | 98 +++++++++++++++++++---
.../recipes-core/packagegroups/ti-world.bb | 3 +-
5 files changed, 89 insertions(+), 108 deletions(-)
delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb
rename meta-arago-distro/recipes-core/packagegroups/{packagegroup-arago-test-addons.bb => ti-test.bb} (61%)meta-arago-distro/recipes-core/images/arago-base-tisdk-image.bb +0 -1
@@ -10,7 +10,6 @@ IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ - packagegroup-arago-test \ ${VIRTUAL-RUNTIME_initramfs} \ "
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +1 -2
@@ -8,8 +8,7 @@ IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ - packagegroup-arago-test \ - packagegroup-arago-test-addons \ + ti-test \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte','',d)} \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb deleted +0 -92
92 lines not on this page · raw message
meta-arago-distro/recipes-core/packagegroups/ti-test.bb renamed from meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test-addons.bb +87 -11
145 lines not on this page · raw message
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +1 -2
@@ -32,8 +32,7 @@ RDEPENDS_${PN} = "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ - packagegroup-arago-test \ - packagegroup-arago-test-addons \ + ti-test \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-gtk','',d)} \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte qt3d-examples','',d)} \
Signature · 1 line
2.7.4
PATCH 8/9 ti-analytics, ti-demos: create initial packagegroups
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
For now move armnn, tensorflow, voxelsdk and pdm-anomaly
--- .../recipes-core/images/tisdk-rootfs-image.bb | 2 ++ .../packagegroup-arago-tisdk-addons.bb | 39 +++------------------- .../recipes-core/packagegroups/ti-analytics.bb | 21 ++++++++++++ .../recipes-core/packagegroups/ti-demos.bb | 25 ++++++++++++++ .../recipes-core/packagegroups/ti-world.bb | 2 ++ 5 files changed, 55 insertions(+), 34 deletions(-) create mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb create mode 100644 meta-arago-distro/recipes-core/packagegroups/ti-demos.bb
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb +2 -0
@@ -22,6 +22,8 @@ IMAGE_INSTALL += "\ packagegroup-arago-tisdk-addons \ packagegroup-arago-tisdk-addons-extra \ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ + ti-analytics \ + ti-demos \ " export IMAGE_BASENAME = "tisdk-rootfs-image"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +5 -34
@@ -140,45 +140,16 @@ EXTRA_PACKAGES_omapl138 = " \ protobuf \ " -ARMNN_PACKAGES = "" -VOXEL_PACKAGES = "" -#ARMNN_PACKAGES = "${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'armnn', '', d)}" -#VOXEL_PACKAGES = "${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'voxelsdk', '', d)}" - -EXTRA_PACKAGES_append_ti33x = " ${VOXEL_PACKAGES} \ - arm-compute-library \ - ${ARMNN_PACKAGES} \ - tensorflow-lite-demo \ - pdm-anomaly-detection \ -" - -EXTRA_PACKAGES_append_ti43x = " ${VOXEL_PACKAGES} \ - arm-compute-library \ - ${ARMNN_PACKAGES} \ - tensorflow-lite-demo \ - pdm-anomaly-detection \ -" - -EXTRA_PACKAGES_append_omap-a15 = " ${VOXEL_PACKAGES} \ - big-data-ipc-demo-linux \ - big-data-ipc-demo-linux-firmware \ - arm-compute-library \ - ${ARMNN_PACKAGES} \ - tensorflow-lite-demo \ - pdm-anomaly-detection \ -" - -EXTRA_PACKAGES_append_am65xx = " arm-compute-library \ - ${ARMNN_PACKAGES} \ - tensorflow-lite-demo \ - pdm-anomaly-detection \ -" - EXTRA_PACKAGES_append_omap-a15 = " ti-ipc-examples-linux" EXTRA_PACKAGES_append_keystone = " ti-ipc-examples-linux" EXTRA_PACKAGES_append_omapl138 = " ti-ipc-examples-linux" EXTRA_PACKAGES_append_am65xx = " ti-ipc-examples-linux" +EXTRA_PACKAGES_append_omap-a15 = " \ + big-data-ipc-demo-linux \ + big-data-ipc-demo-linux-firmware \ +" + # acontis-atemsys EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps" EXTRA_PACKAGES_append_am437x-evm = " pruss-lld-apps"
meta-arago-distro/recipes-core/packagegroups/ti-analytics.bb new file +21 -0
@@ -0,0 +1,21 @@ +SUMMARY = "TI World packagegroup" +LICENSE = "MIT" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup + +ARMNN_PACKAGES = "" +#ARMNN_PACKAGES = "${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'armnn', '', d)}" + +ANALYTICS = "\ + ${ARMNN_PACKAGES} \ + tensorflow-lite-demo \ +" +ANALYTICS_keystone = "" +ANALYTICS_j7-evm = "" +ANALYTICS_omapl138 = "" + +RDEPENDS_${PN} = "\ + ${ANALYTICS} \ +"
meta-arago-distro/recipes-core/packagegroups/ti-demos.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "TI World packagegroup" +LICENSE = "MIT" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup + +VOXEL_PKG = "" +#VOXEL_PKG = "${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'voxelsdk', '', d)}" + +VOXELSDK = "" +VOXELSDK_ti33x = "${VOXEL_PKG}" +VOXELSDK_ti43x = "${VOXEL_PKG}" +VOXELSDK_omap-a15 = "${VOXEL_PKG}" + +PDM_ANOMALY = "" +PDM_ANOMALY_ti33x = "pdm-anomaly-detection" +PDM_ANOMALY_ti43x = "pdm-anomaly-detection" +PDM_ANOMALY_omap-a15 = "pdm-anomaly-detection" +PDM_ANOMALY_am65xx = "pdm-anomaly-detection" + +RDEPENDS_${PN} = "\ + ${VOXELSDK} \ + ${PDM_ANOMALY} \ +"
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +2 -0
@@ -53,4 +53,6 @@ RDEPENDS_${PN} = "\ ${DEVTOOLS} \ ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \ packagegroup-arago-misc \ + ti-analytics \ + ti-demos \ "
Signature · 1 line
2.7.4
PATCH 9/9 opkg-bash-completion: add bash-completions for opkg
In reply to Denys DmytriyenkoFrom: Jacob Stiffler <[email protected]>
* This is a simpe start to bash completions for opkg. Initialy, this can complete current supported verbs (static) and complete package names (dynamic).
* Use helpers (e.g. _init_completion, _count_args) to enhance usability
* Add support for search and flag verbs
--- .../packagegroups/packagegroup-arago-base.bb | 1 + .../recipes-devtools/opkg/opkg-bash-completion.bb | 17 +++++++ .../opkg/opkg-bash-completion/opkg-bash-completion | 53 ++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb create mode 100644 meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +1 -0
@@ -20,6 +20,7 @@ ARAGO_BASE = "\ ethtool \ thermal-init \ bash \ + opkg-bash-completion \ udev-extraconf \ "
meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "bash-completions for opkg" +LICENSE = "MIT" + +PR = "r1" + +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://opkg-bash-completion" + +do_install() { + install -d ${D}${datadir}/bash-completion/completions + install -m 0644 ${WORKDIR}/opkg-bash-completion \ + ${D}${datadir}/bash-completion/completions/opkg +} + +FILES_${PN} = "${datadir}/bash-completion/completions/opkg" +RDEPENDS_${PN} = "bash-completion"
meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.7.4