diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-17 00:03:53 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-17 00:03:53 +0530 |
commit | 19996a673094c316335c065d85d266d3665e45b2 (patch) | |
tree | 4416d0a463b51b871a939e674da5e9c5c9818bd5 | |
parent | a0d5116832456dc61947f2d90f200499ea55902b (diff) |
prepare device for hmp mode
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | prepare-device.sh | 10 | ||||
-rw-r--r-- | wa2host-juno.yaml | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/prepare-device.sh b/prepare-device.sh index 16b0e89..e403718 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -50,4 +50,14 @@ then adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu3/online" fi +if [ $1 == 'hmp' ] +then + IPADDR=`cat IPADDR` + adb connect $IPADDR:5555 + adb devices + echo "Waiting for device" + adb wait-for-device + adb devices +fi + exit 0 diff --git a/wa2host-juno.yaml b/wa2host-juno.yaml index d894af1..5cf0116 100644 --- a/wa2host-juno.yaml +++ b/wa2host-juno.yaml @@ -22,8 +22,8 @@ run: - lava-test-case step1-$SIGNAL_PREFIX-copy-templates --shell cp /root/templates/config-juno.py templates/ - lava-test-case step2-$SIGNAL_PREFIX-prepare-agenda --shell ./prepare-agenda.py --agenda $AGENDA --job-name $JOB_NAME - lava-test-case step3-$SIGNAL_PREFIX-wait-for-ip --shell lava-wait $SIGNAL_PREFIX-send-ip - - lava-test-case step4-$SIGNAL_PREFIX-kill-adb-server --shell adb kill-server - - lava-test-case step5-$SIGNAL_PREFIX-start-adb-server --shell adb start-server + # - lava-test-case step4-$SIGNAL_PREFIX-kill-adb-server --shell adb kill-server + # - lava-test-case step5-$SIGNAL_PREFIX-start-adb-server --shell adb start-server - lava-test-case step6-$SIGNAL_PREFIX-prepare-config --shell ./prepare-config.py --prefix $SIGNAL_PREFIX - lava-test-case step7-$SIGNAL_PREFIX-prepare-device --shell ./prepare-device.sh $MODE - lava-test-case step8-$SIGNAL_PREFIX-run-workload --shell ./run-workload.sh $AGENDA $JOB_NAME |