<?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: imx8mm - no pcie end point controller</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355890#M181566</link>
    <description>&lt;P&gt;Hi Igor,&lt;BR /&gt;I know this article from 2013. It is more an old validation and results note than a real tutorial to me.&lt;/P&gt;&lt;P&gt;It is base on an old kernel (imx_3.0.35 ?). I don't even find the drivers files that have to be patched (arch/arm/mach-mx6/pcie.c or mxc_ipudev_test.c). We don't even know what the attached test program is supposed to do (no source code).&lt;/P&gt;&lt;P&gt;Sorry, but this is not helping me.&lt;/P&gt;&lt;P&gt;Please, do you have more recent application notes about PCIe in EP mode ?&lt;/P&gt;&lt;P&gt;I'm planning to jump to kernel 5.4, but it is going to take a while.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 13:52:15 GMT</pubDate>
    <dc:creator>antho</dc:creator>
    <dc:date>2021-10-14T13:52:15Z</dc:date>
    <item>
      <title>imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355005#M181486</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm testing PCIe in End Point mode on an imx8mm. Linux kernel is 4.19. I cannot find a way to make it work. Please comment if anything seems wrong. Any advice could be useful.&lt;/P&gt;&lt;P&gt;Following kernel documentation, I should be able to play with pcie endpoint controller in /sys/class/pci_epc and test the interface with lspci and pcitest on the root complex side (x86).&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kernel.org/doc/html/latest/PCI/endpoint/pci-test-howto.html" target="_self"&gt;https://www.kernel.org/doc/html/latest/PCI/endpoint/pci-test-howto.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing is, PCIe endpoint controller device does not exist (nothing in /sys/class/pci_epc). It should be created by a driver activated in the kernel (drivers/pci/controller/dwc/pcie-designware-ep.c ?). Is it created after pcie link is brought up ?&lt;/P&gt;&lt;P&gt;PCIe link is never established (timeout !). Are we talking about a link between RC and EP (see logs below) ? Or is it a phy link between two modules inside the iMX ? I tried to power up the x86 RC connected to the iMX when it is waiting, but nothing happened.&lt;/P&gt;&lt;P&gt;&lt;U&gt;imx kernel logs :&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;[ 2.266698] imx6q-pcie 33800000.pcie: host bridge /hsio/pcie@33800000 ranges:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.273869] imx6q-pcie 33800000.pcie: No bus range found for /hsio/pcie@33800000, using [bus 00-ff]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.283110] imx6q-pcie 33800000.pcie: IO 0x1ff80000..0x1ff8ffff -&amp;gt; 0x00000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.290521] imx6q-pcie 33800000.pcie: MEM 0x18000000..0x1fefffff -&amp;gt; 0x18000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.297926] imx6q-pcie 33800000.pcie: try to initialize pcie ep.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.304036] imx6q-pcie 33800000.pcie: Initialize PHY with PLL REfCLK!.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.310951] imx6q-pcie 33800000.pcie: PHY Initialization End!.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.317119] imx6q-pcie 33800000.pcie: iATU unroll: enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.322617] imx6q-pcie 33800000.pcie: ddr_test_region is 0xb8200000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.328982] imx6q-pcie 33800000.pcie: PCIe EP: waiting for link up...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;[timeout]&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;[ 302.268463] imx6q-pcie 33800000.pcie: PCIe EP: link down.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;device tree pcie node (including kernel 4.19 fsl-imx8mm.dtsi) :&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;amp;pcie0{ &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_pcie0&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //disable-gpio = &amp;lt;&amp;amp;gpio1 5 GPIO_ACTIVE_LOW&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //reset-gpio = &amp;lt;&amp;amp;gpio4 21 GPIO_ACTIVE_LOW&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext_osc = &amp;lt;0&amp;gt;; // use external clk or internal pll if 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Here's a diff of my kernel .config :&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;+CONFIG_PCIEPORTBUS=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_HOTPLUG_PCI_PCIE=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIEAER=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIEASPM=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIEASPM_DEFAULT=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIE_PME=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCI_MSI=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCI_MSI_IRQ_DOMAIN=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCI_QUIRKS=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCIE_DW=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCIE_DW_HOST=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIE_DW_EP=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIE_DW_PLAT=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;# CONFIG_PCIE_DW_PLAT_HOST is not set&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCIE_DW_PLAT_EP=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCI_IMX6=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;# CONFIG_PCI_IMX6_COMPLIANCE_TEST is not set&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_EP_MODE_IN_EP_RC_SYS=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;# CONFIG_PCI_LAYERSCAPE is not set&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;CONFIG_PCI_HISI=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;# CONFIG_PCIE_QCOM is not set&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCI_ENDPOINT=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCI_ENDPOINT_CONFIGFS=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCI_EPF_TEST=y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;+CONFIG_PCI_ENDPOINT_TEST=y&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 13:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355005#M181486</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2021-10-13T13:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355391#M181510</link>
      <description>&lt;P&gt;Hi Anthony&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for testing pcie one can look at tutorial&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p/1126624" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p/1126624&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and sect.4.8 PCI Express Root Complex&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener" data-dtmsubaction="i.MX Linux Reference Manual​ link"&gt;i.MX Linux Reference Manual​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 00:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355391#M181510</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-10-14T00:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355890#M181566</link>
      <description>&lt;P&gt;Hi Igor,&lt;BR /&gt;I know this article from 2013. It is more an old validation and results note than a real tutorial to me.&lt;/P&gt;&lt;P&gt;It is base on an old kernel (imx_3.0.35 ?). I don't even find the drivers files that have to be patched (arch/arm/mach-mx6/pcie.c or mxc_ipudev_test.c). We don't even know what the attached test program is supposed to do (no source code).&lt;/P&gt;&lt;P&gt;Sorry, but this is not helping me.&lt;/P&gt;&lt;P&gt;Please, do you have more recent application notes about PCIe in EP mode ?&lt;/P&gt;&lt;P&gt;I'm planning to jump to kernel 5.4, but it is going to take a while.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 13:52:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1355890#M181566</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2021-10-14T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1384475#M184226</link>
      <description>&lt;P&gt;Hello antho,&lt;/P&gt;&lt;P&gt;We are also working on a board which is supposed to work in EP mode and have some problems. Have you made some progress?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 03:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1384475#M184226</guid>
      <dc:creator>Guohua_Liu</dc:creator>
      <dc:date>2021-12-10T03:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1388937#M184667</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I fixed a hardware problem on my board. I had swapped RX lanes on the pcb. Then, I could go further in the link detection.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT size="2"&gt;[ 2.285062] imx6q-pcie 33800000.pcie: host bridge /hsio/pcie@33800000 ranges:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.292244] imx6q-pcie 33800000.pcie: No bus range found for /hsio/pcie@33800000, using [bus 00-ff]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.301502] imx6q-pcie 33800000.pcie: IO 0x1ff80000..0x1ff8ffff -&amp;gt; 0x00000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.308945] imx6q-pcie 33800000.pcie: MEM 0x18000000..0x1fefffff -&amp;gt; 0x18000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.316374] imx6q-pcie 33800000.pcie: try to initialize pcie ep.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.322492] imx6q-pcie 33800000.pcie: Initialize PHY with PLL REfCLK!.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.329350] imx6q-pcie 33800000.pcie: PHY Initialization End!.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.335549] imx6q-pcie 33800000.pcie: iATU unroll: enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.341068] imx6q-pcie 33800000.pcie: ddr_test_region is 0xb8200000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.347446] imx6q-pcie 33800000.pcie: PCIe EP: waiting for link up...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.482082] imx6q-pcie 33800000.pcie: pcie ep: Starting data transfer...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.791039] imx6q-pcie 33800000.pcie: dma write no end ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.848045] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.848052] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.852322] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.856592] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.860862] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.865131] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.869401] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.873670] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.877939] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.882211] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.886481] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.890750] imx pcie dma read error 0x10000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 3.099038] imx6q-pcie 33800000.pcie: dma read no end&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 3.108369] imx6q-pcie 33800000.pcie: pcie ep: Data transfer is failed.&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I was told to port my layer in kernel 5.4 to investigate. So I did.&lt;/P&gt;&lt;P&gt;Then, I had only a few kernel logs concerning pcie :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT size="2"&gt;[ 2.153297] imx6q-pcie 33800000.pcie_ep: 33800000.pcie_ep supply epdev_on not found, using dummy regulator&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.163173] imx6q-pcie 33800000.pcie_ep: PLL REF_CLK is used!.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 2.173755] imx6q-pcie 33800000.pcie_ep: PCIe PLL locked after 20 us.&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and /sys/class/pci_epc/ controller is working, so I can set a pcie test function.&lt;/P&gt;&lt;P&gt;The problem is, the x86 root complex of my system does not detect the imx8 configured in end point.&lt;/P&gt;&lt;P&gt;Now I'm stuck here. Do you guys know what to check ? Any advice to help me debugging ?&lt;/P&gt;&lt;P&gt;Edit :&lt;BR /&gt;I had to use the EXT REF_CLK and boot the EP after the RC, so I suppose its clk is available on the PCIe connector. Then I can set a PCIe test function thanks to /sys/class/pci_epc/ controller and detect a device on the RC side.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 09:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1388937#M184667</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2022-01-05T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1392660#M185113</link>
      <description>&lt;P&gt;Sorry for replying so late. Because of some high priority tasks we have not been working on it for some days. Before my last reply, our hardware engineer modified the hardware, he swapped the rx/tx, cut off power supply of pcie port and disconnected the clock source from the pcie. We also enabled EP feature in kernel configuration. It seems that host PC can detect the board, but the R/W test fails as you mentioned above.&lt;/P&gt;&lt;P&gt;We just compiled a new boot image with yocto, the kernel version of which is 5.10.72, but unfortunately we failed to burn it with uuu even to official imx8mm-evk board. A strange thing is that the size of our "imx-boot-imx8mmddr4evk-sd.bin-flash_ddr4_evk" is 3552KB which is much bigger than the size (1962KB) of the one I download from official web site, the later can easily be burned&amp;nbsp; to the official evk board.&lt;/P&gt;&lt;P&gt;Any one who can give some advice? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 11:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1392660#M185113</guid>
      <dc:creator>Guohua_Liu</dc:creator>
      <dc:date>2021-12-28T11:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1394701#M185427</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you flash into an emmc storage ? I had a very similar problem :&lt;/P&gt;&lt;P&gt;MMC memory chips have a boot hardware partition (write protected). You can check it size by running in u-boot=&amp;gt; mmc info&lt;BR /&gt;Look for "Boot Capacity". Mine was 2MB, which was okay for yocto Warrior imx-boot image but not big enough for yocto Zeus image of 3.5MB.&lt;/P&gt;&lt;P&gt;Solutions :&lt;BR /&gt;-you can resize the mmc boot partition (it didn't work)&lt;BR /&gt;-you can move the bootloader to the main partition (but it won't be protected)&lt;BR /&gt;-you can reduce the imx-boot size by removing some feature. I removed the optee binary (2.1MB) in the distro config file. And it worked !&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 09:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1394701#M185427</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2022-01-05T09:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1400798#M185953</link>
      <description>&lt;P&gt;Hello ancho,&lt;/P&gt;&lt;P&gt;Have you managed to make your board working in EP mode? I was working on a board that is bought from other company because our own hardware is not ready for now, but their kernel is 4.14.78, and their u-boot is close-sourced, that makes it very difficult to port kernel 5.x. Now we have a new board with kernel 5.4.70.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have modifiied the device tree and kernel config, but it still does not work. It seems that the kernel stops when reading data from the EP controller.&lt;/P&gt;&lt;P&gt;Please give some help if you have done it, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 08:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1400798#M185953</guid>
      <dc:creator>Guohua_Liu</dc:creator>
      <dc:date>2022-01-18T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1495058#M193001</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193915"&gt;@Guohua_Liu&lt;/a&gt; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158219"&gt;@antho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to make the PCIE work in endpoint mode with Kernel 5.4?&amp;nbsp; I'm trying get endpoint mode working under 5.10.72.&lt;/P&gt;&lt;P&gt;I've modified the device tree to use the endpoint mode as follows:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;/* Switch PCIE to endpoint mode */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;pcie {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;status = "disabled";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;pcie_ep {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ext_osc = &amp;lt;0&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;pcie_phy {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ext_osc = &amp;lt;0&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/* clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_PCIE_PHY&amp;gt;; */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Should the EP board use the REF_CLK or EXT_CLK?&lt;/P&gt;&lt;P&gt;Should the RC board be booted before the EP board?&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 16:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1495058#M193001</guid>
      <dc:creator>pete_sensoray</dc:creator>
      <dc:date>2022-07-26T16:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1665047#M207255</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I am facing same issue, cannot find epc controller on&amp;nbsp;imx8qxpc0mek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@imx8qxpc0mek:~# dmesg | grep pci&lt;BR /&gt;[ 1.366617] ehci-pci: EHCI PCI platform driver&lt;BR /&gt;[ 1.383328] ohci-pci: OHCI PCI platform driver&lt;BR /&gt;[ 3.225507] imx6q-pcie 5f010000.pcie: 5f010000.pcie supply epdev_on not found, using dummy regulator&lt;BR /&gt;[ 3.234971] imx6q-pcie 5f010000.pcie: No cache used with register defaults set!&lt;BR /&gt;[ 3.291857] imx6q-pcie 5f010000.pcie: PCIe PLL locked after 0 us.&lt;BR /&gt;[ 3.298050] imx6q-pcie 5f010000.pcie: host bridge /bus@5f000000/pcie@0x5f010000 ranges:&lt;BR /&gt;[ 3.306403] imx6q-pcie 5f010000.pcie: IO 0x7ff80000..0x7ff8ffff -&amp;gt; 0x00000000&lt;BR /&gt;[ 3.313827] imx6q-pcie 5f010000.pcie: MEM 0x70000000..0x7fefffff -&amp;gt; 0x70000000&lt;BR /&gt;[ 3.421474] imx6q-pcie 5f010000.pcie: Link up&lt;BR /&gt;[ 3.525900] imx6q-pcie 5f010000.pcie: Link up&lt;BR /&gt;[ 3.530293] imx6q-pcie 5f010000.pcie: Link up, Gen1&lt;BR /&gt;[ 3.535652] imx6q-pcie 5f010000.pcie: PCI host bridge to bus 0000:00&lt;BR /&gt;[ 3.542028] pci_bus 0000:00: root bus resource [bus 00-ff]&lt;BR /&gt;[ 3.553275] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]&lt;BR /&gt;[ 3.553283] pci_bus 0000:00: root bus resource [mem 0x70000000-0x7fefffff]&lt;BR /&gt;[ 3.564896] pci 0000:00:00.0: [1957:0000] type 01 class 0x060400&lt;BR /&gt;[ 3.578396] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]&lt;BR /&gt;[ 3.590346] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]&lt;BR /&gt;[ 3.604751] pci 0000:00:00.0: supports D1 D2&lt;BR /&gt;[ 3.618681] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot&lt;BR /&gt;[ 3.629425] pci 0000:00:00.0: BAR 0: assigned [mem 0x70000000-0x70ffffff]&lt;BR /&gt;[ 3.636230] pci 0000:00:00.0: BAR 6: assigned [mem 0x71000000-0x71ffffff pref]&lt;BR /&gt;[ 3.636239] pci 0000:00:00.0: PCI bridge to [bus 01-ff]&lt;BR /&gt;[ 3.651905] pcieport 0000:00:00.0: PME: Signaling with IRQ 466&lt;BR /&gt;[ 3.664263] pcieport 0000:00:00.0: AER: enabled with IRQ 466&lt;BR /&gt;root@imx8qxpc0mek:~#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:20:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1665047#M207255</guid>
      <dc:creator>kajolkharbanda</dc:creator>
      <dc:date>2023-06-07T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1887117#M224933</link>
      <description>&lt;P&gt;Did you solve the problem at the end? Can you share the solution here?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 15:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1887117#M224933</guid>
      <dc:creator>dwang2</dc:creator>
      <dc:date>2024-06-13T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1888176#M225012</link>
      <description>&lt;P&gt;Sorry for my late reply. We've finally succeed to make the PCIE work. The EP board should use ext-clock, it should be disconnected from the host's clock source on hardware.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2024 07:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1888176#M225012</guid>
      <dc:creator>Guohua_Liu</dc:creator>
      <dc:date>2024-06-15T07:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm - no pcie end point controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1888177#M225013</link>
      <description>&lt;P&gt;Yeah, we finally got that board working. But because it was so long ago, I couldn't remember the exact details. In general, we have done these things: 1. Use external clock sources on the hardware instead of the clock sources on the host; 2. Port the PCIE controller driver from the Linux 5.10 source code to Linux 5.4, because the PCIE controller was not initialized when PCIE worked as an EP on Linux 5.4.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2024 07:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-no-pcie-end-point-controller/m-p/1888177#M225013</guid>
      <dc:creator>Guohua_Liu</dc:creator>
      <dc:date>2024-06-15T07:55:38Z</dc:date>
    </item>
  </channel>
</rss>

