<?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: RDC Permissions</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632330#M96172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could refer to application note AN51278, especially on section 3 “How to Define the Memory Layout”; this document is available on the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN5127.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN5127.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could also use the following Community document as reference:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-333803"&gt;https://community.nxp.com/docs/DOC-333803&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally, have you considered that FreeRTOS BSP doesn’t consider running together with Linux at the same time? It is mentioned on Chapter 1 of the “FreeRTOS BSP for i.MX 6SoloX Demo User’s Guide” document.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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>Thu, 23 Feb 2017 02:37:43 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2017-02-23T02:37:43Z</dc:date>
    <item>
      <title>RDC Permissions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632329#M96171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the i.MX6 SoloX SABRE-SD platform with Linux on the A9 and FreeRTOS on the M4. The "imx6sx-sdb-m4.dtb" has a shared memory region for both cores:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;fsl,shared-mem-addr = &amp;lt;0x91F000&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;fsl,shared-mem-size = &amp;lt;0x1000&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I not interesting in sharing memory. I want to partition the memory as in the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellpadding="7" cellspacing="0" width="581"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: 1.00pt solid #4f81bd; padding: 0cm 0.19cm 0cm 0.21cm;" width="565"&gt;&lt;P align="center"&gt;&lt;SPAN lang="en-US"&gt;A9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: 1.00pt solid #4f81bd; padding: 0cm 0.19cm 0cm 0.21cm;" width="565"&gt;&lt;P align="center"&gt;&lt;SPAN lang="en-US"&gt;0x900000 - 0x90FFFF&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#d3dfee" style="border: 1.00pt solid #4f81bd; padding: 0cm 0.19cm 0cm 0.21cm;" width="565"&gt;&lt;P align="center"&gt;&lt;SPAN lang="en-US"&gt;M4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD bgcolor="#d3dfee" style="border: 1.00pt solid #4f81bd; padding: 0cm 0.19cm 0cm 0.21cm;" width="565"&gt;&lt;P align="center"&gt;&lt;SPAN lang="en-US"&gt;0x910000 - 0x91FFFF&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If I delete the shared-mem-addr it only appears the partition of the A9:&lt;/P&gt;&lt;P&gt;&amp;amp;ocram {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x00901000 0xf000&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, I want to give only M4 permissions to the second partition with the RDC. I suppose I have to use the following function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RDC_SetMrAccess(RDC, rdcMrOcram, 0x910000, 0x91FFFF, 0x0C /*R/W permission for M4*/, true, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I get a Linux kernel panic while I am booting. Changing the RDC permissions to 0xFF works. Nevertheless, I want to give only permission to the M4. What I am doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 11:20:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632329#M96171</guid>
      <dc:creator>imanolallende</dc:creator>
      <dc:date>2017-02-14T11:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: RDC Permissions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632330#M96172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could refer to application note AN51278, especially on section 3 “How to Define the Memory Layout”; this document is available on the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN5127.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN5127.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could also use the following Community document as reference:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-333803"&gt;https://community.nxp.com/docs/DOC-333803&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally, have you considered that FreeRTOS BSP doesn’t consider running together with Linux at the same time? It is mentioned on Chapter 1 of the “FreeRTOS BSP for i.MX 6SoloX Demo User’s Guide” document.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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>Thu, 23 Feb 2017 02:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632330#M96172</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2017-02-23T02:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: RDC Permissions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632331#M96173</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;Thank you for your reply. If I am not wrong, it is possible to run FreeRTOS with Linux. In the Demo Guide they provide the RPMSG example with Linux and FreeRTOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from that, I do not want to allocate neither the Linux image nor the FreeRTOS in the OCRAM. I want to write data in the OCRAM memory but having different partitions. I think I have found the problem why it is not possible to give only read/write permissions to the M4 in the OCRAM. When I was reviewing the FreeRTOS examples I found this comment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Grant all domains read/write access because in DSM mode Linux need to save/restore OCRAM content */&lt;/P&gt;&lt;P&gt;RDC_SetMrAccess(RDC, rdcMrOcram, start, end, 0xFF, true, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do someone knows why the DSM mode needs all the OCRAM? Is it possible to change this feature? I suppose that Linux use it to recover the data to the memories that were low powered, but why the whole OCRAM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Imanol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 08:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632331#M96173</guid>
      <dc:creator>imanolallende</dc:creator>
      <dc:date>2017-02-23T08:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: RDC Permissions</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632332#M96174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;BR /&gt;&lt;P&gt;Do someone knows why the DSM mode needs all the OCRAM? Is it possible to change this feature? I suppose that Linux use it to recover the data to the memories that were low powered, but why the whole OCRAM?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Refering to application note AN5127 section 3.2 only the first 0x1000 byte of the OCRAM are reserved for frequency scaling used for support low power mode for DDR. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RDC-Permissions/m-p/632332#M96174</guid>
      <dc:creator>rewers</dc:creator>
      <dc:date>2019-01-09T09:19:38Z</dc:date>
    </item>
  </channel>
</rss>

