Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions source/platform/nxp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,29 @@ AudioReach components in the full Yocto build:

IMAGE_INSTALL:append = "audioreach-graphservices tinyalsa audioreach-graphmgr audioreach-conf audioreach-kernel"
PACKAGECONFIG:pn-audioreach-graphmgr = "use_default_acdb_path"
PACKAGECONFIG:append:pn-audioreach-graphservices = " audio_dma_support"
EXTRA_OECONF:append:pn-audioreach-conf = " --with-nxp"

Before running the final build, apply the following change to the Linux kernel device tree.
The ``audioreach-kernel`` package includes the ``q6apm_audio_mem`` driver, which manages shared
memory between the APPS processor and the ADSP. This driver probes on the ``qcom,q6apm-dais``
compatible string to enable the audio memory device node.

Use ``devtool modify`` to check out the kernel source into the workspace:

.. code-block:: bash

devtool modify virtual/kernel

In ``<yocto_build_root>/sources/linux-imx/arch/arm64/boot/dts/freescale/imx8mp-evk-dsp.dts``,
add the following inside the root ``/ { }`` block:

.. code-block:: dts

q6apmdai: dais {
compatible = "qcom,q6apm-dais";
};

Once the configuration is complete, run the following command to generate the full build with
the integrated AudioReach components:

Expand Down
Loading