Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Stefano Babic
On 26/04/2013 18:01, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again. Signed-off-by:

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again.

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Stefano Babic
On 27/04/2013 01:33, Marek Vasut wrote: Dear Otavio Salvador, Hi Fabio, Otavio, Marek, On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Marek Vasut
Dear Stefano Babic, On 27/04/2013 01:33, Marek Vasut wrote: Dear Otavio Salvador, Hi Fabio, Otavio, Marek, On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri,

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Fabio Estevam
Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the hardware and how voltage is applied to the DDR. As the patch reports to allow to boot kernel in most

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Otavio Salvador
On Sat, Apr 27, 2013 at 2:28 PM, Fabio Estevam feste...@gmail.com wrote: Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the hardware and how voltage is

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Marek Vasut
Dear Otavio Salvador, On Sat, Apr 27, 2013 at 2:28 PM, Fabio Estevam feste...@gmail.com wrote: Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the

[U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again. Signed-off-by:

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Eric Bénard
Hi Fabio, Le Fri, 26 Apr 2013 13:01:26 -0300, Fabio Estevam feste...@gmail.com a écrit : From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 1:20 PM, Marek Vasut ma...@denx.de wrote: Is that _really_ it? Can you please try compiling kernel on the MX23 machine to test if the memory is really stable? With this change I can boot the kernel and mount rootfs 100% of the times. I don't have an easy way to do

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 1:24 PM, Eric Bénard e...@eukrea.com wrote: what are the values of these levels (previous one and new one) in mV ? 0x10 == 2.5V 0x12 == 2.6V 46v32m16 says that VDD is : 2.5V +/- 0.2V, so 2.6V is a valid supply voltage. Not sure why 2.5V fails though. Regards, Fabio

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Robert Nelson
On Fri, Apr 26, 2013 at 11:01 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 1:24 PM, Eric Bénard e...@eukrea.com wrote: what are the values of these levels (previous one and new one) in mV ? 0x10 == 2.5V 0x12 == 2.6V 46v32m16 Eh? What's this code above? says that VDD is : 2.5V +/- 0.2V, so 2.6V is a valid supply

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Eric Bénard
Hi Marek, Le Fri, 26 Apr 2013 20:16:30 +0200, Marek Vasut ma...@denx.de a écrit : On Fri, Apr 26, 2013 at 1:24 PM, Eric Bénard e...@eukrea.com wrote: what are the values of these levels (previous one and new one) in mV ? 0x10 == 2.5V 0x12 == 2.6V 46v32m16 Eh? What's this code

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: Dear Fabio Estevam, On Fri, Apr 26, 2013 at 1:24 PM, Eric Bénard e...@eukrea.com wrote: what are the values of these levels (previous one and new one) in mV ? 0x10 == 2.5V 0x12 == 2.6V 46v32m16 Eh? What's this code

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Otavio Salvador
On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: strange at best and I don't like it. I think that's also the source of our problems, the DRAM suffers undervolt and quickly afterwards is configured for

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: http://s8.postimg.org/dn7jhntut/imx233_olinuxino_maxi_2_5_V_rising.jpg check this, this is as much as I got from tsvetan so far, it's the VDDMEM ramping. I dunno what's that weird drop before it starts going from 1V5 to 2V5,

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: Dear Fabio Estevam, On Fri, Apr 26, 2013 at 1:24 PM, Eric Bénard e...@eukrea.com wrote: what are the values of these levels (previous one and new one) in mV ? 0x10 == 2.5V 0x12 == 2.6V

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 1:20 PM, Marek Vasut ma...@denx.de wrote: Is that _really_ it? Can you please try compiling kernel on the MX23 machine to test if the memory is really stable? With this change I can boot the kernel and mount rootfs 100% of the times. I don't

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: strange at best and I don't like it. I think that's also the source of our problems, the DRAM suffers undervolt and quickly

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 3:21 PM, Marek Vasut ma...@denx.de wrote: Yes you have, extract ELDK 5.3 for armv5te from ftp://ftp.denx.de/pub/eldk/ on SD card (use for example rootfs-qte-sdk) and all the tools are readily there. Just grab kernel source, run make mxs_defconfig ; make -j 2 and wait

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: http://s8.postimg.org/dn7jhntut/imx233_olinuxino_maxi_2_5_V_rising.jpg check this, this is as much as I got from tsvetan so far, it's the VDDMEM ramping. I dunno what's that weird drop before it starts

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Fabio Estevam
On Fri, Apr 26, 2013 at 5:56 PM, Marek Vasut ma...@denx.de wrote: Why 1.5V? The VDDMEM reset value is 1.7V. Some voltage drop, that's no problem. Well, 100mV does all the difference on my test. I'd say try one more thing -- use a different PSU. I suspect the powerblock on olinuxino is

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 3:21 PM, Marek Vasut ma...@denx.de wrote: Yes you have, extract ELDK 5.3 for armv5te from ftp://ftp.denx.de/pub/eldk/ on SD card (use for example rootfs-qte-sdk) and all the tools are readily there. Just grab kernel source, run make

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Fabio Estevam, On Fri, Apr 26, 2013 at 5:56 PM, Marek Vasut ma...@denx.de wrote: Why 1.5V? The VDDMEM reset value is 1.7V. Some voltage drop, that's no problem. Well, 100mV does all the difference on my test. Yes, I get it, I'm just worried we're just putting a plaster on another

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Otavio Salvador
On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: strange at best and I don't like it. I think that's also the

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-26 Thread Marek Vasut
Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek Vasut ma...@denx.de wrote: strange at best and I don't like