1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 22:38:04 +00:00

54 Commits

Author SHA1 Message Date
Franklin S. Cooper Jr 2c86c1957c Graphics SDK: Add version 05.01.01.01
* Add latest version of the Graphics SDK that includes bug fixes.
* Fixed Suspend and Resume issue on AM43x.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 10:53:45 -05:00
Samuli Piippo 007d3ff11b libgles-omap3: add missing INSANE_SKIP for es9
es9 package was missing INSANE_SKIP used for other esX packages.

Signed-off-by: Samuli Piippo <samuli.piippo@digia.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:41 -05:00
Chase Maupin 21f4d17302 Graphics SDK: Add 5.01.00.01 version
* Add the 5.01.00.01 version of the graphics SDK which supports
  suspend/resume operations for the v3.12 and later kernels.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-14 15:28:44 -05:00
Denys Dmytriyenko 67499500f2 libgles-omap3, omap3-sgx-modules: swap around DEFAULT_PREFERENCE setting
This way the default for am335x and am437x will be the new 5.00.00.01 Graphics
SDK release, that matches the default 3.12 kernel.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-12-04 14:52:08 -05:00
Mrinmayee Hingolikar 8f881dd965 libgles: added OMAP5 libs for graphics acceleration
These libraries are not distributable in source and hence
are available only as binary. They implement OpenGLES 1.x and
OpenGLES 2.x accelerated using SGX 544-MP2 found in OMAP5
class of devices.

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 23:17:55 -05:00
Denys Dmytriyenko 5ae405999c libgles-omap3: update cputype to support 3.12 and AM43x device
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Denys Dmytriyenko 802c10bc65 libgles-omap3: add new Graphics SDK 5.00.00.01 alpha release
* Adds initial support for AM43x platform
* Supports 3.12 kernel for AM335x and AM43x

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Franklin S. Cooper Jr e0cd3a7e6f libgles-omap3: Add support for AM43x in common libgles-omap3 include files
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Denys Dmytriyenko c187c2c590 ligles-omap3, omap3-sgx-modules: correct checksum assignment
Checksums are handled as var attributes and require immediate expansion,
so use := operation as in the original patches, that got lost in the update.
Otherwise do_fetch will fail to validate the checksums.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-16 17:06:35 -04:00
Denys Dmytriyenko ebfbd8ee95 libgles-omap3: add automatic selection between softfp and hardfp binaries
This is based on the work by Franklin Cooper, with following changes:
* Cleanup and simplify the logic
* Reduce the number of Python calls
* Expand support from Raw to X11 variant

The original description:
* The Graphics SDK includes some binaries that are prebuilt.
* These prebuilt binaries come in two versions of the Graphics SDK. By default
  the prebuilt binaries are built using a softfp toolchain. A separate hardfp
  Graphics SDK exist that contains binaries that are prebuilt with a hardfp
  toolchain.
* Add support for both by checking to see if the toolchain used in the OE build
  is using a hardfp or softfp toolchain.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-13 12:07:09 -04:00
Denys Dmytriyenko 84576bfff1 libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-03 13:05:56 -04:00
Denys Dmytriyenko 9be75edbe0 libgles-omap3: introduce INC_PR
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:51 -04:00
Denys Dmytriyenko 9bf0bc5611 libgles-omap3-x11: do not fail if pvr-init is not yet installed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:44 -04:00
Denys Dmytriyenko ae4f09067c libgles-omap3: fix some conflicts between X11 and Raw versions
* Properly define all PROVIDES, RPROVIDES, RCONFLICTS and RREPLACES variables.
* Skip X11 recipe altogether in non-X11 distros to avoid broken dependencies
  for missing X libraries.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:14 -04:00
Denys Dmytriyenko 14671da0be libgles-omap3-x11: add missing X11 version of the recipe, after it got split
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Denys Dmytriyenko a6e3b7466f libgles-omap3: don't RCONFLICT/RREPLACE no-x version with x11 as it breaks non-X distros
* Enables building/installing both X11 and RAW libs/demos. Plus otherwise the
  build is broken for non-X distros, as it pulls in X11 deps due to RREPLACES...
* Fix broken DEPENDS copy/paste typo.
* Also, clean up after the previous changes - extra empty lines, indentation, etc.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 74019397b8 libgles-omap3-x11: Separate X11 SGX driver package into new recipe
libgles-omap3 now contains only non-X11 drivers. The X11 driver is
available in the libgles-omap3-x11 package. This package has
dependency on specific kernel versions for DRM builds.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 60b90439f7 libgles-omap3: Package files with right permission
This patch adds correct permissions for startup script pvr-init.

This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 9971090bfc libgles-omap3: Add missing RPROVIDES
RPROVIDES specifies the libraries that are dynamically loaded
at runtime. This patch fixes "no package provides libGLESv2.so" and
similar errors that occur when including packages like qtbase.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson e6e536bc27 libgles-omap3: Remove copying of unused header files
Current recipe copies lot of headers that are unused, including
unsupported files for OpenVG. This patch removes copying of such files.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 4b299c53e3 libgles-omap3: Remove OpenVG references
OpenVG API is no longer supported in the SGX Graphics SDK.
Customers are encouraged to move to OpenGL ES2.x.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 250f27d11f libgles-omap3: Remove unsupported core build option ES2.0
ES2.0 build option for SGX user binaries is deprecated as the
corresponding SOC is no longer in production

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson 519575bd04 libgles-omap3: Remove X11 related build and packaging
SGX530 driver for X11 is only buildable and testable standalone
with the pre-built X11 package provided with the Graphics SDK.
This patch removes X11 build from the default recipe, to enable
moving X11 build to a separate recipe.

This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Chase Maupin c14c386946 ti-graphics: Add latest 4.09.00.01 version
* Add the latest 4.09.00.01 version of the graphis SDK.  This
  version will compile against the latest v3.8 kernel.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-05 19:30:36 -04:00
Franklin S. Cooper Jr 7650926c69 libgles-omap3: Add version 4.08.00.02 of the Graphics SDK
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 15:40:00 -04:00
Franklin S. Cooper Jr e377abc5f7 libgles-omap3.inc: Add tweaks needed for newer version of the Graphics SDK
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 14:23:59 -04:00
Peter A. Bigot ae45412131 libgles-omap3: ignore QA errors
This patch allows libgles-omap3 to build on the danny branch.  The following
warnings are not addressed:

 WARNING: libgles-omap3: No generic license file exists for: proprietary-binary in any provider
 WARNING: QA Issue: libgles-omap3: Files/directories were installed but not shipped
  /usr/lib/ES2.0
 WARNING: libgles-omap3: The compile log indicates that host include and/or library paths were used.
         Please check the log '/prj/oe/omap/build-gumstix-community-danny/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libgles-omap3-4.05.00.03-r35/temp/log.do_compile' for more information.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 18:18:00 -05:00
Franklin S. Cooper Jr dace27f5c8 libgles-omap3: Add v4.08.00.01 of the Graphics SDK
* Add version v4.08.00.01 of the Graphics SDK.
* Add X11 support via DRI/DRM Xorg driver
* Replace pvrsrvinit with pvrsrvctl (Imagination Technologies based change)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 18:17:47 -05:00
Franklin S. Cooper Jr e63ef28072 libgles-omap3: Verify pvrsrvkm module was found
* Check to see if the pvrsrvkm.ko module was found and that the insmod
  for that module was successful.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-16 15:05:21 -05:00
Franklin S. Cooper Jr 3c3a59dcc7 libgles-omap3: Adjust for non X11 distros
* Non X11 base distros are unable to build this Graphics SDK.
* This patch tweaks the libgles-omap3 include file to always build the
  Graphics SDK in Raw mode and also build in X11 mode only if X11 is
  a part of the DISTRO_FEATURE. Components are built, installed and packaged
  based on which mode the Graphics SDK is built in.
* Create a new variable PVR_INIT that is by default set to pvrsrvinit. This is
  needed for newer version of the Graphics SDK that replaced this file.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-16 15:02:39 -05:00
Franklin S. Cooper Jr 2a3c7305fb recipes: Fix ti-eula-unpack issue. Tweak sgx modules and libgles recipes.
* Commit d8fc4a6862 addressed an issue where
  too many newlines characters were being sent since print by default already
  sends a newline character. This commit however resulted in bin files being
  installed in the WORKDIR and broke other recipes which commit
  a94f765b98 addressed. This lead to a very
  cluttered WORKDIR.
* This patch updates ti-eula-unpack.inc to switch from using a print to a write.
  Since write doesn't automatically send newlines it is a bit more obvious when
  newlines are sent.
* Part of the reason that bin files were being installed in the WORKDIR was
  due to TI_BIN_UNPK_WDEXT being blank for some recipes. For instance in the
  libgles-omap3 recipes, when the workdir command is set in TI_BIN_UNPK_CMDS the
  directory that the Graphics SDK will be installed into is
  workdir+TI_BIN_UNPK_WDEXT. A blank TI_BIN_UNPK_WDEXT means the SDK will be
  installed in WORKDIR. By setting TI_BIN_UNPK_WDEXT to a proper value the
  recipes can be sure it is installed in the proper directory.
* Determine which file to download based on the defined BINFILE and not a
  hardcoded value. This idea was taken from arago.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-10 16:00:04 -04:00
Franklin S. Cooper Jr 80cc70e501 libgles-omap3.inc: Tweak PLATFORM variable.
* Newer versions of libgles-omap3 utilize a different PLATFORM value. This
  patch allows the PLATFORM variable to be easily overridden if needed.
* Replace the hardcoded usage of LinuxOMAP3 with the PLATFORM variable.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-26 14:18:48 -04:00
Andreas Müller 48cab231fc libgles-omap3: fix for latest oe-core mesa changes
* add virtual/libgles1 virtual/libgles2 to PROVIDES
* add RREPLACES_{PN}* for mesa's libegl* libgles1* libgles2*

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-18 18:34:10 -04:00
Denys Dmytriyenko d18bb23803 libgles-omap3: enable for ti814x SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 02:13:57 -04:00
Koen Kooi 6014fc75c0 libgles-omap3: work around bug in opkg
All the EGL_BADALLOC failures that user have been reporting turn out to be
a bug in opkg:
http://groups.google.com/group/opkg-devel/browse_thread/thread/741d18b0ef31435e#

Opkg decides to relink symlinks to the wrong files. As a workaround we check
the symlink during every bootup and fix it if needed.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 00:03:18 -04:00
Koen Kooi 405ce19965 libgles-omap3: package dri files into driwsegl subpackages
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 00:03:14 -04:00
Koen Kooi 4b453abf71 libgles-omap3: move X related binaries into X11WSEGL subpackages to avoid dragging in libx11 and friends
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 00:03:10 -04:00
Koen Kooi 6cff7f12d2 libgles-omap3: copy over all binaries and abstract install process
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 00:03:04 -04:00
Koen Kooi 5b08302b88 libgles-omap3: add missing libdrm dependency
dpkg-deb -I shows:

 Package: libgles-omap3
 Version: 4.05.00.03-r26
 Depends: libgles-omap3-flipwsegl, devmem2, update-rc.d, libdrm2 (>= 2.4.31), libgles-omap3-linuxfbwsegl, fbset, libc6 (>= 2.12), libgles-omap3-blitwsegl, libgles-omap3-frontwsegl

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-30 11:59:29 -04:00
Koen Kooi 41053c22a7 libgles-omap3: fix RRECOMMENDS
The modules assignment overwrote the previous ones, leading to missing libraries.

Before:
	 Package: libgles-omap3
	 Recommends: omap3-sgx-modules
After:
	 Package: libgles-omap3
	 Recommends: omap3-sgx-modules, libgles-omap3-es8, libgles-omap3-es6, libgles-omap3-es5, libgles-omap3-es3, libgles-omap3-es2

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-18 12:19:55 -04:00
Koen Kooi a94f765b98 libgles-omap3: fix S for IJ unpack changes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-02-25 22:22:17 -05:00
Koen Kooi 23b0213494 libgles-omap3: hide subpackages from shlib code
This depends on a matching patch to OE-core: http://patches.openembedded.org/patch/20191/

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-27 09:05:03 +01:00
Koen Kooi d63c40e8f2 libgles-omap3: make postinsts safe for offline-root usage (e.g. do_rootfs)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-27 09:05:02 +01:00
Koen Kooi f840c6aafb libgles-omap3: enable X11 windowing system when installing the X11 WS subpackage
The X11 WS is not installed by default, but currently won't work when being manually installed. This change has no effect existing X11-less installs/images/tasks.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-27 09:05:02 +01:00
Koen Kooi 2764af1db5 libgles-omap3: add DRI subpackages to PACKAGES
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:17:22 +01:00
Koen Kooi 928ff52f4a libgles-omap3: add 4.05.00.03
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:01:48 +01:00
Koen Kooi 8bdde7f6b9 libgles-omap3: adjust packaging for all windowing systems to remove the magic esrev file
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:01:48 +01:00
Koen Kooi d3550a4bd4 libgles-omap3: install X11 windowing system for newer SDK releases as well
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:01:47 +01:00
Koen Kooi ead15a9b4d libgles-omap3: package DRI windowing system as well
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:01:47 +01:00
Koen Kooi 5a0cf7c32c libgles-omap3: merge in updates from arago
* ES3.x do_install fix
* AM335x support

And one non-arago fix: break dependency on 'initscripts' package

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:01:47 +01:00