Engineering notes

Secure boot on custom boards — field notes

When bring-up moves from a dev kit to your own PCB, secure boot stops being a slide in a deck and becomes a chain of keys, fuses, and recovery paths.

What usually breaks first

  • Key provisioning is treated as a one-off script instead of a manufacturing step with audit logs.
  • Rollback policy is decided after the first bad OTA, when you are already under pressure.
  • Debug ports stay open “just for this sprint,” and never get closed before pilot units ship.

A practical minimum

  1. Document the root of trust (ROM → SPL → U-Boot → kernel) in one diagram the whole team shares.
  2. Run signed artifact builds in CI so what you flash in the lab matches production.
  3. Keep a known-good recovery image that does not depend on the same signing key as daily builds.

These notes are intentionally short — they mirror how I explain trade-offs to firmware and product teams before we lock a BSP release.

← All posts