Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-19 Thread Marek Vasut
On Tuesday, June 17, 2014 at 04:14:20 PM, Fabio Estevam wrote: > Hi Tim, > > On Fri, Jun 6, 2014 at 1:35 AM, Tim Harvey wrote: > > Fabio, > > > > Good catch, but that doesn't resolve the issue i'm seeing here. > > > > Any other ideas? > > Do you still have issues after applying David's delay w

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-19 Thread Marek Vasut
On Thursday, June 05, 2014 at 12:13:39 PM, Tim Harvey wrote: > On Wed, Jun 4, 2014 at 11:30 PM, "David Müller (ELSOFT AG)" > > wrote: > > Tim Harvey wrote: > >> When enabling PCI support in u-boot my 3.14 kernel hangs somewhere > >> during PCI init or enumeration (can't tell as uart is not up yet

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-17 Thread Fabio Estevam
Hi Tim, On Fri, Jun 6, 2014 at 1:35 AM, Tim Harvey wrote: > Fabio, > > Good catch, but that doesn't resolve the issue i'm seeing here. > > Any other ideas? Do you still have issues after applying David's delay workaround? On my mx6qsabresd I noticed that: - if U-boot has PCI driver enabled, t

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Tim Harvey
On Thu, Jun 5, 2014 at 8:27 AM, Fabio Estevam wrote: > Tim, > > On Wed, Jun 4, 2014 at 9:16 PM, Tim Harvey wrote: > >> work-around the problem on my end as well. Note that I do not see this >> issue unless I'm using one of our boards with a PCIe switch and If I >> disable PCI support in u-boot th

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Marek Vasut
On Friday, June 06, 2014 at 12:14:03 AM, Fabio Estevam wrote: > On Thu, Jun 5, 2014 at 7:04 PM, Marek Vasut wrote: > > Ah yes, 0x4 is correct, I stand corrected, sorry. > > No problem. I will submit a patch for it soon. Thanks! Best regards, Marek Vasut _

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Fabio Estevam
On Thu, Jun 5, 2014 at 7:04 PM, Marek Vasut wrote: > Ah yes, 0x4 is correct, I stand corrected, sorry. No problem. I will submit a patch for it soon. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Marek Vasut
On Thursday, June 05, 2014 at 09:20:12 PM, Fabio Estevam wrote: > On Thu, Jun 5, 2014 at 2:53 PM, Marek Vasut wrote: > >> Does this help? > >> > >> drivers/pci/pcie_imx.c | 3 +-- > >> 1 file changed, 1 insertion(+), 2 deletions(-) > >> > >> diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pci

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Fabio Estevam
On Thu, Jun 5, 2014 at 2:53 PM, Marek Vasut wrote: >> Does this help? >> >> drivers/pci/pcie_imx.c | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c >> index c48737e..190cdec 100644 >> --- a/drivers/pci/pcie_imx.c >> +++

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Marek Vasut
On Thursday, June 05, 2014 at 05:27:08 PM, Fabio Estevam wrote: > Tim, > > On Wed, Jun 4, 2014 at 9:16 PM, Tim Harvey wrote: > > work-around the problem on my end as well. Note that I do not see this > > issue unless I'm using one of our boards with a PCIe switch and If I > > disable PCI support

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Fabio Estevam
Tim, On Wed, Jun 4, 2014 at 9:16 PM, Tim Harvey wrote: > work-around the problem on my end as well. Note that I do not see this > issue unless I'm using one of our boards with a PCIe switch and If I > disable PCI support in u-boot this does not occur. This feels like a Does this help? drivers

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-05 Thread Tim Harvey
On Wed, Jun 4, 2014 at 11:30 PM, "David Müller (ELSOFT AG)" wrote: > Tim Harvey wrote: > >> When enabling PCI support in u-boot my 3.14 kernel hangs somewhere >> during PCI init or enumeration (can't tell as uart is not up yet) > > Enabling "earlyprintk" support may help. David, This is definite

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-04 Thread David Müller (ELSOFT AG)
Tim Harvey wrote: > When enabling PCI support in u-boot my 3.14 kernel hangs somewhere > during PCI init or enumeration (can't tell as uart is not up yet) Enabling "earlyprintk" support may help. > David, on your board(s) do you have a PCIe switch as well? Not yet, but this (using a PEX8603) i

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-04 Thread Tim Harvey
On Fri, May 30, 2014 at 12:04 AM, "David Müller (ELSOFT AG)" wrote: > Fabio Estevam wrote: >> On Wed, May 28, 2014 at 4:40 AM, "David Müller (ELSOFT AG)" >> wrote: >>> I use an additional delay in imx6_add_pcie_port() as a workaround so far. >> >> How much of additional delay? Could you please sh

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-30 Thread David Müller (ELSOFT AG)
Fabio Estevam wrote: > On Wed, May 28, 2014 at 4:40 AM, "David Müller (ELSOFT AG)" > wrote: >> I use an additional delay in imx6_add_pcie_port() as a workaround so far. > > How much of additional delay? Could you please share your patch? diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/hos

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-28 Thread Marek Vasut
On Wednesday, May 28, 2014 at 06:42:41 PM, Fabio Estevam wrote: > On Tue, May 27, 2014 at 9:30 AM, Fabio Estevam wrote: > > Hi, > > > > Working on a mx6solo board with PCIe driver enabled in U-boot, I > > notice that after doing several reboots a hang is seen on the PCIe > > > driver: > Just an

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-28 Thread Fabio Estevam
Hi David, On Wed, May 28, 2014 at 4:40 AM, "David Müller (ELSOFT AG)" wrote: > Marek Vasut wrote: >> Observed Results: After some hundreds of the soft-reboot cycles, the >> i210 is not recognized. This is caused by the PCI express link >> failing to come up. We see "link never came up" message in

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-28 Thread Fabio Estevam
On Tue, May 27, 2014 at 9:30 AM, Fabio Estevam wrote: > Hi, > > Working on a mx6solo board with PCIe driver enabled in U-boot, I > notice that after doing several reboots a hang is seen on the PCIe > driver: Just an update: we are able now to run overnight tests without PCI hangs. Sorry for the

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-28 Thread David Müller (ELSOFT AG)
Marek Vasut wrote: > Observed Results: After some hundreds of the soft-reboot cycles, the > i210 is not recognized. This is caused by the PCI express link > failing to come up. We see "link never came up" message in the kernel > log. Just a guest but maybe this is "errata #18" of the i210. A litt

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-27 Thread Marek Vasut
On Tuesday, May 27, 2014 at 04:43:08 PM, David Müller (ELSOFT AG) wrote: > Marek Vasut wrote: > > Take a look at SR# 1-1347946851 in the FSL internal bug tracker. It > > looks like the PCIe IP core implementation in the MX6 is bugged in my > > opinion. > > Are there any publicly available info reg

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-27 Thread David Müller (ELSOFT AG)
Marek Vasut wrote: > Take a look at SR# 1-1347946851 in the FSL internal bug tracker. It > looks like the PCIe IP core implementation in the MX6 is bugged in my > opinion. Are there any publicly available info regarding this SR? Dave ___ U-Boot mailing

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-05-27 Thread Marek Vasut
On Tuesday, May 27, 2014 at 02:30:27 PM, Fabio Estevam wrote: > Hi, > > Working on a mx6solo board with PCIe driver enabled in U-boot, I > notice that after doing several reboots a hang is seen on the PCIe > driver: [...] > Any suggestions? Take a look at SR# 1-1347946851 in the FSL internal bu

[U-Boot] U-boot hangs on imx6 pci driver

2014-05-27 Thread Fabio Estevam
Hi, Working on a mx6solo board with PCIe driver enabled in U-boot, I notice that after doing several reboots a hang is seen on the PCIe driver: PCI Autoconfig: Bus Memory region: [0x110-0x1ef], Physical Memory [110-1efx] PCI Autoconfig: Bus I/O region: [0x100-0