From c9882c04b3fe096cef832ae37d082c13bcc29313 Mon Sep 17 00:00:00 2001 From: Aditya Rathi Date: Thu, 16 Jul 2026 20:31:17 +0530 Subject: [PATCH 1/2] doc: imx8mp: add audio_dma_support PACKAGECONFIG for graphservices The audio_dma_support PACKAGECONFIG option was missing from the local.conf configuration block. This option is required to enable DMA-based shared memory support in audioreach-graphservices on the NXP platform. Signed-off-by: Aditya Rathi --- source/platform/nxp.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/source/platform/nxp.rst b/source/platform/nxp.rst index ed83961..5fd2713 100644 --- a/source/platform/nxp.rst +++ b/source/platform/nxp.rst @@ -106,6 +106,7 @@ 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" Once the configuration is complete, run the following command to generate the full build with From 0876afe33253df59a4c499765798462715c1ea36 Mon Sep 17 00:00:00 2001 From: Aditya Rathi Date: Thu, 16 Jul 2026 20:31:24 +0530 Subject: [PATCH 2/2] doc: imx8mp: add kernel DT step for q6apm-dais audio memory driver The audioreach-kernel q6apm_audio_mem driver probes on the qcom,q6apm-dais compatible string to enable the audio memory device node for shared memory management between the APPS processor and the ADSP. Add a step under Integrate AudioReach Components that checks out the kernel source via devtool modify virtual/kernel and adds the q6apmdai node to imx8mp-evk-dsp.dts before the final Yocto build. Signed-off-by: Aditya Rathi --- source/platform/nxp.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/source/platform/nxp.rst b/source/platform/nxp.rst index 5fd2713..bf2e81f 100644 --- a/source/platform/nxp.rst +++ b/source/platform/nxp.rst @@ -109,6 +109,26 @@ AudioReach components in the full Yocto build: 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 ``/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: