[PATCH] Gitlab: Add a "sage-lab" stage to access a board farm
Simon Glass
sjg at chromium.org
Fri Nov 14 13:43:57 CET 2025
Hi Tom,
On Tue, 11 Nov 2025 at 06:56, Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, Nov 11, 2025 at 05:58:22AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Mon, 10 Nov 2025 at 08:42, Tom Rini <trini at konsulko.com> wrote:
> > >
> > > This is the Gitlab side of adding support for the board lab connected to
> > > the "konsulko-sage" runner. On the software side, this lab uses only
> > > upstream labgrid. On the hardware side, each device under test is
> > > connected to its own exporter (typically a Raspberry Pi 4) that must be
> > > turned on (and cleanly turned off) as part of a given test cycle.
> > >
> > > Add support for testing on a SolidRun Hummingboard 2 (imx6), Raspberry
> > > Pi 3 and Raspberry Pi 4. In all cases, we enable additional options to
> > > run more tests on the board. As we have some networking tests, we test
> > > both the legacy network stack and lwIP. In the case of Pi platforms, we
> > > test all of 32bit configuration, plain configuration and rpi_arm64, and
> > > again with and without lwIP.
> > >
> > > Signed-off-by: Tom Rini <trini at konsulko.com>
> > > ---
> > > Note that for the Pi platforms we enable/disable CMD_BOOTEFI_SELFTEST
> > > based on overall binary size. I've created
> > > https://source.denx.de/u-boot/custodians/u-boot-raspberrypi/-/issues/2
> > > to track addressing that issue.
> > > ---
> > > .gitlab-ci-sage-lab.yml | 182 ++++++++++++++++++++++++++++++++++++++++
> > > .gitlab-ci.yml | 5 ++
> > > 2 files changed, 187 insertions(+)
> > > create mode 100644 .gitlab-ci-sage-lab.yml
> >
> > Would it be possible to add some docs about this? Does the exporting
> > rpi do a full system boot and then run some scripts to load things
> > onto the board, then shut down?
>
> I don't understand your question. Yes, the exporter is powered on/off in
> the test job, as explained in the commit message. When it comes up it
> registers the device under test with the coordinator (and unregisters
> when powering off).
So does that mean that all the logic for talking to the board is not
in the hooks or Labgrid, but somewhere else? I'm just trying to
understand how it is put together and compare it with what I did.
Regards,
Simon
More information about the U-Boot
mailing list