[PATCH 23/42] test: Release board after tests complete

Simon Glass sjg at chromium.org
Wed Jun 12 22:24:23 CEST 2024


Hi Tom,

On Wed, 12 Jun 2024 at 10:02, Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, Jun 11, 2024 at 02:01:37PM -0600, Simon Glass wrote:
>
> > When a board is finished with, the lab may want to power it off, or
> > perform some other function. Add a new script which is called when tests
> > are complete.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >  test/py/u_boot_console_exec_attach.py | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
>
> Given that all of my wrapper scripts include a "turn it all on" and then
> catch for "turn everything off", this sounds very handy.

Yes I ruined some batteries due to lack of this.

I also added a way to tell Labgrid the end state to move to, which
also manages to turn off the board, unless something goes wrong in
Labgrid.

Regards,
Simon


More information about the U-Boot mailing list