SoCcentric
Open-source embedded Linux · STMicroelectronics STM32MP1 / MP2

Orion

Open-source embedded Linux platform for STM32MP1 & MP2.

Reproducible Yocto Linux for STM32MP1/MP2 on meta-st-stm32mp—pairing Cortex-A Linux with Cortex-M real-time, OTA, and validation. MIT licensed.

MIT licensedSTMicroelectronics STM32MP1 / MP211 reposReference: STM32MP157 Discovery kitYocto · kas

Why Orion exists

After 25+ years in embedded systems (10+ in consulting), we kept rebuilding the same groundwork on every client project: OS bring-up, secure multi-stage boot, OTA, WebConfig, instrumentation, and debugging.

Orion packages that foundation cleanly for STMicroelectronics STM32MP1 / MP2—OS, board layer, WebConfig, instrumentation, and validation—so teams reach product features, hardening, and release sooner.

Applications Industrial controllers, HMIs, and Linux + real-time compact devices.

Platform overview →
Orion at a glance
  • SiliconSTM32MP1 series, STM32MP2 series
  • Reference boardSTM32MP157 Discovery kit (STM32MP157F-DK2)
  • BSPmeta-st-stm32mp (ST)
  • Build targetsSTM32MP157 Discovery (stm32mp15-disco)
  • UpdatesA/B over-the-air updates (SWUpdate)

Engineering highlights

Upstream ST BSP

Built on ST's meta-st-stm32mp layer to track official kernel and bootloader updates.

Direct Discovery target

make image orion builds stm32mp15-disco for the STM32MP157F-DK2 kit.

Asymmetric multiprocessing

Pairs Cortex-A Linux with Cortex-M real-time control on one chip.

20 industry image profiles

Domain-specific packages layered onto the A/B base image via make image.

  • Aerospace
  • Agriculture
  • Automotive
  • Building automation
  • Consumer electronics
  • Defense
  • Drones / UAV
  • Energy
  • Industrial automation
  • Maritime
  • Medical
  • Mining
  • Networking
  • Oil & gas
  • Retail / POS
  • Robotics
  • Security & surveillance
  • Telecom
  • Test & measurement
  • Transportation / rail

Supported hardware

Supported silicon families and the verification reference board. Links open vendor docs.

How it fits together

Four paths to the board: HQ and WebConfig route through Instrumentation and HAL; Dashboard/Server and PySDK drive Client and HAL. Hover to trace; click to jump.

Orion architectureFour paths down to the hardware. Dedicated browser clients connect to HQ, WebConfig, and Dashboard. HQ and WebConfig route through Instrumentation and HAL to the OS and hardware; Dashboard through Server and Client, or PySDK GUI directly through Client, route through HAL to the OS and hardware.OFF THE DEVICEON THE DEVICE · STMICROELECTRONICS STM32MP1 / MP2BrowserBrowserBrowserHTTPSHTTPSHTTPSagent gRPCREST + SSEgRPC streamsgRPClocal IPCOrion-PySDK↗Python SDK & GUIOrion-HQ↗fleet managementOrion-Dashboard↗validation consoleOrion-Server↗validation backendOrion-Configuration↗WebConfig UI + daemonOrion-Instrumentation↗on-device management & observabilityOrion-Client↗gRPC validation daemonOrion-HAL↗hardware abstraction layerOrion-OS↗Yocto + kas imagemeta-orion↗BSP / board layerOrion-Hardware↗target board: schematics, BOM, I/O
Production: OS, management, WebConfig, HQValidation: HAL, Client, Server, Dashboard, PySDK

The repositories

11 public repositories split into production and validation stacks.

Production Stack

Ships on the STMicroelectronics STM32MP1 / MP2 device: Yocto OS, board layer, WebConfig, Instrumentation, HQ, and hardware docs.

Orion-OS

Image buildMakefile · updated 27 Nov 2026

Yocto · kas

Top-level Yocto workspace for STMicroelectronics STM32MP1 / MP2; assembles kernel, boot, security, OTA, and all device services.

  • Reproducible Yocto/OpenEmbedded images for STMicroelectronics STM32MP1 / MP2
  • Single kas entry point via kas-container or Makefile
  • Unified build and flash scripts per board
  • Signing key helpers for SWUpdate OTA

meta-orion

Yocto layerBitBake · updated 27 Nov 2026

Yocto layer

Board support and BitBake recipe layer consumed by Orion-OS to bind upstream BSPs with Orion services.

  • BSP and machine configs for STMicroelectronics STM32MP1 / MP2
  • BitBake recipes for Orion daemons and tools
  • MIT-licensed recipes with verified checksums

Orion-Configuration

WebConfigRust · updated 26 Nov 2026

Rust · web UI

On-device WebConfig service exposing board settings to a browser above Instrumentation and the OS.

  • Rust webconfigd daemon and webconfig-engine crate
  • Manifest- and schema-driven browser UI
  • Network, Wi-Fi, WireGuard, firewall, GPIO, CAN, serial, SSH
  • TLS/CSRF HTTP API with persistent backup and audit log

Orion-Instrumentation

InstrumentationC++ · updated 27 Nov 2026

C++ · gRPC · Yocto

On-device management layer bridging HAL/OS to local WebConfig and remote HQ fleet control.

  • networkd (interfaces, routing, WireGuard) and monitord (health, wear)
  • Structured faults, alarms, telemetry, and live logs
  • OTA apply/confirm/rollback and encrypted backup/restore

Orion-HQ

Fleet managementPython · updated 26 Nov 2026

Python · gRPC · web

Off-device fleet service connecting browsers to on-device Instrumentation over gRPC.

  • Device inventory, telemetry, alarms, and fault API
  • Multi-tenant RBAC and operator web console
  • gRPC agent gateway with pairing and Docker Compose setup

Orion-Hardware

Hardware docsupdated 26 Nov 2026

Board design

Hardware documentation home for STMicroelectronics STM32MP1 / MP2, ready for schematics, pin maps, and BOMs as published.

  • Read-only reference maintained by hardware engineering
  • Baseline layout for schematics, BOMs, and datasheets
  • Source of truth for OS and HAL integration

Validation & Verification

Tests the shipping image directly via HAL, gRPC Client, Server, Dashboard, and PySDK.

Orion-HAL

Hardware abstractionC++ · updated 27 Nov 2026

C++17 · protobuf

Shared hardware abstraction layer above the OS, decoupling board peripherals from Instrumentation and Client.

  • Protobuf contracts for common, client, and HAL services
  • Drivers for CPU, memory, GPIO, storage, network, cameras
  • Per-board bindings, CMake build, and module test harnesses

Orion-Client

ClientC++ · updated 27 Nov 2026

C++17 · gRPC

On-device validation daemon exposing HAL modules over gRPC to Server and PySDK.

  • Remote hardware control and test-run sequencing
  • Durable local result spool across disconnects
  • Adapter registry and systemd service integration

Orion-Server

ServerC++ · updated 26 Nov 2026

C++ · Drogon · PostgreSQL

Central validation backend connecting Dashboard to on-device Clients over bidirectional gRPC streams.

  • REST API for targets, runs, schedules, logs, alerts, OTA
  • gRPC client streams with heartbeats and backpressure
  • PostgreSQL migrations, Docker packaging, and CI

Orion-Dashboard

DashboardTypeScript · updated 26 Nov 2026

Next.js · TypeScript

Browser console paired with Server to launch validation runs, stream logs, and inspect reports.

  • Views for overview, runs, live logs, modules, reports
  • Real-time run telemetry over Server-Sent Events
  • Contract (pytest) and unit (Vitest) test suites

Orion-PySDK

Python SDKPython · updated 26 Nov 2026

Python

Typed Python SDK and GUI talking directly to Client over gRPC for bench debugging and automation.

  • Generated protobuf/gRPC bindings with type stubs
  • One-shot calls, long-running sessions, and event streams
  • Examples and mock-server test suite

Get started

Start with the OS image. Builds run in kas-container (Docker or Podman—no local Yocto setup).

git clone https://github.com/soccentric-orion/Orion-OS.git
cd Orion-OS
make image orion                     # build base image for orion
make flash orion DEVICE=/dev/sdX     # write to removable media

More: make sdk orion, make shell orion, make help. Full prerequisites in the Orion-OS README.

Contribute

Bug reports, hardware notes, and pull requests are welcome. Target develop with signed-off commits (git commit -s). See CONTRIBUTING and SECURITY.

License

MIT. Third-party software that these images build or fetch keeps its own licenses.

Need a hand?

Collaborating on STMicroelectronics STM32MP1 / MP2

Orion is MIT-licensed and ready to use on its own. If you need engineering support for custom hardware, peripheral integration, or delivery, we are glad to work with you.

  • Custom board bring-up, device trees, and BSPs
  • OS image, secure boot, OTA, and WebConfig tailoring
  • HAL, Instrumentation, and validation extensions
  • Design reviews through production release

SoCcentric · Sandesh Ghimire · 25+ years in embedded systems