Permalink
Browse files

AM335x support

  • Loading branch information...
1 parent 692a059 commit 846af601a5efabfb363f2e2827cb9e10d42b47fd @aditya-nellutla aditya-nellutla committed with Pankaj Sep 7, 2011
Showing with 4,761 additions and 0 deletions.
  1. BIN gfx_rel_es4.x_android/common.jar
  2. BIN gfx_rel_es4.x_android/devmem2
  3. BIN gfx_rel_es4.x_android/eglinfo.apk
  4. BIN gfx_rel_es4.x_android/eglinfo.jar
  5. BIN gfx_rel_es4.x_android/framebuffer_test
  6. BIN gfx_rel_es4.x_android/gles1_texture_stream.apk
  7. BIN gfx_rel_es4.x_android/gles1_texture_stream.jar
  8. BIN gfx_rel_es4.x_android/gles1test1.apk
  9. BIN gfx_rel_es4.x_android/gles1test1.jar
  10. BIN gfx_rel_es4.x_android/gles2_texture_stream.apk
  11. BIN gfx_rel_es4.x_android/gles2_texture_stream.jar
  12. BIN gfx_rel_es4.x_android/gles2test1.apk
  13. BIN gfx_rel_es4.x_android/gles2test1.jar
  14. BIN gfx_rel_es4.x_android/gralloc.omap3.so
  15. BIN gfx_rel_es4.x_android/hal_client_test
  16. BIN gfx_rel_es4.x_android/hal_server_test
  17. +430 −0 gfx_rel_es4.x_android/install.sh
  18. BIN gfx_rel_es4.x_android/launcher.apk
  19. BIN gfx_rel_es4.x_android/launcher.jar
  20. BIN gfx_rel_es4.x_android/libEGL_POWERVR_SGX530_125.so
  21. BIN gfx_rel_es4.x_android/libGLESv1_CM_POWERVR_SGX530_125.so
  22. BIN gfx_rel_es4.x_android/libGLESv2_POWERVR_SGX530_125.so
  23. BIN gfx_rel_es4.x_android/libIMGegl.so
  24. BIN gfx_rel_es4.x_android/libPVRScopeServices.so
  25. BIN gfx_rel_es4.x_android/libeglinfo.so
  26. BIN gfx_rel_es4.x_android/libffgen.a
  27. BIN gfx_rel_es4.x_android/libgles1_texture_stream.so
  28. BIN gfx_rel_es4.x_android/libgles1test1.so
  29. BIN gfx_rel_es4.x_android/libgles2_texture_stream.so
  30. BIN gfx_rel_es4.x_android/libgles2test1.so
  31. BIN gfx_rel_es4.x_android/libglslcompiler.so
  32. BIN gfx_rel_es4.x_android/libpvr2d.so
  33. BIN gfx_rel_es4.x_android/libpvrANDROID_WSEGL.so
  34. BIN gfx_rel_es4.x_android/libsrv_init.so
  35. BIN gfx_rel_es4.x_android/libsrv_um.so
  36. BIN gfx_rel_es4.x_android/libtestwrap.so
  37. BIN gfx_rel_es4.x_android/libusc.so
  38. BIN gfx_rel_es4.x_android/libuseasm.a
  39. BIN gfx_rel_es4.x_android/libusp.a
  40. BIN gfx_rel_es4.x_android/omaplfb.ko
  41. BIN gfx_rel_es4.x_android/pvr2d_test
  42. BIN gfx_rel_es4.x_android/pvrsrvinit
  43. BIN gfx_rel_es4.x_android/pvrsrvkm.ko
  44. +68 −0 gfx_rel_es4.x_android/rc.pvr
  45. BIN gfx_rel_es4.x_android/services_test
  46. BIN gfx_rel_es4.x_android/sgx_blit_test
  47. BIN gfx_rel_es4.x_android/sgx_clipblit_test
  48. BIN gfx_rel_es4.x_android/sgx_flip_test
  49. BIN gfx_rel_es4.x_android/sgx_init_test
  50. BIN gfx_rel_es4.x_android/sgx_render_flip_test
  51. BIN gfx_rel_es4.x_android/testwrap
  52. BIN gfx_rel_es4.x_android/texture_benchmark
  53. +33 −0 services4/3rdparty/dc_ti335x_linux/Kbuild.mk
  54. +30 −0 services4/3rdparty/dc_ti335x_linux/Linux.mk
  55. +269 −0 services4/3rdparty/dc_ti335x_linux/omaplfb.h
  56. +1,244 −0 services4/3rdparty/dc_ti335x_linux/omaplfb_displayclass.c
  57. +819 −0 services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
  58. +56 −0 services4/system/ti335x/oemfuncs.h
  59. +965 −0 services4/system/ti335x/sysconfig.c
  60. +54 −0 services4/system/ti335x/sysconfig.h
  61. +41 −0 services4/system/ti335x/sysinfo.h
  62. +208 −0 services4/system/ti335x/syslocal.h
  63. +30 −0 services4/system/ti335x/sysutils.c
  64. +514 −0 services4/system/ti335x/sysutils_linux.c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,68 @@
+#!/system/bin/sh
+
+# PowerVR SGX DDK for Embedded Linux - installation script
+#
+# Copyright 2004-2006 by Imagination Technologies Limited.
+# All rights reserved. No part of this software, either
+# material or conceptual may be copied or distributed,
+# transmitted, transcribed, stored in a retrieval system
+# or translated into any human or computer language in any
+# form by any means, electronic, mechanical, manual or
+# other-wise, or disclosed to third parties without the
+# express written permission of Imagination Technologies
+# Limited, Unit 8, HomePark Industrial Estate,
+# King's Langley, Hertfordshire, WD4 8LZ, U.K.
+
+# Auto-generated for omap4430_android from
+# $RCSfile: common.m4 $ $Revision: 1.8 $
+# $RCSfile: rc.pvr.m4 $ $Revision: 1.26 $
+# $RCSfile: rc.pvr.m4 $ $Revision: 1.5 $
+#
+
+load_pvr()
+{
+# /system/bin/devmem2 0x48180F04 w 0x0
+# /system/bin/devmem2 0x48180900 w 0x2
+ /system/bin/devmem2 0x44e01104 w 0x0
+ /system/bin/devmem2 0x44e00904 w 0x2
+
+ insmod /system/bin/sgx/pvrsrvkm.ko
+ insmod /system/bin/sgx/omaplfb.ko
+ sleep 1
+ chmod 0666 /dev/pvrsrvkm
+ /system/bin/pvrsrvinit
+ echo "Loaded PowerVR consumer services."
+ return 0;
+}
+
+unload_pvr()
+{
+if rmmod omaplfb; then :; else return 1; fi
+if rmmod pvrsrvkm; then :; else return 1; fi
+ echo "Unloaded PowerVR consumer services."
+ return 0;
+}
+
+# Deal with the type of invocation we get.
+#
+case "$1" in
+"start")
+ load_pvr
+ ;;
+stop)
+ if ! unload_pvr; then
+ echo "Couldn't unload modules" >&2;
+ fi
+ ;;
+reload|restart)
+ if unload_pvr; then
+ load_pvr
+ else
+ echo "Couldn't unload modules" >&2;
+ fi
+ ;;
+*)
+ echo "$0: unknown argument $1." >&2;
+ ;;
+esac
+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,33 @@
+#
+# Copyright (C) Imagination Technologies Ltd. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms and conditions of the GNU General Public License,
+# version 2, as published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful but, except
+# as otherwise stated in writing, without any warranty; without even the
+# implied warranty of merchantability or fitness for a particular purpose.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# The full GNU General Public License is included in this distribution in
+# the file called "COPYING".
+#
+# Contact Information:
+# Imagination Technologies Ltd. <gpl-support@imgtec.com>
+# Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK
+#
+#
+
+ccflags-y += \
+ -I$(TOP)/services4/3rdparty/dc_omapfb3_linux \
+ -I$(KERNELDIR)/drivers/video/omap2 \
+ -I$(KERNELDIR)/arch/arm/plat-omap/include
+
+omaplfb-y += \
+ services4/3rdparty/dc_ti335x_linux/omaplfb_displayclass.o \
+ services4/3rdparty/dc_ti335x_linux/omaplfb_linux.o
@@ -0,0 +1,30 @@
+#
+# Copyright (C) Imagination Technologies Ltd. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms and conditions of the GNU General Public License,
+# version 2, as published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful but, except
+# as otherwise stated in writing, without any warranty; without even the
+# implied warranty of merchantability or fitness for a particular purpose.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# The full GNU General Public License is included in this distribution in
+# the file called "COPYING".
+#
+# Contact Information:
+# Imagination Technologies Ltd. <gpl-support@imgtec.com>
+# Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK
+#
+#
+
+modules := dc_ti335x_linux
+
+dc_ti335x_linux_type := kernel_module
+dc_ti335x_linux_target := omaplfb.ko
+dc_ti335x_linux_makefile := $(THIS_DIR)/Kbuild.mk
Oops, something went wrong.

0 comments on commit 846af60

Please sign in to comment.