From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0F939E00927; Mon, 9 Nov 2015 09:57:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [216.82.243.194 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.bemta8.messagelabs.com (mail1.bemta8.messagelabs.com [216.82.243.194]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4E022E0088C for ; Mon, 9 Nov 2015 09:57:43 -0800 (PST) Received: from [216.82.242.35] by server-2.bemta-8.messagelabs.com id 46/23-20102-79ED0465; Mon, 09 Nov 2015 17:57:43 +0000 X-Env-Sender: Javier.Viguera@digi.com X-Msg-Ref: server-7.tower-75.messagelabs.com!1447091862!2606286!1 X-Originating-IP: [192.109.95.98] X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 39542 invoked from network); 9 Nov 2015 17:57:42 -0000 Received: from unknown (HELO DOR-VMS-XCH01.digi.com) (192.109.95.98) by server-7.tower-75.messagelabs.com with AES256-SHA encrypted SMTP; 9 Nov 2015 17:57:42 -0000 Received: from DOR-SMS-XCH01.digi.com ([fe80::894b:3bdc:74ae:6efc]) by DOR-VMS-XCH01.digi.com ([::1]) with mapi id 14.03.0248.002; Mon, 9 Nov 2015 18:57:41 +0100 From: "Viguera, Javier" To: "'meta-freescale@yoctoproject.org'" Thread-Topic: Different use of libOpenVG in meta-fsl-arm and official meta-fsl-bsp-release Thread-Index: AdEbGB5+sQWpjKnYSUKhFAioUq26ng== Date: Mon, 9 Nov 2015 17:57:40 +0000 Message-ID: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.2.250] x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean MIME-Version: 1.0 Subject: Different use of libOpenVG in meta-fsl-arm and official meta-fsl-bsp-release 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: Mon, 09 Nov 2015 17:57:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I have a question regarding the use of libOpenVG in MX6 platforms. Allow me to write a bit of background. Using meta-fsl-arm, the package incl= uding the libraries is 'libopenvg-mx6': root@ccimx6sbc:/usr/lib# ls -l libOpenVG.* -rw-r--r-- 1 root root 2186417 Nov 4 11:59 libOpenVG.2d.so -rw-r--r-- 1 root root 1321465 Nov 4 11:59 libOpenVG.3d.so -rw-r--r-- 1 root root 1321465 Nov 4 11:59 libOpenVG.so root@ccimx6sbc:~# md5sum /usr/lib/libOpenVG.* 1ee20add86cdaf388e0bc406528a777c /usr/lib/libOpenVG.2d.so 62613ac1a5266831e47eb6d617ced58e /usr/lib/libOpenVG.3d.so 62613ac1a5266831e47eb6d617ced58e /usr/lib/libOpenVG.so As you can see, file 'libOpenVG.so' is just a copy of 'libOpenVG.3d.so'. Wh= en you install the package with the package manager a warning is shows: /sbin/ldconfig: /usr/lib/libOpenVG.so is not a symbolic link Now, using the official FSL BSP (branch 'fido_3.14.38_6UL_patch' which uses= the same GPU libs versions than current meta-fsl-arm), a boot script is in= stalled, that updates at runtime the symlink of that library *depending* on= the CPU: http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/tree/imx= /meta-bsp/recipes-core/sysvinit/sysvinit-inittab/mx6/rc_gpu.S?h=3Dfido_3.14= .38_6UL_patch If you look at the script it results that: * for i.MX6DL (duallite): the symlink points to /usr/lib/libOpenVG.3d.so * for i.MX6Q (quad): the symlink points to /usr/lib/libOpenVG.2d.so In meta-fsl-arm we use libOpenVG.3d.so regardless of the CPU. Can someone in the list (probably FSL employee) shed a bit of light on this= ? Which version of the lib should be used for each of the MX6 CPU flavors? _____ JAVIER VIGUERA SOFTWARE ENGINEERING Digi International Spain S.A.U.