Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-17 Thread Marek Vasut
On Friday, October 17, 2014 at 01:27:10 AM, Fabio Estevam wrote: > On Thu, Oct 16, 2014 at 8:02 PM, Marek Vasut wrote: > > So this discussion is related to a different thread ? I see ... > > We are talking about the need for the delay in the Ethernet PHY. > > Nikolay sent a patch adding such del

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-16 Thread Fabio Estevam
On Wed, Oct 15, 2014 at 11:38 PM, Sean Cross wrote: > My opinion is that, following the principle of least surprise, we should > leave the delay in. If, sometime in the future, someone were to > micro-optimize the boot sequence, they can strip it out then, but in > that case it'd make more sense

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-16 Thread Fabio Estevam
On Thu, Oct 16, 2014 at 8:02 PM, Marek Vasut wrote: > So this discussion is related to a different thread ? I see ... We are talking about the need for the delay in the Ethernet PHY. Nikolay sent a patch adding such delay as a standard patch. ___ U-Bo

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-16 Thread Marek Vasut
On Thursday, October 16, 2014 at 07:17:36 PM, Fabio Estevam wrote: > On Thu, Oct 16, 2014 at 7:21 AM, Marek Vasut wrote: > > I checked the novena_spl.c and we do wait in > > novena_spl_setup_iomux_enet(). Is this what you have in mind ? > > Nikolay added the delay in this patch: > https://patchwo

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-16 Thread Fabio Estevam
On Thu, Oct 16, 2014 at 7:21 AM, Marek Vasut wrote: > I checked the novena_spl.c and we do wait in novena_spl_setup_iomux_enet(). > Is this what you have in mind ? Nikolay added the delay in this patch: https://patchwork.ozlabs.org/patch/398920/ ___ U-

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-16 Thread Marek Vasut
On Saturday, October 11, 2014 at 11:04:58 PM, Fabio Estevam wrote: > On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: > >> Ok, understood. Just curious: which Ethernet PHY is used on the novena > >> board? > > > > It's the same Micrel PHY used on the Sabrelite, the KSZ9021. > > nitrogen/sabre

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-15 Thread Sean Cross
On 16/10/2014 03:16, Nikolay Dimitrov wrote: > Hi Sean, guys, > > On 10/15/2014 10:47 AM, Sean Cross wrote: >> On 15/10/2014 12:47, Nikolay Dimitrov wrote: >>> Hi Marek, >>> >>> On 10/15/2014 12:38 AM, Marek Vasut wrote: On Sunday, October 12, 2014 at 08:33:21 AM, Sean Cross wrote: > On 12

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-15 Thread Nikolay Dimitrov
Hi Sean, guys, On 10/15/2014 10:47 AM, Sean Cross wrote: On 15/10/2014 12:47, Nikolay Dimitrov wrote: Hi Marek, On 10/15/2014 12:38 AM, Marek Vasut wrote: On Sunday, October 12, 2014 at 08:33:21 AM, Sean Cross wrote: On 12/10/2014 05:04, Fabio Estevam wrote: On Sat, Oct 11, 2014 at 11:21 AM

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-15 Thread Sean Cross
On 15/10/2014 12:47, Nikolay Dimitrov wrote: > Hi Marek, > > On 10/15/2014 12:38 AM, Marek Vasut wrote: >> On Sunday, October 12, 2014 at 08:33:21 AM, Sean Cross wrote: >>> On 12/10/2014 05:04, Fabio Estevam wrote: On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: >> Ok, understood. Jus

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-14 Thread Nikolay Dimitrov
Hi Marek, On 10/15/2014 12:38 AM, Marek Vasut wrote: On Sunday, October 12, 2014 at 08:33:21 AM, Sean Cross wrote: On 12/10/2014 05:04, Fabio Estevam wrote: On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: Ok, understood. Just curious: which Ethernet PHY is used on the novena board? It'

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-14 Thread Marek Vasut
On Sunday, October 12, 2014 at 08:33:21 AM, Sean Cross wrote: > On 12/10/2014 05:04, Fabio Estevam wrote: > > On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: > >>> Ok, understood. Just curious: which Ethernet PHY is used on the novena > >>> board? > >> > >> It's the same Micrel PHY used on th

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-14 Thread Marek Vasut
On Saturday, October 11, 2014 at 03:39:36 AM, Fabio Estevam wrote: > Hi Marek, Fixed all, I dunno where my git-foo got wrong :/ Thanks! Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Sean Cross
On 12/10/2014 05:04, Fabio Estevam wrote: > On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: > >>> Ok, understood. Just curious: which Ethernet PHY is used on the novena >>> board? >> It's the same Micrel PHY used on the Sabrelite, the KSZ9021. > nitrogen/sabrelite holds Ethernet PHY reset low

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Fabio Estevam
On Sat, Oct 11, 2014 at 11:21 AM, Sean Cross wrote: >> Ok, understood. Just curious: which Ethernet PHY is used on the novena board? > It's the same Micrel PHY used on the Sabrelite, the KSZ9021. nitrogen/sabrelite holds Ethernet PHY reset low for 10ms, which is in accordance with ksz9021 datash

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Fabio Estevam
On Sat, Oct 11, 2014 at 3:43 PM, Marek Vasut wrote: > Are you positive it is possible to completely fix the PCI on MX6 ? What is the I don't see the hang with that patch applied. Do you? Regards, Fabio Estevam ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Marek Vasut
On Saturday, October 11, 2014 at 03:44:06 AM, Fabio Estevam wrote: > On Fri, Oct 10, 2014 at 10:14 PM, Marek Vasut wrote: > > +/* PCI express */ > > +#undef CONFIG_CMD_PCI /* Disable to prevent Linux from hanging on MX6 > > */ > > This has been fixed recently by this commit: > > https://git.ker

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Sean Cross
On 11/10/2014 21:56, Fabio Estevam wrote: > Hi Nikolay, > > On Sat, Oct 11, 2014 at 2:01 AM, Nikolay Dimitrov wrote: > >> We had some discussions about the PHY reset sequence and timing, but still >> not a common opinion, so I suggested to leave this fix for a consequent >> patch. > Ok, understood

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-11 Thread Fabio Estevam
Hi Nikolay, On Sat, Oct 11, 2014 at 2:01 AM, Nikolay Dimitrov wrote: > We had some discussions about the PHY reset sequence and timing, but still > not a common opinion, so I suggested to leave this fix for a consequent > patch. Ok, understood. Just curious: which Ethernet PHY is used on the no

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-10 Thread Nikolay Dimitrov
Hi Marek, On 10/11/2014 04:14 AM, Marek Vasut wrote: Add support for the Kosagi Novena board. Currently supported are: - I2C busses - FEC Ethernet - MMC0, MMC1, Booting from MMC - SATA - USB ports - USB Ethernet Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Sean Cross Cc: Nikolay Dimitrov

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-10 Thread Nikolay Dimitrov
Hi Fabio, On 10/11/2014 04:39 AM, Fabio Estevam wrote: Hi Marek, On Fri, Oct 10, 2014 at 10:14 PM, Marek Vasut wrote: +int board_early_init_f(void) +{ +#if defined(CONFIG_VIDEO_IPUV3) + setup_display(); +#endif + + /* Bring Ethernet PHY out of reset. */ + gpio_set_value(IMX

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-10 Thread Fabio Estevam
On Fri, Oct 10, 2014 at 10:14 PM, Marek Vasut wrote: > +/* PCI express */ > +#undef CONFIG_CMD_PCI /* Disable to prevent Linux from hanging on MX6 */ This has been fixed recently by this commit: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/pci/host/pci-imx6.c

Re: [U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-10 Thread Fabio Estevam
Hi Marek, On Fri, Oct 10, 2014 at 10:14 PM, Marek Vasut wrote: > +int board_early_init_f(void) > +{ > +#if defined(CONFIG_VIDEO_IPUV3) > + setup_display(); > +#endif > + > + /* Bring Ethernet PHY out of reset. */ > + gpio_set_value(IMX_GPIO_NR(3, 23), 1); No delay needed here

[U-Boot] [PATCH V7] ARM: mx6: Add support for Kosagi Novena

2014-10-10 Thread Marek Vasut
Add support for the Kosagi Novena board. Currently supported are: - I2C busses - FEC Ethernet - MMC0, MMC1, Booting from MMC - SATA - USB ports - USB Ethernet Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Sean Cross Cc: Nikolay Dimitrov --- arch/arm/Kconfig | 4 + board/k