diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-19 13:17:31 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-01-19 13:19:30 +0530 |
commit | a4ef527c284d86974eff466772be8393dfa82f3b (patch) | |
tree | 9549829c84b79e71bd181cdac479c56c6a2d21e2 | |
parent | 8129d0a416d61c9d6ff706b9038c8019966120ed (diff) |
prepare-device.sh: EAS mode added
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | prepare-device.sh | 22 | ||||
-rw-r--r-- | templates/a53_only_bbench_audio.yaml | 10 | ||||
-rw-r--r-- | templates/a57_only_bbench_audio.yaml | 10 |
3 files changed, 39 insertions, 3 deletions
diff --git a/prepare-device.sh b/prepare-device.sh index 8d9f3b2..a1a5815 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -24,25 +24,29 @@ set -e echo "Preparing device for mode: $1" -if [ $1 == 'a53only' ] +if [ $1 == 'a53_only' ] then IPADDR=`cat IPADDR` + adb root adb connect $IPADDR:5555 adb devices echo "Waiting for device" adb wait-for-device + adb devices echo "Disable A57 cluster" adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu4/online" adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu5/online" fi -if [ $1 == 'a57only' ] +if [ $1 == 'a57_only' ] then IPADDR=`cat IPADDR` + adb root adb connect $IPADDR:5555 adb devices echo "Waiting for device" adb wait-for-device + adb devices echo "Disable A53 cluster" adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu0/online" adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu1/online" @@ -53,7 +57,19 @@ fi if [ $1 == 'hmp' ] then IPADDR=`cat IPADDR` - adb root + adb root + adb connect $IPADDR:5555 + adb devices + echo "Waiting for device" + adb remount + adb wait-for-device + adb devices +fi + +if [ $1 == 'eas' ] +then + IPADDR=`cat IPADDR` + adb root adb connect $IPADDR:5555 adb devices echo "Waiting for device" diff --git a/templates/a53_only_bbench_audio.yaml b/templates/a53_only_bbench_audio.yaml new file mode 100644 index 0000000..efeecf0 --- /dev/null +++ b/templates/a53_only_bbench_audio.yaml @@ -0,0 +1,10 @@ +config: + device: Juno + run_name: big.LITTLE_Workloads_regression +global: + iterations: 1 +sections: + - id: a53_only +workloads: + - id: w01 + name: bbench_with_audio diff --git a/templates/a57_only_bbench_audio.yaml b/templates/a57_only_bbench_audio.yaml new file mode 100644 index 0000000..f718e62 --- /dev/null +++ b/templates/a57_only_bbench_audio.yaml @@ -0,0 +1,10 @@ +config: + device: Juno + run_name: big.LITTLE_Workloads_regression +global: + iterations: 1 +sections: + - id: a57_only +workloads: + - id: w01 + name: bbench_with_audio |