Repository navigation
Comparison to labgrid #428
Replies: 1 comment 2 replies
|
Hi @rettichschnidi, thanks for asking. So here's the background of dutctl and I also try to point out some unique aspects: Where we're coming fromdutctl comes out of firmware testing. At Blindspot we build FirmwareCI, CI for firmware on real hardware. You hand it a built binary (BIOS/UEFI, coreboot, BMC firmware). It flashes the binary onto a real machine, power-cycles and boots it, runs tests and reports back on the pull request. The binary is tested as a black box, so no access to its source code is needed. That puts specific demands on the hardware layer:
dutctl is that layer. An agent next to the hardware (e.g. a Raspberry Pi) knows its devices and offers named commands per device ( We open-sourced dutctl (BSD-2-Clause, funded by NLnet) because it's useful on its own, without FirmwareCI: from a shell, from scripts, or from any CI system. How labgrid differs, as far as we can tellWe haven't used labgrid in depth, so this is based on its documentation. Please correct us where we got it wrong. labgrid describes its goal as "an abstraction of the hardware control layer needed for testing of embedded systems, automatic software installation and automation during development", used together with pytest. Measured against the needs above, we see three main differences:
Rule of thumb: if you work on embedded Linux and write your tests in pytest, labgrid is probably the more natural fit, and it's clearly the more mature project. If you test firmware binaries on machines that CI and people share, or want a hardware control layer you can call from any tool, that's what dutctl is built for. dutctl at a glance
If you know labgrid well, we'd be glad to hear where we got it wrong, and what you'd miss in dutctl. |
Uh oh!
There was an error while loading. Please reload this page.
This project looks interesting, but I am not clear what the tradeoffs vs https://github.com/labgrid-project are.
Where can I find this information?
All reactions