Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-05-06 Thread Stefano Babic
On 29/04/2013 02:17, Marek Vasut wrote: > The VDDMEM ramped up in very weird way as it was horribly misconfigured. > Instead of setting up VDDMEM in one swipe, let it rise slowly the same > way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before > memory gets inited. This makes s

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-05-05 Thread Marek Vasut
Hi Stefano, this one too ;-) > The VDDMEM ramped up in very weird way as it was horribly misconfigured. > Instead of setting up VDDMEM in one swipe, let it rise slowly the same > way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before > memory gets inited. This makes sure the V

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Fabio Estevam
Hi Marek, On Mon, Apr 29, 2013 at 2:19 PM, Marek Vasut wrote: > This should be done in board//mx23evk/spl_boot.c alongside iomux, no? Yes, but the end result of DDR IOMUX settings are not correct in this file. Let's take HW_PINCTRL_DRIVE9 register for example: => md.l 0x80018290 80018290:

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Marek Vasut
Dear Fabio Estevam, > Hi Marek, > > On Mon, Apr 29, 2013 at 12:40 PM, Marek Vasut wrote: > >> Without the patch skipping registers, the console output gets scrambled. > > > > Ok, so we have issue in spl_mem_init.c for MX23. > > This is my thought as well. > > I sent the "skipping registers" t

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Fabio Estevam
Hi Marek, On Mon, Apr 29, 2013 at 12:40 PM, Marek Vasut wrote: >> Without the patch skipping registers, the console output gets scrambled. > > Ok, so we have issue in spl_mem_init.c for MX23. This is my thought as well. I sent the "skipping registers" to Kiril after comparing U-boot code again

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Marek Vasut
Dear Kiril Zyapkov, > Hello everyone, > > On 29/04/13 15:30, Otavio Salvador wrote: > > Hello Marek, > > > > (adding Kiril in Cc as he been quite friendly in testing U-Boot in > > OlinuXino) > > Per Otavio's instructions: >* checked out git://git.denx.de/u-boot-imx.git, branch master >*

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Kiril Zyapkov
Hello everyone, On 29/04/13 15:30, Otavio Salvador wrote: Hello Marek, (adding Kiril in Cc as he been quite friendly in testing U-Boot in OlinuXino) Per Otavio's instructions: * checked out git://git.denx.de/u-boot-imx.git, branch master * applied http://pastebin.com/qub5fP1P (skips writi

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-29 Thread Otavio Salvador
Hello Marek, (adding Kiril in Cc as he been quite friendly in testing U-Boot in OlinuXino) On Sun, Apr 28, 2013 at 9:17 PM, Marek Vasut wrote: > The VDDMEM ramped up in very weird way as it was horribly misconfigured. > Instead of setting up VDDMEM in one swipe, let it rise slowly the same > way

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-28 Thread Marek Vasut
Dear Marek Vasut, > The VDDMEM ramped up in very weird way as it was horribly misconfigured. > Instead of setting up VDDMEM in one swipe, let it rise slowly the same > way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before > memory gets inited. This makes sure the VDDMEM rises

[U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-28 Thread Marek Vasut
The VDDMEM ramped up in very weird way as it was horribly misconfigured. Instead of setting up VDDMEM in one swipe, let it rise slowly the same way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before memory gets inited. This makes sure the VDDMEM rises sanely, not jumps up and do