<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2361341#M245127</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We not support playback and capturer on i.MX8QM &amp;amp; i.MX8QXP platform,&amp;nbsp;this case only support for i.MX8MP.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2026 20:49:58 GMT</pubDate>
    <dc:creator>JorgeCas</dc:creator>
    <dc:date>2026-05-06T20:49:58Z</dc:date>
    <item>
      <title>dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2361265#M245122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are trying to execute &lt;EM&gt;unit_tests&amp;nbsp;&lt;/EM&gt;from&amp;nbsp;UG10167 i.MX DSP User's Guide -&amp;nbsp;Rev. LF6.6.36_2.1.0, but we are facing difficulties. Namely, we've&amp;nbsp;been able to download and compile the dsp_framework with tensilica toolchain. Booting up the hifi4.bin works as expected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# echo start &amp;gt; /sys/class/remoteproc/remoteproc2/state
# dmesg
...
[ 2003.327475] remoteproc remoteproc2: powering up imx-dsp-rproc
[ 2003.328807] remoteproc remoteproc2: Booting fw image imx/dsp/hifi4.bin, size 881668
[ 2003.352398] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node vdev0buffer@94300000
[ 2003.353925] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 2003.353997] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
[ 2003.354014] remoteproc remoteproc2: remote processor imx-dsp-rproc is now up
[ 2003.354255] virtio_rpmsg_bus virtio0: creating channel rpmsg-raw addr 0x1
[ 2003.354938] virtio_rpmsg_bus virtio0: creating channel rpmsg-raw addr 0x2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But attempting to execute the mp3 renderer test times out:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# /unit_tests/DSP/dsp_rend_test.out -f10 -itest.mp3
****************************************************************
Cadence Audio Framework (Hostless) : 'Decoder + Renderer'
Build: NON_XTENSA, RTOS: Linux, On: May  6 2026 13:02:32
Copyright (c) 2015-2020 Cadence Design Systems, Inc.
Lib Name        : Audio Framework (Hostless)
Lib Version     : 2.6
API Version     : 2.0
****************************************************************
Audio Device Ready
get samplerate 44100, channel 2, width 16
renderer_setup failed, Error code : -110&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've tried to enable DEBUG, but as per the DSP documentation that doesn't work for i.MX8QM-MEK.&amp;nbsp;&lt;BR /&gt;Another thing was that the memory allocation adderss for the HiFi4 firmawe was the same i.MX8 QuadXPlus and i.MX8 QuadMax MEK until this commit in linux-imx repository:&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/commit/01440e5d67c873caccd06e0fc0498ddc70c0f15a" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/commit/01440e5d67c873caccd06e0fc0498ddc70c0f15a&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here, dsp node moved from:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;dsp: dsp@596e8000 &amp;lt;- same as QuadXPlus&lt;/LI&gt;&lt;LI&gt;dsp: dsp@556e8000 &amp;lt;- changed after said commit&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We were able to revert the dsp node to the previous address and boot the &lt;EM&gt;imx8qm-mek-rpmsg.dtb&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# find /sys/firmware/devicetree/base/ -name "*dsp*"
/sys/firmware/devicetree/base/bus@5d000000/mailbox@5d280000/fsl,dsp_ap_mu_id
/sys/firmware/devicetree/base/__symbols__/dsp_reserved_heap
/sys/firmware/devicetree/base/__symbols__/dsp_lpcg
/sys/firmware/devicetree/base/__symbols__/dsp_ram_lpcg
/sys/firmware/devicetree/base/__symbols__/dsp_vdev0vring1
/sys/firmware/devicetree/base/__symbols__/dsp_reserved
/sys/firmware/devicetree/base/__symbols__/dsp_vdev0buffer
/sys/firmware/devicetree/base/__symbols__/dsp
/sys/firmware/devicetree/base/__symbols__/vpu_subsys_dsp
/sys/firmware/devicetree/base/__symbols__/dsp_vdev0vring0
/sys/firmware/devicetree/base/reserved-memory/dsp_reserved_heap@93400000
/sys/firmware/devicetree/base/reserved-memory/dsp@92400000
/sys/firmware/devicetree/base/bus@59000000/dsp@596e8000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did this since the tensilica toolchain linker data is configured for the&amp;nbsp;i.MX8 QuadXPlus addresses. But this didn't help either, error stayed the same.&lt;/P&gt;&lt;P&gt;Both&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gplay-1.0 test.mp3&lt;/LI-CODE&gt;&lt;P&gt;as well as&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;aplay test.wav &lt;/LI-CODE&gt;&lt;P&gt;work once we've changed the output to be the 3.5mm jack.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be that we are missing codec binaries?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# ls /usr/lib/imx-mm/audio-codec/dsp/
lib_aacd_wrap_dsp.so lib_dsp_voice_process_dummy.so lib_nbamrd_wrap_dsp.so lib_vorbisd_wrap_dsp.so.3
lib_aacd_wrap_dsp.so.3 lib_mp3d_wrap_dsp.so lib_nbamrd_wrap_dsp.so.1 lib_wbamrd_wrap_dsp.so
lib_mp3d_wrap_dsp.so.3 lib_vorbisd_wrap_dsp.so lib_wbamrd_wrap_dsp.so.1&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Enabling XAF with audio rendering is a must-have for our use case, so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dusan&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 15:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2361265#M245122</guid>
      <dc:creator>Dusan_Stojkovic</dc:creator>
      <dc:date>2026-05-06T15:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2361341#M245127</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We not support playback and capturer on i.MX8QM &amp;amp; i.MX8QXP platform,&amp;nbsp;this case only support for i.MX8MP.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 20:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2361341#M245127</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2026-05-06T20:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2362015#M245132</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please specify why this is the case, is it something to do with the hardware, DSP firmware or unit test application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dusan&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 15:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2362015#M245132</guid>
      <dc:creator>Dusan_Stojkovic</dc:creator>
      <dc:date>2026-05-07T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2362065#M245133</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;According to internal team, i.MX8QM/i.MX8QXP boards were removed since needs additional configuration as occurs with i.MX8MP with a dedicated device tree.&lt;/P&gt;
&lt;P&gt;Same issue as you reported.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2026 18:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2362065#M245133</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2026-05-07T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: dsp renderer unit test fails to setup the XAF renderer component on i.MX8QM-MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2366240#M245250</link>
      <description>&lt;P&gt;Thanks for the info,&lt;/P&gt;&lt;P&gt;So I think I digged up the commit which removes this custom dts as you mentioned:&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/commit/0ba5556c6fc3249a1973f57697d740ba0e4c3681" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/commit/0ba5556c6fc3249a1973f57697d740ba0e4c3681&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And based on this created one with adjustments. It's attached. However, the issue still persists.&lt;/P&gt;&lt;P&gt;I would like to do some more digging in the DSP firmware but for some reason I can't enable debug from the firmware over UART. Here is my setup:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Made a firmware for the particular kernel version with &lt;STRONG&gt;DEBUG=1&amp;nbsp;&lt;/STRONG&gt;as per documentation with modified LPUART_BASE address to UART2.&lt;/LI&gt;&lt;LI&gt;Added the UART2 (DBG) in DSP node&lt;/LI&gt;&lt;LI&gt;There is this comment in the documentation:&lt;BR /&gt;&lt;EM&gt;The debug information cannot print on the i.MX 8QuadMax board, because the UART is&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;taken.&lt;/EM&gt;&lt;BR /&gt;So I updated the bootloader to&amp;nbsp;&lt;EM&gt;imx-boot-imx8qmmek-sd.bin-flash_spl&amp;nbsp;&lt;/EM&gt;which allows the UART1,2 or 3 to be assigned to DSP node. Without it, the DSP node would not be parsed during boot.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Linux side the UART clocks are enabled and owned by the DSP node once the start command is echoed to the DSP over rproc. The behavior doesn't change, but there is no UART output.&lt;/P&gt;&lt;P&gt;How do I enable DSP Debug over UART, is it possible? Is the issue regarding the UART being taken due to the SCU firmware or something else?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dusan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2026 13:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/dsp-renderer-unit-test-fails-to-setup-the-XAF-renderer-component/m-p/2366240#M245250</guid>
      <dc:creator>Dusan_Stojkovic</dc:creator>
      <dc:date>2026-05-15T13:15:10Z</dc:date>
    </item>
  </channel>
</rss>

