]> rtime.felk.cvut.cz Git - novaboot.git/commit
Do not run amtterm only after reset and get rid of sleep()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 19 Feb 2014 06:49:18 +0000 (07:49 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 19 Feb 2014 06:49:18 +0000 (07:49 +0100)
commitf47ee38cd5e8eb1e28f96c98cb572e017e1dd7c6
treedf42638b6572f77f8b2d29999487cdb4bc94c085
parent819524cd3d6eb77ca050ad3587f07bdbc814541e
Do not run amtterm only after reset and get rid of sleep()

This way, amtterm fails is somebody is already connected. Only if amtterm
succeeds, we proceed to reset/poweron.

With recent amttool (at least commit [1]), this works even without sleep
before running amtterm.

[1]: https://www.kraxel.org/cgit/amtterm/log/?h=0ece5135fef56dbd0d94957c334655a57adb7212
novaboot