All News | Boards | Chips | Devices | Software | LinuxDevices.com Archive | About | Contact | Subscribe
Follow LinuxGizmos:
Twitter Facebook Pinterest RSS feed
*   get email updates   *

Sonata v1.0 Supports CHERIoT Integration in Embedded Systems

Dec 14, 2024 — by Giorgio Mendoza 178 views

lowRISC has released Sonata v1.0, the first stable and long-term iteration of its platform under the Sunburst project. Funded by DSbD and UKRI, Sonata is designed for embedded systems engineers to implement CHERIoT technology, enabling compartmentalization and enhanced memory safety.

CHERIoT, based on CHERI research from the University of Cambridge and SRI International, builds on lowRISC’s RISC-V Ibex core. It addresses vulnerabilities such as buffer overflows and use-after-free errors while introducing scalable compartmentalization mechanisms. These features enable secure execution of untrusted software, critical for embedded applications.

— ADVERTISEMENT —


Sonata Board system block diagram
(click image to enlarge)

Sonata v1.0 integrates CHERIoT’s capability-based architecture, which defines permissions, memory bounds, and object types to isolate system components. Within the CHERIoT RTOS, compartments such as network stacks and kernels operate independently, using program counter capabilities and global pointer capabilities to ensure isolation.

The platform includes a PCB with a CHERIoT-enabled Ibex core, a pin multiplexer for configuring peripheral connections, and support for interfaces such as SPI, I2C, UART, and GPIO. The RTL design incorporates a TL-UL bus with capability tagging, hardware memory revocation, and efficient SRAM access. Execution from HyperRAM is supported, complemented by instruction cache functionality.

Sonata Board headers
(click image to enlarge)

Usability features include drag-and-drop programming via UF2 files, live bitstream switching, and a Nix-based development environment for reproducible builds. The testing framework supports Verilator simulations and automated FPGA testing.

The stable release introduces refinements such as updated memory maps for efficient peripheral multiplexing and changes to SPI block designs. These updates make software developed for earlier versions incompatible with v1.0 according to the announcement. However, the platform is now designed for long-term software compatibility, reducing future migration challenges.

Sonata Board peripherals
(click image to enlarge)

The platform supports further experimentation with its open-source PCB design and extensible hardware interfaces. Detailed documentation and resources are available on the lowRISC Wiki and GitHub.

Further information

The Sonata board can be purchased through Mouser or constructed from open-source designs. Upcoming workshops, including one at HiPEAC 2025, aim to provide further opportunities for developers to explore its capabilities.

(advertise here)


PLEASE COMMENT BELOW

Please comment here...