<?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のトピックRe: IMX6SOLOX Load M4 Binary from Linux A9</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491638#M78910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;to load binaries from Linux user-space to memory region dedicated for M4 seems like one would have to implement a Linux device driver. The driver would be accessible from user-space with standard functions for file operations (fopen, fclose,..). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could look at &lt;A href="http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/" title="http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/"&gt;Writing a Linux Kernel Module — Part 2: A Character Device | derekmolloy.ie&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The described driver can easily be integrated in your Yocto build and it's a good start for implementing your custom driver.&lt;/P&gt;&lt;P&gt;More detailed description of Linux device drivers can be found at &lt;A href="https://lwn.net/Kernel/LDD3/" title="https://lwn.net/Kernel/LDD3/"&gt;Linux Device Drivers, Third Edition [LWN.net]&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory region in which you want to write to would have to be mapped from physical to virtual address space. Chapter 9 in the Linux Device Drivers describes how to do so.&lt;/P&gt;&lt;P&gt;This link could also be helpful: &lt;A href="http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux" title="http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux"&gt;http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Zvonimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 08:13:18 GMT</pubDate>
    <dc:creator>zvonimirmandi_</dc:creator>
    <dc:date>2016-03-21T08:13:18Z</dc:date>
    <item>
      <title>IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491636#M78908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use imx6sx board. On A9 core run linux, on M4 core run MQX 4.1.&lt;/P&gt;&lt;P&gt;M4 binary is mapped in DDR from 0x80000000 to 0x80800000. This region is reserved by dts configuration.&lt;/P&gt;&lt;P&gt;I need to load M4 binary from linux user space application more times.&lt;/P&gt;&lt;P&gt;I'd like to know if exist a procedure supported by nxp that defines how to do.&lt;/P&gt;&lt;P&gt;I searched on the community, forum, etc but I only found cases where the loading is done by u-boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 20:16:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491636#M78908</guid>
      <dc:creator>francescoferrar</dc:creator>
      <dc:date>2016-03-20T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491637#M78909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right, BSP supports M4 application loading only by u-boot.&lt;/P&gt;&lt;P&gt;Seems one will have to develop own linux user space application&lt;/P&gt;&lt;P&gt;using example on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-106253"&gt;MX6 SoloX bare metal startup  &lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 01:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491637#M78909</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-03-21T01:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491638#M78910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;to load binaries from Linux user-space to memory region dedicated for M4 seems like one would have to implement a Linux device driver. The driver would be accessible from user-space with standard functions for file operations (fopen, fclose,..). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could look at &lt;A href="http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/" title="http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/"&gt;Writing a Linux Kernel Module — Part 2: A Character Device | derekmolloy.ie&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The described driver can easily be integrated in your Yocto build and it's a good start for implementing your custom driver.&lt;/P&gt;&lt;P&gt;More detailed description of Linux device drivers can be found at &lt;A href="https://lwn.net/Kernel/LDD3/" title="https://lwn.net/Kernel/LDD3/"&gt;Linux Device Drivers, Third Edition [LWN.net]&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory region in which you want to write to would have to be mapped from physical to virtual address space. Chapter 9 in the Linux Device Drivers describes how to do so.&lt;/P&gt;&lt;P&gt;This link could also be helpful: &lt;A href="http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux" title="http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux"&gt;http://stackoverflow.com/questions/11621911/mapping-physical-addresses-to-virtual-address-linux&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Zvonimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491638#M78910</guid>
      <dc:creator>zvonimirmandi_</dc:creator>
      <dc:date>2016-03-21T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491639#M78911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the issue stopping the M4 and reloading new firmware without the M4/A9 halting? or becoming non-repressive the issue? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 13:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491639#M78911</guid>
      <dc:creator>tcmichals</dc:creator>
      <dc:date>2016-03-23T13:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491640#M78912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;M4 would have to be halted. The easiest way to do that is by asserting non-self-clearing SW reset for M4 in SRC Control Register (bit 4).&lt;/P&gt;&lt;P&gt;A9 doesn't need to be halted as A9's used memory region doesn't overlap with M4's (if mapping the memory for Linux was done properly).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491640#M78912</guid>
      <dc:creator>zvonimirmandi_</dc:creator>
      <dc:date>2016-03-23T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491641#M78913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you happen to get this working? I am attempting to do the same using the iMX7 Dual. An example to compare against would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 17:21:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491641#M78913</guid>
      <dc:creator>ryanschaefer</dc:creator>
      <dc:date>2016-09-30T17:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491642#M78914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you aware of any working examples from the community?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 17:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491642#M78914</guid>
      <dc:creator>ryanschaefer</dc:creator>
      <dc:date>2016-09-30T17:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SOLOX Load M4 Binary from Linux A9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491643#M78915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I echo Ryan's question, did anyone get this working or have an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 19:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SOLOX-Load-M4-Binary-from-Linux-A9/m-p/491643#M78915</guid>
      <dc:creator>timlapsley</dc:creator>
      <dc:date>2017-02-17T19:33:23Z</dc:date>
    </item>
  </channel>
</rss>

