From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B378FE00343 for ; Fri, 12 Jul 2013 07:53:33 -0700 (PDT) Received: from e6520eb (pac33-3-88-170-243-169.fbx.proxad.net [88.170.243.169]) (Authenticated sender: eukrea) by smtp3-g21.free.fr (Postfix) with ESMTPSA id A1888A6236; Fri, 12 Jul 2013 16:53:24 +0200 (CEST) Date: Fri, 12 Jul 2013 16:53:23 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Otavio Salvador Message-ID: <20130712165323.090fab24@e6520eb> In-Reply-To: References: <51C8F937.4030903@gmail.com> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" Subject: Re: tslib in fsl-image-gui 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: Fri, 12 Jul 2013 14:53:36 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Fri, 12 Jul 2013 10:33:35 -0300, Otavio Salvador a =C3=A9crit : > On Fri, Jul 12, 2013 at 6:10 AM, Petr Kolesnikov wro= te: > > I went into same issue a few days ago. The tslib is compiled against yo= cto > > kernel headers 3.8 while we are using quiet old imx kernel 2.6.35. The > > EV_VERSION has been incremented in kernel 2.6.37. > > > > So there are two approaches. Compile tslib against imx kernel headers, = that > > is most likely the right way. The second (dirty) way is to patch tslib = to > > accept version 0x010000, that is working fine too. >=20 > An easier one is to make a patch to 2.6.35 which fixes the EV_VERSION the= re. >=20 no 2.6.35 has the EV_VERSION value corresponding the the ev API of this kernel version so that's not the right thing to do. tslib has this commit which triggers the problem by allowing old kernels to run tslib compiled with newer headers but not the reverse : https://github.com/kergoth/tslib/commit/412d99d8b92c12545f939972146a38c5074= f3dcb so for i.MX53 tslib may need a patch to relax the check. Eric