<?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: How to work with two cores</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392828#M57346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saida,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, it is linux programming knowledge call "linux CPU affinity"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool "tasket" is also use that&amp;nbsp; APIs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using tasket to run a hello world is a bare metal or not for you?&lt;/P&gt;&lt;P&gt;For a core, it doesn't know what is running.&lt;/P&gt;&lt;P&gt;For&amp;nbsp; an OS, in the schedule layer. It is "bare metal" as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Processor_affinity" title="https://en.wikipedia.org/wiki/Processor_affinity"&gt;Processor affinity - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the linux org for documents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 03:06:38 GMT</pubDate>
    <dc:creator>BiyongSUN</dc:creator>
    <dc:date>2015-10-16T03:06:38Z</dc:date>
    <item>
      <title>How to work with two cores</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392824#M57342</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.MX6 Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to run two standalone applications on i.mx6 dual lite on two cores independently at a time ?&lt;/P&gt;&lt;P&gt;because in my application i want to assign one application dedicated to one core and other to other core, this has to run both at a time.&lt;/P&gt;&lt;P&gt;can i do this way of coding in bare metal application or do i need any OS, even in OS how can i achieve this if my previous statement is not valid ?&lt;/P&gt;&lt;P&gt;any reference documents or manuals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 08:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392824#M57342</guid>
      <dc:creator>saida</dc:creator>
      <dc:date>2015-10-13T08:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with two cores</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392825#M57343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Basically it is possible – please refer to the example of the following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;thread for bare-metal configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="103736" data-objecttype="102" href="https://community.freescale.com/docs/DOC-103736"&gt;https://community.freescale.com/docs/DOC-103736&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; As for Linux :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="376865" data-objecttype="1" href="https://community.freescale.com/thread/376865"&gt;https://community.freescale.com/thread/376865&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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, 13 Oct 2015 09:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392825#M57343</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-10-13T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with two cores</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392826#M57344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;taskset is a linux application to do the affinity.&lt;/P&gt;&lt;P&gt;It could make a linux program running on the special core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you need to add the&amp;nbsp; isolcpus kernel parameter to iosolate one core. At the same time you need to change the interrupt mask to avoid the interrupt in this core.&lt;/P&gt;&lt;P&gt;These two steps make this core dedicate for you. If you don't need this core dedicate for you. You can skip these two steps. Just ask tasket to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the taskset running stress test on CPU1. you can&amp;nbsp; see the CPU1 is isolated and the program stess is running on this core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taskset 2 ./stress -c 4&amp;nbsp; &amp;amp;&lt;/P&gt;&lt;P&gt;top&lt;/P&gt;&lt;P&gt;Mem: 58320K used, 707652K free, 0K shrd, 3784K buff, 15920K cached&lt;/P&gt;&lt;P&gt;CPU0:&amp;nbsp; 0.0% usr&amp;nbsp; 1.0% sys&amp;nbsp; 0.0% nic 98.9% idle&amp;nbsp; 0.0% io&amp;nbsp; 0.0% irq&amp;nbsp; 0.0% sirq&lt;/P&gt;&lt;P&gt;CPU1:&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;100%&lt;/SPAN&gt; usr&amp;nbsp; 0.0% sys&amp;nbsp; 0.0% nic&amp;nbsp; 0.0% idle&amp;nbsp; 0.0% io&amp;nbsp; 0.0% irq&amp;nbsp; 0.0% sirq&lt;/P&gt;&lt;P&gt;CPU2:&amp;nbsp; 0.0% usr&amp;nbsp; 0.0% sys&amp;nbsp; 0.0% nic&amp;nbsp; 100% idle&amp;nbsp; 0.0% io&amp;nbsp; 0.0% irq&amp;nbsp; 0.0% sirq&lt;/P&gt;&lt;P&gt;CPU3:&amp;nbsp; 0.0% usr&amp;nbsp; 0.0% sys&amp;nbsp; 0.0% nic&amp;nbsp; 100% idle&amp;nbsp; 0.0% io&amp;nbsp; 0.0% irq&amp;nbsp; 0.0% sirq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Have to point here. This is linux knowledge not i.MX. Please check the linux document for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 09:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392826#M57344</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2015-10-13T09:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with two cores</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392827#M57345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Thanks for you reply&lt;/P&gt;&lt;P&gt;its mean that OS is required for to run dedicated application to single core using tasket&lt;/P&gt;&lt;P&gt;is there any freescale documents for how to initialize single core to dedicated application using bare metal application ?&lt;/P&gt;&lt;P&gt;if OS is required what are the minimum hardware requirement for Nucleus RTOS which is from Mentor Graphics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 07:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392827#M57345</guid>
      <dc:creator>saida</dc:creator>
      <dc:date>2015-10-15T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to work with two cores</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392828#M57346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saida,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, it is linux programming knowledge call "linux CPU affinity"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool "tasket" is also use that&amp;nbsp; APIs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using tasket to run a hello world is a bare metal or not for you?&lt;/P&gt;&lt;P&gt;For a core, it doesn't know what is running.&lt;/P&gt;&lt;P&gt;For&amp;nbsp; an OS, in the schedule layer. It is "bare metal" as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Processor_affinity" title="https://en.wikipedia.org/wiki/Processor_affinity"&gt;Processor affinity - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the linux org for documents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 03:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-work-with-two-cores/m-p/392828#M57346</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2015-10-16T03:06:38Z</dc:date>
    </item>
  </channel>
</rss>

