phyCORE-i.MX31
OpenGL ES

First download the package and extract it:

# tar xzf OpenGL.tgz

This will create the directory OpenGL within your current working directory.

Basically, this package is composed of two parts:

  1. Freescale Semiconductor provides all OpenGL-related kernel modules and libraries that must be installed on the target. (These are provided without source code.)
  2. The PowerVR OpenGL ES SDK includes some OpenGL demo applications and a few utilities that can be useful when developing your own OpenGL applications.

Target Libraries

To install the OpenGL kernel modules, all necessary libaries, and some pre-compiled demo applications to your target, run the following command:

# OpenGL/install-target.sh 192.168.3.11

Replace 192.168.3.11 with the actual IP address of your target. (The Board Support Packages provided by PHYTEC use 192.168.3.11 by default.)

You should reboot your target now; all OpenGL kernel modules will be automatically loaded at boot time.

Several demo applications were installed to /usr/local/OpenGL-Demos. For example, run /usr/local/OpenGL-Demos/Skybox. To quit the program, press Q.

If you want to remove all files that were installed by install-target.sh, invoke the following command:

# OpenGL/uninstall-target 192.168.3.11

Host SDK

The directory OpenGL/HostSDK contains an SDK provided by PowerVR. It includes all demo applications that are installed by install-target.sh and also some utilities useful when developing your own OpenGL applications. See the OpenGL ES SK User Guide for more details. (The User Guide asks you to get the necessary OpenGL libraries from your platform provider. For convenience, we have already included these libaries.)