SGX-BIN: SGX Driver (1.8@869593) with CPCAM support
authorTate Hornbeck <tate.hornbeck@ti.com>
Mon, 21 May 2012 17:35:49 +0000 (12:35 -0500)
committerTate Hornbeck <tate.hornbeck@ti.com>
Wed, 23 May 2012 17:37:56 +0000 (12:37 -0500)
This SGX binary package has all necessary CPCAM
patches included. A new README.SGX is now located
in device/ti/proprietary-open/omap4 with the commit
id and branch that these binaries were built from.
The SGX kernel side source has now moved to
sgx_src/eurasia_km.tgz.

Change-Id: I57288feaa4e5eb95d651931db9cc8e6000a38db8
Signed-off-by: Tate Hornbeck <tate.hornbeck@ti.com>
omap4/README.SGX [new file with mode: 0644]
omap4/sgx.tgz
omap4/sgx_src/eurasia_km.tgz [new file with mode: 0644]

diff --git a/omap4/README.SGX b/omap4/README.SGX
new file mode 100644 (file)
index 0000000..d946edc
--- /dev/null
@@ -0,0 +1,70 @@
+SGX Binaries
+
+sgx.tgz now contains two sets of binaries. One built for SGX540 and one built for SGX544.
+The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is now a
+wrapper which detects the current processor and loads the corresponding core specific
+pvrsrvinit.
+
+[DDK Version]
+1.8@869593
+DDK commit ID: 0b64ae8e73bc72ed5aff7624bd465d173018ca57
+Branch: remotes/origin/ti_ics_1.8
+Kernel modules built against:
+Kernel Version: 3.0.21-00003-OMAP-Android
+
+#==========================================================================
+#   Cloning instructions
+#==========================================================================
+# git clone ssh://<your_AID>@gerrit.ext.ti.com:29418/img-ddk-linux-android
+# cd img-ddk-linux-android
+# git checkout -b <local_branch_name> DDKcommitID
+
+#===========================================================================
+#   Build and Install Instructions
+#===========================================================================
+DDK:
+- Building DDK
+Go through README in ddk source tree.
+
+Build for 4430/4460
+# ./build_DDK.sh -g 540 --build release
+
+Build for 4470
+# ./build_DDK.sh -g 544sc --build release
+
+- Installing DDK
+# export DISCIMAGE=<PATH TO ANDROID ROOT DIRECTORY>
+# ./build_DDK.sh -g 540 --install release
+# ./build_DDK.sh -g 544sc --install release
+
+#===========================================================================
+#   Building SGX Kernel Modules
+#===========================================================================
+SGX kernel modules source is located in sgx_src/eurasia_km.tgz
+
+Make sure kernel is built before building modules
+
+#tar -xvf ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km.tgz
+
+# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
+# export KERNELDIR=path_to_kernel
+
+To build for OMAP4460/OMAP4430 (SGX 540):
+# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
+
+To build for OMAP4470 (SGX 544 single core):
+# make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=544sc PLATFORM_VERSION=4.0
+
+Once the .ko's are built, install them onto device (/system/lib/modules)
+
+For 4460:
+# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_540_120_omap4430_android_release/target/
+# adb push pvrsrvkm_sgx540_120.ko /system/lib/modules/
+# adb push omaplfb_sgx540_120.ko /system/lib/modules/
+
+For 4470
+# cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_544_120_omap4430_android_release/target/
+# adb push pvrsrvkm_sgx544_112.ko /system/lib/modules/
+# adb push omaplfb_sgx544_112.ko /system/lib/modules/
+
+Reboot device.
index 0304e01c84daf95dacd1578cac8b7703dc24d3d9..3973de5e7820575a86269be033a4c2cd5e920074 100644 (file)
Binary files a/omap4/sgx.tgz and b/omap4/sgx.tgz differ
diff --git a/omap4/sgx_src/eurasia_km.tgz b/omap4/sgx_src/eurasia_km.tgz
new file mode 100644 (file)
index 0000000..1de17f3
Binary files /dev/null and b/omap4/sgx_src/eurasia_km.tgz differ