Wednesday, November 11, 2015

SGX Graphics updates

A gentle reminder to all the TI Graphics users - Please check the latest OE commits from Anand Balagopalakrishnan/ Denys in the Yocto/ Meta-Arago mailing lists. This blog is not the right place anymore for checking for updates on SGX Graphics drivers/ Technology.

Sunday, February 23, 2014

1Q 2014 Linux Graphics SDK release 05.01.01.01 update

1Q 2014 Linux Graphics SDK release update - 

Linux Graphics SDK alpha release 05.01.01.01 is now available for download at-

New/Changes in this release
  • NEW  - AM43x support validated on both Beta ePOS and GP EVM.
  • NEW - 3.12  kernel (3.12.9) support. Please see release notes for the details on the kernel used for validation. Validated on AM335x and AM43x EVMs.
  • NEW - Suspend/resume support validated on both AM335x and AM43x EVMs.
  • NEW - rc.pvr, install.sh updated with MIT license packaged.
Component Software version details used in this release
  • Based on the IMG Linux 1.10 RC DDK (1.10@2359475)
  • PowerVR SDK3.0.
  • This is a hardfloat release package only. Should be used with hardfloat/hardfp toolchain & hardfp file systems.
Please refer to the release notes for more details.

Release notes-
http://processors.wiki.ti.com/index.php/RN_5_01_01_01

User guide-
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

Debugging guide-
http://processors.wiki.ti.com/index.php/SGXDbg

Tuesday, November 19, 2013

4Q 2013 Linux Graphics SDK release update - Linux Graphics SDK alpha release 05.00.00.01

4Q 2013 Linux Graphics SDK release update - 

Linux Graphics SDK alpha release 05.00.00.01 is now available for download at-

http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/5_00_00_01/index_FDS.html

New/Changes in this release
  • NEW  - AM43x support 
  • NEW - 3.12 kernel support. Please see release notes for the details on the kernel used for validation.
  • NEW - Integration with reset driver framework on both AM335x & AM43x.
  • NEW - PM_RUNTIME support enabled by default. (No need to pass this explicitly in build command line)
  • NEW This is an alpha release package. Validated on AM335x PG2.0 GP-EVM & AM43x EVMs.
Component Software version details used in this release
  • Based on the IMG Linux 1.10 RC DDK (1.10@2359475)
  • PowerVR SDK3.0.
  • This is a hardfloat release package only. Should be used with hardfloat/hardfp toolchain & hardfp file systems.
Please refer to the release notes for more details.

Release notes-
http://processors.wiki.ti.com/index.php/RN_5_00_00_01_alpha

User guide-
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

Debugging guide-
http://processors.wiki.ti.com/index.php/SGXDbg

Thursday, October 10, 2013

Qt5 1-day workshop, for TI customers working on Beagle/Beaglebone/SGX based platforms

TI is conducting an exclusive Qt5 1-day workshop for TI customers working on Beagle/Beaglebone/AM335x/DM/OMAP platforms, based on SGX. The venue will be TI office in Bangalore.

More details and registration information below:

http://hostindiaevents.com/edm/ti_qt5_27sep/

Seats are limited, so hurry!


Tuesday, August 6, 2013

Qt5 with KMS on Jacinto6 / OMAP5 with GLSDK 6.01.00.01

The latest release of Qt5 with KMS support is available on OMAP5 and Jacinto6 platforms. The main features validated are OpenGLES 2.0, Neon and KMS.

The example applications tested are :
  • opengl/hellowindow
  • opengl/paintedwindow
  • gui/analogclock
  • widgets/animation/moveblocks
  • effects/blurpicket
Pre-Requisites
  1. OMAP5 uEVM / Jacinto6 EVM
  2. Qt5.1.0 release
  3. Linaro GCC 4.7-2013.03 ARM Linux gnueabi hard float cross compiler toolchain
  4. Ensure that the board boots successfully and the terminal is visible on the display
  5. Ensure that kmscube application runs on the board
Run Qt5 example applications
    Target filesystem based on TI GLSDK 6.01.00.01 with prebuilt Qt5 binaries are available at:
    https://gforge.ti.com/gf/download/docmanfileversion/320/6656/ti-glsdk_omap5-uevm_6_01_00_01.tar.gz


    The Qt5 installation is at /usr/local/qt5.1 on this file system. The stock GLSDK 6.01.00.01 filesystem has missing dependencies for building and running Qt5. These libraries and header files have been added to the file system shared above.
    • Untar the filesystem to the second partition on your SD card. This will replace your current filesystem on the SD card. The same filesystem can be used for both OMAP5 and Jacinto6
    • Create a soft link to satisfy Qt5 build time configurations
    target # mkdir -p /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01 
    target # cd /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01 
    target # ln -s /usr usr
    • Initialize SGX as follows:
    target # pvrsrvinit
    • Set the loader library path
    target # export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/qt5.1/lib
    • Run the example Qt5 application using kms platform
    target # cd /usr/local/qt5.1/examples/opengl/hellowindow
    target # ./hellowindow -platform kms
    Note
    In step 1, if you want to retain your own filesystem, copy /usr/local/qt5.1 from the prebuilt filesystem to your filesystem on SD card. In addition, add the missing dependencies by checking the differences in /lib, /usr/lib and /usr/include between the prebuilt filesystem and your filesystem.

    Building Qt5


    The mkspecs that configure Qt for OMAP5/Jacinto6 are available at:
    https://gitorious.org/tigraphics/qtsupport

    • Untar Qt5.1.0 source
    • Add the Qt mkspecs directory linux-omap5-g++ into $QT/qtbase/mkspecs
    https://gitorious.org/tigraphics/qtsupport/trees/master/qt5-omap5-kms/linux-omap5-g++
    host $ cd $QTDIR/qtbase
    host $ patch -p1 < 0001-Remove-GBM_BO_FORMAT-and-use-GBM_FORMAT-directly.patch
    • Configure Qt
    host $ cd $QTDIR
    host $ ./configure -prefix /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01/usr/local/qt5.1 -release -make libs -make examples -nomake tools -xplatform linux-omap5-g++ -opengl es2 -confirm-license -opensource -no-xcb -no-pch -verbose -kms -sysroot /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01 -v -no-icu
    • This configures Qt for the following:
      • Release mode
      • Libraries and Examples are built, but tools are not built
      • Cross compiler platform is linux-omap5-g++
      • OpenGL ES2
      • XCB, PCH, ICU are disabled
      • KMS is enabled
      • Sysroot is set to /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01. All libraries and header files are picked up relative to this path
      • Prefix is set to /home1/anand/targetnfs/ti-glsdk_omap5-uevm_6_01_00_01/usr/local/qt5.1. After building, Qt is installed to this path
      • Side effect of having the Qt prefix is that we need to create a symbolic link on the target filesystem that ensures that the prefix is valid even on the target
    • Build Qt by running "make" 
    • Install Qt by running "make install"
    TODO
    • Execution of certain applications give a PVR map error when run with KMS resulting in a blank screen
    • evdevmouse and evdevkeyboard plugins have some problems
    • Cursor support is not available
    • Webkit2 is not validated
    • Testing of features and example applications other than those listed at the top

    Friday, June 28, 2013

    Qt5 with BuildRoot on Beagle, with TI Graphics SDK

    The recent work with the Buildroot team has produced good results, with the Graphics SDK recipes, and Qt5 patches being used in Buildroot, and functional on Beagle.

    http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/61974

    A video of the Qt5.0.2 based demos is shown by Thomas below:

    http://free-electrons.com/~thomas/pub/opengl-beagle.mp4

    Per Thomas, the RFC will soon be made a patch to be included into the official Buildroot tree.

    Wednesday, June 26, 2013

    Meta-ti SGX recipe clean up of Graphics SDK packages

    The graphics recipes in meta-ti have been cleaned up from 4.09 version of the Graphics SDK onwards, as part of a reasonably big clean up. Other dependent SDKs will pick this up for next releases,

    http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/

    Around the same time, also working with Buildroot community to enable SGX recipes (ti-gfx) as part of a GSoc project.  Results already showing there,

    http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/61821