aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtensorflow/contrib/makefile/samples/build_and_run_inception_hexagon.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/contrib/makefile/samples/build_and_run_inception_hexagon.sh b/tensorflow/contrib/makefile/samples/build_and_run_inception_hexagon.sh
index 7201ea1154..3d72247cd8 100755
--- a/tensorflow/contrib/makefile/samples/build_and_run_inception_hexagon.sh
+++ b/tensorflow/contrib/makefile/samples/build_and_run_inception_hexagon.sh
@@ -51,6 +51,11 @@ if [[ "${BUILD_ONLY}" != "true" ]]; then
echo "adb is not in your path ${PATH}."
exit 1
fi
+ if ! adb shell ls /system/lib/rfsa/adsp/testsig* >/dev/null 2>&1; then
+ echo "test signature not found. Unlock your phone first"
+ echo "See ${QUALCOMM_SDK}/tools/elfsigner/README.txt"
+ exit 1
+ fi
fi
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"