aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-28 00:07:37 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-01-28 00:07:37 +0530
commit8bc33ef28e874f4634d442514c491135f0e03ac4 (patch)
treef7e8abfb2a3fdee74630ebad8e100da0623ae764
parenteac7b07671e51c725247f4f55fc6b57d71fcbb19 (diff)
adb root and adb remount or with true
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xprepare-device.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/prepare-device.sh b/prepare-device.sh
index a1a5815..4730d8e 100755
--- a/prepare-device.sh
+++ b/prepare-device.sh
@@ -27,10 +27,11 @@ echo "Preparing device for mode: $1"
if [ $1 == 'a53_only' ]
then
IPADDR=`cat IPADDR`
- adb root
+ adb root | true
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
+ adb remount | true
adb wait-for-device
adb devices
echo "Disable A57 cluster"
@@ -41,10 +42,11 @@ fi
if [ $1 == 'a57_only' ]
then
IPADDR=`cat IPADDR`
- adb root
+ adb root | true
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
+ adb remount | true
adb wait-for-device
adb devices
echo "Disable A53 cluster"
@@ -57,11 +59,11 @@ fi
if [ $1 == 'hmp' ]
then
IPADDR=`cat IPADDR`
- adb root
+ adb root | true
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
- adb remount
+ adb remount | true
adb wait-for-device
adb devices
fi
@@ -69,11 +71,11 @@ fi
if [ $1 == 'eas' ]
then
IPADDR=`cat IPADDR`
- adb root
+ adb root | true
adb connect $IPADDR:5555
adb devices
echo "Waiting for device"
- adb remount
+ adb remount | true
adb wait-for-device
adb devices
fi