summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-10-29 08:49:31 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2016-11-21 08:56:35 +0800
commit680823ce555dd3a21e7efca46a79c065ecd35f66 (patch)
tree3a33f8ee0aea9682bbd8e28ca44e8a15b42248c4
parent4b8412d13a3f0500dd9a737178793ad186930b30 (diff)
qcom: extractors: Add msm8960 graphics list
From flo mob30x. Change-Id: Id0c78000b1cb11328f691cd814459606f79c64a7
-rw-r--r--extractors/README.md6
-rw-r--r--extractors/graphics-msm8960.txt18
-rwxr-xr-xextractors/setup-makefiles.sh19
3 files changed, 42 insertions, 1 deletions
diff --git a/extractors/README.md b/extractors/README.md
index 99d2264..12ca64d 100644
--- a/extractors/README.md
+++ b/extractors/README.md
@@ -4,22 +4,26 @@ Binary makefile generation scripts
## Graphics:
### Branch compiled from:
msm8916: LA.BR.1.2.6_rb1.7
+msm8960: N/A<sup>[2](#floEGL)</sup>
msm8974: LA.BF.1.1.3_rb1.5
msm8992: assumed<sup>[1](#googleEGL)</sup> LA.BF64.1.2.3_rb1.2
msm8994: assumed<sup>[1](#googleEGL)</sup> LA.BF64.1.2.3_rb1.2
msm8996: LA.UM.5.5_rb1.10
### Origins:
msm8916: 6.0.1 blobs from kipper/crackling
+msm8960: 6.0.1 blobs from flo mob30x
msm8974: 6.0.1 blobs from bacon
msm8992: 7.0 blobs from bullhead nrd90s
msm8994: 7.0 blobs from angler nrd90u
msm8996: 7.0 blobs from gemini 6.10.13 nrd90m
### Min kernel patch level required:
msm8916: Any 5.0+ kernel
+msm8960: Patched kgsl up to android-msm-flo-3.4-marshmallow-mr2
msm8974: Any 5.1+ kernel
msm8992: Any 6.0+ kernel
msm8994: Any 6.0+ kernel
msm8996: Patched mdss/kgsl up to LA.UM.5.5.r1-00100-8x96.0
### Notes:
-<a name="googleEGL">1</a>: Google likes to strip QUIC branches from their shipped binaries so we can't really know which branch they originate from
+<a name="googleEGL">1</a>: Google likes to strip QUIC branches from their shipped binaries so we can't really know which branch they originate from
+<a name="floEGL">2</a>: On top of what's stated in footnote 1, flo's drivers deviate greatly from those of any CAF branch
diff --git a/extractors/graphics-msm8960.txt b/extractors/graphics-msm8960.txt
new file mode 100644
index 0000000..944a156
--- /dev/null
+++ b/extractors/graphics-msm8960.txt
@@ -0,0 +1,18 @@
+# Graphics
+vendor/lib/egl/eglsubAndroid.so
+vendor/lib/egl/libEGL_adreno.so
+vendor/lib/egl/libGLESv1_CM_adreno.so
+vendor/lib/egl/libGLESv2_adreno.so
+vendor/lib/egl/libq3dtools_adreno.so
+vendor/lib/libadreno_utils.so
+vendor/lib/libbccQTI.so
+vendor/lib/libC2D2.so
+vendor/lib/libCB.so
+vendor/lib/libc2d30-a3xx.so
+vendor/lib/libgsl.so
+vendor/lib/libllvm-qcom.so
+vendor/lib/libRSDriver_adreno.so
+vendor/lib/librs_adreno.so
+vendor/lib/librs_adreno_sha1.so
+vendor/lib/libsc-a3xx.so
+vendor/lib/libuiblur.so
diff --git a/extractors/setup-makefiles.sh b/extractors/setup-makefiles.sh
index a39588d..da84d36 100755
--- a/extractors/setup-makefiles.sh
+++ b/extractors/setup-makefiles.sh
@@ -59,6 +59,25 @@ printf '\n%s\n' "endif" >> "$PRODUCTMK"
# We are done!
write_footers
+PLATFORM=msm8960
+SUBSYSTEM=graphics
+
+# Initialize the helper
+setup_vendor "$DEVICE/$PLATFORM/$SUBSYSTEM" "$VENDOR" "$CM_ROOT" true true $SUBSYSTEM
+
+# Copyright headers and guards
+write_headers $PLATFORM TARGET_BOARD_PLATFORM
+
+# Qualcomm BSP blobs - we put a conditional around here
+# in case the BSP is actually being built
+printf '\n%s\n' "ifeq (\$(QCPATH),)" >> "$PRODUCTMK"
+
+write_makefiles "$MY_DIR"/"$SUBSYSTEM-$PLATFORM".txt
+
+echo "endif" >> "$PRODUCTMK"
+
+# We are done!
+write_footers
PLATFORM=msm8974
SUBSYSTEM=graphics