<?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>i.MX ProcessorsのトピックMessaging Unit (MU) issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Messaging-Unit-MU-issue/m-p/897671#M135545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the tool m4ctrl to load m4 bin from linux.But I have some issues.&lt;/P&gt;&lt;P&gt;I git clone from&amp;nbsp;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/m4ctrl/" title="https://source.codeaurora.org/external/imxsupport/m4ctrl/"&gt;m4ctrl - M4 Control Tool for i.MX platforms&lt;/A&gt;&amp;nbsp;&amp;nbsp;,and I build it.&lt;/P&gt;&lt;P&gt;Then I get an exec bin&amp;nbsp;&lt;SPAN&gt;m4ctrl&amp;nbsp;and an kernel module&amp;nbsp;m4ctrl_dev.ko.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use&amp;nbsp;insmod m4ctrl_dev.ko in the linux shell to insmod kernel module,but an error occuring:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@imx8mmevk:~# [&amp;nbsp; 950.531748] Cannot obtain MU ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found it is printed from&amp;nbsp;m4ctrl_dev.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;sciErr = sc_ipc_getMuID(&amp;amp;mu_id);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (sciErr != SC_ERR_NONE) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pr_err("Cannot obtain MU ID\n");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return -EPROBE_DEFER;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;The function&amp;nbsp;&lt;SPAN&gt;sc_ipc_getMuID&lt;/SPAN&gt; is defined in the file: drivers/soc/imx/sc/main/ipc.c.&lt;/P&gt;&lt;P&gt;This error occurs because the MU driver does not load in the kernel.&lt;/P&gt;&lt;P&gt;When Linux booting, a log can find in the shell:&lt;/P&gt;&lt;P&gt;[&amp;nbsp; &amp;nbsp; 0.114381] Cannot find MU entry in device tree&lt;/P&gt;&lt;P&gt;My question is: How to add MU driver on the imx8m mini board?&lt;/P&gt;&lt;P&gt;By the way, My yocto version is&amp;nbsp;2.5 (Sumo) and linux version is&amp;nbsp;imx_4.14.78_1.0.0_ga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2019 08:23:41 GMT</pubDate>
    <dc:creator>wangliu</dc:creator>
    <dc:date>2019-05-17T08:23:41Z</dc:date>
    <item>
      <title>Messaging Unit (MU) issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Messaging-Unit-MU-issue/m-p/897671#M135545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the tool m4ctrl to load m4 bin from linux.But I have some issues.&lt;/P&gt;&lt;P&gt;I git clone from&amp;nbsp;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/m4ctrl/" title="https://source.codeaurora.org/external/imxsupport/m4ctrl/"&gt;m4ctrl - M4 Control Tool for i.MX platforms&lt;/A&gt;&amp;nbsp;&amp;nbsp;,and I build it.&lt;/P&gt;&lt;P&gt;Then I get an exec bin&amp;nbsp;&lt;SPAN&gt;m4ctrl&amp;nbsp;and an kernel module&amp;nbsp;m4ctrl_dev.ko.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use&amp;nbsp;insmod m4ctrl_dev.ko in the linux shell to insmod kernel module,but an error occuring:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;root@imx8mmevk:~# [&amp;nbsp; 950.531748] Cannot obtain MU ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found it is printed from&amp;nbsp;m4ctrl_dev.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;sciErr = sc_ipc_getMuID(&amp;amp;mu_id);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (sciErr != SC_ERR_NONE) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pr_err("Cannot obtain MU ID\n");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return -EPROBE_DEFER;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;The function&amp;nbsp;&lt;SPAN&gt;sc_ipc_getMuID&lt;/SPAN&gt; is defined in the file: drivers/soc/imx/sc/main/ipc.c.&lt;/P&gt;&lt;P&gt;This error occurs because the MU driver does not load in the kernel.&lt;/P&gt;&lt;P&gt;When Linux booting, a log can find in the shell:&lt;/P&gt;&lt;P&gt;[&amp;nbsp; &amp;nbsp; 0.114381] Cannot find MU entry in device tree&lt;/P&gt;&lt;P&gt;My question is: How to add MU driver on the imx8m mini board?&lt;/P&gt;&lt;P&gt;By the way, My yocto version is&amp;nbsp;2.5 (Sumo) and linux version is&amp;nbsp;imx_4.14.78_1.0.0_ga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 08:23:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Messaging-Unit-MU-issue/m-p/897671#M135545</guid>
      <dc:creator>wangliu</dc:creator>
      <dc:date>2019-05-17T08:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Messaging Unit (MU) issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Messaging-Unit-MU-issue/m-p/897672#M135546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately this tool currently does not support i.MX8M Mini,&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/m4ctrl/about/" title="https://source.codeaurora.org/external/imxsupport/m4ctrl/about/"&gt;m4ctrl - M4 Control Tool for i.MX platforms&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One can try to add such support himself, using as reference i.MX7 codes.&lt;/P&gt;&lt;P&gt;i.MX8M Mini has not SCU module and &lt;SPAN&gt;m4ctrl_dev.c&lt;/SPAN&gt; is not needed.&lt;/P&gt;&lt;P&gt;So one will have to set appropriate memory addresses for i.MX8M Mini,&lt;/P&gt;&lt;P&gt;common gudelines for running M4 from Linux can be found in app note AN5317&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5317.pdf" target="_blank"&gt;&lt;STRONG&gt;Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and i.MX 7Dual/7Solo Application Processors &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Tue, 21 May 2019 07:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Messaging-Unit-MU-issue/m-p/897672#M135546</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-21T07:46:19Z</dc:date>
    </item>
  </channel>
</rss>

