Skip to contentSkip to conversation

2022.10 sync up with Dunfell

PATCH Superseded Denys Dmytriyenko 1 participant 15 messages Nov 4, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover 2022.10 sync up with Dunfell

From: Denys Dmytriyenko <[email protected]>

Latest (as of end of October 2022) sync up of Dunfell changes to Kirkstone/master

Mostly cleanup of outdated components and general updates.

Andreas Dannenberg (1):
meta-toolchain-arago: update executable fixup for Ubuntu 20.04+
compatibility

Andrew Davis (9):
ti-crypto-examples: Remove ti-crypto-examples
big-data-ipc-demo: Merge include file and rename
cmem: Remove Makefile_cmem-mod and cmem refrences
ti-pru-sw: Remove old TI-PRU-SW examples and helpers
ti-tisdk: Remove uio-module-drv kernel module packagegroup-arago-tisdk-addons: Make ti-rtos-firmware available for

    k3

meta-arago: Use new J7 SoC names over specific board names
qtbase-conf: fix name of WAYLAND_SHELL_INTEGRATION arago.conf: Specify omapl138 directly instead of omapl1

Denys Dmytriyenko (3):
ltp-ddt: update to the latest
HACK: packagegroup: disable tensorflow-lite
HACK: packagegroup: disable HEVC gstreamer plugin

Randolph Sapp (1):
img-pvr-sdk: Drop img-pvr-sdk and update matrix

 meta-arago-distro/conf/distro/arago.conf      |  2 +-
 .../recipes-core/images/tisdk-core-bundle.bb  |  3 +-
 .../recipes-core/images/tisdk-core-bundle.inc |  4 +-
 .../packagegroup-arago-gst-sdk-target.bb      |  2 +-
 .../packagegroups/packagegroup-arago-gst.bb   |  2 +-
 ...kagegroup-arago-tisdk-addons-sdk-target.bb | 51 +++++-------
 .../packagegroup-arago-tisdk-addons.bb        | 35 ++------
 .../packagegroup-arago-tisdk-crypto.bb        |  1 -
 .../packagegroup-arago-tisdk-matrix.bb        |  4 -
 .../recipes-core/packagegroups/ti-test.bb     |  4 +-
 .../recipes-qt/qt5/qtbase-conf/qt_env.sh      |  2 +-
 .../qt5/qtbase-conf/ti33x/qt_env.sh           |  2 +-
 .../big-data-ipc-demo/big-data-ipc-demo.inc   | 30 -------
 ...-linux_git.bb => big-data-ipc-demo_git.bb} | 30 ++++---
 .../matrix/matrix-gui-3d-demos_2.0.bb         | 49 ++---------
 .../recipes-core/meta/meta-toolchain-arago.bb |  2 +-
 .../ti-crypto-examples_git.bb                 | 30 -------
 .../ti-pru-sw-app-loader_1.00.00.bb           | 26 ------
 .../ti-pru-sw-edma-library_1.00.00.bb         | 30 -------
 .../ti-pru-sw-examples_1.00.00.bb             | 31 -------
 .../ltp-ddt/ltp-ddt_20210524.bb               |  2 +-
 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb          | 83 -------------------
 .../gstreamer1.0-plugins-bad_1.16.%.bbappend  |  6 +-
 23 files changed, 67 insertions(+), 364 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo.inc
 rename meta-arago-extras/recipes-apps/big-data-ipc-demo/{big-data-ipc-demo-linux_git.bb => big-data-ipc-demo_git.bb} (54%)
 delete mode 100644 meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-app-loader/ti-pru-sw-app-loader_1.00.00.bb
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-edma-library/ti-pru-sw-edma-library_1.00.00.bb
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-examples/ti-pru-sw-examples_1.00.00.bb
 delete mode 100644 meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/14 img-pvr-sdk: Drop img-pvr-sdk and update matrix

From: Randolph Sapp <[email protected]>

The img-pvr-sdk package currently ships dated demos and pvr tools. Instead of packaging these ourselves, we should redirect users to to the latest versions published by Imagination to prevent things like PVRTune server-GUI mismatch.

Matrix-gui has been updated to not depend on img-pvr-sdk demos and the img-pvr-sdk package directory and bitbake recipe has been removed.

---
 .../packagegroup-arago-tisdk-matrix.bb        |  4 -
 .../matrix/matrix-gui-3d-demos_2.0.bb         | 49 ++---------
 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb          | 83 -------------------
 3 files changed, 6 insertions(+), 130 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +0 -4
index 361bd04b..3d9ebdf3 100644
@@ -69,10 +69,6 @@ MATRIX_TOUCH_APPS = " \
 "
 
 MATRIX_GPU_DEMOS = " \
-    matrix-3d-demo-chameleon \
-    matrix-3d-demo-coverflow \
-    matrix-3d-demo-navigation \
-    matrix-3d-demo-exampleui \
     matrix-3d-demo-kmscube \
 "
 
meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb +6 -43

65 lines not on this page · raw message

meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb deleted +0 -83

83 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/14 ti-crypto-examples: Remove ti-crypto-examples

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

These examples have not been updated in a long time and are not correct anymore. Remove this.

---
 .../packagegroup-arago-tisdk-crypto.bb        |  1 -
 .../ti-crypto-examples_git.bb                 | 30 -------------------
 2 files changed, 31 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb +0 -1
index f217f7d8..d2189a50 100644
@@ -13,7 +13,6 @@ CRYPTO_SUPPORT = "\
     openssl-engines \
 "
 
-#ti-crypto-examples
 CRYPTO_SUPPORT:append:ti33x = " cryptodev-module cryptodev-tests"
 CRYPTO_SUPPORT:append:ti43x = " cryptodev-module cryptodev-tests"
 CRYPTO_SUPPORT:append:dra7xx = " cryptodev-module cryptodev-tests"
meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb deleted +0 -30
deleted file mode 100644
index 10f14478..00000000
@@ -1,30 +0,0 @@
-DESCRIPTION = "TI Cryptography Example Applications"
-HOMEPAGE = "https://git.ti.com/cgit/arago-project-org/crypto-example-apps/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://AES/aes_256.c;beginline=9;endline=35;md5=8edbb4dee965d2f2eb5ca2822addcae5"
-SECTION = "console"
-DEPENDS += "openssl"
-
-PR = "r7"
-
-BRANCH ?= "master"
-SRCREV = "6f4b09fffe970bb6b448369875874e798ef282f6"
-
-SRC_URI = "git://git.ti.com/git/git/arago-project-org/crypto-example-apps.git;protocol=https;branch=${BRANCH}"
-
-S = "${WORKDIR}/git"
-
-do_compile() {
-    export CROSS_COMPILE=${TARGET_PREFIX}
-    export CFLAGS='${TARGET_CC_ARCH}'
-    # build the release version
-    oe_runmake release
-}
-
-do_install() {
-    oe_runmake DESTDIR=${D} install
-}
-
-python () {
-    raise bb.parse.SkipRecipe("skipping ti-crypto-examples")
-}
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/14 big-data-ipc-demo: Merge include file and rename

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

The include might have been intended to be used by an TI RTOS build but without this in the roadmap lets merge the include and rename this recipe without the -linux postfix.

---
 .../packagegroup-arago-tisdk-addons.bb        |  2 +-
 .../big-data-ipc-demo/big-data-ipc-demo.inc   | 30 -------------------
 ...-linux_git.bb => big-data-ipc-demo_git.bb} | 30 ++++++++++++-------
 3 files changed, 21 insertions(+), 41 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo.inc
 rename meta-arago-extras/recipes-apps/big-data-ipc-demo/{big-data-ipc-demo-linux_git.bb => big-data-ipc-demo_git.bb} (54%)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
index 5b6f05c9..6d1d8661 100644
@@ -108,7 +108,7 @@ EXTRA_PACKAGES:append:omap-a15 = " ti-ipc-examples-linux"
 EXTRA_PACKAGES:append:omapl138 = " ti-ipc-examples-linux"
 
 EXTRA_PACKAGES:append:omap-a15 = " \
-    ${@bb.utils.contains('MACHINE_FEATURES','dsp','big-data-ipc-demo-linux big-data-ipc-demo-linux-firmware','',d)} \
+    ${@bb.utils.contains('MACHINE_FEATURES','dsp','big-data-ipc-demo big-data-ipc-demo-firmware','',d)} \
 "
 
 # acontis-atemsys
meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo.inc deleted +0 -30
deleted file mode 100644
index 0b8a0611..00000000
@@ -1,30 +0,0 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://makefile;beginline=1;endline=31;md5=2f2ea348b98d5cc7807ece7adcc2c43a"
-
-COMPATIBLE_MACHINE = "omap-a15"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-BIG_DATA_IPC_GIT_URI = "git://git.ti.com/git/processor-sdk/big-data-ipc-examples.git"
-BIG_DATA_IPC_GIT_PROTOCOL = "https"
-BIG_DATA_IPC_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.BIG_DATA_IPC.01.03.00.00"
-BIG_DATA_IPC_SRCREV = "984edb3c69c8a1f51da02e0abcd2201319650894"
-
-BRANCH = "${BIG_DATA_IPC_GIT_BRANCH}"
-SRC_URI = "${BIG_DATA_IPC_GIT_URI};protocol=${BIG_DATA_IPC_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${BIG_DATA_IPC_SRCREV}"
-PV = "01.03.00.00"
-
-S = "${WORKDIR}/git"
-
-PLATFORM = "UNKNOWN"
-PLATFORM:omap-a15 = "DRA7XX"
-
-IPC_TARGETS = ""
-IPC_TARGETS:omap-a15 = "\
-    gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
-    ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
-    ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \
-"
meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo_git.bb renamed from meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo-linux_git.bb +20 -10
similarity index 54%
rename from meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo-linux_git.bb
rename to meta-arago-extras/recipes-apps/big-data-ipc-demo/big-data-ipc-demo_git.bb
index b384bf87..779cef7f 100644
@@ -1,7 +1,15 @@
 SUMMARY = "TI Big data IPC: Host linux examples"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://makefile;beginline=1;endline=31;md5=2f2ea348b98d5cc7807ece7adcc2c43a"
 
-require recipes-ti/includes/ti-paths.inc
-require big-data-ipc-demo.inc
+SRC_URI = "git://git.ti.com/processor-sdk/big-data-ipc-examples.git;protocol=git;branch=master"
+SRCREV = "984edb3c69c8a1f51da02e0abcd2201319650894"
+PV = "01.03.00.00"
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_MACHINE = "omap-a15"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit features_check
 
@@ -15,30 +23,32 @@ DEPENDS = "ti-ipc \
            ti-cgt6x-native \
 "
 
+PLATFORM = "UNKNOWN"
+PLATFORM:omap-a15 = "DRA7XX"
+
+require recipes-ti/includes/ti-paths.inc
+
 EXTRA_OEMAKE = "\
     PLATFORM=${PLATFORM} \
     XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
     BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \
     IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
     LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
-    ${IPC_TARGETS} \
-    JOBS="${PARALLEL_MAKE}" \
+    gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
+    ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
+    ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \
 "
 
 do_create_srcipk:prepend() {
-  rm -rf host_bios
+    rm -rf host_bios
 }
 
 do_compile() {
-  if [  "${PLATFORM}" != "UNKNOWN" ]; then
-      oe_runmake host_linux
-  fi
+    oe_runmake host_linux
 }
 
 do_install() {
-  if [  "${PLATFORM}" != "UNKNOWN" ]; then
     oe_runmake EXEC_DIR="${D}${bindir}" install_linux_bin
-  fi
 }
 
 PACKAGES =+ "${PN}-firmware"
Signature · 1 line
2.25.1
#4 lore raw

PATCH 4/14 cmem: Remove Makefile_cmem-mod and cmem refrences

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

The cmem allocator has been deprecated for removal for some time now. Lets remove the kernel module first, then start removing projects that have not migrated to DMA-BUF Heaps yet.

---
 .../packagegroup-arago-tisdk-addons-sdk-target.bb            | 5 -----
 .../packagegroups/packagegroup-arago-tisdk-addons.bb         | 2 --
 meta-arago-distro/recipes-core/packagegroups/ti-test.bb      | 2 --
 3 files changed, 9 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +0 -5
index 43a043e1..e110fad8 100644
@@ -26,11 +26,6 @@ UTILS:append:k3 = "\
 "
 
 EXTRA_LIBS = ""
-EXTRA_LIBS:append:ti43x = "\
-    cmem-dev \
-    cmem-staticdev \
-"
-EXTRA_LIBS:append:omap-a15 = " cmem-dev"
 EXTRA_LIBS:append:dra7xx = " libulm-dev \
                              libulm-staticdev \
                              gdbserver-c6x-dev \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +0 -2
index 6d1d8661..f8c07164 100644
@@ -80,12 +80,10 @@ UTILS:append:dra7xx = " \
 
 EXTRA_LIBS = ""
 EXTRA_LIBS:append:omap-a15 = " \
-    cmem \
     uio-module-drv \
 "
 
 EXTRA_LIBS:append:ti43x = " \
-    cmem \
     uio-module-drv \
 "
 
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +0 -2
index 3e76a527..99a6cc82 100644
@@ -62,7 +62,6 @@ ARAGO_TI_TEST:append:ti33x = " \
 
 ARAGO_TI_TEST:append:ti43x = " \
     omapconf \
-    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'cmem-test', d)} \
 "
 
 NOT_MAINLINE_MMIP_DEPS = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)}"
@@ -71,7 +70,6 @@ ARAGO_TI_TEST:append:omap-a15 = " \
     omapconf \
     ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', " \
         ti-ipc-test \
-        cmem-test \
 	${NOT_MAINLINE_MMIP_DEPS} \
     ", d)} \
 "
Signature · 1 line
2.25.1
#5 lore raw

PATCH 5/14 ti-pru-sw: Remove old TI-PRU-SW examples and helpers

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

The source for these is long gone and they were not the correct way to use the PRUs these days anyway. Remove them.

---
 .../ti-pru-sw-app-loader_1.00.00.bb           | 26 ----------------
 .../ti-pru-sw-edma-library_1.00.00.bb         | 30 ------------------
 .../ti-pru-sw-examples_1.00.00.bb             | 31 -------------------
 3 files changed, 87 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-app-loader/ti-pru-sw-app-loader_1.00.00.bb
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-edma-library/ti-pru-sw-edma-library_1.00.00.bb
 delete mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-examples/ti-pru-sw-examples_1.00.00.bb
meta-arago-extras/recipes-core/ti-pru-sw-app-loader/ti-pru-sw-app-loader_1.00.00.bb deleted +0 -26
deleted file mode 100644
index 5eaad599..00000000
@@ -1,26 +0,0 @@
-DESCRIPTION = "PRU sw application loader"
-HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://interface/prussdrv.c;beginline=1;endline=47;md5=6012fea45c1fbced663277bc90d2163a"
-
-RRECOMMENDS:${PN} = "kernel-module-uio-pru"
-PR = "r0"
-PV:append = "+svn${SRCPV}"
-
-COMPATIBLE_MACHINE = "omapl138"
-
-SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
-
-SRCREV = "33"
-S = "${WORKDIR}/trunk/app_loader"
-
-do_compile () {
-        make -C ${S}/interface CCTOOL_PREFIX=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}
-}
-
-do_install () {
-        install -d ${D}${libdir}
-        install -d ${D}${includedir}
-        install -m 0644 ${S}/include/* ${D}${includedir}
-        install -m 0644 ${S}/lib/* ${D}${libdir}
-}
meta-arago-extras/recipes-core/ti-pru-sw-edma-library/ti-pru-sw-edma-library_1.00.00.bb deleted +0 -30
deleted file mode 100644
index 88b86d63..00000000
@@ -1,30 +0,0 @@
-DESCRIPTION = "eDMA library for use by PRU sw example applications"
-HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://edma.c;beginline=1;endline=46;md5=f6bde95a8e2277050e36b257ca9214a6"
-
-DEPENDS += "virtual/kernel"
-
-RDEPENDS:${PN} += "ti-pru-sw-edma-driver"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-COMPATIBLE_MACHINE = "omapl138"
-
-MACHINE_KERNEL_PR:append = "a"
-PR = "${MACHINE_KERNEL_PR}"
-PV:append = "+svn${SRCPV}"
-
-SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
-
-SRCREV = "33"
-S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/interface"
-
-do_compile () {
-	oe_runmake KERNEL_DIR="${STAGING_KERNEL_DIR}" CCTOOL_PREFIX=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}
-}
-
-do_install () {
-	install -d ${D}/${libdir}
-	install -m 0755 ${S}/../lib/libedmautils.a ${D}/${libdir}/
-}
meta-arago-extras/recipes-core/ti-pru-sw-examples/ti-pru-sw-examples_1.00.00.bb deleted +0 -31
deleted file mode 100644
index 60bc3d5a..00000000
@@ -1,31 +0,0 @@
-DESCRIPTION = "PRU sw example applications"
-HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=c4fd8ee7443c1b2b6238b4b5df796481"
-DEPENDS = "ti-pru-sw-app-loader ti-pru-sw-edma-library"
-RDEPENDS:${PN} = "ti-pru-sw-edma-driver"
-PR = "r0"
-PV:append = "+svn${SRCPV}"
-
-COMPATIBLE_MACHINE = "omapl138"
-
-SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
-
-SRCREV = "33"
-S = "${WORKDIR}/trunk"
-
-do_compile () {
-        make -C ${S}/example_apps \
-          CCTOOLS="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"\
-          BINDIR_APPLICATIONS="${S}/example_apps/bin" \
-          BINDIR_FW="${S}/example_apps/bin" \
-          UTILS_DIR="${S}/utils"
-}
-
-do_install () {
-        install -d ${D}/usr/share/ti/ti-pru-eg/
-        install -m 0755 ${S}/example_apps/bin/* ${D}/usr/share/ti/ti-pru-eg/
-}
-
-FILES:${PN} += "${datadir}/ti/ti-pru-eg/*"
-FILES:${PN}-dbg += "${datadir}/ti/ti-pru-eg/.debug/*"
Signature · 1 line
2.25.1
#6 lore raw

PATCH 6/14 ti-tisdk: Remove uio-module-drv kernel module

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

UIO drivers are generally frowned upon and were only used here for some K2 devices and PRUs before RPMSG. With these uses finally gone, lets remove this out-of-tree module.

---
 .../packagegroup-arago-tisdk-addons.bb        | 20 -------------------
 1 file changed, 20 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +0 -20
index f8c07164..f4e72a89 100644
@@ -34,16 +34,12 @@ UTILS_DSP = " \
 UTILS:append:ti33x = " mmc-utils \
                        switch-config \
                        pru-icss \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 UTILS:append:ti43x = " mmc-utils \
                        switch-config \
                        libdrm-omap \
                        pru-icss \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 UTILS:append:omap-a15 = " mmc-utils \
@@ -51,8 +47,6 @@ UTILS:append:omap-a15 = " mmc-utils \
                           libdrm-omap \
                           pru-icss \
                           ti-ipc-rtos-fw \
-                          uio-test-pruss \
-                          uio-module-drv-test \
 "
 
 UTILS:append:k3 = " mmc-utils \
@@ -78,19 +72,6 @@ UTILS:append:dra7xx = " \
                         ${@bb.utils.contains('MACHINE_FEATURES','gpu','glsdk-example-apps','',d)} \
 "
 
-EXTRA_LIBS = ""
-EXTRA_LIBS:append:omap-a15 = " \
-    uio-module-drv \
-"
-
-EXTRA_LIBS:append:ti43x = " \
-    uio-module-drv \
-"
-
-EXTRA_LIBS:append:ti33x = " \
-    uio-module-drv \
-"
-
 EXTRA_PACKAGES = " \
     nodejs \
     nodejs-npm \
@@ -118,7 +99,6 @@ EXTRA_PACKAGES:append:omap-a15 = " \
 RDEPENDS:${PN} = "\
     ${UTILS} \
     ${UTILS_UBOOT_FW} \
-    ${EXTRA_LIBS} \
 "
 
 RDEPENDS:${PN}-extra = "\
Signature · 1 line
2.25.1
#7 lore raw

PATCH 7/14 packagegroup-arago-tisdk-addons: Make ti-rtos-firmware available for k3

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

The ti-rtos-firmware is common across all K3 devices, only the pru-icss component is variable. Make the appending logic match.

---
 .../packagegroups/packagegroup-arago-tisdk-addons.bb  | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +4 -7
index f4e72a89..07ae8b07 100644
@@ -57,13 +57,10 @@ UTILS:append:k3 = " mmc-utils \
                     statcol \
 "
 
-UTILS:append:am64xx = " ti-rtos-firmware pru-icss"
-UTILS:append:am62xx = " ti-rtos-firmware"
-#UTILS:append:am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw"
-UTILS:append:am65xx = " ti-rtos-firmware pru-icss"
-UTILS:append:j7 = " ti-rtos-firmware"
-UTILS:append:j721e-evm = " pru-icss"
-UTILS:append:j721e-hs-evm = " pru-icss"
+UTILS:append:k3 = " ti-rtos-firmware"
+UTILS:append:am64xx = " pru-icss"
+UTILS:append:am65xx = " pru-icss"
+UTILS:append:j721e = " pru-icss"
 
 UTILS:append:omapl138 = " ti-ipc-rtos-fw"
 
Signature · 1 line
2.25.1
#8 lore raw

PATCH 8/14 meta-arago: Use new J7 SoC names over specific board names

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

Now that we have SoC names, we can avoid adding features based on the board name. We expect folks to create their own boards based on these SoCs, and so using the TI made EVM board name everywhere adds extra churn when adding a new board. Plus it is more correct for most of these features as they depend on the SoC, not on the EVM board.

One other thing we do here is to not use the generic "j7" name, the current and future J7 devices are far to feature diverse to group at this level. Grouping like that will lead to the wrong things getting enabled as new J7 SoCs are added.

---
 meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb  | 3 +--
 meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc | 4 +++-
 meta-arago-distro/recipes-core/packagegroups/ti-test.bb     | 2 +-
 .../gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend      | 6 +-----
 4 files changed, 6 insertions(+), 9 deletions(-)
meta-arago-distro/recipes-core/images/tisdk-core-bundle.bb +1 -2
index ec4e0344..b49548a6 100644
@@ -12,8 +12,7 @@ DEPLOY_SPL_NAME:k3 = "tispl.bin tiboot3.bin"
 
 DEPLOY_IMAGES_NAME:k3 = "bl31.bin bl32.bin"
 DEPLOY_IMAGES_NAME:append:am65xx = " sysfw.itb"
-DEPLOY_IMAGES_NAME:append:j721e-evm = " sysfw.itb"
-DEPLOY_IMAGES_NAME:append:j721e-hs-evm = " sysfw.itb"
+DEPLOY_IMAGES_NAME:append:j721e = " sysfw.itb"
 DEPLOY_IMAGES_NAME:append:am65xx-evm = " sysfw-am65x-evm.itb sysfw-am65x_sr2-evm.itb"
 
 ARAGO_TISDK_IMAGE ?= "tisdk-core-bundle"
meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc +3 -1
index 90b5ccef..9da4b0d0 100644
@@ -24,7 +24,9 @@ DTB_FILTER:am57xx-hs-evm = "${DTB_FILTER:am57xx-evm}"
 DTB_FILTER:ti43x = "am43"
 DTB_FILTER:omapl138 = "da850"
 DTB_FILTER:am65xx = "am65"
-DTB_FILTER:j7 = "j721e"
+DTB_FILTER:j721e = "j721e"
+DTB_FILTER:j7200 = "j7200"
+DTB_FILTER:j721s2 = "j721s2"
 
 # List of target side images to build for the SDK
 TARGET_IMAGES = "tisdk-base-image tisdk-default-image tisdk-thinlinux-image tisdk-bootstrap-image"
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +1 -1
index 99a6cc82..ca4e254e 100644
@@ -78,7 +78,7 @@ ARAGO_TI_TEST:append:k3 = " \
     k3conf \
 "
 
-ARAGO_TI_TEST:append:j7 = " \
+ARAGO_TI_TEST:append:j721e = " \
     ufs-utils \
 "
 
meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend +1 -5
index de9f1c7d..5cc57460 100644
@@ -28,11 +28,7 @@ SRC_URI:append:am65xx = " \
     ${GSTDRM_WAYLANDSINK_PATCHES} \
 "
 
-SRC_URI:append:j721e-evm = " \
-    ${GSTDRM_WAYLANDSINK_PATCHES} \
-"
-
-SRC_URI:append:j721e-hs-evm = " \
+SRC_URI:append:j721e = " \
     ${GSTDRM_WAYLANDSINK_PATCHES} \
 "
 
Signature · 1 line
2.25.1
#9 lore raw

PATCH 9/14 meta-toolchain-arago: update executable fixup for Ubuntu 20.04+ compatibility

In reply to Denys Dmytriyenko

From: Andreas Dannenberg <[email protected]>

The linux devkit installer patches up the cross toolchain executables' dynamic library dependencies after installation to reflect the actual installation location. This is done through the 'file' tool which starting with Ubuntu 20.04 returns a new link type called 'static-pie
linked' for files that will need to be patched. To accomodate this
change update the command that is used to identify executables requiring patching with this new link type.

This fixes dynamic loader errors with cross toolchain tools like flex, qmake, and others similar to the below:

$ make ti_sdk_arm64_release_defconfig
  LEX     scripts/kconfig/lexer.lex.c
/home/user/ti/processor-sdk-linux-am62axx-evm-08.04.00.20/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/flex: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
---
 meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb +1 -1
index 9dfa6c85..ab484a1e 100644
@@ -303,7 +303,7 @@ if [ "$dl_path" = "" ] ; then
 	echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"
 	exit 1
 fi
-executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\)" | cut -f 1 -d ':')
+executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\|static-pie linked\)" | cut -f 1 -d ':')
 
 tdir=`mktemp -d`
 if [ x$tdir = x ] ; then
Signature · 1 line
2.25.1
#10 lore raw

PATCH 10/14 qtbase-conf: fix name of WAYLAND_SHELL_INTEGRATION

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

The wl-shell is deprecated rename to xdg-shell.
Change this to remove deprecation warning.

---
 meta-arago-distro/recipes-qt/qt5/qtbase-conf/qt_env.sh       | 2 +-
 meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-qt/qt5/qtbase-conf/qt_env.sh +1 -1
index 928e2cc7..c79ccd47 100644
@@ -5,7 +5,7 @@ export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
 export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
 export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
 export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
-export QT_WAYLAND_SHELL_INTEGRATION=wl-shell
+export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
 
 # SECCOMP-BPF Sandbox does not work due to unexpected FUTEX_UNLOCK_PI call
 # from the pthread implementation. Disable this feature temporarily until
meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh +1 -1
index 96526393..ef49b124 100644
@@ -6,7 +6,7 @@ export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
 export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
 export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
 export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
-export QT_WAYLAND_SHELL_INTEGRATION=wl-shell
+export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
 
 # SECCOMP-BPF Sandbox does not work due to unexpected FUTEX_UNLOCK_PI call
 # from the pthread implementation. Disable this feature temporarily until
Signature · 1 line
2.25.1
#11 lore raw

PATCH 11/14 arago.conf: Specify omapl138 directly instead of omapl1

In reply to Denys Dmytriyenko

From: Andrew Davis <[email protected]>

Only omapl138 is supported now, being specific here lets us remove a layer of family name support.

---
 meta-arago-distro/conf/distro/arago.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/conf/distro/arago.conf +1 -1
index c1eb8f6d..57eeb57a 100644
@@ -173,7 +173,7 @@ IMAGE_FSTYPES:remove = "${@['','ubi ubifs'][d.getVar('ARAGO_SYSTEST_ENABLE') ==
 # Set some sane defaults, in case someone forgets to set them in local.conf
 TC_SANE_DEFAULT ?= "arm"
 TOOLCHAIN_TYPE ?= "internal"
-TOOLCHAIN_TYPE:omapl1 = "internal"
+TOOLCHAIN_TYPE:omapl138 = "internal"
 TOOLCHAIN_BRAND ?= "${@[d.getVar('TC_SANE_DEFAULT'),'gcc'][d.getVar('TOOLCHAIN_TYPE') == 'internal']}"
 
 require conf/distro/include/toolchain-${TOOLCHAIN_BRAND}.inc
Signature · 1 line
2.25.1
#12 lore raw

PATCH 12/14 ltp-ddt: update to the latest

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This matches latest commit in Dunfell.

---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb +1 -1
index bf6e48c7..88a2a0e2 100644
@@ -14,7 +14,7 @@ PE = "1"
 PR = "r5"
 PV:append = "+git${SRCPV}"
 
-SRCREV = "b79e1ec3e4f5501891fdf307548a9d6616b00bd0"
+SRCREV = "e0f92958396f7cee40da505319681aee1f331542"
 BRANCH ?= "master"
 
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;protocol=https;branch=master"
Signature · 1 line
2.25.1
#13 lore raw

PATCH 13/14 HACK: packagegroup: disable tensorflow-lite

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Tensorflow analytics demo has been disabled for some time. With recent upstream changes, these 2+ year-old tensorflow-lite recipes no longer parse and need to be updated/maintained. Moreover, there are couple dedicated layers that provide tensorflow recipes, so there's no need to carry it locally.

---
 ...kagegroup-arago-tisdk-addons-sdk-target.bb | 46 +++++++++----------
 1 file changed, 23 insertions(+), 23 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +23 -23
index e110fad8..b6fe62ab 100644
@@ -37,29 +37,29 @@ 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 \
-                             tensorflow-lite-dev \
-                             tensorflow-lite-staticdev \
-                             ${PDM_ANOMALY_PKG_DEV} \
-"
+#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 \
+#                             tensorflow-lite-dev \
+#                             tensorflow-lite-staticdev \
+#                             ${PDM_ANOMALY_PKG_DEV} \
+#"
 
 IPCDEV = " \
 	ti-ipc-dev \
Signature · 1 line
2.25.1
#14 lore raw

PATCH 14/14 HACK: packagegroup: disable HEVC gstreamer plugin

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

It was based on old gstreamer plugin code base, which no longer builds as it tries to fetch during configure step some git modules over anonymous git that is now disabled upstream.

---
 .../packagegroups/packagegroup-arago-gst-sdk-target.bb          | 2 +-
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +1 -1
index ef5624ec..845cc7ff 100644
@@ -18,8 +18,8 @@ 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 = " \
-    gstreamer1.0-plugins-hevc-dev \
     ${GSTREAMER_DSP} \
 "
 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +1 -1
index 65e315a1..e8a639bd 100644
@@ -21,8 +21,8 @@ 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 = " \
-    gstreamer1.0-plugins-hevc \
     ${GSTREAMER_DSP} \
 "
 
Signature · 1 line
2.25.1