Pengutronix on ELC 2021

The sun is shining for the last days of summer 2021. It doesn't only mean that autumn is coming, but also that this year's ELC is in preparation.

Since the ELC takes place in North America in-person and in Europe virtually, our colleagues are recording their talks. We are proud to contribute to the ELC's schedule with four talks and covering a wide range of topics: from writing kernel mainline drivers to hardware testing.

Teach an Old Network Driver New Tricks

Oleksij Rempel & Marc Kleine-Budde

This talk gives an overview of several new features in the networking driver world and how your Ethernet or CAN driver can benefit from it. In most cases there is HW support, but old network drivers implement only a limited amount of functionality: PHY support in Ethernet drivers is hard coded (AX88772) or switches aren't connected to the Kernel's switch framework (AR9331). Today PHYs (gigabit or single pair ETH) need special handling, hard coding PHY support is not an option. So let's convert Ethernet drivers to make use of the phylib as an Abstraction Layer. This brings access to ready to use PHY drivers and new functionalities, like diagnostic, self testing, cable testing, and workarounds for PHY specific errata. The functionality of Ethernet switches perfectly fits under the DSA framework which is the kernel's abstraction for different types of switching HW offloading capabilities. Another nifty feature to add is RX/TX hardware timestamping that modern MACs support, to increases diagnostic capabilities. Devices can benefit from lower latencies with Byte Queue Limit support, those connected with slow buses (USB, SPI) can combine outgoing network packets into one transaction. The talk will briefly mention XDP, what it does and if your ETH and CAN driver can benefit from it.

Initializing RISC-V: a Guided Tour for ARM Developers

Ahmad Fatoum & Rouven Czerwinski

RISC-V is the hot and upcoming architecture in the embedded space. While a majority of embedded developers have earned their chops programming for ARM processors (and PowerPC beforehand), many have yet to dip their toes into the growing RISC-V ecosystem. This talk will guide attendees through the RISC-V architecture and some of its ISA extensions and then follow Ahmad's and Rouven's journey in applying their ARM knowledge to porting the barebox bootloader to the RISC-V-powered Beagle-V Starlight, while enjoying the fun and woe of early-revision silicon.

Building Open Hardware with Open Software

Michael Tretter

Since their invention in the 80s, FPGAs are used in many domains of digital electronics. Up until now they play a notable role in embedded system development because they allow simultaneous development of system software and hardware. Combined System-On-Chips and FPGAs in one package make offloading realtime- or safety-critical processes to the FPGA even easier. Thanks to the work of many open-source developers, we can now use tools like Yosys and nextpnr to build FPGA bitstreams with a completely open-source toolchain, top to bottom. With the recent rise of RISC-V there is even an open ISA, allowing development of a multitude of compatible, open CPU cores. Designing systems that contain FPGAs becomes more difficult, as they introduce additional flexibility and, thus, complexity into systems. For example, which modules to implement as gateware or as software is a critical decision. Moreover, the software must be able to adapt to changing gateware, as it might change due to system updates. This must be considered in the software and system architecture as well. In this talk, Michael will present his experience with using the open source FPGA tools. Furthermore, he will outline important aspects when designing systems involving software, gateware, and actual hardware.

Automated Testing for Embedded Development: Next Generation Board Farming

Chris Fiege

Board farming is an important topic for embedded Linux development: It allows developers to share their hardware and lays the foundation for continuous testing of BSPs and applications on real hardware. With this talk I want to continue the discussion on how to control large numbers of Embedded Devices in a lab. I will begin with a short introduction on how Pengutronix currently operates their board farm: I will give you an overview on the hardware we use and how we use labgrid to support interactive work and automated testing of our devices under test. Afterwards I will give some insight of the everyday life with 150+ slots in the Pengutronix lab and what the most annoying (and expensive) problems are. To mitigate most of the problem my team and I are currently working on a new way to organize our labs: we try to shift our labs from a centralized architecture with many devices connected to a few control servers to a distributed structure where every device under test is controlled by its own test automation controller. I will conclude my talk with a discussion of the pros and cons of this design that we already discovered.

Weiterführende Links

rsc's Diary: ELC-E 2022 - Tag 4

Freitag war der letzte Tag der ELC-E 2022 und somit auch der Tag des traditionellen ELC-E Closing Games. Tim Bird berichtete gewohnt kurzweilig über den aktuellen Stand der Embedded Linux World (Universe?) Domination. Und natürlich gab es auch am letzten Tag einige interessante Vorträge.

rsc's Diary: ELC-E 2022 - Tag 3

Das Convention Centre liegt direkt am Liffey, nur wenige Minuten Fußweg von der O'Connell Bridge, Temple Bar und dem Trinity College entfernt. Ein Besuch auf der ELC-E ist immer auch eine gute Gelegenheit, interessante Städte in Europa kennenzulernen. Und hier ist auch schon mein Bericht der Talks, die ich am Tag 3 gehört habe.

rsc's Diary: ELC-E 2022 - Tag 2

Das Dublin Convention Centre ist riesig - es gibt mehr als genug Platz für die vielen Teilnehmer des Open Source Summit. Zum Glück wird es die Vorträge nach der Konferenz auf YouTube geben, so dass es nicht schlimm ist, wenn man vor Ort nicht alle Vorträge hören kann. Hier ist mein Bericht zu den Vorträgen, die ich am zweiten Konferenztag gehört habe.

rsc's Diary: ELC-E 2022 - Tag 1

Nach zwei Jahren, in denen es nur Online Konferenzen gab, trifft sich in diesem Jahr die Embedded Linux Community zum ersten Mal wieder zur jährlichen Embedded Linux Conference Europe in Dublin, Irland. Seit vielen Jahren ist die ELC-E Teil des Open Source Summits der Linux Foundation; sie ist die größte Veranstaltung ihrer Art, bei der sich die Entwickler des Linux Kernels und des angrenzenden Core-Ecosystems treffen und über aktuelle und zukünftige Entwicklungsthemen diskutieren.

ELCE 2020 - Recommended Talks

The Embedded Linux Conference Europe (ELCE) is the one biggest meetup of Embedded Linux developers in Europe. As usual Pengutronix has attended this conference - but this year from the warmth of our homes.

Pengutronix auf der Embedded Linux Conference Europe

Das Programm der diesjährigen Embedded Linux Conference Europe (ELCE) wurde in den letzten Tagen veröffentlicht. Wie auch in den letzten Jahren beteiligt sich Pengutronix auch dieses Mal mit Vorträgen zu aktuellen Themen.