Sponsored by: Analog Devices GmbH
New Features in 26.0
- The default interrupt key for the
BareboxDriveris now CTRL+D (\x04) instead of a line feed (\n). barebox v2025.03.0 onwards handles CTRL+D specially to halt autoboot countdown without running interactive hooks like bringing up network interfaces automatically. - Support for the tinycontrol tcPDU has been added as a power backend.
- Support for shelly gen2+ devices has been added as a power backend.
- Support for Waveshare Modbus Relays was added.
- The upload directory for labgrid agent python files can be set via the
LG_AGENT_PREFIXenvironment variable. - The ManagedFile now returns an error when trying to access the underlying file path before the file was synced.
- The RKUSBLoader match was extended with all currently known USB IDs.
- The error message for trying to acquire a place that is locked by another user was improved.
- The
Strategyclass has gained a newnever_retrydecorator that stores the first exception and raises it for every subsequent call. The pytestplugin also correctly respects that StrategyError. - IMXUSBDriver has gained a
verifyproperty that is enabled by default, but can disable the verification step for SoCs that don't support it. - The codebase gained a lot of fixes for python 3.14 support.
labgrid-clientwith a multi-target environment configuration now correctly tries to acquire/release all targets in the environment configuration.- IMXUSBLoader now correctly recognizes i.MX95 & i.MX91.
- Exporter configuration files can now include drop-in files from .d directories by using jinja templates.
- Labgrid has gained support for new USB SDWire 3 devices.
- The BareboxDriver has gained support for the
boot_command, similar to the UBootDriver. - Labgrid has gained support for Aten PE6216 PDUs.
- The
QEMUDrivernow supports anetdevargument which can be added toadd_port_forward()andremove_port_forward()in case there is more than one network interface defined. - Guermok HDMI to USB 3.0 capture dongle supported
- The UBootDriver can now optionally strip timestamps.
- Labgrid has partially switched to enforce ruff formatting for some files.
- Labgrid has gained support for the Linaro Automation Appliance (LAA).
- The MQTTManager now supports authentication.
- The
consoleexpectmixinnow supports chunking of multiple bytes with thetxchunkattribute. - Labgrid has gained support for network namespace forwarding from exporters to clients. This allows accessing a network as if it is locally connected.
- HTTPVideoDrivers now optionally allow the specification of a port.
Breaking changes in 26.0
- The deprecated pytest plugin option
--env-confighas been removed. Use--lg-envinstead. - The deprecated
NetworkUSBStorageDriverhas been removed. Use theUSBStorageDriverinstead.
Bug fixes in 26.0
- Console activation in the ShellDriver now correctly disables kernel messages on that console.
- The ShellDriver now correctly handles an existing /tmp/labgrid-ssh directory.
- An error in the mfi_mpower driver was fixed to correctly use f-strings.
- An error message in the coordinator was fixed to correctly emit resource and reason.
- The ShellDriver public key writing has been fixed to write the keys in chunks. This fixes an issue where the number of allowed characters on the command line is too small to contain the full public key.
- The sync-places contrib script has been fixed to filter tags on creation.
- Several labgrid client subcommands have been fixed to match the resource name as well.
- Ordering of ResourceMatches has been fixed.
- Locking problems in the coordinator with regards to reservations have been fixed.