From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by yocto-www.yoctoproject.org (Postfix) with ESMTPS id 9CE26E00738 for ; Tue, 12 Feb 2013 04:54:54 -0800 (PST) Received: by mail-bk0-f45.google.com with SMTP id i18so16854bkv.32 for ; Tue, 12 Feb 2013 04:54:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:x-gm-message-state; bh=GF5T3+GXK0qnPDMTQ1e/BZPTpzBVgUP+yMtR6yBYUSU=; b=bGB+WRHQnaMnx5/gpN4doUH+hDkDOK2obU4NBXy44I2UykZS5qnYnTPqD8C+1jrG4o key2IlG2l5SLCBsRVkCuncbQ4/3J9NF3RTMOu/IvqeSTaah5TPuJ7+k0K+Ie1V6fcMhO nb3kW9Xdp4soo7qB3QTvKCQXpng76inf04B08taDeL2ZXOp8CAPtdqZfT6G7QQsfllbY 4Q/BiC0qebcELNnMj7u/0IBGnc1/FEOGn2ZFMRmqS6Liy+1dJElGI53cr3KqVkIQ12Oy 6LsaQYzOz3/Ze8srqsa+vbjoFVoDxuryNWSf8CsUibl3ynTKpleRiiGnGYRN7Gafap5l PcXQ== X-Received: by 10.204.130.85 with SMTP id r21mr1592494bks.46.1360673692641; Tue, 12 Feb 2013 04:54:52 -0800 (PST) Received: from rudolf.localnet (ppp-88-217-8-202.dynamic.mnet-online.de. [88.217.8.202]) by mx.google.com with ESMTPS id b21sm13048257bkw.12.2013.02.12.04.54.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Feb 2013 04:54:51 -0800 (PST) From: Thomas Senyk To: meta-freescale@yoctoproject.org Date: Tue, 12 Feb 2013 13:54:49 +0100 Message-ID: <9936613.xPyRVUrris@rudolf> Organization: Nokia User-Agent: KMail/4.10 (Linux/3.7.6-1-ARCH; KDE/4.10.0; x86_64; ; ) In-Reply-To: <1360176147-21014-1-git-send-email-otavio@ossystems.com.br> References: <1360176147-21014-1-git-send-email-otavio@ossystems.com.br> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmWVtzR7xUpvSlV7q6vxm8UWf7QiFWfqQowWZTGWwrk1RQbsKSBhAY1wUL0F0EXOO5e9IH6 Cc: Otavio Salvador Subject: Re: [meta-fsl-arm][PATCH v3 0/8] iMX6Q BSP 1.1.0 upgrade X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 12:54:55 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, I tried the patch-set today and had several issues/problems. Some (most?) of them are due to my own limited knowledge or my unusual setup. This time I applied all patches of the patch-set :) ... but not the upstream openembedded-core patches as I'm building without X11, if this is in anyway a potential cause of errors: please let me know. (How do I find the right openembbeded patches if I'm not on their mailing- list? .. I guess I should be? ;) 1. Generally importing patch-set from mailing-lists. How do you do this? For me it's always troublesome and error-prone to manually copy the patches from mail to files and apply them ... I'm sure there must be a better way of doing it? 2. recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path- to-HAL.patch didn't apply anymore for me with following error: NOTE: Applying patch '0001-change-header-path-to-HAL.patch' (../sources/meta- fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header- path-to-HAL.patch) ERROR: Command Error: exit status: 1 Output: Applying patch 0001-change-header-path-to-HAL.patch patching file usr/include/gc_vdk_types.h Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED -- rejects in file usr/include/gc_vdk_types.h Patch 0001-change-header-path-to-HAL.patch does not apply (enforce with -f) I changed the patch to: --#include "gc_hal_eglplatform.h" -+#include +-#include "gc_hal_eglplatform_type.h" ++#include ... now it's building, but not sure if this was the right modification? 3. I got a different md5-hash for gc_vdk.h I got a LIC_FILS_CHKSUM error pointing me to another hash. I could verify this by manually running/extracting gpu-viv-bin-mx6q-1.1.0.bin and doing: .../gpu-viv-bin-mx6q-1.1.0/usr/include/ head -11 gc_vdk.h|md5sum c831981a5cbb2673318b77fb2f07014c - ... I do get the felling I got a different version of the drivers then the rest of the people :D but it does look right: .../oe-yocto/fsl-community-bsp/downloads/ sha1sum gpu-viv-bin-mx6q-1.1.0.bin e17d9fc743245fc270309903f5863b480ab08e71 gpu-viv-bin-mx6q-1.1.0.bin .../temp/ wget http://download.ossystems.com.br/bsp/freescale/source/gpu-viv-bin-mx6q-1.1.0.bin .../temp/ sha1sum gpu-viv-bin-mx6q-1.1.0.bin e17d9fc743245fc270309903f5863b480ab08e71 gpu-viv-bin-mx6q-1.1.0.bin 4. I build without X11 in DISTRO_FEATURES ... never the less I get: root@imx6qsabrelite:/usr/lib# ls libGAL* libEGL* -alh -rw-r--r-- 1 root root 83.8K Feb 12 10:00 libEGL-x11.so lrwxrwxrwx 1 root root 13 Feb 12 11:22 libEGL.so -> libEGL- x11.so -rw-r--r-- 1 root root 807.1K Feb 12 10:00 libGAL-x11.so lrwxrwxrwx 1 root root 13 Feb 12 11:22 libGAL.so -> libGAL- x11.so their is a patch for that which never got "rebased & resend": http://permalink.gmane.org/gmane.linux.embedded.yocto.meta-freescale/1160 ... he might just wait for 'patch v3' to land 5. A similar problem within to sysroot, Their is no libEGL.so anymore (same for libGAL.so) ... so far Qt always linked against those. The above mentioned patch takes care about this as well by rm *-x11.so and letting the default symlinks (libEGL.so -> libEGL-fb.so) as they are ...for the not-x11 case (the x11 solution looks strange though). 6. uname -a Linux imx6qsabrelite 3.0.35-1.1.0+yocto+gc27cb38 #1 SMP PREEMPT Mon Feb 11 17:07:57 CET 2013 armv7l GNU/Linux Their is a patch-set for switching to a newer 3.7 based kernel. Can anyone clarify about the different kernels, how and why/why not switch? ... should 3.7 be default or is 3.0.35 the right one for now? 7. I still got the shader errors: vertex shader compilation error: fragment shader compilation error: program link error: No vertex shader attached. ... those might be caused by one of the errors/mistakes above? Greets Thomas On Wed, February 06, 2013 16:42:19 Otavio Salvador wrote: > Hello, > > This patch series upgrades the iMX6Q BSP to 1.1.0; it also try to fix > the DRI support for it. > > Please give it a try as this is a huge upgrade and we might have > regressions and pending issues still unkown. This series depends on a > cuple of patches I sent to OpenEmbeeded-Core mailing list for > xserver-xorg and mesa, please apply them before playing with this > series. > > Changes for v3: > - Drop merged patches > - Add upgrade of linux-fslc kernel to 3.7.5 > > Changes for v2: > - Fix build error due wrong dependency order between Xorg driver and > DRI; > - Avoid installation of DRI headers as those are provided by Xorg; > - Add upgrade of linux-fslc; > - Drop merged patches. > > Andrei Gherzan (2): > gpu-viv-bin-mx6q: Add dri.pc > glproto: Don't install glxtokens.h for imx6qsabrelite > > Otavio Salvador (6): > gpu-viv-bin-mx6q: Upgrade to 1.1.0 > xf86-video-imxfb-vivante: Upgrade to 1.1.0 > linux-fslc: Update to 3.7.5 based kernel > xserver-xorg: Override PACKAGECONFIG for i.MX6 to enable DRI support > xf86-dri-vivante: Upgrade to 1.1.0 > xf86-video-imxfb-vivante: Add depends/rdepends for DRI support > > .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 43 ++++--- > .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc | 11 ++ > ...-mx6q_12.09.01.bb => gpu-viv-bin-mx6q_1.1.0.bb} | 5 +- > .../xf86-dri-vivante/fix-with-xorg-1-13.patch | 141 > +++++++++++++++++++++ .../xorg-driver/xf86-dri-vivante_1.1.0.bb | > 45 +++++++ > .../xorg-driver/xf86-dri-vivante_12.09.01.bb | 36 ------ > .../Makefile.am-remove-prefixed-include-path.patch | 2 + > .../fix-vivante-compile.patch | 86 ++++++------- > ....09.01.bb => xf86-video-imxfb-vivante_1.1.0.bb} | 16 ++- > .../xorg-proto/glproto_1.4.16.bbappend | 8 ++ > .../xorg-xserver/xserver-xorg_1.13.1.bbappend | 4 + > recipes-kernel/linux/linux-fslc_3.7.bb | 4 +- > 12 files changed, 289 insertions(+), 112 deletions(-) > create mode 100644 > recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc rename > recipes-graphics/gpu-viv-bin-mx6q/{gpu-viv-bin-mx6q_12.09.01.bb => > gpu-viv-bin-mx6q_1.1.0.bb} (51%) create mode 100644 > recipes-graphics/xorg-driver/xf86-dri-vivante/fix-with-xorg-1-13.patch > create mode 100644 recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb > delete mode 100644 > recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb rename > recipes-graphics/xorg-driver/{xf86-video-imxfb-vivante_12.09.01.bb => > xf86-video-imxfb-vivante_1.1.0.bb} (65%) create mode 100644 > recipes-graphics/xorg-proto/glproto_1.4.16.bbappend create mode 100644 > recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend