[meta-freescale] Different use of libOpenVG in meta-fsl-arm and official meta-fsl-bsp-release

Viguera, Javier Javier.Viguera at digi.com
Mon Nov 9 09:57:40 PST 2015


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 including the libraries is 'libopenvg-mx6':

root at 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 at 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'. When 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 installed, 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=fido_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.


More information about the meta-freescale mailing list