|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Directories | |
| inc | |
| src | |
On-silicon proof that the root of trust enforces the boot.
With RA8_ENABLE_ROOT_OF_TRUST, ra8_dfu_launch verifies an image's ECDSA-P256 signature (SHA-256 body digest, via tf-psa-crypto) and the extra-MRAM anti-rollback floor before copying it to the SRAM run base and branching, default-denying on any failure. This app embeds one RoT-signed copy-to-run image and runs both sides of that:
Reject-then-accept is the whole design: an enforcement path only ever fed good input proves nothing, and one that silently accepts is exactly the failure that matters. Going quiet after the accept banner is the success signal, because the app branched away and the anti-rollback commit stuck.
inc/signed_payload.h is generated from dfu_copy_to_run's payload via examples/ek_ra8d2/hw_validated/hil/dfu_copy_to_run/scripts/build_payload.sh and scripts/secrets/rot_sign.py. Regenerate and re-sign it whenever that payload changes.