
Hi Tom,
On Wed, 30 Oct 2024 at 00:53, Tom Rini trini@konsulko.com wrote:
On Wed, Oct 09, 2024 at 07:51:42PM -0600, Simon Glass wrote:
Send the Labgrid quit characters to ask it to exit gracefully. This typically allows it to power off the board being used. Only do this when labgrid is being used (detected with an env var).
If that doesn't work, try the less graceful approach.
Signed-off-by: Simon Glass sjg@chromium.org
I forget why we need this, and not just have the release hook power off the board, as part of releasing it.
It allows labgrid to exit gracefully, rather than being killed. This allows it to do the 'off' part of strategy (which may power it off) and release the device. Without this, every board disconnect leaves the board in a bad state, requiring separate steps to recover the board, then power it off.
For your lab, this won't be used, since USE_LABGRID is not set.
Regards, SImon