<?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 Loading DSP using IPC on B4860QDS in Qonverge</title>
    <link>https://community.nxp.com/t5/Qonverge/Loading-DSP-using-IPC-on-B4860QDS/m-p/692666#M342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having an issue loading code on the B4860QDS platform. &amp;nbsp;This is using the most recent 2.0 SDK as well as with 1.9. &amp;nbsp;The application I am loading is the ipc_integration demo from the SmartDSP examples. &amp;nbsp;I have converted the bin using sc100-elf2xx.exe. dsp_bt fails with the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@b4860:/ipc# ./dsp_bt -h 0 -c 0 -i c0_ipc_demo_b4860_dbg.bin&lt;BR /&gt;===B4860QDS DSP boot Application (3.1.0) ===&lt;BR /&gt;SYSTEM MAP&lt;BR /&gt;DSP PrivArea: Addr=80000000 Size=7ff00000&lt;BR /&gt;Shared CtrlArea: Addr=fff00000 Size=100000&lt;BR /&gt;DSP Core0 M2: Addr=0 Size=0&lt;BR /&gt;DSP Core1 M2: Addr=0 Size=0&lt;BR /&gt;DSP M3: Addr=c40000000 Size=8000&lt;BR /&gt;PA CCSRBAR: Addr =ffe000000 Size=1000000&lt;BR /&gt;DSP CCSRBAR: Addr =ffe000000 Size=1000000&lt;BR /&gt;PA Shared Area: Addr=50000000 Size=f000000&lt;BR /&gt;DSP Shared Area: Addr=5f000000 Size=1000000&lt;BR /&gt;Waiting for FI&lt;BR /&gt;Waiting for FI&lt;BR /&gt;Waiting for FI&lt;BR /&gt;L2 cache cluster2 init&lt;BR /&gt;Loading Dsp image c0_ipc_demo_b4860_dbg.bin&lt;/P&gt;&lt;P&gt;Error in mapping physical address 100000000 to virtual address in load_dsp_image&lt;BR /&gt;Error in loading Dsp image StarCore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have re-compiled the kernel as indicated in the SDK documentation, but the error persists. &amp;nbsp;I have found somewhat similar issues discussed elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a current SDK example with a known good configuration to demonstrate IPC functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 00:24:31 GMT</pubDate>
    <dc:creator>andrewmarles</dc:creator>
    <dc:date>2017-06-20T00:24:31Z</dc:date>
    <item>
      <title>Loading DSP using IPC on B4860QDS</title>
      <link>https://community.nxp.com/t5/Qonverge/Loading-DSP-using-IPC-on-B4860QDS/m-p/692666#M342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having an issue loading code on the B4860QDS platform. &amp;nbsp;This is using the most recent 2.0 SDK as well as with 1.9. &amp;nbsp;The application I am loading is the ipc_integration demo from the SmartDSP examples. &amp;nbsp;I have converted the bin using sc100-elf2xx.exe. dsp_bt fails with the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@b4860:/ipc# ./dsp_bt -h 0 -c 0 -i c0_ipc_demo_b4860_dbg.bin&lt;BR /&gt;===B4860QDS DSP boot Application (3.1.0) ===&lt;BR /&gt;SYSTEM MAP&lt;BR /&gt;DSP PrivArea: Addr=80000000 Size=7ff00000&lt;BR /&gt;Shared CtrlArea: Addr=fff00000 Size=100000&lt;BR /&gt;DSP Core0 M2: Addr=0 Size=0&lt;BR /&gt;DSP Core1 M2: Addr=0 Size=0&lt;BR /&gt;DSP M3: Addr=c40000000 Size=8000&lt;BR /&gt;PA CCSRBAR: Addr =ffe000000 Size=1000000&lt;BR /&gt;DSP CCSRBAR: Addr =ffe000000 Size=1000000&lt;BR /&gt;PA Shared Area: Addr=50000000 Size=f000000&lt;BR /&gt;DSP Shared Area: Addr=5f000000 Size=1000000&lt;BR /&gt;Waiting for FI&lt;BR /&gt;Waiting for FI&lt;BR /&gt;Waiting for FI&lt;BR /&gt;L2 cache cluster2 init&lt;BR /&gt;Loading Dsp image c0_ipc_demo_b4860_dbg.bin&lt;/P&gt;&lt;P&gt;Error in mapping physical address 100000000 to virtual address in load_dsp_image&lt;BR /&gt;Error in loading Dsp image StarCore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have re-compiled the kernel as indicated in the SDK documentation, but the error persists. &amp;nbsp;I have found somewhat similar issues discussed elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a current SDK example with a known good configuration to demonstrate IPC functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 00:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Qonverge/Loading-DSP-using-IPC-on-B4860QDS/m-p/692666#M342</guid>
      <dc:creator>andrewmarles</dc:creator>
      <dc:date>2017-06-20T00:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading DSP using IPC on B4860QDS</title>
      <link>https://community.nxp.com/t5/Qonverge/Loading-DSP-using-IPC-on-B4860QDS/m-p/692667#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="298278" data-username="andrewmarles" href="https://community.nxp.com/people/andrewmarles"&gt;Andrew Marles&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that there is problem in the memory allocation, please check whether you missed some steps as the following.&lt;/P&gt;&lt;P&gt;u-boot bootargs:&lt;/P&gt;&lt;P&gt;=&amp;gt;setenv bootm_size 0x70000000&lt;/P&gt;&lt;P&gt;=&amp;gt;setenv bootargs 'console=ttyS0,115200 default_hugepagesz=256m hugepagesz=256m hugepages=1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd /usr/driver/IPC/single_rat/ &lt;BR /&gt; echo 0x10000000 &amp;gt; /proc/sys/kernel/shmmax &lt;BR /&gt; insmod hetmgr.ko &lt;BR /&gt; insmod shm.ko &lt;BR /&gt; insmod l1d.ko &lt;BR /&gt; mknod /dev/fsl_l1d c 249 0 &lt;BR /&gt; mknod /dev/fsl_shm c 250 0 &lt;BR /&gt; mknod /dev/het_mgr c 251 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# ./dsp_bt -h 1 -c 0 -i c0.bin -c 1 -i c1.bin&lt;/P&gt;&lt;P&gt;# ./ipc_test -r 0 -i 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, please refer to the following Kernel build option.&lt;/P&gt;&lt;P&gt;1. Diable the Kernel dma engine&lt;/P&gt;&lt;P&gt;Device Drivers&amp;nbsp; ---&amp;gt;&lt;BR /&gt; &amp;nbsp;[ ] DMA Engine support&amp;nbsp; ---&amp;gt;&lt;/P&gt;&lt;P&gt;2. Enable Userspace's I/O driver&lt;/P&gt;&lt;P&gt;Device Drivers&amp;nbsp; ---&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;*&amp;gt; Userspace I/O drivers&amp;nbsp; ---&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;*&amp;gt; Freescale DMA support&lt;/P&gt;&lt;P&gt;3. Build below packages into rootfs&lt;/P&gt;&lt;P&gt;NOTE: fsl-image-core.bb&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL += " \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipc-ust \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; ipc-modules-single \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; ipc-modules-multi \&lt;BR /&gt; "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your problem persists, please attach your whole console log.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 04:19:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Qonverge/Loading-DSP-using-IPC-on-B4860QDS/m-p/692667#M343</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-06-26T04:19:56Z</dc:date>
    </item>
  </channel>
</rss>

