In this article
For a configured test-and-revert mode, successful boot and explicit application confirmation are separate events; confirm only after the intended local health milestone.
A boot message is an incomplete success signal
Consider an offline inspection appliance whose firmware includes a local classifier. The candidate starts and prints its version, but its sensor driver later fails to initialize. If the application confirms itself immediately at entry, this failure occurs after the trial has already become permanent. Decide beforehand which local operations must work before confirmation. A version string proves execution reached that logging statement; it does not establish that capture, inference and the appliance response path are usable.
Establish the actual upgrade mode
The MCUboot design distinguishes upgrade strategies and explains test swaps: the new image runs, then marks itself OK to make the swap permanent. Use this reasoning only for a configuration supporting the relevant test-and-revert behavior. Do not assume that an overwrite configuration preserves the same recovery path. Record the bootloader build and image arrangement with the test plan; a convenient application API name cannot substitute for the deployed bootloader configuration.
Make the confirmation milestone local and bounded
For this appliance, a proposed milestone could require loading the packaged model, accepting a known harmless sensor fixture and producing a structurally valid response. Define an explicit failure path if these operations cannot complete. Requiring an unavailable cloud service would make an offline-capable appliance unable to qualify itself during an outage. Conversely, a superficial readiness flag would miss the broken sensor path. The chosen milestone is an application policy, not a health test supplied automatically by MCUboot.
Retain the confirmation result
The Zephyr image-control API exposes current-image confirmation status and boot_write_img_confirmed. The latter attempts to confirm the running image, returns success or a negative error, and is safe when already confirmed. Record the operation result rather than treating invocation as persistence. Keep candidate identity, health outcome and confirmation outcome separately. A failed confirmation after a passed health check requires different investigation from a candidate that never reached the health check.
Test both reset branches on a recoverable fixture
On a dedicated recoverable target, propose a trial that deliberately stops before confirmation, then observe the next reset. Repeat with the health milestone completed and confirmation accepted. Preserve image identities across both observations; otherwise a version-label mistake can imitate an apparent revert. Acceptance requires the configured unconfirmed and confirmed paths to match their documented behavior. No target was flashed or reset for this article, and this proposed fixture supplies no evidence about a particular board or flash implementation.
Keep image authenticity and operational qualification separate
Artifact signature verification addresses which artifact is trusted. Firmware slot activation addresses another update state transition. Application confirmation adds a local operational decision after candidate execution. It cannot prove that every future workload will succeed, and it should not be confused with anti-downgrade policy. Report the configured recovery mode, the bounded milestone and the persisted confirmation outcome so operators can explain why a candidate remained active or reverted.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.