PowerVR Graphics¶
Yocto¶
MDK Release September 2015 Yocto
- Yocto already provides the PowerVR Graphics in the build so this guide is not required
Recommendation for TI SDK Release¶
We recommend using Texas Instruments comprehensive guide on it's Graphics SDK.
The web site for the TI Graphics SDK is http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide
The following sections are used in conjunction with the above guide.
Modifications to Rules.make¶
This file is located in the root of the Graphic SDK installation path
Graphics_SDK_4_10_00_01 http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide Rules.make -- Top section of file ################# FIELDS MODIFIABLE BY THE USER ############################### ############### All the fields below are MANDATORY ############################ #By default all below variables have been initialized with equivalent AMSDK variables # Change them to appropriate paths as per your machine/build environment paths. # Set home area (ex /home/user/) #HOME=$(SDK_INSTALL_DIR)/graphics HOME=/home/mitydsp # Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a) CSTOOL_DIR=/usr/local/ti-sdk-am335x-evm/linux-devkit/ # Set Tool chain prefix (ex arm-arago-linux-gnueabi- ) CSTOOL_PREFIX=arm-arago-linux-gnueabi- # Set kernel installation path ( ex /home/user/linux-04.00.01.13 ) KERNEL_INSTALL_DIR=/home/mitydsp/projects/linux-mityarm-335x/ # Set Target filesystem path ( ex /home/user/targetfs ) TARGETFS_INSTALL_DIR=/home/mitydsp/projects/rootfs # Set installation folder GRAPHICS_INSTALL_DIR=$(HOME)/Graphics_SDK_4_10_00_01Basic command to use for our Devkit
- Previously PM_RUNTIME=1 was not needed, but with the new 3.2 PSP11 update it is required or else the kernel will fail to load the graphics modules. For more information see the link below.
TI SGX Wiki
- export ARCH=arm
- make BUILD=release OMAPES=8.x PM_RUNTIME=1 all_km
- make BUILD=release OMAPES=8.x PM_RUNTIME=1 install_km
Modifications to etc/init.d/rc.pvr start script¶
Modified rc.pvr to only start if 3354/9 module
#@Title PowerVR SGX DDK for Embedded Linux #@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved #@License Strictly Confidential. # Auto-generated for omap_linux from build: sgxddk_1.10@2359475 # + +cpu_type=$(/usr/bin/mityarm_cputype.sh) +if [ "$cpu_type" -eq "3352" ] +then + echo "3D acceleration is not available in the am3352 family" + exit 1 +fi
Go to top