<?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 i.MX93 Linux OCRAM as shared memory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-OCRAM-as-shared-memory/m-p/1942812#M227782</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm working with an imx93, non-secure.&lt;/P&gt;&lt;P&gt;Here's my problem: I want to use ocram as shared memory between the linux a55 and the m33.&lt;/P&gt;&lt;P&gt;I have a linux user space test program and an m33 test program that can both access the ocram, but only the first 96KB (20480000 - 20497fff). Can I get more of it? The full 640KB?&lt;/P&gt;&lt;P&gt;The linux test program uses mmap at 0x20480000. It gives a bus error if it goes at or above 0x20498000.&lt;/P&gt;&lt;P&gt;Note: I won't be using the ethosu or rpmsg at all.&lt;/P&gt;&lt;P&gt;How does linux use ocram? Can I increase the 96KB to 640KB?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Chris&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2024 22:36:38 GMT</pubDate>
    <dc:creator>chrishoen</dc:creator>
    <dc:date>2024-08-28T22:36:38Z</dc:date>
    <item>
      <title>i.MX93 Linux OCRAM as shared memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-OCRAM-as-shared-memory/m-p/1942812#M227782</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm working with an imx93, non-secure.&lt;/P&gt;&lt;P&gt;Here's my problem: I want to use ocram as shared memory between the linux a55 and the m33.&lt;/P&gt;&lt;P&gt;I have a linux user space test program and an m33 test program that can both access the ocram, but only the first 96KB (20480000 - 20497fff). Can I get more of it? The full 640KB?&lt;/P&gt;&lt;P&gt;The linux test program uses mmap at 0x20480000. It gives a bus error if it goes at or above 0x20498000.&lt;/P&gt;&lt;P&gt;Note: I won't be using the ethosu or rpmsg at all.&lt;/P&gt;&lt;P&gt;How does linux use ocram? Can I increase the 96KB to 640KB?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 22:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-OCRAM-as-shared-memory/m-p/1942812#M227782</guid>
      <dc:creator>chrishoen</dc:creator>
      <dc:date>2024-08-28T22:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93 Linux OCRAM as shared memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-OCRAM-as-shared-memory/m-p/1944283#M227850</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;You can try to modify ocram permission settings in ATF:plat/imx/imx93/trdc_config.h&lt;/P&gt;
&lt;P&gt;Add more memory blocks in&amp;nbsp;&lt;SPAN&gt;trdc_n_mbc, 0-5 means six memory blocks(6*16KB=96KB), you need add more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1725004694351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296261iCBA8A590A6CA32B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1725004694351.png" alt="Zhiming_Liu_0-1725004694351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 07:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-OCRAM-as-shared-memory/m-p/1944283#M227850</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-08-30T07:59:20Z</dc:date>
    </item>
  </channel>
</rss>

