summaryrefslogtreecommitdiffstats
path: root/micromonitor/diagnostics/appboot
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 13:19:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 13:19:57 +0000
commit262dbf632e16046a9f6a84632a4928389b5a831e (patch)
treebbc0d947e65e687648e930b1981d06ac06d27326 /micromonitor/diagnostics/appboot
parent2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-examples-262dbf632e16046a9f6a84632a4928389b5a831e.tar.bz2
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* diagnostics/README: Add uMon script. * diagnostics/appboot: New file.
Diffstat (limited to '')
-rw-r--r--micromonitor/diagnostics/appboot12
1 files changed, 12 insertions, 0 deletions
diff --git a/micromonitor/diagnostics/appboot b/micromonitor/diagnostics/appboot
new file mode 100644
index 0000000..6b369b2
--- /dev/null
+++ b/micromonitor/diagnostics/appboot
@@ -0,0 +1,12 @@
+# TOP:
+set DIAGNOSTICS_RESULT # clear this variable
+diagnostics
+if $DIAGNOSTICS_RESULT sne PASS goto FIX_ME_NOW
+echo "Diagnostics passed, running RTEMS Application
+ether off
+rtemsapp # RTEMS app does not exit
+goto TOP
+
+# FIX_ME_NOW:
+echo "Diagnostics failed, please call FIX-A-BOARD"
+goto TOP # repeat