<?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>PowerQUICC ProcessorsのトピックRe: What can cause a code running on cpu 0 does not on cpu 1 ?</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735277#M2287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Do you use an SMP version of FreeRTOS&lt;/SPAN&gt;? See the following page:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsourceforge.net%2Fp%2Ffreertos%2Fdiscussion%2F382005%2Fthread%2Fb74e2952%2F" rel="nofollow" target="_blank"&gt;https://sourceforge.net/p/freertos/discussion/382005/thread/b74e2952/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;See also the following pages:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fzedboard.org%2Fcontent%2Ffreertos-running-both-arm-cores" rel="nofollow" target="_blank"&gt;http://zedboard.org/content/freertos-running-both-arm-cores&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rbccps.org%2Fwp-content%2Fuploads%2F2017%2F10%2F06961844.pdf" rel="nofollow" target="_blank"&gt;http://www.rbccps.org/wp-content/uploads/2017/10/06961844.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fn-aizu%2Ffreertos-multicore" rel="nofollow" target="_blank"&gt;https://github.com/n-aizu/freertos-multicore&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;NXP offers Linux BSP for the TWR-LS1021a board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Flinux-software-and-development-tools%2Flinux-sdk-for-qoriq-processors%3ASDKLINUX%3Ffsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/linux-sdk-for-qoriq-processors:SDKLINUX?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Flinux-software-and-development-tools%2Flayerscape-software-development-kit%3ALAYERSCAPE-SDK%3Ffsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;This BSP contains u-boot bootloader and Linux. The LS1021a CPU0 is enabled under u-boot and all cores are enabled under Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Look at kernel code from this BSP about using all cores. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Fri, 26 Jan 2018 09:33:22 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2018-01-26T09:33:22Z</dc:date>
    <item>
      <title>What can cause a code running on cpu 0 does not on cpu 1 ?</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735276#M2286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code is the FreeRTOS that I've built/run on the cpu0 of a twr-ls1021a board. I'm able to copy the code into ram and launch it from u-boot prompt. It works fine.&lt;/P&gt;&lt;P&gt;Then I run another code with cpu 0 to wake up the cpu 1 and put it running the FreeRTOS code. I can trace the execution of cpu 1 until the moment where the first task is to be started.&amp;nbsp; Then I don't know what's happening but the cpu 1 doesn't jump to the right address. &lt;/P&gt;&lt;P&gt;What can cause this bug? It's possible that it comes from the mmu, caches, etc enabled by u-boot on cpu 0 but NOT enabled on cpu 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735276#M2286</guid>
      <dc:creator>yasetoliva</dc:creator>
      <dc:date>2018-01-18T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: What can cause a code running on cpu 0 does not on cpu 1 ?</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735277#M2287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Do you use an SMP version of FreeRTOS&lt;/SPAN&gt;? See the following page:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsourceforge.net%2Fp%2Ffreertos%2Fdiscussion%2F382005%2Fthread%2Fb74e2952%2F" rel="nofollow" target="_blank"&gt;https://sourceforge.net/p/freertos/discussion/382005/thread/b74e2952/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;See also the following pages:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fzedboard.org%2Fcontent%2Ffreertos-running-both-arm-cores" rel="nofollow" target="_blank"&gt;http://zedboard.org/content/freertos-running-both-arm-cores&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.rbccps.org%2Fwp-content%2Fuploads%2F2017%2F10%2F06961844.pdf" rel="nofollow" target="_blank"&gt;http://www.rbccps.org/wp-content/uploads/2017/10/06961844.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fn-aizu%2Ffreertos-multicore" rel="nofollow" target="_blank"&gt;https://github.com/n-aizu/freertos-multicore&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;NXP offers Linux BSP for the TWR-LS1021a board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Flinux-software-and-development-tools%2Flinux-sdk-for-qoriq-processors%3ASDKLINUX%3Ffsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/linux-sdk-for-qoriq-processors:SDKLINUX?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Flinux-software-and-development-tools%2Flayerscape-software-development-kit%3ALAYERSCAPE-SDK%3Ffsrch%3D1%26sr%3D1%26pageNum%3D1" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;This BSP contains u-boot bootloader and Linux. The LS1021a CPU0 is enabled under u-boot and all cores are enabled under Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Look at kernel code from this BSP about using all cores. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Fri, 26 Jan 2018 09:33:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735277#M2287</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2018-01-26T09:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: What can cause a code running on cpu 0 does not on cpu 1 ?</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735278#M2288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pavel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was the timer that generate the ticks. We think, the timer is initialized during u-boot which is not executed by the cpu1. We have extracted the initialization code from the u-boot (&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc"&gt;&lt;SPAN&gt;u-boot-fslc&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/2017.09%2Bfslc/arch"&gt;&lt;SPAN&gt;arch&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/2017.09%2Bfslc/arch/arm"&gt;&lt;SPAN&gt;arm&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/2017.09%2Bfslc/arch/arm/cpu"&gt;&lt;SPAN&gt;cpu&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/2017.09%2Bfslc/arch/arm/cpu/armv7"&gt;&lt;SPAN&gt;armv7&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/2017.09%2Bfslc/arch/arm/cpu/armv7/ls102xa"&gt;&lt;SPAN&gt;ls102xa&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;STRONG class=""&gt;cpu.c&lt;/STRONG&gt;) and included it in our code and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 08:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/What-can-cause-a-code-running-on-cpu-0-does-not-on-cpu-1/m-p/735278#M2288</guid>
      <dc:creator>yasetoliva</dc:creator>
      <dc:date>2018-01-29T08:31:37Z</dc:date>
    </item>
  </channel>
</rss>

