<?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: Secure and Non-secure address spaces in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426108#M64563</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;Actualy even when there are two address spaces, it seems both &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Secure and Non-secure address spaces&lt;/SPAN&gt; initialy contain same data enabling then the normal world to read constant secure data ?!&lt;/P&gt;&lt;P&gt;Is this right and expected behavior&amp;nbsp; or did I missed something with my configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2015 09:24:54 GMT</pubDate>
    <dc:creator>moha</dc:creator>
    <dc:date>2015-07-24T09:24:54Z</dc:date>
    <item>
      <title>Secure and Non-secure address spaces</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426107#M64562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;I use the SABRE SD board (with iMX6Q cpu).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I run a bare metal application with one part running on the secure world and one in the normal world.&lt;/P&gt;&lt;P&gt;My goal is to define a secure memory region in the external RAM that cannot be accessed by the normal world.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that I use the NS-bit in the translation table descriptor to define separate Secure and Non-secure address spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the secure memory region is made of 7 sections of 1 MB each the behavior is correct :&lt;/P&gt;&lt;P&gt;There are two separate address spaces.&lt;/P&gt;&lt;P&gt;When the normal world accesses (read/write) the same physical addresses as the secure memory region the normal world does not access the secure memory region data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I add an additional 250 MB space to the secure memory region it seems there is then only one address space :&lt;/P&gt;&lt;P&gt;The normal world access (read and modify) the secure memory region data !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the expected behavior ?&lt;/P&gt;&lt;P&gt;Is there a limit for size of the secure memory ? how to retrieve this limit ? is it configurable ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Moha&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-weight: inherit; line-height: 1.5; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:11:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426107#M64562</guid>
      <dc:creator>moha</dc:creator>
      <dc:date>2015-07-20T12:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Secure and Non-secure address spaces</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426108#M64563</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;Actualy even when there are two address spaces, it seems both &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Secure and Non-secure address spaces&lt;/SPAN&gt; initialy contain same data enabling then the normal world to read constant secure data ?!&lt;/P&gt;&lt;P&gt;Is this right and expected behavior&amp;nbsp; or did I missed something with my configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 09:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426108#M64563</guid>
      <dc:creator>moha</dc:creator>
      <dc:date>2015-07-24T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Secure and Non-secure address spaces</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426109#M64564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; First, please refer to ARM base example :&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-external-small" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15417.html" rel="nofollow"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15417.html&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;Also, please take into account, the CSU should be used to manage the system security &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;policy for peripheral access on the i.MX6. Please refer to Chapter 3 [Central Security Unit &lt;BR /&gt; (CSU)] of the Security Reference Manual for i.MX6.&lt;/SPAN&gt;&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;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/download/mod_download.jsp?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fsrch=1&amp;amp;sr=21&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search" rel="nofollow"&gt;http://www.freescale.com/webapp/sps/download/mod_download.jsp?colCode=IMX6DQ6SDLSRM&amp;amp;appType=moderatedWithoutFAE&amp;amp;fsrch=1&amp;amp;sr=21&amp;amp;Parent_nodeId=from%20search&amp;amp;Parent_pageType=from%20search&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, 28 Jul 2015 08:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426109#M64564</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-07-28T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Secure and Non-secure address spaces</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426110#M64565</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;Thanks for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that CSU should be used to protect peripheral accesses and TZASC enables external RAM permission access management.&lt;/P&gt;&lt;P&gt;But my concern is more relative to address spaces and NS bit in the&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; translation table descriptor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;From my examples it seems &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;secure and normal address spaces may be different or identical depending on the size of the secure space.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is this correct? if yes&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; how to retrieve this limit ? is it configurable ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Moha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 10:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Secure-and-Non-secure-address-spaces/m-p/426110#M64565</guid>
      <dc:creator>moha</dc:creator>
      <dc:date>2015-07-28T10:52:41Z</dc:date>
    </item>
  </channel>
</rss>

