I would recommend testing those boards first before applying this patch with my 
below comments.

U can end up having something work on one board but break on another 


> On Mar 24, 2015, at 8:16 AM, Stiffler, Jacob <[email protected]> wrote:
> 
> I only have the am335x EVM to test this. And yes, it does seem very odd.
> 
> I tested the core sdk image with wayland and the issue is not present.
> 
> 
> -----Original Message-----
> From: Cooper Jr., Franklin 
> Sent: Tuesday, March 24, 2015 9:13 AM
> To: Stiffler, Jacob
> Cc: [email protected]
> Subject: Re: [meta-arago] [PATCH] qtbase: Add env script for ti33x w/o 
> wayland to rotate touchscreen.
> 
> We should avoid creating more and more init scripts when possible.
> 
> Any reason you couldn't just add the parameter to the main init script and 
> use a sed statement to include or not include the rotate command.
> 
> Also this seems like this is covering up another issue. Do you have any idea 
> why this is only happening for am335x? Have u verified that this issue is 
> seen for bbb hdmi, GP evm and sk board?
> 
> There is nothing special about 335x that should make it unique and for this 
> issue not to be seen on am437x
> 
> 
>> On Mar 24, 2015, at 7:01 AM, Stiffler, Jacob <[email protected]> wrote:
>> 
>> Signed-off-by: Jacob Stiffler <[email protected]>
>> ---
>> .../recipes-qt/qt5/qtbase/qt_env_ti33x.sh          |    5 +++++
>> .../recipes-qt/qt5/qtbase_5.4.1.bbappend           |    9 ++++++---
>> 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 
>> meta-arago-distro/recipes-qt/qt5/qtbase/qt_env_ti33x.sh
>> 
>> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env_ti33x.sh 
>> b/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env_ti33x.sh
>> new file mode 100644
>> index 0000000..8f47083
>> --- /dev/null
>> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase/qt_env_ti33x.sh
>> @@ -0,0 +1,5 @@
>> +#!/bin/sh
>> +
>> +### QT Environment Variables ###
>> +export QT_QPA_GENERIC_PLUGINS=Auto
>> +export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180"
>> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend 
>> b/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>> index 210d23f..412bf67 100644
>> --- a/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.4.1.bbappend
>> @@ -5,7 +5,7 @@ GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
>> 
>> PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl 
>> ${GLES_EXTRA_DEPS}"
>> 
>> -PR_append = "-arago5"
>> +PR_append = "-arago6"
>> 
>> QT_CONFIG_FLAGS += "-qpa ${@base_contains('DISTRO_FEATURES', 'wayland', 
>> 'wayland', 'eglfs', d)}"
>> 
>> @@ -15,8 +15,11 @@ QT_EGLFS_PATCHES = "\
>>    file://quit.png \
>> "
>> 
>> +QT_ENV = "qt_env.sh"
>> +QT_ENV_ti33x = "${@base_contains('DISTRO_FEATURES', 'wayland', 'qt_env.sh', 
>> 'qt_env_ti33x.sh', d)}"
>> +
>> SRC_URI += "\
>> -    file://qt_env.sh \
>> +    file://${QT_ENV} \
>>    ${@base_contains('DISTRO_FEATURES', 'wayland', '', 
>> "${QT_EGLFS_PATCHES}", d)}\ "
>> 
>> @@ -33,7 +36,7 @@ python do_patch_append() { # Add custom Arago Qt 5 
>> Environment script file do_install_append () {
>>    install -d ${D}${sysconfdir}/profile.d
>> -    install -m 0644 ${WORKDIR}/qt_env.sh ${D}${sysconfdir}/profile.d/
>> +    install -m 0644 ${WORKDIR}/${QT_ENV} 
>> + ${D}${sysconfdir}/profile.d/qt_env.sh
>> }
>> 
>> PACKAGES =+ "${PN}-conf"
>> --
>> 1.7.9.5
>> 
>> _______________________________________________
>> meta-arago mailing list
>> [email protected]
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to