From 6776aea2f8bed4ca0d50c98c1f8075d8052f19a5 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Tue, 15 Sep 2015 19:22:24 +0530 Subject: prepare-device.sh: update cpu number for a15 and a7 modes With latest 3.18 kernel the CPU number have been changed. This patch will fix CPU numbers for a15 and a7 mode runs. Change-Id: I3b30d1076fd5d6e08ab97990765bfa55d545209d Signed-off-by: Naresh Kamboju --- prepare-device.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prepare-device.sh b/prepare-device.sh index 4959ebf..b56b688 100755 --- a/prepare-device.sh +++ b/prepare-device.sh @@ -55,8 +55,8 @@ then echo "Waiting for device" adb wait-for-device echo "Disable A15 cluster" - adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu3/online" - adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu4/online" + adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu1/online" + adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu2/online" fi if [ $1 == 'a15only' ] @@ -68,8 +68,8 @@ then adb wait-for-device echo "Disable A7 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" - adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu2/online" + adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu3/online" + adb -s $IPADDR:5555 shell "echo 0 > /sys/devices/system/cpu/cpu4/online" fi if [ $1 == 'a53only' ] -- cgit v1.2.3