Pengutronix bei der Embedded Testing 2025
Unser Spin-Off Linux Automation ist in diesem Jahr Aussteller auf der Embedded Testing und ist dort sowohl mit einem Stand als auch mit einem Vortrag dabei. Für Pengutronix als Dienstleister für Embedded-Geräte in verschiedenen Industriebereichen ist Testing selbstverständlich. Dies kann in der Form von Tests in den jeweiligen Upstream-Projekten oder in der Form von Integrationstests eines vollständigen Embedded-Linux-Systems auf der Kunden-Hardware geschehen.
Um Integrationstests zu vereinfachen, sponsoren wir mit labgrid ein Open-Source-Projekt für das Fernsteuern von Embedded-Linux-Geräten, das wir natürlich auch intern für das Steuern und Testen einsetzen. Unser Spin-Off Linux Automation hat dazu passende Hardware, wie den USB-SD-Mux, entwickelt.
Entwicklungsbegleitende Integrationstests für Embedded Linux in der CI: Mit Labgrid das Betriebssystem auf Serienhardware testen
Embedded-Linux ist eine mächtige Plattform, die aus Projekten mit hohen Anforderungen an Grafik, Konnektivität oder Speicher nicht mehr wegzudenken ist. Moderne Embedded-Linux-Systeme bestehen aus einer Vielzahl an Einzelprojekten, die jeweils unabhängig voneinander entwickelt werden. Gleichzeitig sind durch regulatorische Anforderungen wie dem Cyber Resilience Act, aber auch durch Verbesserungen regelmäßige Updates der Systeme die Regel. Um die Zuverlässigkeit jedes Releases sicherzustellen, sind daher automatisierte Tests auf allen Ebenen des Gesamtsystems naheliegend.
Mit dem Open-Source-Projekt Labgrid steht ein Werkzeugkasten für das automatisierte Testen eines vollständigen Embedded-Linux auf der echten Hardware zur Verfügung. Labgrid fokussiert sich auf Testen des Bootloaders und Betriebssystems, ist darüber hinaus aber auch für den Test der Applikation einsetzbar. Es schließt als Hardwareabstraktion die Lücke zwischen der Fernsteuerhardware und dem Test-Code. Durch die Entwicklung von Tests in 'pytest' fühlt sich die Arbeit damit wie normales Software-Testing an. Labgrid ist für den Einsatz durch oder zusammen mit den Embedded-Linux-Entwicklern konzipiert und setzt daher auch selbst auf Werkzeuge aus dem Linux-Baukasten.
Dieser Talk beginnt mit einer Motivation für das Testen von Embedded-Linux auf der tatsächlichen Hardware. Anschließend wird gezeigt, mit welchen Mitteln Embedded-Linux-Geräte ferngesteuert werden können. Darauf aufbauend werden die Architektur von Labgrid sowie die unterschiedlichen Einsatzszenarien vorgestellt. Zuletzt wird exemplarisch an einem Embedded-Linux-System gezeigt, wie sich automatisierte Tests und interaktive Arbeit ergänzen.
Further Readings
GStreamer Conference 2025
This years GStreamer conference was held at the end of Oktober in London, UK. Since GStreamer is our goto-framework for multimedia applications, Michael Olbrich and me were attending this years conference to find out what's new in GStreamer and get in touch with the community.
Pengutronix at the Single Pair Ethernet Forum in Ludwigsburg
Single Pair Ethernet (SPE) is a set of new Ethernet standards in which communication works over a single pair of wires. Embedded Linux is ideally suited, especially for the smallest nodes connected via SPE. Pengutronix is a partner of this year's Single Pair Ethernet Forum in Ludwigsburg and will also be giving a presentation.
Talks, Workshops, Time at the Beach - Embedded Recipes 2025
I was part of a small delegation of Pengutronixians at the Embedded Recipes conference this year in Nice, France. We had a great time there, so let's take a look back at the great talks we have seen, the labgrid workshop we held and our time in Nice in general.
Labgrid Hands-On Training at Embedded Recipes 2025
We are happy to announce that we are hosting a one-day version of our hands-on labgrid training at the Embedded Recipes in Nice, France. The workshop takes place on day three of the Embedded Recipes (16.05.2025) and is part of the workshop track. The workshop is free of charge, but registration is required.
labgrid is going on a live tour!
labgrid makes it possible to remote-control embedded linux devices and to implement integration tests of a complete embedded Linux system on real hardware. The Pengutronix developers and other companies have been using labgrid as a centerpiece of their embedded software development infrastructure to great success for quite some time now.
Linux Automation Test Automation Controller: A one Device labgrid Exporter
Our subsidiary Linux Automation GmbH introduces the LXA TAC (Linux Automation Test Automation Controller): an all-in-one labgrid exporter. The LXA TAC offers the usual interfaces to control one or more embedded devices (DUTs, devices under test) interactively or automatically with labgrid.
labgrid Tutorials
This week, we started our series of YouTube labgrid tutorials. In the next few weeks we will publish more video tutorials showing you labgrid's features and giving you handy tips and tricks.
The LXA IOBus line of lab automation devices
I would like to present to you the LXA IOBus, a CAN-based ecosystem consisting of a protocol, a gateway server and new class of Linux Automation GmbH devices, including the Ethernet-Mux and the 4DO-3DI-3AI input/output board.
Showcase: Continuous Testing
About 70,000 patches go into the Linux kernel every year, and many of them are bug fixes. The same applies to most other open source projects that are part of a modern Linux system. In order to benefit from the work in the community, the sensible strategy is to constantly update to the latest software version and keep the system up to date. Of course, with this amount of changes, new bugs can be added or incompatibilities can arise.