blob: 6a6c9769e00f96c7615d09924a09d49352c01d00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#==========================================================================
# 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.9RC2@2139099
[DDK commit ID]
14f82bb SGX KM: ShrinkPagePool statistics changed to PVR_DBG_MESSAGE
[Branch]
origin/1.9/RC2
[Kernel modules built against]
Kernel Version: 3.0.31 with CONFIG_MODVERSIONS=y and CONFIG_SCHED_TRACER=y
This DDK require kernel patch for bltsville update header to 2.2
http://review.omapzoom.org/#/c/26780/
This kernel also now has omaplfb added to it:
commit b49820dbb7d5851101136e8e27210cb410fc9822
Author: Hemant Hariyani <hemanthariyani@ti.com>
Date: Thu Jul 26 14:16:53 2012 -0500
omaplfb: Add omaplfb to the kernel tree
omaplfb has dependencies on several kernel components and it will
be easier to maintain it in the kernel tree.
Sync'd to DDK omaplfb patch:
omaplfb: Allocate a clear buffer with 8 pixel stride per GC requirement
#==========================================================================
# 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/
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/
Reboot device.
|