What belongs in the contract between a bootloader and an application image?
Answer
Test memory layout, vector and entry points, image metadata, signing, version rules, shared data, reset reasons, confirmation and recovery commands. Verify compatible and incompatible combinations explicitly, including an older bootloader with a newer application. A release should state the supported matrix and preserve an independently reachable recovery path.
Strong answer includes
- covers memory, metadata and lifecycle handoff
- tests version combinations in both directions
- protects an independent recovery mechanism
Practical example
A team tests a newer bootloader against a newer application and an older bootloader against an older application, both pass. Nobody tests an old bootloader still deployed in the field paired with a newly released application image, which uses a shared-data structure field the old bootloader never learned to parse — the application silently reads garbage configuration on boot until the mismatch is found weeks after release.