You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This powered on the board and starts U-Boot. When I quit labgrid (with Ctrl-\ twice) I want it to power the board off again. I suppose I am saying that I want it to select the UBootStrategy 'off' state before exiting, e.g. adding a new arg like '-e off'
How would I implement that? I tried adding this logic to the end of session.loop.run_until_complete(coro) in client.py but it seems to quit that without returning
The text was updated successfully, but these errors were encountered:
I'd not handle this in pure python code and rather employ a shell wrapper for this. Note also that Crtl-\ twice is not the correct way to quit microcom and produces a core dump.
@Emantor Thanks for the info. I am quite reluctant to add shell scripts around the labgrid-client invocation. It is labgrid that knows how to power a particular board off. Building all the infrastructure for knowing how to do this on each board sounds like writing bits of labgrid all over again in shell script, at least to me.
What is the correct way to exit minicom? I don't see it in the docs, but might be missing it.
I have something like this:
This powered on the board and starts U-Boot. When I quit labgrid (with Ctrl-\ twice) I want it to power the board off again. I suppose I am saying that I want it to select the UBootStrategy 'off' state before exiting, e.g. adding a new arg like '-e off'
How would I implement that? I tried adding this logic to the end of session.loop.run_until_complete(coro) in client.py but it seems to quit that without returning
The text was updated successfully, but these errors were encountered: