diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-12 10:45:33 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-12 10:45:33 +0100 |
commit | f3f09cdba254a6985804f8cf7895490bb2caf245 (patch) | |
tree | 7cc4b923c7a4cdee09ee81ce3126ee1d56e4274b /ROMFS | |
parent | ecd88f732864fbdf667e9623d721cf4561d42ec7 (diff) | |
download | px4-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/rcS | 49 |
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 |