Matter Test Harness Image Builder
Turns a bare Pi into a certified Matter test harness, then images the finished SD card.
- 01Dependency install
- 02Harness build
- 03Imaging
- 04Shrink
Architecture Overview
Bash automation that takes a Raspberry Pi running Ubuntu 22.04 and turns it into a complete Matter (CHIP) Test Harness. It then makes a compressed, distributable image of the finished SD card, so setting up the next machine is a single flash.
How it works
Core mechanics, failure recovery paths, and system design decisions.
Dependency install
Installs Docker, Poetry and the rest of the system dependencies the harness needs on a clean Ubuntu 22.04 Pi.
Harness build
Clones and builds the chip-certification-tool harness on the device itself.
Imaging
Images the live SD card with dcfldd, capturing the fully provisioned environment exactly as it stands.
Shrink
PiShrink compresses the result down to a size you can share easily.
Engineering Highlights
- •A certification environment reduced to one flash
- •Captures the fully built state, ready to flash
- •PiShrink keeps the image a sane size
- •Integrated as the matter-image/ provisioning module in the unified pi-image-tools suite