RTSYork / VLAB

The RTS Virtual Lab
https://wiki.york.ac.uk/display/RTS/The+RTS+Virtual+Lab
GNU General Public License v3.0
9 stars 1 forks source link

Check Zynq is working when container is run #12

Open RussellJoyce opened 6 years ago

RussellJoyce commented 6 years ago

Currently the scripts check for the presence of an ARM core to determine if a board is a Zynq or not when the client disconnects, in order to determine which reset logic to use.

If the Zynq somehow gets into a bad state this check can fail, as well as the ability to run code on the ARM from SDK, needing a board power cycle.

It should be possible to annotate boards as Zynq (or other types) in the board configuration file, then use this same check when a container is started to find the error during client connection and handle this (e.g. pushing client onto a different board, blacklisting the board, notifying someone of the issue).

RussellJoyce commented 5 years ago

Having an additional "broken" board state that boards get put in after this check could be useful.

iangray001 commented 2 years ago

Related to #32, if boards can be remote reset this can be ameliorated.