aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-12 10:45:33 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-12 10:45:33 +0100
commitf3f09cdba254a6985804f8cf7895490bb2caf245 (patch)
tree7cc4b923c7a4cdee09ee81ce3126ee1d56e4274b /ROMFS
parentecd88f732864fbdf667e9623d721cf4561d42ec7 (diff)
downloadpx4-firmware-f3f09cdba254a6985804f8cf7895490bb2caf245.tar.gz
px4-firmware-f3f09cdba254a6985804f8cf7895490bb2caf245.tar.bz2
px4-firmware-f3f09cdba254a6985804f8cf7895490bb2caf245.zip
Only boot a minimal test system which works
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_test/init.d/rcS49
1 files changed, 25 insertions, 24 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS
index e49acb62f..a084aded5 100644
--- a/ROMFS/px4fmu_test/init.d/rcS
+++ b/ROMFS/px4fmu_test/init.d/rcS
@@ -44,30 +44,31 @@ then
echo "PX4IO OK"
fi
-if px4io checkcrc $io_file
-then
- echo "PX4IO CRC OK"
-else
- echo "PX4IO CRC failure"
- tone_alarm MBABGP
- if px4io forceupdate 14662 $io_file
- then
- usleep 500000
- if px4io start
- then
- echo "PX4IO restart OK"
- tone_alarm MSPAA
- else
- echo "PX4IO restart failed"
- tone_alarm MNGGG
- sleep 5
- reboot
- fi
- else
- echo "PX4IO update failed"
- tone_alarm MNGGG
- fi
-fi
+# Do not start IO until its operational
+#if px4io checkcrc $io_file
+#then
+# echo "PX4IO CRC OK"
+#else
+# echo "PX4IO CRC failure"
+# tone_alarm MBABGP
+# if px4io forceupdate 14662 $io_file
+# then
+# usleep 500000
+# if px4io start
+# then
+# echo "PX4IO restart OK"
+# tone_alarm MSPAA
+# else
+# echo "PX4IO restart failed"
+# tone_alarm MNGGG
+# sleep 5
+# reboot
+# fi
+# else
+# echo "PX4IO update failed"
+# tone_alarm MNGGG
+# fi
+#fi
#
# The presence of this file suggests we're running a mount stress test