Confirmed users
1,364
edits
m (update tegra download link) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
** I extracted this into <tt>~/android-tegra/android-sdk-linux_86</tt> | ** I extracted this into <tt>~/android-tegra/android-sdk-linux_86</tt> | ||
** run tools/android and install the Android Repository -> SDK Platform Android 2.2 and Android Repository -> Android SDK Platform-tools | ** run tools/android and install the Android Repository -> SDK Platform Android 2.2 and Android Repository -> Android SDK Platform-tools | ||
* Download the [http:// | * Download the [http://developer.nvidia.com/node/19086 Tegra Android 2.2]. The PDF is helpful; you need the RUN file. | ||
** I installed this into <tt>~/android-tegra/tegra_froyo_20101105</tt> | ** I installed this into <tt>~/android-tegra/tegra_froyo_20101105</tt> | ||
* sudo yum install telnet wget | * sudo yum install telnet wget | ||
Line 45: | Line 45: | ||
#!/bin/sh -e | #!/bin/sh -e | ||
APK_LIST=" | APK_LIST="SUTAgentAndroidBob26.apk Watcher26.apk FenCP25.apk FfxCP25.apk" | ||
BASEPORT=42000 | BASEPORT=42000 | ||
Line 61: | Line 61: | ||
TEGRANUM=`echo $TEGRANAME | sed -e s/tegra-//` | TEGRANUM=`echo $TEGRANAME | sed -e s/tegra-//` | ||
PORT=`expr 42000 + $TEGRANUM` | PORT=`expr 42000 + $TEGRANUM` | ||
Line 76: | Line 75: | ||
fi | fi | ||
echo "Server $SUTSERVER Port $PORT" | echo "Associating $TEGRANAME with Server $SUTSERVER Port $PORT" | ||
cd ../SUT | cd ../SUT | ||
Line 90: | Line 89: | ||
adb shell chmod 777 /data/data/com.mozilla.SUTAgentAndroid/files | adb shell chmod 777 /data/data/com.mozilla.SUTAgentAndroid/files | ||
cat watcher.ini.tmpl | sed -e "s/\(PingTarget *= *\).*$/\1$SUTSERVER/" > tmpfile | cat watcher.ini.tmpl | sed -e "s/\(PingTarget *= *\).*$/\1$SUTSERVER/" > tmpfile | ||
adb push tmpfile /data/data/com.mozilla.watcher/files/watcher.ini | adb push tmpfile /data/data/com.mozilla.watcher/files/watcher.ini | ||
adb shell chmod 777 /data/data/com.mozilla.watcher/files | adb shell chmod 777 /data/data/com.mozilla.watcher/files | ||
Line 100: | Line 98: | ||
#adb shell setprop persist.tegra.dpy5.mode.height 1050 | #adb shell setprop persist.tegra.dpy5.mode.height 1050 | ||
# VGA/CRT | # VGA/CRT | ||
adb shell setprop persist.tegra.dpy3.mode.width 1680 | #adb shell setprop persist.tegra.dpy3.mode.width 1680 | ||
adb shell setprop persist.tegra.dpy3.mode.height 1050 | #adb shell setprop persist.tegra.dpy3.mode.height 1050 | ||
rm tmpfile | rm tmpfile | ||
echo "##########" | |||
echo "$TEGRANAME associated with server $SUTSERVER Port $PORT" | echo "$TEGRANAME associated with server $SUTSERVER Port $PORT" | ||
echo "Set Development -> Stay Awake on the tegra," | echo "Set Development -> Stay Awake on the tegra," | ||
Create an SUTAgent.ini.tmpl | Create an SUTAgent.ini.tmpl |