]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/device-ti-proprietary-open.git/blob - omap4/README.SGX
SGX-BIN: SGX Driver (1.8@869593) with CPCAM support
[android-sdk/device-ti-proprietary-open.git] / omap4 / README.SGX
1 SGX Binaries
3 sgx.tgz now contains two sets of binaries. One built for SGX540 and one built for SGX544.
4 The SGXCORE and SGC_CORE_REV is appended to the end of each file. pvrsrvinit is now a
5 wrapper which detects the current processor and loads the corresponding core specific
6 pvrsrvinit.
8 [DDK Version]
9 1.8@869593
10 DDK commit ID: 0b64ae8e73bc72ed5aff7624bd465d173018ca57
11 Branch: remotes/origin/ti_ics_1.8
12 Kernel modules built against:
13 Kernel Version: 3.0.21-00003-OMAP-Android
15 #==========================================================================
16 #   Cloning instructions
17 #==========================================================================
18 # git clone ssh://<your_AID>@gerrit.ext.ti.com:29418/img-ddk-linux-android
19 # cd img-ddk-linux-android
20 # git checkout -b <local_branch_name> DDKcommitID
22 #===========================================================================
23 #   Build and Install Instructions
24 #===========================================================================
25 DDK:
26 - Building DDK
27 Go through README in ddk source tree.
29 Build for 4430/4460
30 # ./build_DDK.sh -g 540 --build release
32 Build for 4470
33 # ./build_DDK.sh -g 544sc --build release
35 - Installing DDK
36 # export DISCIMAGE=<PATH TO ANDROID ROOT DIRECTORY>
37 # ./build_DDK.sh -g 540 --install release
38 # ./build_DDK.sh -g 544sc --install release
40 #===========================================================================
41 #   Building SGX Kernel Modules
42 #===========================================================================
43 SGX kernel modules source is located in sgx_src/eurasia_km.tgz
45 Make sure kernel is built before building modules
47 #tar -xvf ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km.tgz
49 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/build/linux2/omap4430_android/
50 # export KERNELDIR=path_to_kernel
52 To build for OMAP4460/OMAP4430 (SGX 540):
53 # make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
55 To build for OMAP4470 (SGX 544 single core):
56 # make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=544sc PLATFORM_VERSION=4.0
58 Once the .ko's are built, install them onto device (/system/lib/modules)
60 For 4460:
61 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_540_120_omap4430_android_release/target/
62 # adb push pvrsrvkm_sgx540_120.ko /system/lib/modules/
63 # adb push omaplfb_sgx540_120.ko /system/lib/modules/
65 For 4470
66 # cd ANDROID_ROOT/device/ti/proprietary-open/omap4/sgx_src/eurasia_km/eurasiacon/binary2_544_120_omap4430_android_release/target/
67 # adb push pvrsrvkm_sgx544_112.ko /system/lib/modules/
68 # adb push omaplfb_sgx544_112.ko /system/lib/modules/
70 Reboot device.