Skip to content
Open source Platform testing

Automated hardware testing with Protoplaster

An open source Python framework for automated hardware and Linux BSP verification. Define reusable test suites, run them on your devices and keep the evidence with the results.

Protoplaster
0 / 24 boards board-07
platform.yaml
1 test-suites:
2 bringup:
3 tests: [base]
4
5 tests:
6 base:
7 - i2c:
8 dev:
9 name: "I2C 0"
10 driver: I2C_SMBus
11 bus: 0
12 devices:
13 - name: Sensor
14 address: 0x3c
15 - gpio:
16 dev:
17 name: "GPIO"
18 driver: GPIO_sysfs
19 pins:
20 - pin: 20
21 direction: out
22 state: on
23 - gpio:
24 dev:
25 name: "Status LED"
26 driver: GPIO_sysfs
27 pins:
28 - pin: 21
29 direction: out
30 state: on
31 - camera:
32 device: /dev/video0
33 save_file: frame.raw
Ready to run 0 / 4
I2C Discover configured peripherals
Queued
GPIO Check a configured output
Queued
Status LED Check a configured output
Queued
Camera Capture a frame artifact
Queued
› Suite ready · platform.yaml
Waiting to start
0 / 24 boards verified
Platform verification

Hardware and BSP verification

Platform changes cross the hardware/software boundary. Protoplaster gives engineers a common way to check interfaces, exercise devices and exchange reproducible results.

platform.yaml
tests:
  base:
    - camera:
        device: /dev/video0
        save_file: frame.raw
    - network:
        interface: eth0

Reusable platform tests

Choose the checks your board needs and reuse the same YAML suite across hardware revisions.

API and browser interface

Start tests through the REST API or WebUI. Track each run by ID, inspect its status and manage YAML configurations.

Test results
3 / 3 passed
  • I2C Sensor detected at 0x3c
    Pass
  • GPIO Output verified on pin 20
    Pass
  • Camera Frame captured
    Pass
Decoded camera frame of a warehouse aisle
frame.raw
test.log
09:41:12 Captured /dev/video0
09:41:12 Saved frame.raw

Evidence alongside results

Preserve generated files, command output and system metadata with each run. Camera frames and logs help teams investigate what happened on the physical device.

Factory verification
Jetson AGX Thor baseboard
  • THOR-014 Queued
  • THOR-015 Queued
  • THOR-016 Queued

Verify each board on the production line

Record results against each board’s serial number and hold units that need inspection before shipment.

Workflow

Bring hardware checks into CI

Build from versioned sources and run hardware checks as parallel CI jobs across boards and fixtures. Collect results, logs and captured files separately for each target.

Hardware regression
#218
main Running

Build

build:bsp-image Running

Test on hardware

test:board-rev-a Pending
test:board-rev-b Pending
test:ict-fixture Pending

Publish

publish:reports Pending
Job artifacts results.xmlrun.logframe.raw
Extensibility

Extend tests to the whole setup

Reach other machines in the test setup, add your own test modules and hook custom code into every run.

External devices

Register fixtures and lab machines running Protoplaster, then call their functions from a central node.

Out-of-tree test modules

Add your own Python test modules outside the repository and configure them in the same YAML suites.

Plugins

Write plugins whose hooks run your own code before test setup and around each test function.

Signal integrity

Turn eyescan measurements into automated checks

Run JTAG-driven eyescans on DAC3xJ8x devices, generate eye diagrams and verify eye width and height against configured limits. Raw TSV data and an HTML visualization stay with the measurement.

DAC eyescan
Signal integrity · DAC3xJ8x
Lane
Bit number
Loading measurement data…
8 lanes · 20 bits · JTAG acquisition TSV measurements → eye diagram
Remote diagnostics

Capture a device snapshot for remote debugging

Generate a device snapshot with protoplaster-system-report. A ZIP archive bundles command output and logs with an HTML summary, giving distributed teams the same context when investigating a failure.

Protoplaster
summary.html
Operating system
Linux
Kernel
6.6.32
Architecture
aarch64
protoplaster-system-report
Services

Engineering services for hardware validation

Antmicro develops hardware test systems for prototype bring-up, CI and manufacturing. We use Protoplaster to connect your boards, lab equipment and production fixtures.

Board bring-up and BSP validation

Developing test suites for your boards and Linux BSPs, from power-up and peripheral checks to regression testing across hardware and software revisions.

Factory testing

Developing factory test suites with Protoplaster, covering power-up and peripheral checks on every unit and pass/fail results tied to each device.

Hardware-in-the-loop CI and lab automation

Integrating test devices, instruments and lab machines into your CI pipelines and automating parallel test runs across boards and configurations.

Diagnostics and reporting integration

Developing custom Protoplaster modules and API and WebUI integrations that link measurements, logs and captured files to individual devices and test runs.

Build a repeatable testing flow for your next device

We can help develop board-specific tests, automated fixtures, BSP integration and reporting around Protoplaster.