Skip to content
Merged
Show file tree
Hide file tree
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 docs/_sources/platform/nxp.rst.txt
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
16 changes: 16 additions & 0 deletions docs/platform/nxp.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,25 @@ <h3><a class="toc-backref" href="#id4" role="doc-backlink">Integrate AudioReach
AudioReach components in the full Yocto build:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>IMAGE_INSTALL:append<span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;audioreach-graphservices tinyalsa audioreach-graphmgr audioreach-conf audioreach-kernel&quot;</span>
PACKAGECONFIG:pn-audioreach-graphmgr<span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;use_default_acdb_path&quot;</span>
PACKAGECONFIG:append:pn-audioreach-graphservices<span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot; audio_dma_support&quot;</span>
EXTRA_OECONF:append:pn-audioreach-conf<span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot; --with-nxp&quot;</span>
</pre></div>
</div>
<p>Before running the final build, apply the following change to the Linux kernel device tree.
The <code class="docutils literal notranslate"><span class="pre">audioreach-kernel</span></code> package includes the <code class="docutils literal notranslate"><span class="pre">q6apm_audio_mem</span></code> driver, which manages shared
memory between the APPS processor and the ADSP. This driver probes on the <code class="docutils literal notranslate"><span class="pre">qcom,q6apm-dais</span></code>
compatible string to enable the audio memory device node.</p>
<p>Use <code class="docutils literal notranslate"><span class="pre">devtool</span> <span class="pre">modify</span></code> to check out the kernel source into the workspace:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>devtool<span class="w"> </span>modify<span class="w"> </span>virtual/kernel
</pre></div>
</div>
<p>In <code class="docutils literal notranslate"><span class="pre">&lt;yocto_build_root&gt;/sources/linux-imx/arch/arm64/boot/dts/freescale/imx8mp-evk-dsp.dts</span></code>,
add the following inside the root <code class="docutils literal notranslate"><span class="pre">/</span> <span class="pre">{</span> <span class="pre">}</span></code> block:</p>
<div class="highlight-dts notranslate"><div class="highlight"><pre><span></span><span class="nl">q6apmdai</span><span class="p">:</span><span class="w"> </span><span class="nf">dais</span><span class="cm"> </span><span class="p">{</span>
<span class="w"> </span><span class="kr">compatible</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;qcom,q6apm-dais&quot;</span><span class="p">;</span>
<span class="p">};</span>
</pre></div>
</div>
<p>Once the configuration is complete, run the following command to generate the full build with
the integrated AudioReach components:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>bitbake<span class="w"> </span>imx-image-multimedia
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Loading