<?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: iMX7 Fails to reboot second A7 core.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669791#M103144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the same code. I load the generated binary to address 0x90100000 and then enter command &lt;/P&gt;&lt;P&gt;$ go 0x90100108&lt;/P&gt;&lt;P&gt;on u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to modify it for u-boot? Not sure what sort of modifications are needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 08:10:52 GMT</pubDate>
    <dc:creator>zaidiabbas</dc:creator>
    <dc:date>2017-07-21T08:10:52Z</dc:date>
    <item>
      <title>iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669784#M103137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;I am trying to reboot second A7 core from the first A7 core repeatedly. on the 8th attempt to boot the second A7 core system stops responding. I have attached a small piece of code that reproduces the issue with me. I have been building it using the codesourcery gnu tool chain using the following command.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;$ arm-none-eabi-gcc -gdwarf-2 -mthumb-interwork -msoft-float -mcpu=cortex-a7 -T link_ram.ld main_freescale.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;Here is a brief description of the program attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Core 0 runs the function main(). It repeatedly boots the second core with the entry function core2_func().&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Core 1 runs core2_func and sends a signal to Core 0 with variable core2_countup.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Core 0 on receiving signal shuts down Core 1 and reboots Core 1 again&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 7.5pt 0in .0001pt 0in;"&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;Variable cpu1_boot_trig_cnt tells how many time Core 1 has been powered up.&lt;BR /&gt; Variable cpu1_boot_cnt tells how many time Core 1 has successfully been powered up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;board: MCIMX7 SABRE&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;Kernel or BSP: Bare metal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;ToolChain: gcc version 6.2.0 (Sourcery CodeBench 2016.11-51)&lt;BR /&gt;Frequency of reproducible: Always&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #333333;"&gt;Steps to reproduce: Build the code load it on core 0 and let it run. When paused &lt;SPAN style="font-size: 10.5pt;"&gt;cpu1_boot_cnt&lt;/SPAN&gt; is stuck at 7. on connecting second A7 core to JTAG. The cpu is in wage state, unable to access memory or registers trhough debug.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abbas Zaidi&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336275"&gt;bme.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 10:13:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669784#M103137</guid>
      <dc:creator>zaidiabbas</dc:creator>
      <dc:date>2017-07-14T10:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669785#M103138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite interesting! I guess you are loading it through JTAG, but have you configured memory?&lt;/P&gt;&lt;P&gt;How about porting it to u-boot for the testing? Probably, some modules caused the hang. (i.e., CCM)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 20:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669785#M103138</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-14T20:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669786#M103139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zaidi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since stucking happens after several attempts one can assume that&lt;BR /&gt;this may be due to power reasons. One can try not to use GPC and&lt;BR /&gt;only stop/reset second core using SRC registers. If this helps, later one can&lt;BR /&gt;add delays after GPC power up/down to allow internal power supply to become&lt;BR /&gt;stable before proceeding next code execution. Another option to try to narrow&lt;BR /&gt;down issue, try to use internal ram (starting from 0x00910000).&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>Sun, 16 Jul 2017 23:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669786#M103139</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-16T23:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669787#M103140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks JayTu,&lt;/P&gt;&lt;P&gt;I tried loading image with u-boot, i let it run for a while and when I connect the core 0 with JTAG. The results are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My u-boot version is U-Boot 2015.04-imx_v2015.04_4.1.15_1.0.0_ga+g384e1c1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669787#M103140</guid>
      <dc:creator>zaidiabbas</dc:creator>
      <dc:date>2017-07-19T14:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669788#M103141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach your code and list the reproduced step, I'll find the time to check it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669788#M103141</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-19T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669789#M103142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JayTu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already attached the code in my original post with the command line to build it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 06:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669789#M103142</guid>
      <dc:creator>zaidiabbas</dc:creator>
      <dc:date>2017-07-21T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669790#M103143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean the one you port it to u-boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 06:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669790#M103143</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-21T06:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669791#M103144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the same code. I load the generated binary to address 0x90100000 and then enter command &lt;/P&gt;&lt;P&gt;$ go 0x90100108&lt;/P&gt;&lt;P&gt;on u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to modify it for u-boot? Not sure what sort of modifications are needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 08:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669791#M103144</guid>
      <dc:creator>zaidiabbas</dc:creator>
      <dc:date>2017-07-21T08:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669792#M103145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Integrated to uboot means that you will make it as U_BOOT_CMD. We can then build and run as usual way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 08:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669792#M103145</guid>
      <dc:creator>JayTu</dc:creator>
      <dc:date>2017-07-21T08:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669793#M103146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you advised instead of using GPC now I am only using SRC registers (SRC_A7RCR1 and SRC_SCR) to enable/diasble core_1 and reset core_1,&amp;nbsp; and the results are same. On the 8th reboot second core fails.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 13:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669793#M103146</guid>
      <dc:creator>zaidiabbas</dc:creator>
      <dc:date>2017-07-28T13:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7 Fails to reboot second A7 core.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669794#M103147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean by "core fails", if it hangs or jumps to&lt;BR /&gt;exception, if yes one can check stack pointer and debug it more.&lt;BR /&gt;Also one can try to run test from OCRAM, to check if this is cased by ddr memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 23:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7-Fails-to-reboot-second-A7-core/m-p/669794#M103147</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-28T23:59:33Z</dc:date>
    </item>
  </channel>
</rss>

