boards/amd/acp_6_0_adsp/doc/index.rst
.. zephyr:board:: acp_6_0_adsp
Overview
ACP 6.0 is Audio co-processor in AMD SoC based on HiFi5 DSP Xtensa Architecture, Zephyr OS is ported to run various audio and speech use cases on the SOF based framework.
SOF can be built with either Zephyr or Cadence's proprietary Xtensa OS (XTOS) and run on a ACP 6.0 AMD platforms.
Hardware
Board features:
RAM: 1.75MB HP SRAM & 512KB configurable IRAM/DRAM
Audio Interfaces:
.. zephyr:board-supported-hw::
The ACP 6.0 SoC operates with an audio clock frequency ranging from 200 to 800 MHz.
System requirements
The Zephyr SDK provides GCC-based toolchains necessary to build Zephyr for the AMD ACP boards. For users looking for higher optimization levels, building with the proprietary Xtensa toolchain from Cadence might be preferable.
The following instructions assume you have purchased and installed the toolchain(s) and core(s) for your board following instructions from Xtensa documentation.
If you choose to build with the Xtensa toolchain instead of the Zephyr SDK, set the following environment variables specific to the board in addition to the Xtensa toolchain environment variable listed below.
First, make sure, the necessary license is available from Cadence and set the license variables as per the instruction from Cadence. Next, set the following environment variables:
The bottom three variables are specific to acp_6_0.
.. code-block:: shell
export XTENSA_TOOLCHAIN_PATH="tools installed path" export XTENSA_BUILDS_DIR="user build directory path" export ZEPHYR_TOOLCHAIN_VARIANT=xcc export TOOLCHAIN_VER=RI-2019.1-linux export XTENSA_CORE=LX7_HiFi5_PROD
Programming and Debugging
.. zephyr:board-supported-runners::
Build as usual.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: acp_6_0_adsp/acp_6_0 :goals: build
AMD supports only signed images flashing on ACP 6.0 platforms through ACP Linux Driver.
The following boot sequence messages can be observed in dmesg