<?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: How to access SRAM connected on IFC Bus? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1263224#M7829</link>
    <description>&lt;P&gt;See the Section 24.3.11 in the LS1021a Reference Manual:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=LS1021ARM" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=LS1021ARM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also the Table 76 in the LS1021a Datasheet:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=LS1021A" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=LS1021A&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 05:17:32 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2021-04-16T05:17:32Z</dc:date>
    <item>
      <title>How to access SRAM connected on IFC Bus?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1254685#M7763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are having a custom board with LS1021A-TWR processor. SRAM is connected on IFC bus with chip select 2. We need to access SRAM through MTD.&lt;/P&gt;&lt;P&gt;For this I have made some changes in dts as shown below.&lt;/P&gt;&lt;P&gt;&amp;amp;ifc {&lt;BR /&gt;#address-cells = &amp;lt;2&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;/* NOR Flash on board and SRAM */&lt;BR /&gt;ranges = &amp;lt;0x0 0x0 0x0 0x60000000 0x08000000&amp;gt;&lt;BR /&gt;&amp;lt;0x2 0x0 0x0 0x7e800000 0x00080000&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;nor@0,0 {&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;sram@2,0 {&lt;BR /&gt;compatible = "mtd-ram";&lt;BR /&gt;reg = &amp;lt;0x2 0x0 0x80000&amp;gt;;&lt;BR /&gt;bank-width = &amp;lt;2&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;/*&lt;BR /&gt;cpld@2,0 {&lt;BR /&gt;compatible = "fsl,ls1021atwr-cpld";&lt;BR /&gt;reg = &amp;lt;0x2 0x0 0x100&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;*/&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;The driver for the SRAM chip registers the device as a MTD.&lt;/P&gt;&lt;P&gt;~# cat /proc/mtd&lt;BR /&gt;dev: size erasesize name&lt;BR /&gt;mtd0: 00080000 00001000 "7e800000.sram"&lt;/P&gt;&lt;P&gt;But use of echo &amp;gt; and cat to the mtdblock results garbage.&lt;/P&gt;&lt;P&gt;Is there any changes required in kernel and u-boot side?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 05:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1254685#M7763</guid>
      <dc:creator>winstonjacob</dc:creator>
      <dc:date>2021-03-31T05:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to access SRAM connected on IFC Bus?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1256975#M7784</link>
      <description>&lt;P&gt;Is there problem for accessing to this SRAM under u-boot?&lt;/P&gt;
&lt;P&gt;Test SRAM reading/writing under u-boot.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 05:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1256975#M7784</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2021-04-06T05:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to access SRAM connected on IFC Bus?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1257253#M7790</link>
      <description>&lt;P&gt;Not able to access SRAM under uboot. We don't have a clock in SRAM(IS62WV25616EBLL). In this case how to calculate the flash timing register values(need to configure in ls1021atwr.h file)?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 10:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1257253#M7790</guid>
      <dc:creator>winstonjacob</dc:creator>
      <dc:date>2021-04-06T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to access SRAM connected on IFC Bus?</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1263224#M7829</link>
      <description>&lt;P&gt;See the Section 24.3.11 in the LS1021a Reference Manual:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=LS1021ARM" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=LS1021ARM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also the Table 76 in the LS1021a Datasheet:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=LS1021A" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=LS1021A&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 05:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-access-SRAM-connected-on-IFC-Bus/m-p/1263224#M7829</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2021-04-16T05:17:32Z</dc:date>
    </item>
  </channel>
</rss>

