libgles-omap3_4.04.00.02: added support for graphics sdk 04.04.00.02
PATCH v2 1/2 libgles-omap3_4.04.00.02: added support for graphics sdk 04.04.00.02
* Added support for sgx ddk 1.6.16.4117
* Added powervr.inc to include variables common to graphics SDK recipes
* Bumped up the PR in libgles-omap3.inc
--- .../omap3-sgx-modules_1.6.16.4117.bb | 40 ++++++++++++++++++++ recipes-bsp/powervr-drivers/powervr.inc | 6 +++ recipes-graphics/libgles/libgles-omap3.inc | 4 +- .../libgles/libgles-omap3_4.04.00.02.bb | 21 ++++++++++ 4 files changed, 70 insertions(+), 1 deletions(-) create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb create mode 100644 recipes-bsp/powervr-drivers/powervr.inc create mode 100644 recipes-graphics/libgles/libgles-omap3_4.04.00.02.bb
recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.4117.bb new file +40 -0
@@ -0,0 +1,40 @@ +DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935" + +TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" +require ../../recipes-ti/includes/ti-eula-unpack.inc +require powervr.inc + +SGXPV = "4_04_00_02" +IMGPV = "1.6.16.4117" +BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" + +inherit module + +MACHINE_KERNEL_PR_append = "a" +PR = "${MACHINE_KERNEL_PR}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \ + file://Compile-fixes-for-38-kernel.patch \ + file://kernel-30.patch \ + " +SRC_URI[md5sum] = "901327765c0991900afda91473f84725" +SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e" + +S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM" + +PVRBUILD = "release" +export KERNELDIR = "${STAGING_KERNEL_DIR}" + +PACKAGE_STRIP = "no" + +MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}" + +do_install() { + mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr + cp ${S}/pvrsrvkm.ko \ + ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ + ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ + ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr +}
recipes-bsp/powervr-drivers/powervr.inc new file +6 -0
@@ -0,0 +1,6 @@ +TI_PLATFORM_omap3 = "omap3630" +TI_PLATFORM_ti816x = "ti81xx" + +MODULESLOCATION_omap3 = "dc_omapfb3_linux" +MODULESLOCATION_ti816x = "dc_ti81xx_linux" +
recipes-graphics/libgles/libgles-omap3.inc +3 -1
@@ -3,7 +3,7 @@ LICENSE = "proprietary-binary" # 'TSPA.txt' might not be the best file to md5sum LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1" -PR = "r17" +PR = "r18" COMPATIBLE_MACHINE = "(omap3|ti816x)"
@@ -25,6 +25,8 @@ TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" require ../../recipes-ti/includes/ti-eula-unpack.inc BINLOCATION ?= "${S}/gfx_rel" +BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" +BINLOCATION_ti816x = "${S}/gfx_rel_es6.x" ES2LOCATION ?= "${S}/gfx_rel_es2.x" ES3LOCATION ?= "${S}/gfx_rel_es3.x" ES5LOCATION ?= "${S}/gfx_rel_es5.x"
recipes-graphics/libgles/libgles-omap3_4.04.00.02.bb new file +21 -0
@@ -0,0 +1,21 @@ +require libgles-omap3.inc + +# download required binary distribution from: +# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html +# see libgles-omap3.inc for detailed installation instructions + +SGXPV = "4_04_00_02" +IMGPV = "1.6.16.4117" +BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \ + file://cputype \ + file://rc.pvr \ + file://sample.desktop \ + file://99-bufferclass.rules \ +" +SRC_URI[md5sum] = "901327765c0991900afda91473f84725" +SRC_URI[sha256sum] = "2ced2329ec819e42d57eca1a11120b02ec9c332fb63baa0a41285eed07d4b48e" + +S = "${WORKDIR}/Graphics_SDK_${SGXPV}" +
Signature · 1 line
1.7.1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 21-11-11 12:57, Prathap M S schreef:
Quoted 5 lines
* Added support for sgx ddk 1.6.16.4117
* Added powervr.inc to include variables common to graphics SDK recipes
* Bumped up the PR in libgles-omap3.incSigned-off-by Prathap M S <[email protected]>
This patch seems to be against the meta-ti TI, please follow the instruction from its README:
http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/README
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAk7KTp0ACgkQMkyGM64RGpHRyACeNPg8HrE7X2wKdWMcJSMHM29J sUMAoKfo2/vfcR5wI+rj+P75sjpSOQkz
=zGM4
-----END PGP SIGNATURE-----