Details about porting SOF to other DSP architectures and platforms. This guide is still work in progress.
Architecture Porting Guide¶
Sound Open Firmware currently supports the Cadence xtensa DSP architecture but is designed to support other DSP architectures via an architecture abstraction layer (AAL) in the src/arch directory. The AAL provides an architecture agnostic API that exports functioality for common architecure features.
- Atomic Arithmetic
- GDB debug
The AAL API is exported via headers in ‘src/arch/<architecture>/include/arch’.
The AAL thinly wraps architecture specific HALs or RTOSes and is intended to “compile out” so that there is no runtime performance penalty. i.e. on Cadence xtensa architecture it wraps xtensa HAL and XTOS API calls.