Skip to contentSkip to conversation

qt-in-use-image: Use Qt4 graphic system configuration package

PATCH In review Otavio Salvador 3 participants 16 messages Nov 23, 2012 – Nov 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 qt-in-use-image: Use Qt4 graphic system configuration package

Change-Id I3a77e7953dac66bc64ccdb831b7eefc01942c41f
---
 recipes-qt/images/qt-in-use-image.bb |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
recipes-qt/images/qt-in-use-image.bb +2 -4
index f47ce5a..64cbd21 100644
@@ -10,10 +10,8 @@ IMAGE_INSTALL = " \
     packagegroup-core-x11 \
     xorg-minimal-fonts \
     liberation-fonts \
+    qt4-graphics-system \
     qt-in-industrial-embedded-smarthome \
 "
 ROOTFS_POSTPROCESS_COMMAND += "(cd ${IMAGE_ROOTFS}/usr/bin ; \
-                                ln -s smarthome x-window-manager ) ; \
-                                mkdir -p ${IMAGE_ROOTFS}/etc/profile.d ; \
-                                echo 'export QT_GRAPHICSSYSTEM=raster' \
-                                     > ${IMAGE_ROOTFS}/etc/profile.d/qt-config ;"
+                                ln -s smarthome x-window-manager );"
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/6 fsl-image-*: Fix generated image name

When the image recipes was renamed, the generated image name has been forgotten. This fixes it.

Change-Id Iacc5633a2bce34204f752ca6f9f7ef72131c85b7
---
 recipes-fsl/images/fsl-image-gui-sdk.bb |    2 +-
 recipes-fsl/images/fsl-image-gui.bb     |    2 +-
 recipes-fsl/images/fsl-image-test.bb    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes-fsl/images/fsl-image-gui-sdk.bb +1 -1
index f7e24d0..0b6e0f3 100644
@@ -11,4 +11,4 @@ EXTRA_IMAGE_FEATURES += " \
     tools-testapps \
     debug-tweaks \
 "
-export IMAGE_BASENAME = "fsl-gui-image-sdk"
+export IMAGE_BASENAME = "fsl-image-gui-sdk"
recipes-fsl/images/fsl-image-gui.bb +1 -1
index 32c91ee..57d3b0b 100644
@@ -30,4 +30,4 @@ IMAGE_INSTALL += " \
     fsl-gui-extrafiles \
     "
 
-export IMAGE_BASENAME = "fsl-gui-image"
+export IMAGE_BASENAME = "fsl-image-gui"
recipes-fsl/images/fsl-image-test.bb +1 -1
index 4b4aa8f..69ecfa5 100644
@@ -16,4 +16,4 @@ IMAGE_INSTALL += " \
     packagegroup-fsl-tools-benchmark \
 "
 
-export IMAGE_BASENAME = "fsl-test-image"
+export IMAGE_BASENAME = "fsl-image-test"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/6 fsl-image-gui-sdk: Drop 'apps-console-core' image feature

In reply to Otavio Salvador

The 'apps-console-core' feature has been replaced by 'splash' feature but core-image-sato, the image we include as base, already use 'splash' feature so we can just drop it from this image.

Change-Id Ifb1e90255deaa65122497f8429027d16f94efd47
---
 recipes-fsl/images/fsl-image-gui-sdk.bb |    1 -
 1 file changed, 1 deletion(-)
recipes-fsl/images/fsl-image-gui-sdk.bb +0 -1
index 0b6e0f3..6dfb6b2 100644
@@ -1,7 +1,6 @@
 include recipes-fsl/images/fsl-image-gui.bb
 
 IMAGE_FEATURES += " \
-    apps-console-core \
     dev-pkgs \
     tools-sdk \
 "
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 4/6 packagegroup-fsl: Add alsa-tools to tools-testapps

In reply to Otavio Salvador

This can be useful for more advanced test of Alsa settings and capabilities.

Change-Id Ia4ff3bee43ec7b05cd2a7f18c58182bc59248188
---
 recipes-fsl/packagegroup/packagegroup-fsl.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-fsl/packagegroup/packagegroup-fsl.bb +2 -1
index d418591..11119c8 100644
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-PR = "r2"
+PR = "r3"
 
 inherit packagegroup
 
@@ -34,6 +34,7 @@ SOC_TOOLS_TESTAPPS_mx5 = " \
 
 RDEPENDS_${PN}-tools-testapps = " \
     ${SOC_TOOLS_TESTAPPS} \
+    alsa-tools \
     dosfstools \
     evtest \
     e2fsprogs-mke2fs \
Signature · 1 line
1.7.10.4
#6 lore raw

Re: [meta-fsl-demos][PATCH 4/6] packagegroup-fsl: Add alsa-tools to tools-testapps

I agree.

OK to push.

#7 lore raw

Re: [meta-fsl-demos][PATCH 4/6] packagegroup-fsl: Add alsa-tools to tools-testapps

In reply to Otavio Salvador
Quoted 3 lines · Otavio Salvador
 RDEPENDS_${PN}-tools-testapps = " \
     ${SOC_TOOLS_TESTAPPS} \

+ alsa-tools \

When adding alsa-tools, it would also make sense to add alsa-utils and alsa-lib, so that we can have the standard arecord/aplay/alsamixer standard tools.

Thanks,

Fabio Estevam

#8 lore raw

Re: [meta-fsl-demos][PATCH 4/6] packagegroup-fsl: Add alsa-tools to tools-testapps

Quoted 10 lines · Fabio Estevam
Quoted 3 lines · Otavio Salvador
 RDEPENDS_${PN}-tools-testapps = " \
     ${SOC_TOOLS_TESTAPPS} \

+ alsa-tools \

When adding alsa-tools, it would also make sense to add alsa-utils and alsa-lib, so that we can have the standard arecord/aplay/alsamixer standard tools.

Ok; I will include it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#9 lore raw

PATCH 5/6 fsl-image-{test, gui}: Disable tools-testapps image feature for iMX6

In reply to Otavio Salvador

The tools-testapps includes mesa-demos which is currently broken for Vivant GPU libraries.

For now, we skip the feature when building for iMX6 SoCs.

Change-Id Ib37fbd2bc7401d60611ffd2a2457e2dac7d5ac57
---
 recipes-fsl/images/fsl-image-gui.bb  |    8 +++++++-
 recipes-fsl/images/fsl-image-test.bb |    8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
recipes-fsl/images/fsl-image-gui.bb +7 -1
index 57d3b0b..038151b 100644
@@ -4,12 +4,18 @@ IMAGE_FEATURES += "debug-tweaks"
 DISTRO_FEATURES += "pulseaudio"
 WEB = "web-webkit"
 
+SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
+
+# mesa-demos is currently broken when building with other GL library
+# so we avoid it by now and tools-testapps includes it.
+SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
+
 # Add extra image features
 EXTRA_IMAGE_FEATURES += " \
+    ${SOC_EXTRA_IMAGE_FEATURES} \
     nfs-server \
     tools-debug \
     tools-profile \
-    tools-testapps \
     qt4-pkgs \
 "
 
recipes-fsl/images/fsl-image-test.bb +7 -1
index 69ecfa5..e43723b 100644
@@ -2,12 +2,18 @@ include recipes-core/images/core-image-base.bb
 
 IMAGE_FEATURES += "debug-tweaks"
 
+SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
+
+# mesa-demos is currently broken when building with other GL library
+# so we avoid it by now and tools-testapps includes it.
+SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
+
 # Add extra image features
 EXTRA_IMAGE_FEATURES += " \
+    ${SOC_EXTRA_IMAGE_FEATURES} \
     nfs-server \
     tools-debug \
     tools-profile \
-    tools-testapps \
 "
 
 IMAGE_INSTALL += " \
Signature · 1 line
1.7.10.4
#10 lore raw

Re: [meta-fsl-demos][PATCH 5/6] fsl-image-{test, gui}: Disable tools-testapps image feature for iMX6

Quoted 2 lines · Otavio Salvador

The tools-testapps includes mesa-demos which is currently broken for Vivant GPU libraries.

Once again, the correct name is Vivante.

#11 lore raw

Re: [meta-fsl-demos][PATCH 5/6] fsl-image-{test, gui}: Disable tools-testapps image feature for iMX6

Quoted 6 lines · Fabio Estevam
Quoted 2 lines · Otavio Salvador

The tools-testapps includes mesa-demos which is currently broken for Vivant GPU libraries.

Once again, the correct name is Vivante.

I fixed it locally; sorry! :)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#12 lore raw

PATCH 6/6 packagegroup-fsl: Add iMX6 GPU test applications

In reply to Otavio Salvador
Change-Id I32f9da865bbc4a973ba39e766581bab501f4b213
---
 recipes-fsl/packagegroup/packagegroup-fsl.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-fsl/packagegroup/packagegroup-fsl.bb +6 -1
index 11119c8..40a6ba9 100644
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-PR = "r3"
+PR = "r4"
 
 inherit packagegroup
 
@@ -32,6 +32,11 @@ SOC_TOOLS_TESTAPPS_mx5 = " \
     gst-fsl-plugin-gplay \
 "
 
+SOC_TOOLS_TESTAPPS_mx6 = " \
+    gpu-viv-bin-mx6q \
+    gst-fsl-plugin-gplay \
+"
+
 RDEPENDS_${PN}-tools-testapps = " \
     ${SOC_TOOLS_TESTAPPS} \
     alsa-tools \
Signature · 1 line
1.7.10.4
#13 lore raw

Re: [meta-fsl-demos][PATCH 6/6] packagegroup-fsl: Add iMX6 GPU test applications

recipes-fsl/packagegroup/packagegroup-fsl.bb SOC_TOOLS_TESTAPPS_mx5 = " \ · line 37

Quoted 7 lines
recipes-fsl/packagegroup/packagegroup-fsl.bb +3 -0
@@ -32,6 +32,11 @@ SOC_TOOLS_TESTAPPS_mx5 = " \
     gst-fsl-plugin-gplay \
 "
 
+SOC_TOOLS_TESTAPPS_mx6 = " \
+    gpu-viv-bin-mx6q \
+    gst-fsl-plugin-gplay \

This patch cannot be integrated today. I'm still working to get gplay to imx6 up and running

Include only gpu-viv-bin-mx6q, or wait until MM packages are in.

Daiane

#14 lore raw

Re: [meta-fsl-demos][PATCH 6/6] packagegroup-fsl: Add iMX6 GPU test applications

Quoted 11 lines · Daiane Angolini

recipes-fsl/packagegroup/packagegroup-fsl.bb SOC_TOOLS_TESTAPPS_mx5 = " \ · line 37

Quoted 7 lines
recipes-fsl/packagegroup/packagegroup-fsl.bb +3 -0
@@ -32,6 +32,11 @@ SOC_TOOLS_TESTAPPS_mx5 = " \
     gst-fsl-plugin-gplay \
 "
 
+SOC_TOOLS_TESTAPPS_mx6 = " \
+    gpu-viv-bin-mx6q \
+    gst-fsl-plugin-gplay \

This patch cannot be integrated today. I'm still working to get gplay to imx6 up and running

Include only gpu-viv-bin-mx6q, or wait until MM packages are in.

Right; I will hold this patchset until gstreamer codec is done.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br