|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Directories | |
| inc | |
| scripts | |
| src | |
Proves that the Secure world authenticates the Non-Secure image before BLXNS and default-denies a tampered one. This is the BLXNS half of #172; copy-to-run is already silicon-proven by secure_boot_hil.
The Secure side no longer hardcodes the NS trailer address:
The build produces two artifacts from one command: the genuine merged image, and one with a single body byte flipped. Signing needs the held-out RoT private key; without it the build still succeeds and prints the exact sign command to run.
A bench run flashing both artifacts and confirming the two outcomes by memprobe. Genuine: g_sbns_ns_alive advances and g_sbns_denied stays 0. Tampered: g_sbns_ns_alive never advances because NS never ran, g_sbns_denied reads 1, and g_sbns_jump_err reads k_ra8_err_checksum_mismatch.