<?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: Boot M4 automatically on i.MX6 SoloX SABRE-SDB in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665647#M102400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Sorry for my late response I was on leave for a few weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, my question then is how do I write a user application for the&amp;nbsp;A9 to boot the M4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am yet to find any good resources and examples of how to write an A9 user application to do this? I have compiled the Yockto Linux BSP that Freescale provides and the SDK. I can compile user applications but not sure what to put into the user application to get the M4 booting and how to configure it to get the M4 booting automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 01:12:22 GMT</pubDate>
    <dc:creator>jasonqueen</dc:creator>
    <dc:date>2017-05-30T01:12:22Z</dc:date>
    <item>
      <title>Boot M4 automatically on i.MX6 SoloX SABRE-SDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665645#M102398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the M4 core to boot before the A9 core on the&amp;nbsp;i.MX6 SoloX SABRE-SDB. It is important for me to have the M4 boot quickly and then have the A9 follow. I have successfully developed a FreeRTOS application for the M4 which only utilities FlexCan to communicate to other devices. When I boot the M4 manually in uboot everything works perfectly. However, when I try boot the M4 automatically before the A9 then the application works fine until the A9 begins to boot into Linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the following variable to uboot which I use to boot the M4 core with my application:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;startm4=fatload mmc 2:1 0x80000000 driver_control_code.bin; dcache flush; cp.b 0x80000000 0x7F8000 &amp;nbsp;&amp;nbsp;&amp;nbsp;0x8000; dcache flush; bootaux 0x7F8000;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the the following&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;variables in uboot (changes are in bold):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fdt_file =&amp;nbsp;imx6sx-sdb&lt;STRONG&gt;-m4&lt;/STRONG&gt;.dtb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;bootcmd=mmc dev 2;mmc dev 2; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; &amp;nbsp;&amp;nbsp;&amp;nbsp;then &lt;STRONG&gt;run startm4;&lt;/STRONG&gt; run mmcboot; else run netboot; fi; fi; else run netboot; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mmcargs=setenv bootargs &lt;STRONG&gt;uart_from_osc&lt;/STRONG&gt; console=${console},${baudrate} root=${mmcroot}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice on how to automatically boot the M4 before the A9 correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 13:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665645#M102398</guid>
      <dc:creator>jasonqueen</dc:creator>
      <dc:date>2017-05-03T13:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Boot M4 automatically on i.MX6 SoloX SABRE-SDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665646#M102399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Booting M4 before A9 is impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6SXRM.pdf"&gt;IMX6SX Reference Manual&lt;/A&gt; you can find&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="left: 168.746px; top: 424.283px; font-size: 28.3333px; font-family: sans-serif; transform: scaleX(1.06579);"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;13.5 Cortex-M4 Boot Requirements&lt;/DIV&gt;&lt;DIV style="left: 111.84px; top: 456.96px; font-size: 23.3333px; font-family: serif; transform: scaleX(0.99636);"&gt;• Cortex-A9 always boots as the primary core.&lt;/DIV&gt;&lt;DIV style="left: 111.84px; top: 483.627px; font-size: 23.3333px; font-family: serif; transform: scaleX(0.997771);"&gt;• Cortex-M4 does not have a boot ROM and at POR is not provided a clock&lt;/DIV&gt;&lt;DIV style="left: 111.84px; top: 510.293px; font-size: 23.3333px; font-family: serif; transform: scaleX(0.996925);"&gt;• Cortex-A9 user code is responsible for the following:&lt;/DIV&gt;&lt;DIV style="left: 151.833px; top: 536.96px; font-size: 23.3333px; font-family: serif; transform: scaleX(0.997978);"&gt;• Loading and authenticating Cortex-M4 firmware by HAB API or with Cortex-&lt;/DIV&gt;&lt;DIV style="left: 170.01px; top: 563.627px; font-size: 23.3333px; font-family: serif; transform: scaleX(1.00021);"&gt;A9 firmware together as a unified image by boot ROM.&lt;/DIV&gt;&lt;DIV style="left: 151.833px; top: 590.293px; font-size: 23.3333px; font-family: serif; transform: scaleX(0.998054);"&gt;• Launching the Cortex-M4 by enabling its clock and clearing its reset bit in SRC&lt;/DIV&gt;&lt;DIV style="left: 170.01px; top: 616.96px; font-size: 23.3333px; font-family: serif; transform: scaleX(1.00024);"&gt;(See System Reset Controller Chapter for more details).&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&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>Wed, 03 May 2017 17:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665646#M102399</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-05-03T17:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Boot M4 automatically on i.MX6 SoloX SABRE-SDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665647#M102400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Sorry for my late response I was on leave for a few weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, my question then is how do I write a user application for the&amp;nbsp;A9 to boot the M4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am yet to find any good resources and examples of how to write an A9 user application to do this? I have compiled the Yockto Linux BSP that Freescale provides and the SDK. I can compile user applications but not sure what to put into the user application to get the M4 booting and how to configure it to get the M4 booting automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 01:12:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665647#M102400</guid>
      <dc:creator>jasonqueen</dc:creator>
      <dc:date>2017-05-30T01:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Boot M4 automatically on i.MX6 SoloX SABRE-SDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665648#M102401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are examples provided by FreeRTOS. The following document explains how to run RPMsg demo which sends messages from one core to another, but there are also other simple examples such as starting a simple hello world in M4 from A9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333803"&gt;Running RPMsg Demo Applications for Multicore Communication with IMX6SX and IMX7D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Carlos&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>Tue, 30 May 2017 15:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-M4-automatically-on-i-MX6-SoloX-SABRE-SDB/m-p/665648#M102401</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-05-30T15:46:11Z</dc:date>
    </item>
  </channel>
</rss>

