[PATCH v5 17/20] test: Try to shut down the lab console gracefully

Simon Glass sjg at chromium.org
Fri Aug 30 03:04:36 CEST 2024


Hi Tom,

On Thu, 29 Aug 2024 at 10:59, Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Aug 29, 2024 at 09:01:17AM -0600, Simon Glass wrote:
> > Hi Neil,
> >
> > On Thu, 29 Aug 2024 at 08:26, <neil.armstrong at linaro.org> wrote:
> > >
> > > On 29/08/2024 00:08, 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.
> > >
> > > Sending those characters every time could collide with other CI systems,
> > > I don't think it's a good idea.
> >
> > What systems are you thinking about and what sort of collision would occur?
> >
> > What do you suggest instead?
>
> Why do we need this at all? Did I miss where we send picocom the
> disconnect nicely key-combination?

When labgrid gets a signal, it exits. It doesn't continue its
co-routines and execute the end strategy to power things off, etc. I
suspect it could be made to do that, but I already have 62 Labgrid
patches, so I thought this would be expedient...

I can make this conditional on the new USE_LABGRID variable.

Regards,
Simon


More information about the U-Boot mailing list