Devolar.net
Practice · Secure Lifecycle

Hardware root of trust, Secure Boot and unbrickable A/B OTA updates

Devices deployed outside locked data centers must assume physical tampering, sudden power loss mid-update and multi-year regulatory obligations.

Never ship a connected device you cannot safely patch — or recover after power loss

Updating packages live via apt upgrade or overwriting a single firmware partition in place is a guaranteed way to brick field units when power drops mid-flash. Equally, hardcoding shared credentials in firmware exposes the entire fleet the moment one unit is extracted from the field.

We implement end-to-end cryptographic boot chains anchored in silicon eFuses, per-device hardware identities stored in TPM 2.0 or secure elements, and atomic A/B image updates backed by hardware watchdogs that automatically revert to the last known-good slot if a new release fails health checks.

Four pillars of embedded security & lifecycle

01 Hardware Secure Boot & dm-verity NXP HAB/AHAB, STM32 TrustZone/SBSFU, TI HS-SE or UEFI Secure Boot verifying signed bootloader, kernel FIT image and block-level `dm-verity` SquashFS rootfs.
02 TPM 2.0, Secure Elements & OP-TEE Non-exportable X.509 mTLS private keys in TPM 2.0, Microchip ATECC608 or ARM TrustZone OP-TEE PKCS#11 tokens, plus TPM-sealed LUKS persistent data partitions.
03 Power-loss-safe A/B OTA updates RAUC, SWUpdate, Mender or MCUboot symmetric/asymmetric A/B slots with delta streaming, boot-count limits, hardware watchdog fallback and canary cohort rollout.
04 EU Cyber Resilience Act (CRA) & IEC 62443 Automated SPDX / CycloneDX SBOM generation on every build, Yocto `cve-check` triage, debug-port lockdown (JTAG/UART fuses) and vulnerability disclosure workflows.

Field threat model & hardware-backed mitigations

Security controls designed for unattended devices exposed to physical access.

Threat VectorNaive Device FailureDevolar Hardware-Backed Control
Power cut during OTA flashCorrupted rootfs or half-written MCU flash; requires physical RMAInactive slot write + cryptographic hash check + atomic U-Boot/MCUboot flag + HW watchdog rollback
Flash chip desoldered / clonedPlaintext Wi-Fi/cloud keys and proprietary IP extractedUnique device key inside TPM/ATECC608 + per-unit encrypted storage sealed to Secure Boot PCRs
Malicious firmware injectionUnsigned UART/U-Boot shell or forged update archive acceptedeFuse public-key hash, locked U-Boot environment, disabled console & offline HSM release signing
Zero-day CVE in third-party libraryUnknown transitive dependencies; months to rebuild SDKAutomated CycloneDX SBOM tracking, pinned hermetic Yocto/Buildroot CI and staged canary OTA

Security & OTA questions

How do engineers debug field issues if JTAG and U-Boot shells are locked down?

We implement cryptographically authenticated debug unlock certificates tied to each chip's unique silicon UID — keeping production devices locked against attackers while allowing authorised RMA engineers to unlock a specific unit with an offline-signed token.

Can we fit A/B OTA on constrained flash or tight cellular data plans?

Yes. On Embedded Linux we use adaptive block-chunk streaming (`casync` / RAUC HTTP range delta) so only changed SquashFS blocks cross the cellular link; on constrained MCUs we use compressed MCUboot swap-with-scratch or XIP slot layouts.

Harden your device boot chain and OTA update pipeline