lowRISC / sonata-system

A full micro-controller system utilizing the CHERIoT Ibex core, part of the Sunburst project funded by UKRI
Apache License 2.0
24 stars 15 forks source link

Fix bootloader to avoid return sentry #135

Closed marnovandermaas closed 3 months ago

marnovandermaas commented 3 months ago

cjr cra requires cra to be a return sentry in newer version of CHERIoT Ibex. Use ct0 instead to avoid this problem.

Based on this commit: https://github.com/CHERIoT-Platform/cheriot-safe-uart-boot-rom/commit/82fbc153075b2532b124a9eb1c223d1e61666e3b

Fixes: https://github.com/lowRISC/sonata-system/issues/134