meta-labautomation

embetrix/meta-labautomation Checked 6 hours ago

OpenEmbedded/Yocto layer for embedded lab automation with CI/CD runners, flashing tools, power control, hardware testing, remote access and Agentic AI…

OpenEmbedded/Yocto layer for building a Linux controller for lab automation and hardware-in-the-loop (HIL) testing. CategorySelected tools Test automation Robot Framework · Labgrid Flashing and debugging UUU · stm32flash · Snagboot · usbsdmux · OpenOCD Power control Shelly · FRITZ!Box · GPIO relays Test instruments PyVISA Industrial protocols CAN · Modbus · OPC UA · MQTT · ZeroMQ Penetration testing Nmap · Scapy · tcpdump · Ettercap · tcpreplay VPN OpenVPN · Tailscale · WireGuard CI and containers Jenkins agent · GitLab runner · GitHub Actions runner · Docker AI automation…

Summary extracted from the README.

meta-labautomation

BitBake parse License: MIT

OpenEmbedded/Yocto layer for building a Linux controller for lab automation and hardware-in-the-loop (HIL) testing.

Use cases

  • Automated board flashing and testing
  • Hardware-in-the-loop (HIL) testing
  • Lab instrument control and automated measurements
  • CI/CD pipelines with real hardware
  • Remote lab access and device control
  • Embedded device security testing
  • AI-assisted lab automation

Supported tools and frameworks*

* This list is not exhaustive

Build

QEMU

Build for qemux86-64:

kas build kas/kas-labautomation.yml

Run in QEMU:

kas shell kas/kas-labautomation.yml \
    -c 'runqemu kvm serialstdio nographic snapshot'

Hardware

Replace <MACHINE> with your board's Yocto machine name. Its BSP layer must be included in the kas configuration.

KAS_MACHINE='<MACHINE>' kas build kas/kas-labautomation.yml

For Raspberry Pi 4/5, use the provided configuration:

kas build kas/kas-labautomation-rpi.yml

Image output and flashing

Images are saved in build/tmp/deploy/images/<MACHINE>/. Flash the Raspberry Pi 5 image with bmaptool:

sudo bmaptool copy \
    build/tmp/deploy/images/raspberrypi5/labautomation-image-raspberrypi5.rootfs.wic.bz2 \
    /dev/sdX

Keep the matching .wic.bmap beside the image. Unmount the target partitions and replace /dev/sdX with the whole target device. This overwrites the drive.

Disclaimer

This project is provided "as is", without warranty. See LICENSE for details. Included third-party software has its own licenses.

Third-party names, logos and trademarks belong to their respective owners. Their use here identifies supported tools and does not imply endorsement or affiliation.

Commercial support

For commercial support with different hardware platforms, custom development, CI/CD integration, AI agents, automated testing, security and penetration testing, contact Embetrix Embedded Systems Solutions at info@embetrix.com.