From 873b57dfbd7f67a762a8300a60278764b911c893 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 23 Apr 2020 19:10:43 +0200 Subject: Cleanup post next merge Signed-off-by: Jan-Simon Moeller Change-Id: Ieee834f43877f0d675b4a97eebfcde1683fb0cef --- meta-attic/conf/layer.conf | 12 +++++++ .../agl-service-can-high-level-viwi.bb | 19 ++++++++++ .../als-meter-demo/als-meter-demo_git.bb | 21 +++++++++++ .../recipes-demo-hmi/controls/controls_git.bb | 18 ++++++++++ .../settings-log-utils/settings-log-utils_git.bb | 24 +++++++++++++ .../0001-Fix-cross-compilation-with-yocto.patch | 25 +++++++++++++ .../vod-server/files/vod-demo.service | 10 ++++++ .../recipes-demo-hmi/vod-server/vod-server_0.1.bb | 35 ++++++++++++++++++ .../windowmanager/windowmanager_git.bb | 37 +++++++++++++++++++ meta-attic/recipes-devtools/gn/gn.inc | 21 +++++++++++ .../recipes-devtools/gn/gn_66.0.3340.0.r534306.bb | 8 +++++ .../web-runtime/web-runtime/web-runtime | 18 ++++++++++ .../web-runtime/web-runtime/web-runtime-webkit.qml | 13 +++++++ .../web-runtime/web-runtime/web-runtime.qml | 14 ++++++++ .../web-runtime/web-runtime_0.1.bb | 37 +++++++++++++++++++ meta-blsched/COPYING.MIT | 17 --------- meta-blsched/README.md | 42 ---------------------- meta-blsched/conf/layer.conf | 10 ------ .../arm-trusted-firmware_git.bbappend | 1 - meta-blsched/recipes-core/blsched/blsched_git.bb | 36 ------------------- .../recipes-core/blsched/files/blsched.service | 9 ----- .../recipes-kernel/linux/linux-renesas_%.bbappend | 4 --- templates/feature/agl-attic/50_bblayers.conf.inc | 3 ++ .../feature/agl-attic/README_feature_agl-attic.md | 4 +++ templates/feature/blsched/50_bblayers.conf.inc | 3 -- templates/feature/blsched/50_local.conf.inc | 1 - .../feature/blsched/README_feature_blsched.md | 13 ------- 27 files changed, 319 insertions(+), 136 deletions(-) create mode 100644 meta-attic/conf/layer.conf create mode 100644 meta-attic/recipes-apis/agl-service-can-high-level-viwi/agl-service-can-high-level-viwi.bb create mode 100644 meta-attic/recipes-demo-hmi/als-meter-demo/als-meter-demo_git.bb create mode 100644 meta-attic/recipes-demo-hmi/controls/controls_git.bb create mode 100644 meta-attic/recipes-demo-hmi/settings-log-utils/settings-log-utils_git.bb create mode 100644 meta-attic/recipes-demo-hmi/vod-server/files/0001-Fix-cross-compilation-with-yocto.patch create mode 100644 meta-attic/recipes-demo-hmi/vod-server/files/vod-demo.service create mode 100644 meta-attic/recipes-demo-hmi/vod-server/vod-server_0.1.bb create mode 100644 meta-attic/recipes-demo-hmi/windowmanager/windowmanager_git.bb create mode 100644 meta-attic/recipes-devtools/gn/gn.inc create mode 100644 meta-attic/recipes-devtools/gn/gn_66.0.3340.0.r534306.bb create mode 100755 meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime create mode 100644 meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml create mode 100644 meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime.qml create mode 100644 meta-attic/recipes-graphics/web-runtime/web-runtime_0.1.bb delete mode 100644 meta-blsched/COPYING.MIT delete mode 100644 meta-blsched/README.md delete mode 100644 meta-blsched/conf/layer.conf delete mode 100644 meta-blsched/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend delete mode 100644 meta-blsched/recipes-core/blsched/blsched_git.bb delete mode 100644 meta-blsched/recipes-core/blsched/files/blsched.service delete mode 100644 meta-blsched/recipes-kernel/linux/linux-renesas_%.bbappend create mode 100644 templates/feature/agl-attic/50_bblayers.conf.inc create mode 100644 templates/feature/agl-attic/README_feature_agl-attic.md delete mode 100644 templates/feature/blsched/50_bblayers.conf.inc delete mode 100644 templates/feature/blsched/50_local.conf.inc delete mode 100644 templates/feature/blsched/README_feature_blsched.md diff --git a/meta-attic/conf/layer.conf b/meta-attic/conf/layer.conf new file mode 100644 index 0000000..6086dbf --- /dev/null +++ b/meta-attic/conf/layer.conf @@ -0,0 +1,12 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-attic" + +BBFILE_PATTERN_meta-attic = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-attic = "6" +LAYERSERIES_COMPAT_meta-attic = "zeus dunfell" diff --git a/meta-attic/recipes-apis/agl-service-can-high-level-viwi/agl-service-can-high-level-viwi.bb b/meta-attic/recipes-apis/agl-service-can-high-level-viwi/agl-service-can-high-level-viwi.bb new file mode 100644 index 0000000..7cc58dd --- /dev/null +++ b/meta-attic/recipes-apis/agl-service-can-high-level-viwi/agl-service-can-high-level-viwi.bb @@ -0,0 +1,19 @@ +SUMMARY = "High level ViWi service" +DESCRIPTION = "AGL High Level service using ViWi protocol to expose CAN API." +HOMEPAGE = "https://git.automotivelinux.org/apps/agl-service-can-high-level-viwi/" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5de84541278ea4e62cacfdc0f890c459" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-can-high-level-viwi;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "4.0+git${SRCPV}" +S = "${WORKDIR}/git" + +# Run-time dependencies +RDEPENDS_${PN} += "agl-service-can-low-level" + +inherit cmake aglwgt + +AGLWGT_AUTOINSTALL_${PN} := "0" diff --git a/meta-attic/recipes-demo-hmi/als-meter-demo/als-meter-demo_git.bb b/meta-attic/recipes-demo-hmi/als-meter-demo/als-meter-demo_git.bb new file mode 100644 index 0000000..6b0e054 --- /dev/null +++ b/meta-attic/recipes-demo-hmi/als-meter-demo/als-meter-demo_git.bb @@ -0,0 +1,21 @@ +SUMMARY = "Demo app for streeting-wheel" +DESCRIPTION = "AGL demo app for streeting-wheel" +HOMEPAGE = "http://192.168.160.148/shenhui/als-meter-demo-release" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/als-meter-demo;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "0.1+git${SRCPV}" +S = "${WORKDIR}/git" + +# build-time dependencies +DEPENDS += "qtquickcontrols2 opencv libhomescreen qlibwindowmanager" + +# runtime dependencies +RDEPENDS_${PN} += "agl-service-steering-wheel" + +inherit qmake5 aglwgt diff --git a/meta-attic/recipes-demo-hmi/controls/controls_git.bb b/meta-attic/recipes-demo-hmi/controls/controls_git.bb new file mode 100644 index 0000000..1b19759 --- /dev/null +++ b/meta-attic/recipes-demo-hmi/controls/controls_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "Controls for CES2017 AGL Demonstration" +DESCRIPTION = "AGL HMI Application for demonstrating UI components on AGL Distribution" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/controls" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/controls;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "${AGL_APP_REVISION}" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" + +# build-time dependencies +DEPENDS += "qtquickcontrols2" + +inherit qmake5 aglwgt diff --git a/meta-attic/recipes-demo-hmi/settings-log-utils/settings-log-utils_git.bb b/meta-attic/recipes-demo-hmi/settings-log-utils/settings-log-utils_git.bb new file mode 100644 index 0000000..90dc0be --- /dev/null +++ b/meta-attic/recipes-demo-hmi/settings-log-utils/settings-log-utils_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "App for log record" +DESCRIPTION = "AGL HMI Application for demonstrating Log Record on AGL Distribution" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/settings-log-utils" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/settings-log-utils;protocol=https;branch=master" +SRCREV = "${AUTOREV}" + +PV = "1.0+git${SRCPV}" +S = "${WORKDIR}/git" + +# build-time dependencies +DEPENDS += "libqtappfw qtquickcontrols2 qtwebsockets opencv boost" +DEPENDS += "libhomescreen qlibwindowmanager qtvirtualkeyboard" + +# runtime dependencies +RDEPENDS_${PN} += " \ + agl-service-bluetooth \ + agl-service-network" + +inherit qmake5 aglwgt diff --git a/meta-attic/recipes-demo-hmi/vod-server/files/0001-Fix-cross-compilation-with-yocto.patch b/meta-attic/recipes-demo-hmi/vod-server/files/0001-Fix-cross-compilation-with-yocto.patch new file mode 100644 index 0000000..c034d4e --- /dev/null +++ b/meta-attic/recipes-demo-hmi/vod-server/files/0001-Fix-cross-compilation-with-yocto.patch @@ -0,0 +1,25 @@ +--- a/buildX86/Makefile-Release.mk 2016-12-09 15:48:37.000000000 +0100 ++++ b/buildX86/Makefile-Release.mk 2016-12-09 16:56:35.071740652 +0100 +@@ -11,14 +11,14 @@ + MKDIR=mkdir + CP=cp + GREP=grep +-NM=nm +-CCADMIN=CCadmin +-RANLIB=ranlib +-CC=${CROSS_COMPILE}gcc +-CCC=${CROSS_COMPILE}g++ +-CXX=${CROSS_COMPILE}g++ +-FC=${CROSS_COMPILE}gfortran +-AS=${CROSS_COMPILE}as ++#NM=nm ++#CCADMIN=CCadmin ++#RANLIB=ranlib ++#CC=${CROSS_COMPILE}gcc ++#CCC=${CROSS_COMPILE}g++ ++#CXX=${CROSS_COMPILE}g++ ++#FC=${CROSS_COMPILE}gfortran ++#AS=${CROSS_COMPILE}as + + # Macros + CND_PLATFORM=GNU-Linux-x86 diff --git a/meta-attic/recipes-demo-hmi/vod-server/files/vod-demo.service b/meta-attic/recipes-demo-hmi/vod-server/files/vod-demo.service new file mode 100644 index 0000000..c783bd4 --- /dev/null +++ b/meta-attic/recipes-demo-hmi/vod-server/files/vod-demo.service @@ -0,0 +1,10 @@ +[Unit] +Description=Video On Demand AGL Demo +After=WindowManager.service most-network-manager.service + +[Service] +Type=simple +ExecStart=/usr/bin/VideoOnDemand -p /home/root/Video + +[Install] +WantedBy=default.target diff --git a/meta-attic/recipes-demo-hmi/vod-server/vod-server_0.1.bb b/meta-attic/recipes-demo-hmi/vod-server/vod-server_0.1.bb new file mode 100644 index 0000000..d1cbb66 --- /dev/null +++ b/meta-attic/recipes-demo-hmi/vod-server/vod-server_0.1.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Build VideoOnDemand server" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +#LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ +# " + +PV = "0.1" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/vod-server;protocol=https;branch=${AGL_BRANCH}" +SRC_URI += "file://0001-Fix-cross-compilation-with-yocto.patch \ + file://vod-demo.service" + +S = "${WORKDIR}/git" +SRCREV = "faafe61dd5f88859a005a59082d57339089ddca1" + +do_install() { + install -m 0755 -d ${D}${bindir} + install -m 0755 ${S}/VideoOnDemand ${D}${bindir}/VideoOnDemand + + # Install VOD server systemd service (user) + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -m 644 -p -D ${WORKDIR}/vod-demo.service ${D}${systemd_user_unitdir}/vod-demo.service + + # Execute install manually for root user on behalf of systemctl script + # because it doesn't support user mode of systemd. + install -m 0755 -d ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/ + ln -sf ${systemd_user_unitdir}/vod-demo.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/vod-demo.service + sed -i "s:/home/root:${ROOT_HOME}:" ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/vod-demo.service + fi +} + +FILES_${PN} += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_user_unitdir}/vod-demo.service', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ROOT_HOME}/.config/systemd/user/default.target.wants/vod-demo.service', '', d)} \ + " diff --git a/meta-attic/recipes-demo-hmi/windowmanager/windowmanager_git.bb b/meta-attic/recipes-demo-hmi/windowmanager/windowmanager_git.bb new file mode 100644 index 0000000..84a43a8 --- /dev/null +++ b/meta-attic/recipes-demo-hmi/windowmanager/windowmanager_git.bb @@ -0,0 +1,37 @@ +SUMMARY = "AGL WindowManager Application" +DESCRIPTION = "WindowManager" +HOMEPAGE = "http://docs.automotivelinux.org" +LICENSE = "Apache-2.0" +SECTION = "apps" +S = "${WORKDIR}/git/" + +inherit qmake5 systemd +DEPENDS = " qtbase " + +# for WindowManager: +DEPENDS += " wayland-ivi-extension " + +LIC_FILES_CHKSUM = "file://windowmanager/LICENSE;md5=ae6497158920d9524cf208c09cc4c984" +SRCREV = "eeedc5e9e67917bd3346dbe5332e667757a3b28d" +# PV needs to be modified with SRCPV to work AUTOREV correctly +PV = "0.0+git${SRCPV}" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/windowmanager.git;protocol=https;branch=${AGL_BRANCH}" + +PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" + +do_install() { + install -d ${D}/usr/AGL/${PN} + install -m 0755 ${B}/windowmanager/WindowManager ${D}/usr/AGL/${PN}/ + + install -d ${D}${systemd_user_unitdir} + install -m 0644 ${S}/windowmanager/conf/WindowManager.service ${D}${systemd_user_unitdir} + install -m 0644 ${S}/windowmanager/conf/WindowManager.path ${D}${systemd_user_unitdir} + + install -d ${D}${sysconfdir}/systemd/user/default.target.wants + ln -sf ${systemd_user_unitdir}/WindowManager.path ${D}${sysconfdir}/systemd/user/default.target.wants +} + +FILES_${PN} += "/usr/AGL/${PN}/ ${systemd_user_unitdir}" +FILES_${PN}-dbg += "/usr/AGL/${PN}/.debug" + diff --git a/meta-attic/recipes-devtools/gn/gn.inc b/meta-attic/recipes-devtools/gn/gn.inc new file mode 100644 index 0000000..2728bc1 --- /dev/null +++ b/meta-attic/recipes-devtools/gn/gn.inc @@ -0,0 +1,21 @@ +SUMMARY = "Meta-build system from Google" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" + +DEPENDS = "python-native ninja-native" + +SRC_URI = "http://gsdview.appspot.com/chromium-browser-official/chromium-${PV}.tar.xz" + +S ?= "${WORKDIR}/chromium-${PV}" + +do_compile () { + cd ${S}/tools/gn + ./bootstrap/bootstrap.py -s +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 out/Release/gn ${D}${bindir}/gn +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-attic/recipes-devtools/gn/gn_66.0.3340.0.r534306.bb b/meta-attic/recipes-devtools/gn/gn_66.0.3340.0.r534306.bb new file mode 100644 index 0000000..d3959f2 --- /dev/null +++ b/meta-attic/recipes-devtools/gn/gn_66.0.3340.0.r534306.bb @@ -0,0 +1,8 @@ +require gn.inc + +S = "${WORKDIR}/chromium-ozone-wayland-dev-${PV}.igalia.1" + +SRC_URI = "https://tmp.igalia.com/chromium-tarballs/chromium-ozone-wayland-dev-${PV}.igalia.1.tar.xz" + +SRC_URI[md5sum] = "f418f4df5261cfdcf39e7901924876a2" +SRC_URI[sha256sum] = "2679c89f09394bf2df86a090958a599303562746ce9296b07c263eb16f8d9148" diff --git a/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime new file mode 100755 index 0000000..39f3781 --- /dev/null +++ b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime @@ -0,0 +1,18 @@ +#!/bin/bash +export -n QT_WAYLAND_SHELL_INTEGRATION +port=$(echo -n "$1" | sed 's,.*local.*:\([^/]*\)/.*,\1,') +token=$(echo -n "$1" | sed 's,.*token=,,') +export AFM_APP_INSTALL_DIR=$(mktemp -d) +cat << EOC > $AFM_APP_INSTALL_DIR/runxdg.toml +[application] +role = "WebBrowser" +method = "POSIX" +path = "/usr/bin/qt5/qmlscene" +params = [ + "$1", + "/usr/bin/web-runtime.qml" +] +EOC +export LD_PRELOAD=/usr/lib/libEGL.so +/usr/bin/runxdg "$port" "$token" +rm -rf $AFM_APP_INSTALL_DIR diff --git a/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml new file mode 100644 index 0000000..8025ab1 --- /dev/null +++ b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml @@ -0,0 +1,13 @@ +import QtQuick 2.1 +import QtQuick.Controls 1.1 +import QtWebKit 3.0 + +ApplicationWindow { + width: 1080 + height: 1488 + visible: true + WebView { + url: Qt.application.arguments[1] + anchors.fill: parent + } +} diff --git a/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime.qml b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime.qml new file mode 100644 index 0000000..3efe515 --- /dev/null +++ b/meta-attic/recipes-graphics/web-runtime/web-runtime/web-runtime.qml @@ -0,0 +1,14 @@ +import QtQuick 2.1 +import QtQuick.Controls 1.1 +import QtWebEngine 1.1 + +ApplicationWindow { + width: 1080 + height: 1488 + visible: true + flags: Qt.WindowFullScreen | Qt.FramelessWindowHint + WebEngineView { + url: Qt.application.arguments[1] + anchors.fill: parent + } +} diff --git a/meta-attic/recipes-graphics/web-runtime/web-runtime_0.1.bb b/meta-attic/recipes-graphics/web-runtime/web-runtime_0.1.bb new file mode 100644 index 0000000..ea5acbb --- /dev/null +++ b/meta-attic/recipes-graphics/web-runtime/web-runtime_0.1.bb @@ -0,0 +1,37 @@ +inherit allarch + +SUMMARY = "Provides the 'web-runtime' command" +DESCRIPTION = "The command 'web-runtime' is an abstraction that allows to " + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "\ + file://web-runtime;md5sum=2245be1e6029b30966f0842e3fee75ea \ + file://web-runtime.qml;md5sum=922aeae6d596d7c83af01abca266f0df \ + file://web-runtime-webkit.qml;md5sum=4daf9df39078634c27a7923d37e82e3d \ +" + +RDEPENDS_${PN} = "\ + qtdeclarative-tools \ + qtwayland-qmlplugins \ + qtquickcontrols-qmlplugins \ + qtwebengine \ + runxdg \ + bash \ +" + +PROVIDES += "virtual/webruntime" +# add also RPROVIDES to satisfy the packagegroup +RPROVIDES_${PN} += "virtual/webruntime" + +do_configure() { + : +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/web-runtime ${D}${bindir}/web-runtime + install -m 0644 ${WORKDIR}/web-runtime.qml ${D}${bindir}/web-runtime.qml + install -m 0644 ${WORKDIR}/web-runtime-webkit.qml ${D}${bindir}/web-runtime-webkit.qml +} diff --git a/meta-blsched/COPYING.MIT b/meta-blsched/COPYING.MIT deleted file mode 100644 index 89de354..0000000 --- a/meta-blsched/COPYING.MIT +++ /dev/null @@ -1,17 +0,0 @@ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/meta-blsched/README.md b/meta-blsched/README.md deleted file mode 100644 index e3a9475..0000000 --- a/meta-blsched/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# Baylibre's AGL blsched layer - -This README file contains information on the contents of the -meta-blsched layer. - -Please see the corresponding sections below for details. - -### Dependencies -------------------------- - -The linux kernel must have the following config options enabled: -CONFIG_CONNECTOR -CONFIG_PROC_EVENTS -CONFIG_SCHED_DEBUG - -### Patches ------------ - -Please submit any patches against the meta-blsched layer to the -the maintainers: - -* Michael Turquette -* Frode Isaksen -* Jerome Brunet - -## I. Description and provided packages: - -The layer provides blsched utility. This package is a utility to improve scheduling efficiency on big.LITTLE architecture. - -+ Provided packages : - - blsched : see https://github.com/BayLibre/bLsched/blob/master/README.md - - blsched-daemon : systemd service tailored for r8a7795 and r8a7796 SoCs - -## II. Adding the meta-blsched layer to your AGL build - -1. Download meta-agl-extra at `$AGL_TOP` -2. Add `blsched` to the feature of your AGL build
-```shell -source meta-agl/scripts/aglsetup.sh -m $MACHINE -b blsched -``` - -With this `meta-blsched` will be added to your `conf/bblayers.conf`. `blsched` and `blsched-daemon` will be appended to your image. diff --git a/meta-blsched/conf/layer.conf b/meta-blsched/conf/layer.conf deleted file mode 100644 index 68a179a..0000000 --- a/meta-blsched/conf/layer.conf +++ /dev/null @@ -1,10 +0,0 @@ -# We have a conf and classes directory, add to BBPATH -BBPATH .= ":${LAYERDIR}" - -# We have recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" - -BBFILE_COLLECTIONS += "blsched" -BBFILE_PATTERN_blsched = "^${LAYERDIR}/" -BBFILE_PRIORITY_blsched = "6" diff --git a/meta-blsched/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend b/meta-blsched/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend deleted file mode 100644 index b5a7aaa..0000000 --- a/meta-blsched/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend +++ /dev/null @@ -1 +0,0 @@ -export PSCI_DISABLE_BIGLITTLE_IN_CA57BOOT="${@bb.utils.contains('MACHINE_FEATURES','biglittle','0','1',d)}" diff --git a/meta-blsched/recipes-core/blsched/blsched_git.bb b/meta-blsched/recipes-core/blsched/blsched_git.bb deleted file mode 100644 index af7db3a..0000000 --- a/meta-blsched/recipes-core/blsched/blsched_git.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "big.LITTLE scheduler" -HOMEPAGE = "https://github.com/BayLibre/bLsched" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b0df75b2edb80ee98b732ee0514a265c" - -SRC_URI = "git://github.com/baylibre/blsched.git \ - file://blsched.service \ - " - -SRCREV = "b6bf199bc2def486857fb7003a6cb07708ed685e" - -S = "${WORKDIR}/git" - -inherit autotools - -COMPATIBLE_MACHINE ="((h|m)3ulcb|salvator-x)" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DAEMONARGS_r8a7795 = "-b 0 -b 1 -b 2 -b 3" -DAEMONARGS_r8a7796 = "-b 0 -b 1" - -RDEPENDS_${PN} += " blsched" - -inherit systemd - -SYSTEMD_SERVICE_${PN} = "blsched.service" - -do_install_append () { - # Install the systemd init file - install -d ${D}${systemd_unitdir}/system - install -c -m 0644 ${WORKDIR}/blsched.service ${D}${systemd_unitdir}/system - - sed -i -e 's,@SBINDIR@,${sbindir},g' \ - -e 's,@ARGS@,${DAEMONARGS},g' \ - ${D}${systemd_unitdir}/system/*.service -} diff --git a/meta-blsched/recipes-core/blsched/files/blsched.service b/meta-blsched/recipes-core/blsched/files/blsched.service deleted file mode 100644 index b26b1fa..0000000 --- a/meta-blsched/recipes-core/blsched/files/blsched.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=blsched big.LITTLE cpu manager service -After=local-fs.target - -[Service] -ExecStart=@SBINDIR@/blsched @ARGS@ - -[Install] -WantedBy=multi-user.target diff --git a/meta-blsched/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-blsched/recipes-kernel/linux/linux-renesas_%.bbappend deleted file mode 100644 index 354734e..0000000 --- a/meta-blsched/recipes-kernel/linux/linux-renesas_%.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -SRC_URI_append = " \ - ${@bb.utils.contains('MACHINE_FEATURES','biglittle','file://procevent.cfg','',d)} \ - ${@bb.utils.contains('MACHINE_FEATURES','biglittle','file://scheddebug.cfg','',d)} \ - " diff --git a/templates/feature/agl-attic/50_bblayers.conf.inc b/templates/feature/agl-attic/50_bblayers.conf.inc new file mode 100644 index 0000000..88d3dd5 --- /dev/null +++ b/templates/feature/agl-attic/50_bblayers.conf.inc @@ -0,0 +1,3 @@ +BBLAYERS =+ "\ + ${METADIR}/meta-agl-extra/meta-attic \ + " diff --git a/templates/feature/agl-attic/README_feature_agl-attic.md b/templates/feature/agl-attic/README_feature_agl-attic.md new file mode 100644 index 0000000..fa99fa0 --- /dev/null +++ b/templates/feature/agl-attic/README_feature_agl-attic.md @@ -0,0 +1,4 @@ +--- +description: old components +authors: agl-dev-community@lists.automotivelinux.org +--- diff --git a/templates/feature/blsched/50_bblayers.conf.inc b/templates/feature/blsched/50_bblayers.conf.inc deleted file mode 100644 index 0db260d..0000000 --- a/templates/feature/blsched/50_bblayers.conf.inc +++ /dev/null @@ -1,3 +0,0 @@ -BBLAYERS =+ "\ - ${METADIR}/meta-agl-extra/meta-blsched \ - " diff --git a/templates/feature/blsched/50_local.conf.inc b/templates/feature/blsched/50_local.conf.inc deleted file mode 100644 index 658230e..0000000 --- a/templates/feature/blsched/50_local.conf.inc +++ /dev/null @@ -1 +0,0 @@ -IMAGE_INSTALL_append = " blsched" diff --git a/templates/feature/blsched/README_feature_blsched.md b/templates/feature/blsched/README_feature_blsched.md deleted file mode 100644 index a1c9928..0000000 --- a/templates/feature/blsched/README_feature_blsched.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -description: enable user space big.LITTLE scheduler -authors: Frode Isaksen ---- - -### Feature blsched - -This features enables user space big.LITTLE scheduler. - -It optimizes task placement on big.LITTLE platforms. - -Currently enabled for Renesas r-car gen3 boards with the machine feature 'biglittle' defined. - -- cgit 1.2.3-korg