[PATCH v5 17/20] test: Try to shut down the lab console gracefully
Tom Rini
trini at konsulko.com
Fri Aug 30 16:26:20 CEST 2024
On Thu, Aug 29, 2024 at 07:04:36PM -0600, Simon Glass wrote:
> 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.
It sounds to me like we need to make generic improvements to our hooks
then, if there's not a "now call poweroff" hook.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240830/ca2376b2/attachment.sig>
More information about the U-Boot
mailing list