hardknott/master fixes
cover hardknott/master fixes
From: Denys Dmytriyenko <[email protected]>
Set of fixes for meta-arago hardknott/master. Uses "internal" gcc10 toolchain (selected with TOOLCHAIN_TYPE=internal) and still requires extra fixes to use external prebuilt Arm toolchain from meta-arm.
gcc10 "multiple definition" errors are currently suppressed. Components with too many non-trivial gcc10 errors are disabled. Proper fixing in code is needed.
https://gcc.gnu.org/gcc-10/porting_to.html
Denys Dmytriyenko (29):
arago.conf: remove LIBC_DEPENDENCIES mod needed for
external-arm-toolchain
sourceipk,tisdk-bundle,packagegroup-*-sdk-host: rename ${PN}-src to
${PN}-source toolchain-gcc: update component versions of internal toolchain
recipes: fix trailing slash in path warning
nativesdk-packagegroup: fix QA warning for inheriting classes after
nativesdk
perl: skip shebang-size QA check for nativesdk-perl packages
weston: update bbappend 8.0.0 -> 9.0.0
gstreamer-plugins: unify removal of GFX options for headless platforms gstreamer1.0-plugins-good: upgrade 1.16 -> 1.18 gstreamer1.0-plugins-hevc: suppress gcc10 multiple definitions of
buffArray
branding-core: remove mmip, as gstreamer patches need porting to 1.18
libdrm: massage test patch to apply against latest version
lmbench: remove very old SDK optimization that no longer apply
iproute2: drop upstreamed patch for HSR/PRP support
linuxptp: update bbappend against latest upstream
kmscube: pin down version before GL3+ features were merged
netperf: drop upstreamed PACKAGECONFIG, suppress gcc10 multiple
definition
packagegroup-*-server-extra: replace dhcp-client with dhcpcd
meta-toolchain-arago: opkg.conf in SDK now also resides in /etc/opkg/
php: suppress installed-vs-shipped QA error
ti-llvm3.6: suppress installed-vs-shipped QA error
matrix-gui-apps: suppress installed-vs-shipped QA error
matrix-gui: lighttpd-module-compress replaced with
lighttpd-module-deflate
statcol: suppress "ldflags" QA error
kms++: update to the latest
FIXME: packagegroup-addons: disable kms++-python bindings, due to
meson build issues
FIXME: packagegroup-connectivity: disable net-snmp, IEC-62439-3
doesn't build with gcc10
FIXME: ti-test: disable ltp-ddt due to gcc10 build errors
FIXME: arago.conf: disable opencl, as it's broken
meta-arago-distro/classes/sourceipk.bbclass | 22 ++---
meta-arago-distro/classes/tisdk-bundle.bbclass | 2 +-
meta-arago-distro/conf/distro/arago.conf | 4 +-
.../conf/distro/include/branding-core.inc | 3 +
.../conf/distro/include/toolchain-gcc.inc | 8 +-
.../0001-Makefile-Add-TI-SDK-Modifications.patch | 75 --------------
.../recipes-benchmark/lmbench/lmbench_%.bbappend | 23 -----
...add-support-for-creating-PRP-device-simil.patch | 109 ---------------------
.../iproute2/iproute2_%.bbappend | 1 -
.../linuxptp/linuxptp_%.bbappend | 6 +-
.../packagegroup-arago-base-tisdk-server-extra.bb | 2 +-
.../packagegroup-arago-tisdk-addons-sdk-host.bb | 74 +++++++-------
.../packagegroup-arago-tisdk-addons.bb | 2 +-
.../packagegroup-arago-tisdk-amsdk-sdk-host.bb | 6 +-
.../packagegroup-arago-tisdk-connectivity.bb | 4 +-
.../packagegroup-arago-tisdk-crypto-sdk-host.bb | 16 +--
.../packagegroup-arago-tisdk-graphics-sdk-host.bb | 4 +-
.../packagegroup-arago-tisdk-hmi-sdk-host.bb | 18 ++--
.../packagegroup-arago-tisdk-matrix-sdk-host.bb | 6 +-
...packagegroup-arago-tisdk-multimedia-sdk-host.bb | 12 +--
.../packagegroup-arago-tisdk-opencl-sdk-host.bb | 8 +-
.../packagegroup-arago-tisdk-qte-sdk-host.bb | 4 +-
.../recipes-core/packagegroups/ti-test.bb | 2 +-
.../recipes-devtools/perl/perl_%.bbappend | 12 +++
.../recipes-devtools/php/php_%.bbappend | 2 +
...001-Add-option-to-run-a-test-indefinitely.patch | 29 +++---
.../recipes-graphics/kmscube/kmscube_%.bbappend | 6 +-
...weston_8.0.0.bbappend => weston_9.0.0.bbappend} | 0
....%.bbappend => gstreamer1.0-plugins-%.bbappend} | 0
.../gstreamer1.0-plugins-bad_1.16.%.bbappend | 6 --
.../gstreamer1.0-plugins-base_1.16.%.bbappend | 6 --
.../recipes-support/netperf/netperf_git.bbappend | 3 +-
.../recipes-tisdk/oe-layersetup/oe-layersetup.bb | 2 +-
.../recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 2 +-
.../image-gallery/image-gallery_git.bb | 2 +-
.../recipes-apps/thermostat-demo/qt-tstat_2.0.bb | 2 +-
.../recipes-core/llvm/ti-llvm3.6_3.6.bb | 1 +
.../recipes-core/matrix/matrix-gui-apps-git.inc | 2 +
.../recipes-core/matrix/matrix-gui_2.0.bb | 2 +-
.../recipes-core/meta/meta-toolchain-arago.bb | 2 +-
...ivesdk-packagegroup-arago-qte-toolchain-host.bb | 2 +-
.../ti-crypto-examples/ti-crypto-examples_git.bb | 2 +-
.../recipes-devtools/statcol/statcol.bb | 2 +
.../recipes-graphics/kms++/kms++_git.bb | 12 ++-
.../gstreamer1.0-plugins-hevc_git.bb | 1 +
...ix-build-on-EGL-platform-without-X11-head.patch | 36 -------
...d => gstreamer1.0-plugins-good_1.18.%.bbappend} | 1 -
.../recipes-ti/tidl-utils/tidl-import_git.bb | 2 +-
48 files changed, 159 insertions(+), 389 deletions(-)
delete mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench/0001-Makefile-Add-TI-SDK-Modifications.patch
delete mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend
delete mode 100644 meta-arago-distro/recipes-connectivity/iproute2/iproute2/0013-iplink-hsr-add-support-for-creating-PRP-device-simil.patch
create mode 100644 meta-arago-distro/recipes-devtools/perl/perl_%.bbappend
rename meta-arago-distro/recipes-graphics/wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} (100%)
rename meta-arago-distro/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-%.bbappend} (100%)
delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend
delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend
delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch
rename meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-good_1.18.%.bbappend} (84%)Signature · 1 line
2.7.4
PATCH 1/29 arago.conf: remove LIBC_DEPENDENCIES mod needed for external-arm-toolchain
From: Denys Dmytriyenko <[email protected]>
This is now handled by external-arm-toolchain configuration in meta-arm. Moreover, LIBC_DEPENDENCIES variable was dropped in upstream oe-core.
--- meta-arago-distro/conf/distro/arago.conf | 2 -- 1 file changed, 2 deletions(-)
meta-arago-distro/conf/distro/arago.conf +0 -2
@@ -80,8 +80,6 @@ IMAGE_BOOT_FILES += "uEnv.txt" TCMODEAPPEND ?= "-${TCMODE}" TMPDIR .= "${TCMODEAPPEND}" -LIBC_DEPENDENCIES_remove = "glibc-gconv-cp1252 glibc-gconv-ibm850 glibc-gconv-iso8859-1 glibc-gconv-iso8859-15 glibc-localedata-i18n" - # Start with default set of distro features DISTRO_FEATURES = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}"
Signature · 1 line
2.7.4
PATCH 2/29 sourceipk, tisdk-bundle, packagegroup-*-sdk-host: rename ${PN}-src to ${PN}-source
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Arago sourceipk creates source packages to be distributed with TI-SDK. Sources get packaged before do_configure and do_compile, so they are pristine. And historically sourceipk named those packages as ${PN}-src.
But OE-Core also creates ${PN}-src packages these days for debugging purposes with sources that correspond to binaries and debug symbols in ${PN}-dbg. And therefore those sources are packaged after the build is done.
To avoid conflicts between ${PN}-src packages created for different purposes at different stage, change sourceipk to produce ${PN}-source instead.
--- meta-arago-distro/classes/sourceipk.bbclass | 22 +++---- meta-arago-distro/classes/tisdk-bundle.bbclass | 2 +- .../packagegroup-arago-tisdk-addons-sdk-host.bb | 74 +++++++++++----------- .../packagegroup-arago-tisdk-amsdk-sdk-host.bb | 6 +- .../packagegroup-arago-tisdk-crypto-sdk-host.bb | 16 ++--- .../packagegroup-arago-tisdk-graphics-sdk-host.bb | 4 +- .../packagegroup-arago-tisdk-hmi-sdk-host.bb | 18 +++--- .../packagegroup-arago-tisdk-matrix-sdk-host.bb | 6 +- ...packagegroup-arago-tisdk-multimedia-sdk-host.bb | 12 ++-- .../packagegroup-arago-tisdk-opencl-sdk-host.bb | 8 +-- .../packagegroup-arago-tisdk-qte-sdk-host.bb | 4 +- 11 files changed, 86 insertions(+), 86 deletions(-)
meta-arago-distro/classes/sourceipk.bbclass +11 -11
@@ -19,7 +19,7 @@ # such as the README file and recipe. # # The default installation directory for the sources is: -# /usr/src/${PN}-src +# /usr/src/${PN}-source # # By setting the SRCIPK_INSTALL_DIR this default can be changed to any # location desired. When combined with the opkg -o option this allows for the
@@ -45,7 +45,7 @@ CREATE_SRCIPK ?= "0" # Default installation prefix -SRCIPK_INSTALL_DIR ?= "/usr/src/${PN}-src" +SRCIPK_INSTALL_DIR ?= "/usr/src/${PN}-source" # Directory to preserve sources until they can be installed for packaging SRCIPK_STAGING_DIR = "${WORKDIR}/srcipk-staging"
@@ -215,7 +215,7 @@ adjust_git() { # Create a README file that describes the contents of the source ipk sourceipk_create_readme() { - readme="$1/README.${PN}-src" + readme="$1/README.${PN}-source" touch $readme echo 'This package contains the patched sources for ${PN} that' >> $readme echo 'were used to generate the ${PN} binary ipk package(s).' >> $readme
@@ -234,7 +234,7 @@ do_create_srcipk[umask] = "022" # Create the source ipk file. The ipk is manually created here instead # of using the normal ipk system because some recipes will over write -# the PACKAGES variable. Thus if this class added a -src package +# the PACKAGES variable. Thus if this class added a -source package # to the list of packages to be created that package would be lost. # See the linux kernel recipe for an example of this issue. sourceipk_do_create_srcipk() {
@@ -283,23 +283,23 @@ python () { } #Add source packages to list of packages OE knows about -PACKAGES_DYNAMIC += "${PN}-src" +PACKAGES_DYNAMIC += "${PN}-source" # Do not perform any QA checks on sourceipk packages -INSANE_SKIP_${PN}-src += "${@oe.utils.conditional("${CREATE_SRCIPK}", "0", "", "${ALL_QA}", d)}" +INSANE_SKIP_${PN}-source += "${@oe.utils.conditional("${CREATE_SRCIPK}", "0", "", "${ALL_QA}", d)}" python __anonymous () { if d.getVar("CREATE_SRCIPK") != "0": - if '${PN}-src' not in d.getVar("PACKAGES", False): - d.appendVar('PACKAGES', ' ${PN}-src') + if '${PN}-source' not in d.getVar("PACKAGES", False): + d.appendVar('PACKAGES', ' ${PN}-source') pn = d.getVar("PN") - d.setVar('FILES_%s-src' % (pn), '${SRCIPK_INSTALL_DIR}') + d.setVar('FILES_%s-source' % (pn), '${SRCIPK_INSTALL_DIR}') } PACKAGESPLITFUNCS_append = " ${@oe.utils.conditional('CREATE_SRCIPK','0','','populate_srcipk_package',d)}" populate_srcipk_package() { - install -d ${PKGDEST}/${PN}-src/${SRCIPK_INSTALL_DIR} + install -d ${PKGDEST}/${PN}-source/${SRCIPK_INSTALL_DIR} cp -Prf --preserve=mode,timestamps --no-preserve=ownership \ ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/. \ - ${PKGDEST}/${PN}-src/${SRCIPK_INSTALL_DIR} + ${PKGDEST}/${PN}-source/${SRCIPK_INSTALL_DIR} }
meta-arago-distro/classes/tisdk-bundle.bbclass +1 -1
@@ -647,7 +647,7 @@ EOF case "$package" in task-*) continue ;; - *-src*) + *-source*) delivered_as="Source" ;; *)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +37 -37
152 lines not on this page · raw message
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb +3 -3
@@ -9,14 +9,14 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup # Choose the kernel and u-boot recipe sources to use -UBOOT_SRC = "${PREFERRED_PROVIDER_virtual/bootloader}-src" -KERNEL_SRC = "${PREFERRED_PROVIDER_virtual/kernel}-src" +UBOOT_SRC = "${PREFERRED_PROVIDER_virtual/bootloader}-source" +KERNEL_SRC = "${PREFERRED_PROVIDER_virtual/kernel}-source" KERNEL_SHADOW_CLONE := "${PREFERRED_PROVIDER_virtual/kernel}" KERNEL_SHADOW_CLONE_ENABLED := "${SRCIPK_SHALLOW_CLONE_pn-${KERNEL_SHADOW_CLONE}}" BOOT_MONITOR = "" -BOOT_MONITOR_keystone = "boot-monitor-src" +BOOT_MONITOR_keystone = "boot-monitor-source" EXTRA_FILES = "" EXTRA_FILES_ti43x = "tisdk-uenv"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto-sdk-host.bb +8 -8
@@ -8,15 +8,15 @@ inherit packagegroup CRYPTO_RDEPENDS = "" -#CRYPTO_RDEPENDS_append_ti33x = " ti-crypto-examples-src" -#CRYPTO_RDEPENDS_append_ti43x = " ti-crypto-examples-src" -#CRYPTO_RDEPENDS_append_keystone = " ti-crypto-examples-src" +#CRYPTO_RDEPENDS_append_ti33x = " ti-crypto-examples-source" +#CRYPTO_RDEPENDS_append_ti43x = " ti-crypto-examples-source" +#CRYPTO_RDEPENDS_append_keystone = " ti-crypto-examples-source" -CRYPTO_RDEPENDS_append_ti33x = " cryptodev-module-src" -CRYPTO_RDEPENDS_append_ti43x = " cryptodev-module-src" -CRYPTO_RDEPENDS_append_dra7xx = " cryptodev-module-src" -CRYPTO_RDEPENDS_append_keystone = " cryptodev-module-src" -CRYPTO_RDEPENDS_append_k3 = " cryptodev-module-src" +CRYPTO_RDEPENDS_append_ti33x = " cryptodev-module-source" +CRYPTO_RDEPENDS_append_ti43x = " cryptodev-module-source" +CRYPTO_RDEPENDS_append_dra7xx = " cryptodev-module-source" +CRYPTO_RDEPENDS_append_keystone = " cryptodev-module-source" +CRYPTO_RDEPENDS_append_k3 = " cryptodev-module-source" RDEPENDS_${PN} = "\ ${CRYPTO_RDEPENDS} \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb +2 -2
@@ -9,6 +9,6 @@ inherit packagegroup features_check REQUIRED_MACHINE_FEATURES = "gpu" RDEPENDS_${PN} = "\ - ${PREFERRED_PROVIDER_virtual/gpudriver}-src \ - ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-driver-src', '', d)} \ + ${PREFERRED_PROVIDER_virtual/gpudriver}-source \ + ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-driver-source', '', d)} \ "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb +9 -9
@@ -9,25 +9,25 @@ inherit packagegroup HMI = "" HMI_append_ti43x = " \ - evse-hmi-src \ - mmwavegesture-hmi-src \ + evse-hmi-source \ + mmwavegesture-hmi-source \ " HMI_append_ti33x = " \ - evse-hmi-src \ - protection-relays-hmi-src \ - mmwavegesture-hmi-src \ + evse-hmi-source \ + protection-relays-hmi-source \ + mmwavegesture-hmi-source \ " HMI_append_omap-a15 = " \ - evse-hmi-src \ - mmwavegesture-hmi-src \ + evse-hmi-source \ + mmwavegesture-hmi-source \ " HMI_append_am65xx = " \ - evse-hmi-src \ - mmwavegesture-hmi-src \ + evse-hmi-source \ + mmwavegesture-hmi-source \ " RDEPENDS_${PN} = "\
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb +3 -3
@@ -7,11 +7,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup MATRIX_GUI = " \ - matrix-gui-browser-src \ - refresh-screen-src \ + matrix-gui-browser-source \ + refresh-screen-source \ " RDEPENDS_${PN} = "\ - matrix-gui-src \ + matrix-gui-source \ ${@bb.utils.contains('MACHINE_FEATURES','gpu',"${MATRIX_GUI}",'',d)} \ "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb +6 -6
@@ -8,7 +8,7 @@ inherit packagegroup BARCODE_PKG = "" #BARCODE_PKG = " \ -# ${@['','barcode-roi-src'][oe.utils.all_distro_features(d, 'opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ +# ${@['','barcode-roi-source'][oe.utils.all_distro_features(d, 'opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \ #" MULTIMEDIA = ""
@@ -16,21 +16,21 @@ MULTIMEDIA = "" MULTIMEDIA_append_ti33x = " ${BARCODE_PKG}" MULTIMEDIA_append_ti43x = " \ - dual-camera-demo-src \ - image-gallery-src \ + dual-camera-demo-source \ + image-gallery-source \ ${BARCODE_PKG} \ " MULTIMEDIA_append_omap-a15 = " \ - dual-camera-demo-src \ - image-gallery-src \ + dual-camera-demo-source \ + image-gallery-source \ ${BARCODE_PKG} \ " MULTIMEDIA_append_am65xx = " ${BARCODE_PKG}" #MULTIMEDIA_append_dra7xx = " \ -# ${@['','qt-opencv-opencl-opengl-multithreaded-src'][oe.utils.all_distro_features(d, 'opencv opencl opengl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'gpu dsp', True, False, d)]} \ +# ${@['','qt-opencv-opencl-opengl-multithreaded-source'][oe.utils.all_distro_features(d, 'opencv opencl opengl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'gpu dsp', True, False, d)]} \ #" MULTIMEDIA_append_keystone = " ${BARCODE_PKG}"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-host.bb +4 -4
@@ -9,16 +9,16 @@ inherit packagegroup features_check REQUIRED_DISTRO_FEATURES = "opencl" UTILS = " \ - opencl-examples-src \ - ${@oe.utils.all_distro_features(d, 'openmp', 'openmpacc-examples-src')} \ + opencl-examples-source \ + ${@oe.utils.all_distro_features(d, 'openmp', 'openmpacc-examples-source')} \ " UTILS_append_k2hk = " \ - ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples-src')} \ + ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples-source')} \ " UTILS_append_dra7xx = " \ - ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples-src')} \ + ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples-source')} \ " RDEPENDS_${PN} = "\
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb +2 -2
@@ -7,11 +7,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup QT4_DEMOS = "\ - ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles', 'quick-playground-src', '', d)} \ + ${@oe.utils.conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles', 'quick-playground-source', '', d)} \ " QT_DEMOS = "\ - qt-tstat-src \ + qt-tstat-source \ " RDEPENDS_${PN} = "\
Signature · 1 line
2.7.4
PATCH 3/29 toolchain-gcc: update component versions of internal toolchain
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Match latest oe-core/master toolchain.
--- meta-arago-distro/conf/distro/include/toolchain-gcc.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-gcc.inc +4 -4
@@ -14,8 +14,8 @@ PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-can # Set Cross and SDK toolchain preferences SDKGCCVERSION ?= "10%" -SDKBINUVERSION ?= "2.35%" -SDKGLIBCVERSION ?= "2.32%" +SDKBINUVERSION ?= "2.36%" +SDKGLIBCVERSION ?= "2.33%" SDKLINUXLIBCVERSION ?= "5.4%" PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
@@ -33,8 +33,8 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}" # Set target toolchain preferences to match Cross/SDK by default # Can be overwritten globally, if needed GCCVERSION ?= "10%" -BINUVERSION ?= "2.35%" -GLIBCVERSION ?= "2.32%" +BINUVERSION ?= "2.36%" +GLIBCVERSION ?= "2.33%" LINUXLIBCVERSION ?= "5.4%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
Signature · 1 line
2.7.4
PATCH 4/29 recipes: fix trailing slash in path warning
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
The warning was introduced to curb potential issues with duplicate slash in path:
https://git.openembedded.org/openembedded-core/commit/?id=8a4c473c07cba159cf88ed775b9f073c6adf31d4
--- meta-arago-distro/recipes-tisdk/oe-layersetup/oe-layersetup.bb | 2 +- meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 2 +- meta-arago-extras/recipes-apps/image-gallery/image-gallery_git.bb | 2 +- meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb | 2 +- .../recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb | 2 +- meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
meta-arago-distro/recipes-tisdk/oe-layersetup/oe-layersetup.bb +1 -1
@@ -10,4 +10,4 @@ BRANCH ?= "master" SRCREV = "e58f941784fb45fd826779a45b33973e6342700f" SRC_URI = "git://arago-project.org/git/projects/oe-layersetup.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git"
meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb +1 -1
@@ -8,7 +8,7 @@ BRANCH ?= "master" SRCREV = "42a8379fda829f34c374ddfca0242a479a84d454" SRC_URI = "git://arago-project.org/git/projects/tisdk-setup-scripts.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}"
meta-arago-extras/recipes-apps/image-gallery/image-gallery_git.bb +1 -1
@@ -15,7 +15,7 @@ SRCREV = "d9a2f2e27f59f3bbcde91efc6afba8cd04f3b4be" SRC_URI = "git://git.ti.com/matrix-gui-v2/image-gallery.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" do_install() { install -d ${D}/${bindir}
meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb +1 -1
@@ -21,7 +21,7 @@ SRCREV = "665bff9a7bc0dbf82f9d6a58ff2778c03fe04fd1" SRC_URI = "git://git.ti.com/apps/thermostat-demo.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" DESKTOP_FILE = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', 'thermostat_demo_qt5.desktop', 'thermostat_demo.desktop', d)}"
meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb +1 -1
@@ -12,7 +12,7 @@ SRCREV = "6f4b09fffe970bb6b448369875874e798ef282f6" SRC_URI = "git://arago-project.org/git/projects/crypto-example-apps.git;protocol=git;branch=${BRANCH}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" do_compile() { export CROSS_COMPILE=${TARGET_PREFIX}
meta-arago-extras/recipes-ti/tidl-utils/tidl-import_git.bb +1 -1
@@ -7,7 +7,7 @@ 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/" +S = "${WORKDIR}/git/src/importTool" DEPENDS = "protobuf zlib protobuf-native flatbuffers tensorflow-lite flatbuffers-native tensorflow-lite-native"
Signature · 1 line
2.7.4
PATCH 5/29 nativesdk-packagegroup: fix QA warning for inheriting classes after nativesdk
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
WARNING: .../meta-arago/meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb:
QA Issue: nativesdk-packagegroup-arago-qte-toolchain-host: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: qt-vars.bbclass [native-last]
--- .../packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "Host packages for Qt Embedded SDK" PR = "r10" LICENSE = "MIT" -inherit packagegroup nativesdk qt-vars +inherit packagegroup qt-vars nativesdk RDEPENDS_${PN} = "\ nativesdk-packagegroup-arago-tisdk-host \
Signature · 1 line
2.7.4
PATCH 6/29 perl: skip shebang-size QA check for nativesdk-perl packages
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Do exactly the same workaround as for nativesdk-python3. Details are inside.
--- meta-arago-distro/recipes-devtools/perl/perl_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-arago-distro/recipes-devtools/perl/perl_%.bbappend
meta-arago-distro/recipes-devtools/perl/perl_%.bbappend new file +12 -0
@@ -0,0 +1,12 @@ +# In arago.conf, we pre-allocate SDK path very long to reserve enough space in ELF headers +# and then it gets replaced with a short real path at the time of SDK creation: +# SDKPATH_REAL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_VERSION}" +# SDKPATH = "${@"/tmp/"+"x"*96+"/"+"y"*96}" +# Unfortunately, that triggers the new shebang-size QA check in nativesdk-perl packages + +python() { + if d.getVar('CLASSOVERRIDE') == "class-nativesdk": + pkgs = d.getVar("PACKAGES").split() + for p in pkgs: + d.appendVar('INSANE_SKIP_%s' % (p), ' shebang-size') +}
Signature · 1 line
2.7.4
PATCH 7/29 weston: update bbappend 8.0.0 -> 9.0.0
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
To match upstream oe-core/master.
---
.../wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename meta-arago-distro/recipes-graphics/wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} (100%)meta-arago-distro/recipes-graphics/wayland/weston_9.0.0.bbappend renamed from meta-arago-distro/recipes-graphics/wayland/weston_8.0.0.bbappend +0 -0
Signature · 1 line
2.7.4
Re: [EXTERNAL] [master][PATCH 07/29] weston: update bbappend 8.0.0 -> 9.0.0
Quoted 11 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Denys Dmytriyenko
Sent: Friday, April 02, 2021 7:10 PM
To: [email protected]
Cc: Denys Dmytriyenko <[email protected]>
Subject: [EXTERNAL] [meta-arago] [master][PATCH 07/29] weston: update bbappend 8.0.0 -> 9.0.0
Quoted 5 lines
From: Denys Dmytriyenko <[email protected]>
To match upstream oe-core/master.
Signed-off-by Denys Dmytriyenko <[email protected]>
Quoted 21 lines
---
.../wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} | 01 file changed, 0 insertions(+), 0 deletions(-)rename meta-arago-distro/recipes-graphics/wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} (100%)
(quoted diff) +0
-0graphics/wayland/weston_8.0.0.bbappend b/meta-arago-distro/recipes- graphics/wayland/weston_9.0.0.bbappend
similarity index 100%
rename from meta-arago-distro/recipes- graphics/wayland/weston_8.0.0.bbappend
rename to meta-arago-distro/recipes-graphics/wayland/weston_9.0.0.bbappend --
2.7.4_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 8/29 gstreamer-plugins: unify removal of GFX options for headless platforms
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
---
...plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-%.bbappend} | 0
.../gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend | 6 ------
.../gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend | 6 ------
3 files changed, 12 deletions(-)
rename meta-arago-distro/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-%.bbappend} (100%)
delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend
delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappendmeta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-%.bbappend renamed from meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend +0 -0
meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend deleted +0 -6
@@ -1,6 +0,0 @@ -# Remove all GFX PACKAGECONFIGs for platforms w/o GPU -PACKAGECONFIG_remove = "${@bb.utils.contains('MACHINE_FEATURES','gpu','','x11 wayland gl egl gles2 qt5',d)}" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PR_append = ".0"
meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend deleted +0 -6
@@ -1,6 +0,0 @@ -# Remove all GFX PACKAGECONFIGs for platforms w/o GPU -PACKAGECONFIG_remove = "${@bb.utils.contains('MACHINE_FEATURES','gpu','','x11 wayland gl egl gles2 qt5',d)}" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -PR_append = ".0"
Signature · 1 line
2.7.4
PATCH 9/29 gstreamer1.0-plugins-good: upgrade 1.16 -> 1.18
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Drop previously backported patch.
---
...ix-build-on-EGL-platform-without-X11-head.patch | 36 ----------------------
...d => gstreamer1.0-plugins-good_1.18.%.bbappend} | 1 -
2 files changed, 37 deletions(-)
delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch
rename meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-good_1.18.%.bbappend} (84%)meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 85229adbddcd8e7cacd5ebd9467c834352a882d0 Mon Sep 17 00:00:00 2001 -From: Philipp Zabel <[email protected]> -Date: Tue, 3 Dec 2019 11:36:07 +0100 -Subject: [PATCH] qmlglsink: fix build on EGL platform without X11 headers - -If Mesa is built without X11 headers, building against Mesa EGL headers -requires a dependency on egl.pc, to define MESA_EGL_NO_X11_HEADERS. -This fixes a build error when compiling ext/qt/gstqtglutility.cc: - - In file included from /usr/include/EGL/egl.h:39, - from /usr/include/gstreamer-1.0/gst/gl/egl/gstegl.h:44, - from ../gst-plugins-good-1.16.1/ext/qt/gstqtglutility.cc:43: - /usr/include/EGL/eglplatform.h:124:10: fatal error: X11/Xlib.h: No such file or directory - -Upstream-Status: Backport [c47a585052fba6830a2cddd8caa18e2305596ed0] - -Signed-off-by: Gowtham Tammana <[email protected]> ---- - ext/qt/meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/ext/qt/meson.build b/ext/qt/meson.build -index 5f040c844..43ddc6092 100644 ---- a/ext/qt/meson.build -+++ b/ext/qt/meson.build -@@ -89,6 +89,8 @@ if have_cxx and build_gstgl - if gst_gl_have_platform_egl - # Embedded linux (e.g. i.MX6) with or without windowing support - qt_defines += ['-DHAVE_QT_EGLFS'] -+ egl_dep = dependency('egl', required : false) -+ optional_deps += egl_dep - have_qt_windowing = true - if have_qpa_include - # Wayland windowing --- -2.17.1
meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.%.bbappend renamed from meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend +0 -1
@@ -7,7 +7,6 @@ SRC_URI += " \ file://0002-v4l2src-Use-generic-dmabuf-import-in-v4l2src.patch \ file://0001-v4l2object-Update-formats-table-to-include-YUV422-mu.patch \ file://0001-v4l2src-Check-for-drm-memory-support-in-try_import.patch \ - file://0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch \ " PR_append = ".arago3"
Signature · 1 line
2.7.4
Re: [EXTERNAL] [master][PATCH 09/29] gstreamer1.0-plugins-good: upgrade 1.16 -> 1.18
Quoted 11 lines
-----Original Message-----
From: [email protected] <meta-arago-bounces@arago- project.org> On Behalf Of Denys Dmytriyenko
Sent: Friday, April 02, 2021 7:10 PM
To: [email protected]
Cc: Denys Dmytriyenko <[email protected]>
Subject: [EXTERNAL] [meta-arago] [master][PATCH 09/29] gstreamer1.0-
plugins-good: upgrade 1.16 -> 1.18
Quoted 5 lines
From: Denys Dmytriyenko <[email protected]>
Drop previously backported patch.
Signed-off-by Denys Dmytriyenko <[email protected]>
Quoted 93 lines
---
...ix-build-on-EGL-platform-without-X11-head.patch | 36 -----------------
-----
...d => gstreamer1.0-plugins-good_1.18.%.bbappend} | 1 -2 files changed, 37 deletions(-)delete mode 100644 meta-arago-extras/recipes- multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build- on-EGL-platform-without-X11-head.patch
rename meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0- plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-good_1.18.%.bbappend} (84%)(quoted diff) +0
-0plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11- head.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0- plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11- head.patch
deleted file mode 100644
index 79db0e2..0000000
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch+++/dev/nullmeta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch deleted +0
-11@@ -1,36 +0,0 @@ -From 85229adbddcd8e7cacd5ebd9467c834352a882d0 Mon Sep 17 00:00:00 2001 -From: Philipp Zabel <[email protected]> -Date: Tue, 3 Dec 2019 11:36:07 +0100 -Subject: [PATCH] qmlglsink: fix build on EGL platform without X11 headers - -If Mesa is built without X11 headers, building against Mesa EGL headers -requires a dependency on egl.pc, to define MESA_EGL_NO_X11_HEADERS. -This fixes a build error when compiling ext/qt/gstqtglutility.cc: - - In file included from /usr/include/EGL/egl.h:39, - from /usr/include/gstreamer-
1.0/gst/gl/egl/gstegl.h:44,
- from ../gst-plugins-good-
1.16.1/ext/qt/gstqtglutility.cc:43:
-/usr/include/EGL/eglplatform.h:124:10: fatal error:X11/Xlib.h: No such file or directorymeta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patch deleted +0
-23- -Upstream-Status: Backport [c47a585052fba6830a2cddd8caa18e2305596ed0] - -Signed-off-by: Gowtham Tammana <[email protected]> ---- - ext/qt/meson.build | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/ext/qt/meson.build b/ext/qt/meson.build -index 5f040c844..43ddc6092 100644 ---- a/ext/qt/meson.build -+++ b/ext/qt/meson.build -@@ -89,6 +89,8 @@ if have_cxx and build_gstgl - if gst_gl_have_platform_egl - # Embedded linux (e.g. i.MX6) with or without windowing support - qt_defines += ['-DHAVE_QT_EGLFS'] -+ egl_dep = dependency('egl', required : false) -+ optional_deps += egl_dep - have_qt_windowing = true - if have_qpa_include - # Wayland windowing --- -2.17.1(quoted diff) +0
-0plugins-good_1.16.%.bbappend b/meta-arago-extras/recipes- multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.%.bbappend similarity index 84%
rename from meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0- plugins-good_1.16.%.bbappend
rename to meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0- plugins-good_1.18.%.bbappend
index e2ddbc2..4864f4b 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins- good_1.16.%.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins- good_1.18.%.bbappend(quoted diff) +0
-1@@ -7,7 +7,6 @@ SRC_URI += " \ file://0002-v4l2src-Use-generic-dmabuf-import-in-v4l2src.patch \ file://0001-v4l2object-Update-formats-table-to-include-YUV422- mu.patch \ file://0001-v4l2src-Check-for-drm-memory-support-in-try_import.patch \ - file://0001-qmlglsink-fix-build-on-EGL-platform-without-X11- head.patch \"
PR_append= ".arago3"
--
2.7.4_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 10/29 gstreamer1.0-plugins-hevc: suppress gcc10 multiple definitions of buffArray
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Woraround for the following gcc10 build error:.../src/gsth265buf.h:126: multiple definition of `buffArray'; .libs/libgsth265dec_la-gsth265dec.o:.../src/gsth265buf.h:126: first defined here
Needs to be resolved properly in the code later:
https://gcc.gnu.org/gcc-10/porting_to.html
--- .../recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb +1 -0
@@ -25,6 +25,7 @@ do_configure() { EXTRA_OECONF += "--enable-maintainer-mode" EXTRA_OEMAKE += "'ERROR_CFLAGS=-Wno-deprecated-declarations'" +CFLAGS += "-fcommon" FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
Signature · 1 line
2.7.4
PATCH 11/29 branding-core: remove mmip, as gstreamer patches need porting to 1.18
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Following patches need porting to 1.18: DRM allocator, KMS sink, Wayland sink.
--- meta-arago-distro/conf/distro/include/branding-core.inc | 3 +++ 1 file changed, 3 insertions(+)
meta-arago-distro/conf/distro/include/branding-core.inc +3 -0
@@ -16,3 +16,6 @@ PREFERRED_VERSION_linux-ti-staging = "5.4%" PREFERRED_VERSION_linux-ti-staging-rt = "5.4%" PREFERRED_VERSION_linux-ti-staging-systest = "5.4%" PREFERRED_VERSION_u-boot-ti-staging = "2020.01%" + +# Remove mmip - DRM allocator, KMS sink, Wayland sink need porting to GST 1.18 +MACHINE_FEATURES_remove = "mmip"
Signature · 1 line
2.7.4
PATCH 12/29 libdrm: massage test patch to apply against latest version
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- ...001-Add-option-to-run-a-test-indefinitely.patch | 29 +++++++++++----------- 1 file changed, 14 insertions(+), 15 deletions(-)
meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch +14 -15
@@ -1,4 +1,4 @@ -From 6a16a6381082d870037aa4aedffa3f7d01406015 Mon Sep 17 00:00:00 2001 +From 035ea52b3c9f8b9d4d82c78e2e5f9d974da4d018 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez <[email protected]> Date: Tue, 3 Mar 2020 09:52:06 -0500 Subject: [PATCH] Add option to run a test indefinitely
@@ -10,24 +10,26 @@ was not able to run in ltp-ddt because ltp-ddt sends data to stdin when a test is run Signed-off-by: Alejandro Hernandez <[email protected]> +Signed-off-by: Denys Dmytriyenko <[email protected]> + --- tests/modetest/modetest.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c -index e66be660..9bd24acd 100644 +index fc75383..8e59acc 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c -@@ -1563,7 +1563,7 @@ static void clear_cursors(struct device *dev) +@@ -1767,7 +1767,7 @@ static void clear_cursors(struct device *dev) bo_destroy(dev->mode.cursor_bo); } -static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count) +static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned int count, int dont_stop) { - uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; unsigned int other_fb_id; -@@ -1632,7 +1632,7 @@ static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned + struct bo *other_bo; +@@ -1825,7 +1825,7 @@ static void test_page_flip(struct device *dev, struct pipe_arg *pipes, unsigned fd_set fds; FD_ZERO(&fds);
@@ -36,16 +38,16 @@ index e66be660..9bd24acd 100644 FD_SET(dev->fd, &fds); ret = select(dev->fd + 1, &fds, NULL, NULL, &timeout); -@@ -1890,7 +1890,7 @@ static int pipe_resolve_connectors(struct device *dev, struct pipe_arg *pipe) - return 0; +@@ -2032,7 +2032,7 @@ static void usage(char *name) + exit(0); } --static char optstr[] = "acdD:efF:M:P:ps:Cvw:"; -+static char optstr[] = "acdD:efF:M:P:ps:Cvw:t"; +-static char optstr[] = "acdD:efF:M:P:ps:Cvrw:"; ++static char optstr[] = "acdD:efF:M:P:ps:Cvrw:t"; int main(int argc, char **argv) { -@@ -1906,6 +1906,7 @@ int main(int argc, char **argv) +@@ -2049,6 +2049,7 @@ int main(int argc, char **argv) char *module = NULL; unsigned int i; unsigned int count = 0, plane_count = 0;
@@ -53,7 +55,7 @@ index e66be660..9bd24acd 100644 unsigned int prop_count = 0; struct pipe_arg *pipe_args = NULL; struct plane_arg *plane_args = NULL; -@@ -1999,6 +2000,9 @@ int main(int argc, char **argv) +@@ -2148,6 +2149,9 @@ int main(int argc, char **argv) prop_count++; break;
@@ -63,7 +65,7 @@ index e66be660..9bd24acd 100644 default: usage(argv[0]); break; -@@ -2150,7 +2154,7 @@ int main(int argc, char **argv) +@@ -2275,7 +2279,7 @@ int main(int argc, char **argv) set_cursors(&dev, pipe_args, count); if (test_vsync)
@@ -72,6 +74,3 @@ index e66be660..9bd24acd 100644 if (drop_master) drmDropMaster(dev.fd); --- -2.17.1 -
Signature · 1 line
2.7.4
PATCH 13/29 lmbench: remove very old SDK optimization that no longer apply
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- .../0001-Makefile-Add-TI-SDK-Modifications.patch | 75 ---------------------- .../recipes-benchmark/lmbench/lmbench_%.bbappend | 23 ------- 2 files changed, 98 deletions(-) delete mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench/0001-Makefile-Add-TI-SDK-Modifications.patch delete mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend
meta-arago-distro/recipes-benchmark/lmbench/lmbench/0001-Makefile-Add-TI-SDK-Modifications.patch deleted +0 -75
@@ -1,75 +0,0 @@ -From b698c2e18982eb0125c3b4cb3d0eb403e5a6140e Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <[email protected]> -Date: Tue, 3 Oct 2017 16:22:39 -0400 -Subject: [PATCH] Makefile: Add TI SDK Modifications - -Signed-off-by: Denys Dmytriyenko <[email protected]> ---- - src/Makefile | 24 +++++++++++++++--------- - 1 file changed, 15 insertions(+), 9 deletions(-) - -diff --git a/src/Makefile b/src/Makefile -index 96467d7..09cdcfe 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -34,11 +34,17 @@ - # I finally know why Larry Wall's Makefile says "Grrrr". - SHELL=/bin/sh - --CC=`../scripts/compiler` -+CC?=`../scripts/compiler` - MAKE=`../scripts/make` --AR=ar -+AR?=ar - ARCREATE=cr --RANLIB=ranlib -+RANLIB?=ranlib -+ -+OPTIMIZATIONS = -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -fprefetch-loop-arrays -+ -+CFLAGS ?= -+CFLAGS += $(OPTIMIZATIONS) -+ - - # base of installation location - BASE=/usr/local -@@ -112,8 +118,8 @@ LIBOBJS= $O/lib_tcp.o $O/lib_udp.o $O/lib_unix.o $O/lib_timing.o \ - $O/lib_sched.o - - lmbench: $(UTILS) -- @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all -- -@env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build opt -+ @env CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all -+ -@env CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build opt - - results: lmbench - @env OS="${OS}" ../scripts/config-run -@@ -137,7 +143,7 @@ os: lmbench - @env OS="${OS}" BENCHMARK_HARDWARE=NO BENCHMARK_OS=YES ../scripts/results - - install: lmbench -- @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build install-target -+ @env MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build install-target - - install-target: - if [ ! -d $(BASE) ]; then mkdir $(BASE); fi -@@ -158,13 +164,13 @@ $(ASMS): - $(CC) -S $(CFLAGS) $(CPPFLAGS) -o $@ `basename $@ .s`.c $(LDFLAGS) - - Wall: -- @env CFLAGS+="-g -O -Wall" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build all opt -+ @env CFLAGS+=-Wall MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build all opt - - debug: -- @env CFLAGS+="-g -O -DDEBUG" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build all opt -+ @env CFLAGS+=-DDEBUG MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build all opt - - assembler: -- @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build asm -+ @env MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build asm - - - tag: --- -2.7.4 -
meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend deleted +0 -23
@@ -1,23 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -DEPENDS += "libtirpc" - -INSANE_SKIP_${PN} += "ldflags" - -PR_append = ".arago3" - -SRC_URI += "file://0001-Makefile-Add-TI-SDK-Modifications.patch" - -EXTRA_OEMAKE = "" -CFLAGS = "-I${STAGING_INCDIR}/tirpc" -LDFLAGS = "-ltirpc" - -do_compile () { - oe_runmake -C src -} - -do_install_append() { - rm -rf ${D}${datadir} -} - -RDEPENDS_${PN}_remove = "perl"
Signature · 1 line
2.7.4
PATCH 14/29 iproute2: drop upstreamed patch for HSR/PRP support
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
HSR/PRP support is now part of iproute2 5.11
--- ...add-support-for-creating-PRP-device-simil.patch | 109 --------------------- .../iproute2/iproute2_%.bbappend | 1 - 2 files changed, 110 deletions(-) delete mode 100644 meta-arago-distro/recipes-connectivity/iproute2/iproute2/0013-iplink-hsr-add-support-for-creating-PRP-device-simil.patch
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0013-iplink-hsr-add-support-for-creating-PRP-device-simil.patch deleted +0 -109
@@ -1,109 +0,0 @@ -From e3aa94814e9467af5829a04c335a615c0082a362 Mon Sep 17 00:00:00 2001 -From: Murali Karicheri <[email protected]> -Date: Fri, 5 Jun 2020 11:02:05 -0400 -Subject: [PATCH 1/2] iplink: hsr: add support for creating PRP device similar - to HSR - -This patch enhances the iplink command to add a proto parameters to -create PRP device/interface similar to HSR. Both protocols are -quite similar and requires a pair of Ethernet interfaces. So re-use -the existing HSR iplink command to create PRP device/interface as -well. Use proto parameter to differentiate the two protocols. - -Signed-off-by: Murali Karicheri <[email protected]> ---- - include/uapi/linux/if_link.h | 12 +++++++++++- - ip/iplink_hsr.c | 19 +++++++++++++++++-- - 2 files changed, 28 insertions(+), 3 deletions(-) - -diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h -index 1c49f436424d..de08704c5862 100644 ---- a/include/uapi/linux/if_link.h -+++ b/include/uapi/linux/if_link.h -@@ -881,7 +881,14 @@ enum { - #define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1) - - --/* HSR section */ -+/* HSR/PRP section, both uses same interface */ -+ -+/* Different redundancy protocols for hsr device */ -+enum { -+ HSR_PROTOCOL_HSR, -+ HSR_PROTOCOL_PRP, -+ HSR_PROTOCOL_MAX, -+}; - - enum { - IFLA_HSR_UNSPEC, -@@ -891,6 +898,9 @@ enum { - IFLA_HSR_SUPERVISION_ADDR, /* Supervision frame multicast addr */ - IFLA_HSR_SEQ_NR, - IFLA_HSR_VERSION, /* HSR version */ -+ IFLA_HSR_PROTOCOL, /* Indicate different protocol than -+ * HSR. For example PRP. -+ */ - __IFLA_HSR_MAX, - }; - -diff --git a/ip/iplink_hsr.c b/ip/iplink_hsr.c -index 7d9167d4e6a3..6ea138a23cbc 100644 ---- a/ip/iplink_hsr.c -+++ b/ip/iplink_hsr.c -@@ -25,7 +25,7 @@ static void print_usage(FILE *f) - { - fprintf(f, - "Usage:\tip link add name NAME type hsr slave1 SLAVE1-IF slave2 SLAVE2-IF\n" -- "\t[ supervision ADDR-BYTE ] [version VERSION]\n" -+ "\t[ supervision ADDR-BYTE ] [version VERSION] [proto PROTOCOL]\n" - "\n" - "NAME\n" - " name of new hsr device (e.g. hsr0)\n" -@@ -35,7 +35,9 @@ static void print_usage(FILE *f) - " 0-255; the last byte of the multicast address used for HSR supervision\n" - " frames (default = 0)\n" - "VERSION\n" -- " 0,1; the protocol version to be used. (default = 0)\n"); -+ " 0,1; the protocol version to be used. (default = 0)\n" -+ "PROTOCOL\n" -+ " 0 - HSR, 1 - PRP. (default = 0 - HSR)\n"); - } - - static void usage(void) -@@ -49,6 +51,7 @@ static int hsr_parse_opt(struct link_util *lu, int argc, char **argv, - int ifindex; - unsigned char multicast_spec; - unsigned char protocol_version; -+ unsigned char protocol = HSR_PROTOCOL_HSR; - - while (argc > 0) { - if (matches(*argv, "supervision") == 0) { -@@ -64,6 +67,13 @@ static int hsr_parse_opt(struct link_util *lu, int argc, char **argv, - invarg("version is invalid", *argv); - addattr_l(n, 1024, IFLA_HSR_VERSION, - &protocol_version, 1); -+ } else if (matches(*argv, "proto") == 0) { -+ NEXT_ARG(); -+ if (!(get_u8(&protocol, *argv, 0) == HSR_PROTOCOL_HSR || -+ get_u8(&protocol, *argv, 0) == HSR_PROTOCOL_PRP)) -+ invarg("protocol is invalid", *argv); -+ addattr_l(n, 1024, IFLA_HSR_PROTOCOL, -+ &protocol, 1); - } else if (matches(*argv, "slave1") == 0) { - NEXT_ARG(); - ifindex = ll_name_to_index(*argv); -@@ -140,6 +150,11 @@ static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) - RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADDR]), - ARPHRD_VOID, - b1, sizeof(b1))); -+ if (tb[IFLA_HSR_PROTOCOL]) -+ print_int(PRINT_ANY, -+ "proto", -+ "proto %d ", -+ rta_getattr_u8(tb[IFLA_HSR_PROTOCOL])); - } - - static void hsr_print_help(struct link_util *lu, int argc, char **argv, --- -2.17.1 -
meta-arago-distro/recipes-connectivity/iproute2/iproute2_%.bbappend +0 -1
@@ -3,6 +3,5 @@ PR_append = ".arago6" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = " \ - file://0013-iplink-hsr-add-support-for-creating-PRP-device-simil.patch \ file://0014-iplink-hsr-prp-add-support-for-vlan-tagged-supervisi.patch \ "
Signature · 1 line
2.7.4
PATCH 15/29 linuxptp: update bbappend against latest upstream
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Upstream has moved to 3.1, but since this bbappend switches SRC_URI to a forked version based on 3.0, update it to reflect the same and still build against upstream recipe.
--- meta-arago-distro/recipes-connectivity/linuxptp/linuxptp_%.bbappend | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-connectivity/linuxptp/linuxptp_%.bbappend +3 -3
@@ -1,13 +1,13 @@ PR_append = ".arago0" -PV_append = "+git${SRCPV}" +PV = "3.0+git${SRCPV}" BRANCH = "ti-linuxptp" -SRCREV = "a06698a12e828a0372955c2d9c8d6604d8326811" +SRCREV = "f155c21283a0421f5e1e0b5e850c8a9a71d72453" SRC_URI = " \ git://git.ti.com/processor-sdk/linuxptp.git;branch=${BRANCH} \ file://build-Allow-CC-and-prefix-to-be-overriden.patch \ - file://no-incdefs-using-host-headers.patch \ + file://Use-cross-cpp-in-incdefs.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
PATCH 16/29 kmscube: pin down version before GL3+ features were merged
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
More and more GL3+ features are being added to kmscube w/o easy way to disable them. Pin down older version from dunfell, until GL3+ code can be patched out.
Also, suppress gcc10 multiple definition of 'gl' error for now.
--- meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend +5 -1
@@ -1,7 +1,11 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" +SRCREV = "76bb57d539cb43d267e561024c34e031bf351e04" + SRC_URI += " \ file://0001-meson-check-for-gles3-support.patch \ " -PR_append = ".arago1" +CFLAGS += "-fcommon" + +PR_append = ".arago2"
Signature · 1 line
2.7.4
Re: [EXTERNAL] [master][PATCH 16/29] kmscube: pin down version before GL3+ features were merged
Quoted 18 lines
-----Original Message-----
From: Denys Dmytriyenko <[email protected]>
Sent: Friday, April 02, 2021 7:11 PM
To: [email protected]
Cc: Denys Dmytriyenko <[email protected]>; Tammana, Gowtham <g- [email protected]>
Subject: [EXTERNAL] [master][PATCH 16/29] kmscube: pin down version before GL3+ features were mergedFrom: Denys Dmytriyenko <[email protected]>
More and more GL3+ features are being added to kmscube w/o easy way to disable
them. Pin down older version from dunfell, until GL3+ code can be patched out.
Quoted 4 lines
Also, suppress gcc10 multiple definition of 'gl' error for now.
Signed-off-by Denys Dmytriyenko <[email protected]>Cc Gowtham Tammana <[email protected]>
Will take a look to see if these can be configured through appropriate flags.
For this patch.
Quoted 24 lines
---
meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend | 6 +++++-1 file changed, 5 insertions(+), 1 deletion(-)meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend +0
-0@@ -1,7 +1,11 @@
FILESEXTRAPATHS_append:= "${THISDIR}/${PN}:"meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend +2
-0+SRCREV = "76bb57d539cb43d267e561024c34e031bf351e04" +
SRC_URI+= " \
file://0001-meson-check-for-gles3-support.patch \
"meta-arago-distro/recipes-graphics/kmscube/kmscube_%.bbappend +3
-2-PR_append = ".arago1" +CFLAGS += "-fcommon" + +PR_append = ".arago2" --2.7.4
PATCH 17/29 netperf: drop upstreamed PACKAGECONFIG, suppress gcc10 multiple definition
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Resolves:
| .../src/nettest_omni.c:206: multiple definition of signal_set'; nettest_bsd.o:.../src/nettest_bsd.c:279: first defined here | .../src/nettest_omni.c:164: multiple definition of interval_count'; nettest_bsd.o:.../src/nettest_bsd.c:266: first defined here
https://gcc.gnu.org/gcc-10/porting_to.html
--- meta-arago-distro/recipes-support/netperf/netperf_git.bbappend | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-arago-distro/recipes-support/netperf/netperf_git.bbappend +1 -2
@@ -1,2 +1 @@ -PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,," -PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,," +CFLAGS += "-fcommon"
Signature · 1 line
2.7.4
PATCH 18/29 packagegroup-*-server-extra: replace dhcp-client with dhcpcd
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
In OE-Core dhcp-client has been replaced with dhcpcd, adjust accordingly.
--- .../packagegroups/packagegroup-arago-base-tisdk-server-extra.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb +1 -1
@@ -111,7 +111,7 @@ RDEPENDS_${PN} = "\ syslog-ng \ dtc \ procps \ - dhcp-client \ + dhcpcd \ tzdata \ lksctp-tools \ lksctp-tools-utils \
Signature · 1 line
2.7.4
PATCH 19/29 meta-toolchain-arago: opkg.conf in SDK now also resides in /etc/opkg/
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
This matches opkg.conf location on the target.
--- 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
@@ -148,7 +148,7 @@ cleanup_toolchain_packages() { # Clean up the target side of the toolchain opkg_dir="${SDK_OUTPUT}/${SDKTARGETSYSROOT}" - opkg_conf="${opkg_dir}/etc/opkg.conf" + opkg_conf="${opkg_dir}/etc/opkg/opkg.conf" opkg -o $opkg_dir -f $opkg_conf --force-depends remove ${TOOLCHAIN_CLEANUP_PACKAGES} # Clean up empty directories from cleaned up packages
Signature · 1 line
2.7.4
PATCH 20/29 php: suppress installed-vs-shipped QA error
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
This used to be a warning and recently became an error. Need to be cleaned up later.
--- meta-arago-distro/recipes-devtools/php/php_%.bbappend | 2 ++ 1 file changed, 2 insertions(+)
meta-arago-distro/recipes-devtools/php/php_%.bbappend +2 -0
@@ -21,3 +21,5 @@ do_install_prepend_pn-php() { mkdir -p ${B}/sapi/fpm/ touch ${B}/sapi/fpm/init.d.php-fpm } + +INSANE_SKIP_${PN} += "installed-vs-shipped"
Signature · 1 line
2.7.4
PATCH 21/29 ti-llvm3.6: suppress installed-vs-shipped QA error
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
This used to be a warning and recently became an error. Need to be cleaned up later.
--- meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb | 1 + 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb +1 -0
@@ -170,6 +170,7 @@ llvm_sysroot_preprocess_target() { mv ${LLVM_INSTALL_DIR}/llvm-config-host ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}-ti } +INSANE_SKIP_${PN} += "installed-vs-shipped" INSANE_SKIP_${MLPREFIX}libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE}.0 += "dev-so" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.7.4
PATCH 22/29 matrix-gui-apps: suppress installed-vs-shipped QA error
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
This used to be a warning and recently became an error. Need to be cleaned up later.
--- meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc | 2 ++ 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -0
@@ -10,3 +10,5 @@ INC_PR = "r76" # Pull in the base package for installing matrix applications require matrix-gui-apps.inc + +INSANE_SKIP_${PN} += "installed-vs-shipped"
Signature · 1 line
2.7.4
PATCH 23/29 matrix-gui: lighttpd-module-compress replaced with lighttpd-module-deflate
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
--- meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -1
@@ -56,6 +56,6 @@ do_install(){ GUIDEPS = "${@bb.utils.contains('MACHINE_FEATURES','gpu',"matrix-gui-browser refresh-screen",'',d)}" -RDEPENDS_${PN} += "matrix-lighttpd-config lighttpd lighttpd-module-cgi lighttpd-module-compress lighttpd-module-expire php php-cgi php-cli ${GUIDEPS}" +RDEPENDS_${PN} += "matrix-lighttpd-config lighttpd lighttpd-module-cgi lighttpd-module-deflate lighttpd-module-expire php php-cgi php-cli ${GUIDEPS}" FILES_${PN} += "${MATRIX_BASE_DIR}/*"
Signature · 1 line
2.7.4
PATCH 24/29 statcol: suppress "ldflags" QA error
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Fixes:
ERROR: statcol-1.0-r0_3 do_package_qa: QA Issue: File /usr/bin/statcol in package statcol doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
Need to change Makefile to pass proper LDFLAGS.
--- meta-arago-extras/recipes-devtools/statcol/statcol.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-devtools/statcol/statcol.bb +2 -0
@@ -20,3 +20,5 @@ do_install() { } PR_append = "_3" + +INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
2.7.4
PATCH 25/29 kms++: update to the latest
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
kms++ has moved from cmake to meson and has issues locating pybind11 dependency in recipe-sysroot. This causes Python bindings to be skipped and not packaged into kms++-python, normally used by testing process.
--- meta-arago-extras/recipes-graphics/kms++/kms++_git.bb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
meta-arago-extras/recipes-graphics/kms++/kms++_git.bb +8 -4
@@ -4,13 +4,17 @@ LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" PV = "2.1" -PR = "r0" +PR = "r1" BRANCH = "master" SRC_URI = "git://github.com/tomba/kmsxx.git;protocol=git;branch=${BRANCH}" -SRCREV = "626edbe2fc845803ffdd25936e21202e4f123b63" +SRCREV = "5afc8d918f2c084acd65027604868dfde43395cf" -DEPENDS = "drm python3-pybind11" +DEPENDS = "drm fmt" + +# New meson build system fails to find pybind11 in sysroot, disable for now +#DEPENDS += "python3-pybind11" +#EXTRA_OEMESON = "-Dsystem-pybind11=enabled" PACKAGES =+ "${PN}-python"
@@ -20,7 +24,7 @@ FILES_${PN}-python += "${libdir}/python*/site-packages" S = "${WORKDIR}/git" -inherit python3native cmake update-alternatives +inherit python3native meson update-alternatives ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_${PN} = "kmstest"
Signature · 1 line
2.7.4
PATCH 26/29 FIXME: packagegroup-addons: disable kms++-python bindings, due to meson build issues
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Need to be resolved separately.
--- .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
@@ -10,6 +10,7 @@ PACKAGES =+ "${PN}-extra" # dt +# kms++-python UTILS = " \ am-sysinfo \ gdbserver \
@@ -22,7 +23,6 @@ UTILS = " \ ptpd \ libdrm-kms \ kms++ \ - kms++-python \ stream \ strongswan \ kexec \
Signature · 1 line
2.7.4
PATCH 27/29 FIXME: packagegroup-connectivity: disable net-snmp, IEC-62439-3 doesn't build with gcc10
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Locally added IEC-62439-3 support causes gcc10 build errors and need resolving.
--- .../packagegroups/packagegroup-arago-tisdk-connectivity.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb +2 -2
@@ -53,14 +53,14 @@ DEMO_APPS = "\ ${@oe.utils.conditional('QT_PROVIDER', 'qt5', '', 'wpa-gui-e', d)} \ " +# net-snmp +# net-snmp-server-snmpd CONNECTIVITY_RDEPENDS = " \ htop \ iptables \ iproute2 \ iproute2-tc \ iproute2-devlink \ - net-snmp \ - net-snmp-server-snmpd \ ${WLAN_COMMON} \ ${WLAN_TI} \ ${BT_COMMON} \
Signature · 1 line
2.7.4
PATCH 28/29 FIXME: ti-test: disable ltp-ddt due to gcc10 build errors
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
ltp-ddt needs to be rebased from ltp 20200120 to ltp 20210121 code base in order to address large amount of gcc10 build errors.
--- meta-arago-distro/recipes-core/packagegroups/ti-test.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/ti-test.bb +1 -1
@@ -44,8 +44,8 @@ ARAGO_TEST_append_armv7ve = " \ " # timestamping +# ltp-ddt ARAGO_TI_TEST = " \ - ltp-ddt \ input-utils \ cpuloadgen \ uvc-gadget \
Signature · 1 line
2.7.4
PATCH 29/29 FIXME: arago.conf: disable opencl, as it's broken
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
The old OpenCL DSP offloading code causes too many C++ template and namespace errors from gcc10:
https://gcc.gnu.org/gcc-10/porting_to.html
Disable the feature for now.
--- meta-arago-distro/conf/distro/arago.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/conf/distro/arago.conf +1 -1
@@ -88,7 +88,7 @@ DISTRO_FEATURES_remove = "x11" # Add additional distro features DISTRO_FEATURES_append = " pam wayland opengl" -DISTRO_FEATURES_append = " opencl" +#DISTRO_FEATURES_append = " opencl" DISTRO_FEATURES_append = " opencv" DISTRO_FEATURES_append = " openmp"
Signature · 1 line
2.7.4
Quoted 9 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Set of fixes for meta-arago hardknott/master. Uses "internal" gcc10 toolchain (selected with TOOLCHAIN_TYPE=internal) and still requires extra fixes to use external prebuilt Arm toolchain from meta-arm.
gcc10 "multiple definition" errors are currently suppressed. Components with too many non-trivial gcc10 errors are disabled. Proper fixing in code is needed.
series merged to master
Quoted 101 lines
https://gcc.gnu.org/gcc-10/porting_to.html
Denys Dmytriyenko (29):
arago.conf: removeLIBC_DEPENDENCIESmod needed for
external-arm-toolchain
sourceipk,tisdk-bundle,packagegroup-*-sdk-host: rename ${PN}-src to${PN}-sourcetoolchain-gcc: update component versions of internal toolchain
recipes: fix trailing slash in path warning
nativesdk-packagegroup: fix QA warning for inheriting classes after
nativesdk
perl: skip shebang-size QA check for nativesdk-perl packages
weston: update bbappend 8.0.0 -> 9.0.0
gstreamer-plugins: unify removal of GFX options for headless platforms gstreamer1.0-plugins-good: upgrade 1.16 -> 1.18 gstreamer1.0-plugins-hevc: suppress gcc10 multiple definitions of
buffArray
branding-core: remove mmip, as gstreamer patches need porting to 1.18
libdrm: massage test patch to apply against latest version
lmbench: remove very old SDK optimization that no longer apply
iproute2: drop upstreamed patch for HSR/PRP support
linuxptp: update bbappend against latest upstream
kmscube: pin down version before GL3+ features were merged
netperf: drop upstreamed PACKAGECONFIG, suppress gcc10 multiple
definition
packagegroup-*-server-extra: replace dhcp-client with dhcpcd
meta-toolchain-arago: opkg.conf in SDK now also resides in/etc/opkg/
php: suppress installed-vs-shipped QA error
ti-llvm3.6: suppress installed-vs-shipped QA error
matrix-gui-apps: suppress installed-vs-shipped QA error
matrix-gui: lighttpd-module-compress replaced with
lighttpd-module-deflate
statcol: suppress "ldflags" QA error
kms++: update to the latest
FIXME: packagegroup-addons: disable kms++-python bindings, due to
meson build issues
FIXME: packagegroup-connectivity: disable net-snmp, IEC-62439-3
doesn't build with gcc10
FIXME: ti-test: disable ltp-ddt due to gcc10 build errors
FIXME: arago.conf: disable opencl, as it's brokenmeta-arago-distro/classes/sourceipk.bbclass | 22 ++--- meta-arago-distro/classes/tisdk-bundle.bbclass | 2 +- meta-arago-distro/conf/distro/arago.conf | 4 +- .../conf/distro/include/branding-core.inc | 3 + .../conf/distro/include/toolchain-gcc.inc | 8 +- .../0001-Makefile-Add-TI-SDK-Modifications.patch | 75 -------------- .../recipes-benchmark/lmbench/lmbench_%.bbappend | 23 ----- ...add-support-for-creating-PRP-device-simil.patch | 109 --------------------- .../iproute2/iproute2_%.bbappend | 1 - .../linuxptp/linuxptp_%.bbappend | 6 +- .../packagegroup-arago-base-tisdk-server-extra.bb | 2 +- .../packagegroup-arago-tisdk-addons-sdk-host.bb | 74 +++++++------- .../packagegroup-arago-tisdk-addons.bb | 2 +- .../packagegroup-arago-tisdk-amsdk-sdk-host.bb | 6 +- .../packagegroup-arago-tisdk-connectivity.bb | 4 +- .../packagegroup-arago-tisdk-crypto-sdk-host.bb | 16 +-- .../packagegroup-arago-tisdk-graphics-sdk-host.bb | 4 +- .../packagegroup-arago-tisdk-hmi-sdk-host.bb | 18 ++-- .../packagegroup-arago-tisdk-matrix-sdk-host.bb | 6 +- ...packagegroup-arago-tisdk-multimedia-sdk-host.bb | 12 +-- .../packagegroup-arago-tisdk-opencl-sdk-host.bb | 8 +- .../packagegroup-arago-tisdk-qte-sdk-host.bb | 4 +- .../recipes-core/packagegroups/ti-test.bb | 2 +- .../recipes-devtools/perl/perl_%.bbappend | 12 +++ .../recipes-devtools/php/php_%.bbappend | 2 + ...001-Add-option-to-run-a-test-indefinitely.patch | 29 +++--- .../recipes-graphics/kmscube/kmscube_%.bbappend | 6 +- ...weston_8.0.0.bbappend => weston_9.0.0.bbappend} | 0 ....%.bbappend => gstreamer1.0-plugins-%.bbappend} | 0 .../gstreamer1.0-plugins-bad_1.16.%.bbappend | 6 -- .../gstreamer1.0-plugins-base_1.16.%.bbappend | 6 -- .../recipes-support/netperf/netperf_git.bbappend | 3 +- .../recipes-tisdk/oe-layersetup/oe-layersetup.bb | 2 +- .../recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 2 +- .../image-gallery/image-gallery_git.bb | 2 +- .../recipes-apps/thermostat-demo/qt-tstat_2.0.bb | 2 +- .../recipes-core/llvm/ti-llvm3.6_3.6.bb | 1 + .../recipes-core/matrix/matrix-gui-apps-git.inc | 2 + .../recipes-core/matrix/matrix-gui_2.0.bb | 2 +- .../recipes-core/meta/meta-toolchain-arago.bb | 2 +- ...ivesdk-packagegroup-arago-qte-toolchain-host.bb | 2 +- .../ti-crypto-examples/ti-crypto-examples_git.bb | 2 +- .../recipes-devtools/statcol/statcol.bb | 2 + .../recipes-graphics/kms++/kms++_git.bb | 12 ++- .../gstreamer1.0-plugins-hevc_git.bb | 1 + ...ix-build-on-EGL-platform-without-X11-head.patch | 36 ------- ...d => gstreamer1.0-plugins-good_1.18.%.bbappend} | 1 - .../recipes-ti/tidl-utils/tidl-import_git.bb | 2 +- 48 files changed, 159 insertions(+), 389 deletions(-)delete mode 100644
meta-arago-distro/recipes-benchmark/lmbench/lmbench/0001-Makefile-Add-TI-SDK-Modifications.patch
delete mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend
delete mode 100644meta-arago-distro/recipes-connectivity/iproute2/iproute2/0013-iplink-hsr-add-support-for-creating-PRP-device-simil.patchcreate mode 100644 meta-arago-distro/recipes-devtools/perl/perl_%.bbappend
rename meta-arago-distro/recipes-graphics/wayland/{weston_8.0.0.bbappend => weston_9.0.0.bbappend} (100%)
rename meta-arago-distro/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-%.bbappend} (100%) delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.%.bbappend
delete mode 100644 meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend
delete mode 100644meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlglsink-fix-build-on-EGL-platform-without-X11-head.patchrename meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.%.bbappend => gstreamer1.0-plugins-good_1.18.%.bbappend} (84%)