summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jacinto6/Android.mk18
-rw-r--r--jacinto6/License_for_IMG_SGX_Binary_Image.txt125
-rw-r--r--jacinto6/README.SGX49
-rw-r--r--jacinto6/sgx.tgzbin0 -> 2623656 bytes
-rw-r--r--jacinto6/sgx/Android.mk150
-rw-r--r--jacinto6/ti-jacinto6-vendor.mk20
-rw-r--r--omap5/README.SGX10
-rw-r--r--omap5/ducati_full_omap5panda.tgzbin4417539 -> 4416859 bytes
-rw-r--r--omap5/sgx.tgzbin2501156 -> 2526113 bytes
9 files changed, 368 insertions, 4 deletions
diff --git a/jacinto6/Android.mk b/jacinto6/Android.mk
new file mode 100644
index 0000000..f99f4b2
--- /dev/null
+++ b/jacinto6/Android.mk
@@ -0,0 +1,18 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16ifeq ($(TARGET_BOARD_PLATFORM),jacinto6)
17 include $(call all-subdir-makefiles)
18endif
diff --git a/jacinto6/License_for_IMG_SGX_Binary_Image.txt b/jacinto6/License_for_IMG_SGX_Binary_Image.txt
new file mode 100644
index 0000000..983f547
--- /dev/null
+++ b/jacinto6/License_for_IMG_SGX_Binary_Image.txt
@@ -0,0 +1,125 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 * SOFTWARE LICENSE FOR OMAP(TM) 4 USER SPACE GRAPHICS DRIVER BINARY
4 *
5 * Copyright (c) 2011, Texas Instruments Incorporated.
6 * Portions (c), Imagination Technologies Limited.
7 *
8 * All rights reserved.
9 *
10 * Redistribution:  
11 *
12 * Redistribution and use in binary form, without modification, are
13 * permitted provided that the following conditions are met:
14 *
15 * * Redistributions must preserve existing copyright notices and reproduce
16 * this license (including the above copyright notice and the disclaimer
17 * below) in the documentation and/or other materials provided with the
18 * distribution.
19 *
20 * * Neither the name of Texas Instruments Incorporated nor the names of its
21 *   suppliers may be used to endorse or promote products derived from this 
22 *   software without specific prior written permission.
23 *
24 * * No reverse engineering, decompilation, or disassembly of this software
25 *   is permitted.
26 *
27 * Limited patent license:
28 *
29 * Texas Instruments Incorporated (TI) grants a world-wide, royalty-free, 
30 * non-exclusive license under patents it now or hereafter owns or controls 
31 * to make, have made, use, import, offer to sell and sell ("Utilize") this
32 * software in its current form, but solely to the extent that any such 
33 * patent is necessary to  Utilize the software alone.  The patent license 
34 * shall not apply to any combinations which include this software. No 
35 * hardware per se is licensed hereunder.
36 *
37 * DISCLAIMER:
38 *
39 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
40 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
41 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
43 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
44 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
45 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
46 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
47 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
48 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
49 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 *
51 * Certain third party licenses not included:
52 *
53 * Certain software may (a) require patent licenses from third parties
54 * claiming patent rights covering implementation of the software or (b) be
55 * based on industry recognized standards or software programs published by
56 * industry recognized standards bodies and certain third parties may claim
57 * to own patents or copyrights that cover implementation of those standards.
58 * You acknowledge and agree that (i) this License does not convey a license
59 * to any such third party patents and copyrights, (ii) you are responsible
60 * for any fees or royalties that may be payable to any third party based on
61 * such third party's interests in such software and (iii) you will indemnify
62 * TI against your failure to make any such payments and will defend any
63 * claim, suit or proceeding brought against TI insofar as such claim, suit
64 * or proceeding is based on or arises from such failure.
65 *
66 */
67
68-----------------------------------------------------------------------------
69
70Additional legal notices pertaining to portions of included software:
71
72
73Copyright (c) 2007-2009 The Khronos Group Inc.
74
75Permission is hereby granted, free of charge, to any person obtaining a
76copy of this software and/or associated documentation files (the
77"Materials"), to deal in the Materials without restriction, including
78without limitation the rights to use, copy, modify, merge, publish,
79distribute, sublicense, and/or sell copies of the Materials, and to
80permit persons to whom the Materials are furnished to do so, subject to
81the following conditions:
82
83The above copyright notice and this permission notice shall be included
84in all copies or substantial portions of the Materials.
85
86THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
93
94
95--------
96
97SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
98
99Copyright (C) 2006 Silicon Graphics, Inc. All Rights Reserved.
100
101Permission is hereby granted, free of charge, to any person obtaining a
102copy of this software and associated documentation files (the "Software"),
103to deal in the Software without restriction, including without limitation
104the rights to use, copy, modify, merge, publish, distribute, sublicense,
105and/or sell copies of the Software, and to permit persons to whom the
106Software is furnished to do so, subject to the following conditions:
107
108The above copyright notice including the dates of first publication and
109either this permission notice or a reference to
110http://oss.sgi.com/projects/FreeB/ shall be included in all copies or
111substantial portions of the Software.
112
113THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
114OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
116SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
117WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
118OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
119SOFTWARE.
120
121Except as contained in this notice, the name of Silicon Graphics, Inc.
122shall not be used in advertising or otherwise to promote the sale, use
123or other dealings in this Software without prior written authorization
124from Silicon Graphics, Inc.
125#257696v2
diff --git a/jacinto6/README.SGX b/jacinto6/README.SGX
new file mode 100644
index 0000000..8267594
--- /dev/null
+++ b/jacinto6/README.SGX
@@ -0,0 +1,49 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 *
4 * Copyright (c) 2011, Texas Instruments Incorporated.
5 *
6 * All rights reserved.
7 *
8 */
9
10#==========================================================================
11# SGX Binaries
12#==========================================================================
13
14sgx.tgz a set of binaries built for SGX544.
15The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is
16now a wrapper which detects the current processor and loads the corresponding
17core specific pvrsrvinit.
18
19[DDK Version]
20 1.9@2166536
21[DDK commit ID]
22 6708c05 build: Add jacinto6 gralloc binary
23[Branch]
24 origin/1.9/j6-wip
25[Kernel modules built against]
26 Kernel Version: 3.8.y with CONFIG_MODVERSIONS=y
27
28#===========================================================================
29# Building SGX Kernel Modules
30#===========================================================================
31SGX kernel modules source is located in sgx_src/eurasia_km/
32
33Make sure kernel is built before building modules
34
35# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
36# export KERNELDIR=path_to_kernel
37
38To build for OMAP5 (SGX 544 multi core):
39# make ARCH=arm CROSS_COMPILE=arm-eabi- TARGET_PRODUCT="omap5sevm" BUILD=release TARGET_SGX=544
40
41Once the .ko is built, install it onto device (/system/lib/modules)
42
43# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/binary2_544_116_omap4430_android_release/target/
44# adb push pvrsrvkm_sgx544_116.ko /system/lib/modules/
45
46If you build the kernel module, it is highly advisable to replace the binaries
47in your device with the ones located in sgx.tgz to avoid incompatibility.
48
49Reboot device.
diff --git a/jacinto6/sgx.tgz b/jacinto6/sgx.tgz
new file mode 100644
index 0000000..e4f613f
--- /dev/null
+++ b/jacinto6/sgx.tgz
Binary files differ
diff --git a/jacinto6/sgx/Android.mk b/jacinto6/sgx/Android.mk
new file mode 100644
index 0000000..128a06d
--- /dev/null
+++ b/jacinto6/sgx/Android.mk
@@ -0,0 +1,150 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16define _add-sgx-vendor-lib
17include $$(CLEAR_VARS)
18$(if $(word 2,$1),$(error Invalid SGX module name $1))
19LOCAL_MODULE := $(basename $(notdir $1))
20LOCAL_SRC_FILES := $1
21LOCAL_MODULE_TAGS := optional
22LOCAL_MODULE_SUFFIX := $(suffix $1)
23LOCAL_MODULE_CLASS := SHARED_LIBRARIES
24LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
25LOCAL_STRIP_MODULE := false
26OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
27LOCAL_PATH := $$(img-sgx.untarred_bin)
28include $$(BUILD_SYSTEM)/base_rules.mk
29$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
30$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
31 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
32 @mkdir -p $(dir $$@)
33 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
34endef
35
36define _add-sgx-vendor-bin
37include $$(CLEAR_VARS)
38$(if $(word 2,$1),$(error Invalid SGX module name $1))
39LOCAL_MODULE := $(basename $(notdir $1))
40LOCAL_SRC_FILES := $1
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_SUFFIX := $(suffix $1)
43LOCAL_MODULE_CLASS := EXECUTABLES
44LOCAL_MODULE_PATH := $$(TARGET_OUT_VENDOR)/$(dir $1)
45LOCAL_STRIP_MODULE := false
46OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
47LOCAL_PATH := $$(img-sgx.untarred_bin)
48include $$(BUILD_SYSTEM)/base_rules.mk
49$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
50$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
51 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
52 @mkdir -p $$(dir $$@)
53 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
54endef
55
56define _add-sgx-vendor-etc
57include $$(CLEAR_VARS)
58$(if $(word 2,$1),$(error Invalid SGX module name $1))
59LOCAL_MODULE := $(basename $(notdir $1))
60LOCAL_SRC_FILES := $1
61LOCAL_MODULE_TAGS := optional
62LOCAL_MODULE_SUFFIX := $(suffix $1)
63LOCAL_MODULE_CLASS := ETC
64LOCAL_MODULE_PATH := $$(TARGET_OUT)/$(dir $1)
65LOCAL_STRIP_MODULE := false
66OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
67LOCAL_PATH := $$(img-sgx.untarred_bin)
68include $$(BUILD_SYSTEM)/base_rules.mk
69$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
70$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
71 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
72 @mkdir -p $$(dir $$@)
73 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
74endef
75
76define _add-sgx-vendor-km
77include $$(CLEAR_VARS)
78$(if $(word 2,$1),$(error Invalid SGX module name $1))
79LOCAL_MODULE := $(basename $(notdir $1))
80LOCAL_SRC_FILES := $1
81LOCAL_MODULE_TAGS := optional
82LOCAL_MODULE_SUFFIX := $(suffix $1)
83LOCAL_MODULE_CLASS := ETC
84LOCAL_MODULE_PATH := $$(TARGET_OUT)/lib/$(dir $1)
85LOCAL_STRIP_MODULE := false
86OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_ETC)
87LOCAL_PATH := $$(img-sgx.untarred_bin)
88include $$(BUILD_SYSTEM)/base_rules.mk
89$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
90$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
91 @echo "Copy $$@ <- $$(PRIVATE_SRC)"
92 @mkdir -p $$(dir $$@)
93 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@
94endef
95
96prebuilt_sgx_vendor_libs := \
97 lib/libIMGegl_SGX544_116.so \
98 lib/libglslcompiler_SGX544_116.so \
99 lib/libusc_SGX544_116.so \
100 lib/libPVRScopeServices_SGX544_116.so \
101 lib/libsrv_um_SGX544_116.so \
102 lib/hw/gralloc.jacinto6.so \
103 lib/libpvrANDROID_WSEGL_SGX544_116.so \
104 lib/libpvr2d_SGX544_116.so \
105 lib/libsrv_init_SGX544_116.so \
106 lib/egl/libGLESv1_CM_POWERVR_SGX544_116.so \
107 lib/egl/libGLESv2_POWERVR_SGX544_116.so \
108 lib/egl/libEGL_POWERVR_SGX544_116.so
109
110prebuilt_sgx_vendor_bins := \
111 bin/pvrsrvinit \
112 bin/pvrsrvctl_SGX544_116
113
114prebuilt_sgx_vendor_etc := \
115 etc/powervr.ini
116
117prebuilt_sgx_vendor_km := \
118 modules/pvrsrvkm_sgx544_116.ko
119
120prebuilt_sgx_modules := \
121 $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins) $(prebuilt_sgx_vendor_etc) $(prebuilt_sgx_vendor_km),\
122 $(notdir $(basename $(_file))))
123
124include $(CLEAR_VARS)
125LOCAL_MODULE := ti_jacinto6_sgx_libs
126LOCAL_MODULE_TAGS := optional
127LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
128include $(BUILD_PHONY_PACKAGE)
129
130$(foreach _file,$(prebuilt_sgx_vendor_libs),\
131 $(eval $(call _add-sgx-vendor-lib,$(_file))))
132
133$(foreach _file,$(prebuilt_sgx_vendor_bins),\
134 $(eval $(call _add-sgx-vendor-bin,$(_file))))
135
136$(foreach _file,$(prebuilt_sgx_vendor_etc),\
137 $(eval $(call _add-sgx-vendor-etc,$(_file))))
138
139$(foreach _file,$(prebuilt_sgx_vendor_km),\
140 $(eval $(call _add-sgx-vendor-km,$(_file))))
141
142prebuilt_sgx_modules :=
143prebuilt_sgx_vendor_libs :=
144prebuilt_sgx_vendor_bins :=
145prebuilt_sgx_vendor_etc :=
146prebuilt_sgx_vendor_km :=
147_add-sgx-vendor-lib :=
148_add-sgx-vendor-bin :=
149_add-sgx-vendor-etc :=
150_add-sgx-vendor-km :=
diff --git a/jacinto6/ti-jacinto6-vendor.mk b/jacinto6/ti-jacinto6-vendor.mk
new file mode 100644
index 0000000..1bb1d16
--- /dev/null
+++ b/jacinto6/ti-jacinto6-vendor.mk
@@ -0,0 +1,20 @@
1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# This lists the packages that are necessary to build a device using
17# the Texas Instruments OMAP 54xx series SoCs
18
19PRODUCT_PACKAGES += \
20 ti_jacinto6_sgx_libs
diff --git a/omap5/README.SGX b/omap5/README.SGX
index 667ef3b..7c833be 100644
--- a/omap5/README.SGX
+++ b/omap5/README.SGX
@@ -19,9 +19,11 @@ core specific pvrsrvinit.
19[DDK Version] 19[DDK Version]
20 1.9@2166536 20 1.9@2166536
21[DDK commit ID] 21[DDK commit ID]
22 084d3db SGX-KM: sgxfreq: Enable on3demand governor as default 22 250e6f5 SGX-UM: Creating two fb instances for JB MR1.
23[Branch] 23[Branch]
24 origin/1.9/2166536 24 origin/1.9/hwc1.1
25[DDK Tag]
26 1.9IMG2166536_TI.0006
25[Kernel modules built against] 27[Kernel modules built against]
26 Kernel Version: 3.4.9 with CONFIG_MODVERSIONS=y 28 Kernel Version: 3.4.9 with CONFIG_MODVERSIONS=y
27 29
@@ -40,8 +42,8 @@ To build for OMAP5 (SGX 544 multi core):
40 42
41Once the .ko is built, install it onto device (/system/lib/modules) 43Once the .ko is built, install it onto device (/system/lib/modules)
42 44
43# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/binary2_544_105_omap4430_android_release/target/ 45# cd ANDROID_ROOT/device/ti/proprietary-open/omap5/sgx_src/eurasia_km/eurasiacon/binary2_544_116_omap4430_android_release/target/
44# adb push pvrsrvkm_sgx544_105.ko /system/lib/modules/ 46# adb push pvrsrvkm_sgx544_116.ko /system/lib/modules/
45 47
46If you build the kernel module, it is highly advisable to replace the binaries 48If you build the kernel module, it is highly advisable to replace the binaries
47in your device with the ones located in sgx.tgz to avoid incompatibility. 49in your device with the ones located in sgx.tgz to avoid incompatibility.
diff --git a/omap5/ducati_full_omap5panda.tgz b/omap5/ducati_full_omap5panda.tgz
index 177801e..515e304 100644
--- a/omap5/ducati_full_omap5panda.tgz
+++ b/omap5/ducati_full_omap5panda.tgz
Binary files differ
diff --git a/omap5/sgx.tgz b/omap5/sgx.tgz
index aee1a04..19a85ce 100644
--- a/omap5/sgx.tgz
+++ b/omap5/sgx.tgz
Binary files differ