Skip to contentSkip to conversation

sgx-um, rogue-umlibs, gc320-libs: RRECOMMENDS on corresponding drivers

PATCH In review Denys Dmytriyenko 2 participants 6 messages Feb 20, 2020 – Feb 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 sgx-um, rogue-umlibs, gc320-libs: RRECOMMENDS on corresponding drivers

---
 recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb           | 2 ++
 recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | 4 +++-
 recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb       | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +2 -0
index e8c2f011..d6ecd229 100644
@@ -12,6 +12,8 @@ BRANCH = "ti-${PV}"
 SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
 SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
 
+RRECOMMENDS_${PN} = "ti-gc320-driver"
+
 # There's only hardfp version available
 python __anonymous() {
     tunes = d.getVar("TUNE_FEATURES")
recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb +3 -1
index 9cb863a5..67290756 100644
@@ -27,7 +27,7 @@ PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
 DEPENDS += "libdrm wayland expat"
 RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN} += "python-core"
-RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
+RDEPENDS_${PN} += "wayland expat"
 
 RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
 RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
@@ -41,6 +41,8 @@ RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
 RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
 RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
 
+RRECOMMENDS_${PN} += "ti-img-rogue-driver"
+
 S = "${WORKDIR}/git"
 
 do_install () {
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +2 -0
index ecf3ffcc..8b0b3058 100644
@@ -43,6 +43,8 @@ RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
 # The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
 RPROVIDES_${PN} += "libGLESv2.so.1"
 
+RRECOMMENDS_${PN} += "ti-sgx-ddk-km"
+
 S = "${WORKDIR}/git"
 
 do_install () {
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/4 omap-a15: add gc320 machine feature

---
 conf/machine/include/omap-a15.inc                  | 2 +-
 recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/omap-a15.inc +1 -1
index cc055365..a220828a 100644
@@ -36,4 +36,4 @@ MACHINE_GUI_CLASS = "smallscreen"
 UBI_VOLNAME = "rootfs"
 
 # List common SoC features, may need to add touchscreen for specific machines
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp"
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +1 -1
index d6ecd229..9487e724 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
 
-COMPATIBLE_MACHINE = "dra7xx"
+COMPATIBLE_MACHINE = "omap-a15"
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/4 vis: mark as compatible with dra7xx family

In reply to Denys Dmytriyenko
---
 recipes-bsp/vis-fw/vis_01.50.07.15.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/vis-fw/vis_01.50.07.15.bb +2 -2
index 5b9834c2..6eaf8de7 100644
@@ -2,12 +2,12 @@ DESCRIPTION = "Radio Application Firmware"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
 
-COMPATIBLE_MACHINE = "dra7xx-evm"
+COMPATIBLE_MACHINE = "dra7xx"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 PR = "r1"
 
-SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-${MACHINE}-01.50.07.15.tar.gz;protocol=http"
+SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-dra7xx-evm-01.50.07.15.tar.gz;protocol=http"
 
 SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
 SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"
Signature · 1 line
2.17.1
#3 lore raw

PATCH 4/4 layer.conf: drop ti-ipc from SIGGEN_EXCLUDERECIPES_ABISAFE for now

In reply to Denys Dmytriyenko
---
 conf/layer.conf | 2 --
 1 file changed, 2 deletions(-)
conf/layer.conf +0 -2
index 824443d4..d82b2384 100644
@@ -17,8 +17,6 @@ LAYERDEPENDS_meta-ti = "core"
 SIGGEN_EXCLUDERECIPES_ABISAFE += " \
     ti-sgx-ddk-km \
     ti-sgx-ddk-um \
-    ti-ipc \
-    ti-ipc-rtos \
     cmem-mod \
     hplib-mod \
     gdbserverproxy-module-drv \
Signature · 1 line
2.17.1
#4 lore raw
In reply to Denys Dmytriyenko
Quoted 12 lines · Denys Dmytriyenko via Lists.Yoctoproject.Org
---
 recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb           | 2 ++
 recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | 4 +++-
 recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb       | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +0 -0
index e8c2f011..d6ecd229 100644

recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb BRANCH = "ti-${PV}" · line 16

Quoted 5 lines
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +2 -0
@@ -12,6 +12,8 @@ BRANCH = "ti-${PV}"
 SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
 SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
 
+RRECOMMENDS_${PN} = "ti-gc320-driver"
+

Do RRECOMMENDS pull in the package by default? If I just include in my image "ti-gc320-libs" then I'll also get "ti-gc320-driver" automatically in my image also right?

Andrew

Quoted 42 lines
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +0 -0
 # There's only hardfp version available
 python __anonymous() {
     tunes = d.getVar("TUNE_FEATURES")
recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb +3 -1
index 9cb863a5..67290756 100644
@@ -27,7 +27,7 @@ PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
 DEPENDS += "libdrm wayland expat"
 RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN} += "python-core"
-RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
+RDEPENDS_${PN} += "wayland expat"
 
 RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
 RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
@@ -41,6 +41,8 @@ RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
 RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
 RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
 
+RRECOMMENDS_${PN} += "ti-img-rogue-driver"
+
 S = "${WORKDIR}/git"
 
 do_install () {
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +2 -0
index ecf3ffcc..8b0b3058 100644
@@ -43,6 +43,8 @@ RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
 # The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
 RPROVIDES_${PN} += "libGLESv2.so.1"
 
+RRECOMMENDS_${PN} += "ti-sgx-ddk-km"
+
 S = "${WORKDIR}/git"
 
 do_install () {
#5 lore raw
Quoted 16 lines · Andrew F. Davis
Quoted 15 lines · Denys Dmytriyenko via Lists.Yoctoproject.Org
---
 recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb           | 2 ++
 recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | 4 +++-
 recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb       | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +0 -0
index e8c2f011..d6ecd229 100644
@@ -12,6 +12,8 @@ BRANCH = "ti-${PV}"
 SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
 SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
 
Quoted 7 lines

recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb BRANCH = "ti-${PV}" · line 16

Quoted 2 lines
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +2 -0
+RRECOMMENDS_${PN} = "ti-gc320-driver"
+

Do RRECOMMENDS pull in the package by default? If I just include in my image "ti-gc320-libs" then I'll also get "ti-gc320-driver" automatically in my image also right?

Yes.

Quoted 45 lines

Andrew

Quoted 42 lines
recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +0 -0
 # There's only hardfp version available
 python __anonymous() {
     tunes = d.getVar("TUNE_FEATURES")
recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb +3 -1
index 9cb863a5..67290756 100644
@@ -27,7 +27,7 @@ PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
 DEPENDS += "libdrm wayland expat"
 RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN} += "python-core"
-RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
+RDEPENDS_${PN} += "wayland expat"
 
 RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
 RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
@@ -41,6 +41,8 @@ RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
 RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
 RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
 
+RRECOMMENDS_${PN} += "ti-img-rogue-driver"
+
 S = "${WORKDIR}/git"
 
 do_install () {
recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +2 -0
index ecf3ffcc..8b0b3058 100644
@@ -43,6 +43,8 @@ RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
 # The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
 RPROVIDES_${PN} += "libGLESv2.so.1"
 
+RRECOMMENDS_${PN} += "ti-sgx-ddk-km"
+
 S = "${WORKDIR}/git"
 
 do_install () {