aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprepare-device.sh8
1 files 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' ]