<?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: i.MX6 PCIe: supporting devices larger than 16MB</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212588#M13027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue.&amp;nbsp; I am using Linux Kernel&amp;nbsp; 3.14.28 and my FPGA BAR 2 requests 64MB outbound memory.&amp;nbsp;&amp;nbsp; Is there no way to assign this much memory&lt;/P&gt;&lt;P&gt;for outbound PCIe traffic, or did I miss something ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 22:13:11 GMT</pubDate>
    <dc:creator>erkanaltan</dc:creator>
    <dc:date>2016-01-13T22:13:11Z</dc:date>
    <item>
      <title>i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212582#M13021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone been able to enumerate PCIe devices summing to more than 14MB (and use them)?&amp;nbsp; Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale's BSP allocates 14MB (0x0110_0000 - 0x01DF_FFFF) to the PCIe root controller.&amp;nbsp; See linux/arch/arm/mach-mx6/pcie.c, imx_pcie_setup().&amp;nbsp; Our design includes an FPGA that wants to use 256MB of PCIe memory.&amp;nbsp; In order to get Linux to enumerate the large device I allocated an additional 256MB resource block to PCI.&amp;nbsp; I arbitrarily chose the address range 0x8000_0000 - 0x8FFF_FFFF:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_1355875575238574 jive_macro_code" jivemacro_uid="_1355875575238574" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;if (pp-&amp;gt;index == 0) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pp-&amp;gt;res[2].start = 0x80000000;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pp-&amp;gt;res[2].end = pp-&amp;gt;res[2].start + SZ_256M - 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;pp-&amp;gt;res[2].flags = IORESOURCE_MEM;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;if (request_resource(&amp;amp;iomem_resource, &amp;amp;pp-&amp;gt;res[2]))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; panic("Request PCIe FPGA resource failed\n");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;sys-&amp;gt;resource[2] = &amp;amp;pp-&amp;gt;res[2];&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect that I need to somehow associate this address range with PCIe so AXI accesses are routed to the PCIe core.&amp;nbsp; Right now we don't see any PCIe traffic from the i.MX6 to the FPGA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Charlie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 00:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212582#M13021</guid>
      <dc:creator>kitz36</dc:creator>
      <dc:date>2012-12-19T00:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212583#M13022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The i.MX6 cannot map more memory for outbound PCI than exists in the memory map (16MB).&amp;nbsp; Some of that memory is used for i.MX6 internal registers.&amp;nbsp; Given that PCI sizes must be a power of two, the maximum outbound PCI memory supported by the i.MX6 is 8MB.&amp;nbsp; Mapping all 16MB might be possible assuming the overlapped memory is well managed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inbound PCI, the entire 4GB memory range may be mapped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to map an 8MB endpoint.&amp;nbsp; This required a small modification to the BSP to make the assignable PCI memory start on an 8MB boundary (0x0100_0000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 16:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212583#M13022</guid>
      <dc:creator>kitz36</dc:creator>
      <dc:date>2012-12-27T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212584#M13023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have specific reason why need 256 Memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally FPAG is bus master, which can use RC's syste memory directly. &lt;/P&gt;&lt;P&gt;8MB Space is used for register access. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212584#M13023</guid>
      <dc:creator>FrankLi1z</dc:creator>
      <dc:date>2013-10-10T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212585#M13024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We thought about using an i.mx6 with a NVidia GPU and a FPGA both connected using PCIe (via a switch). As far as I understood the description of the RDMA concept for CUDA the NVidia graphics card has a BAR size of 256 MB. So this is impossible to be used with an iMX6. Is this correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 14:21:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212585#M13024</guid>
      <dc:creator>volki</dc:creator>
      <dc:date>2014-02-06T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212586#M13025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our implementation uses the processor as the bus master with an FPGA has the only endpoint. The FPGA register space was larger than 8MB. We since worked around the issue by reducing the size of the FPGA register space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212586#M13025</guid>
      <dc:creator>kitz36</dc:creator>
      <dc:date>2014-06-05T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212587#M13026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you mentioned that you managed to map the entire 4GB memory region for inbound TCP. how did you manage to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 11:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212587#M13026</guid>
      <dc:creator>alexandero_</dc:creator>
      <dc:date>2014-09-02T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212588#M13027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue.&amp;nbsp; I am using Linux Kernel&amp;nbsp; 3.14.28 and my FPGA BAR 2 requests 64MB outbound memory.&amp;nbsp;&amp;nbsp; Is there no way to assign this much memory&lt;/P&gt;&lt;P&gt;for outbound PCIe traffic, or did I miss something ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212588#M13027</guid>
      <dc:creator>erkanaltan</dc:creator>
      <dc:date>2016-01-13T22:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 PCIe: supporting devices larger than 16MB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212589#M13028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;I know it's almost six years later, but you indicated that 4GB was available for inbound and I haven't seen any indication elsewhere that this is possible. Can you elaborate on how this would be achieved? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 14:52:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-PCIe-supporting-devices-larger-than-16MB/m-p/212589#M13028</guid>
      <dc:creator>travisr</dc:creator>
      <dc:date>2018-06-06T14:52:48Z</dc:date>
    </item>
  </channel>
</rss>

