embedded-linux

#embedded-linux

Modular Data Injection Architecture for Embedded Systems

Published at September 5, 2025 ·  5 min read

Designing complex embedded systems — such as IoT devices, medical products, or industrial controllers — often requires supporting multiple hardware platforms: MCUs, Embedded Linux systems, and sometimes even mock environments for testing. To achieve clean separation between core logic and platform-specific implementations, I designed a modular data injection architecture based on virtual interfaces and dynamic backend registration. This post summarizes the approach and presents a practical C++ implementation of this architecture....


SWUpdate: build, sign & install a minimal .swu that updates only an app + config

Published at July 26, 2025 ·  6 min read

Goal Produce a small, signed .swu that installs only a binary and its config file, with hash verification, public‑key signature, and optional Lua/postinstall hooks — and know how to fix every error you’ll hit on the way. Directory structure Below is the recommended structure of your update package. sw-description – The manifest file describing all update components. sw-description.sig – The signature of the manifest, generated after signing. app/ – Contains application binaries to be installed....