1 #==========================================================================
2 # SGX Binaries
3 #==========================================================================
5 sgx.tgz now contains two sets of binaries. One built for SGX540 and one built for SGX544.
6 The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is now a
7 wrapper which detects the current processor and loads the corresponding core specific
8 pvrsrvinit.
10 [DDK Version]
11 1.9@2120756
12 [DDK commit ID]
13 18545f4 SGX UM: HACK: add extra read in SGXInitialise Script 1
14 [Branch]
15 1.9/2120756
16 [Kernel modules built against]
17 Kernel Version: 3.0.31 with CONFIG_MODVERSIONS=y and CONFIG_SCHED_TRACER=y
19 This kernel also now has omaplfb added to it:
21 commit b49820dbb7d5851101136e8e27210cb410fc9822
22 Author: Hemant Hariyani <hemanthariyani@ti.com>
23 Date: Thu Jul 26 14:16:53 2012 -0500
25 omaplfb: Add omaplfb to the kernel tree
27 omaplfb has dependencies on several kernel components and it will
28 be easier to maintain it in the kernel tree.
30 Sync'd to DDK omaplfb patch:
31 omaplfb: Allocate a clear buffer with 8 pixel stride per GC requirement
33 #==========================================================================
34 # Cloning instructions
35 #==========================================================================
36 # git clone ssh://<your_AID>@gerrit.ext.ti.com:29418/img-ddk-linux-android
37 # cd img-ddk-linux-android
38 # git checkout -b <local_branch_name> DDKcommitID
40 #===========================================================================
41 # Build and Install Instructions
42 #===========================================================================
43 DDK:
44 - Building DDK
45 Go through README in ddk source tree.
47 Build for 4430/4460
48 # ./build_DDK.sh -g 540 --build release
50 Build for 4470
51 # ./build_DDK.sh -g 544sc --build release
53 - Installing DDK
54 # export DISCIMAGE=<PATH TO ANDROID ROOT DIRECTORY>
55 # ./build_DDK.sh -g 540 --install release
56 # ./build_DDK.sh -g 544sc --install release
58 #===========================================================================
59 # Building SGX Kernel Modules
60 #===========================================================================
61 SGX kernel modules source is located in sgx_src/eurasia_km.tgz
63 Make sure kernel is built before building modules
65 #tar -xvf ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km.tgz
67 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
68 # export KERNELDIR=path_to_kernel
70 To build for OMAP4460/OMAP4430 (SGX 540):
71 # make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
73 To build for OMAP4470 (SGX 544 single core):
74 # make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=544sc PLATFORM_VERSION=4.0
76 Once the .ko's are built, install them onto device (/system/lib/modules)
78 For 4460:
79 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_540_120_omap4430_android_release/target/
80 # adb push pvrsrvkm_sgx540_120.ko /system/lib/modules/
82 For 4470
83 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_544_120_omap4430_android_release/target/
84 # adb push pvrsrvkm_sgx544_112.ko /system/lib/modules/
86 Reboot device.