aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2014-03-25 01:42:35 +0530
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-03-25 10:44:00 +0000
commitbb01859ce81bb8e8a7dbd139cb352c2095648861 (patch)
tree69875212e7ee208a451cc4ebb3500723a10183b7
parent0c618185ed0c7693e749628adb3cc7b68a21f12f (diff)
README: Install WAv2 updated
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--README69
1 files changed, 68 insertions, 1 deletions
diff --git a/README b/README
index bed10f4..d944dfa 100644
--- a/README
+++ b/README
@@ -87,7 +87,74 @@ Filesystem & software Requirements:
WAv2-in-LAVA uses adb over ethernet. WAv2 supports adb over ethernet since version 2.1.4. In order to point WAv2 to correct device config.py file needs to have correct contents. Since config.py is a part of WAv2 and is restricted by the license, it is not available as a part of this git repository. config.py template has to be located in /root/templates/ directory. The template has to have entry for adb_name as $ipaddr. The template is copied to the job directory when LAVA job is started on host and $ipaddr is replaced with correct value of targer IP address.
-* WAv2 installed - TODO
+Install WAv2 on dummy-ssh
+=========================
+Get Workload Automation sources from below link. (check for access permission to below repo before you clone)
+git clone ssh://user-name@linaro-private.git.linaro.org/srv/landing-teams.git.linaro.org/arm-wa2/wa2
+this clone downloads a file called "wlauto-2.1.4dev-external.sh"
+$ sudo sh wlauto-2.1.4dev-external.sh
+
+Accept agreement and follow the instruction from RELEASE_README
+$ pip install wlauto-2.1.4dev.tar.gz
+
+Quick-view:
+-----------
+- Install SDK build-tools under /usr/
+Android expects aapt to be installed under /usr/build-tools/<Android-version>/aapt
+
+- Install latest adb
+Workload Automation connects target device via adb over ethernet. So latest adb is required.
+
+- Install pre-requirements
+------------------------------------
+apt-get install python-pip
+apt-get install python-dev
+apt-get install python-pexpect (possibly don't need this)
+apt-get install python-serial
+apt-get install python-imaging
+apt-get install libc6:i386
+apt-get install zlib1g:i386
+apt-get install libstdc++6:i386
+
+-Install bbench, Audio and third-party benchmarks
+Workload automation expects packages to be available on dummy-ssh server.
+please refer "APK Files" section
+$ ls .workload_automation/dependencies/bbench/
+bbench.js exit.html forms.js index.html index_noinput.html mich_engin.png results.html sites
+
+$ ls .workload_automation/dependencies/Canon_in_D_Piano.mp3
+.workload_automation/dependencies/Canon_in_D_Piano.mp3
+
+$ find /usr/local/lib/python2.7/dist-packages/wlauto/workloads/* | grep apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/andebench/andebench-release.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/antutu/antutu_benchmark_4.0.3.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/benchmarkpi/gr.androiddev.BenchmarkPi-1.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/caffeinemark/com.flexycore.caffeinemark_9.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/cfbench/eu.chainfire.cfbench.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/geekbench/com.primatelabs.geekbench3.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/linpack/com.greenecomputing.linpackpro-1.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/quadrant/com.aurorasoftworks.quadrant.ui.professional-1.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/smartbench/com.smartbench.twelve-1.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/sqlite/com.redlicense.benchmark.sqlite-1.apk
+/usr/local/lib/python2.7/dist-packages/wlauto/workloads/vellamo/com.quicinc.vellamo.apk
+
+Run WAv2 on dummy-ssh
+=====================
+Running workload automation will be taken care by run-workload.sh files
+
+Note:
+------
+config.py is having reboot policy as never.
+Because rebooting of target will be taken care by LAVA.
+
+Note: Default config.py is available under ~/.workload_automation/config.py
+
+Debug mode:
+$ run_workloads some-agenda-file.yaml -v -d output_dir -c config.py
+
+Please refer example agenda
+/usr/local/lib/python2.7/dist-packages/wlauto/agenda_example.yaml
+
* other? TODO
WAv2 uses the LAVA dummy-ssh device-type, an SSH connection to an external device that can be controlled by LAVA.