Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-02-07 Thread Stefano Babic
On 31/01/2012 01:00, Marek Vasut wrote: > The DC power STS shouldn't be checked if booting off 5V supply. > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Stefano Babic > Cc: Robert Deliën > Cc: Fabio Estevam > Cc: Matthias Fuchs > --- Applied to u-boot-imx, tha

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-02-02 Thread Robert Deliën
Hi Marek, > Ok, what happens if you replace mx28_dram_init() with: > > while (!readl(0x8001c280)) >mx28_mem_init(); It's not entirely clear what you'd like me to try: mx28_dram_init is called in U-Boot, while mx28_mem_init is SPL code. I have tried to link SPL objects along, but I'm gett

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-02-01 Thread Robert Deliën
> Ok, what happens if you replace mx28_dram_init() with: > > while (!readl(0x8001c280)) > mx28_mem_init(); I'm sorry for my late response; I was attending an FPGA workshop today. I will test this first thing in the morning, when I'm at the office. ___

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Marek Vasut
> > Right, because RAM size is 0. I see, so DRAM init fails somewhere. > > That's exactly where and why it hangs, in my case. > > > I think > > though it doesn't hang in the POWER init code anymore. > > In my case, I don't think it hung in power_init before your patch. I'm > pretty sure it hung

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Marek Vasut
> > Right, because RAM size is 0. I see, so DRAM init fails somewhere. > > That's exactly where and why it hangs, in my case. > > > I think > > though it doesn't hang in the POWER init code anymore. > > In my case, I don't think it hung in power_init before your patch. I'm > pretty sure it hung

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Robert Deliën
> Right, because RAM size is 0. I see, so DRAM init fails somewhere. That's exactly where and why it hangs, in my case. > I think > though it doesn't hang in the POWER init code anymore. In my case, I don't think it hung in power_init before your patch. I'm pretty sure it hung at the same place

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Robert Deliën
Hi, Same here. I've applied the patch and tried it on my mx28evk and 'reboot' from the Kernel prompt results into DRAM: 0 Bytes and a hanging U-Boot. I didn't try single-stepping with the debugger yet; I'm still messing around with the PLL bypass bit and PLL configuration. Cheers, Robe

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Matthias Fuchs
On 31.01.2012 12:38, Marek Vasut wrote: >> I tested both patch on my mx28evk. At least I cannot notice any >> missbehavior :-) Downloading the patched u-boot via USB recovery >> download still does not work. > > Good, any improvements though? No. It works as before. Whatever that means :-) I will

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Marek Vasut
> On 1/30/12, Marek Vasut wrote: > > Note: Guys, please give this a testrun. I think it might fix the issue > > Robert > > was observing. I dug into the imx-bootlets and the bootrom X-Files and > > found this paranormal piece of code. Adding it fixes the boot issue on > > my crappy board. > > Tri

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Fabio Estevam
On 1/30/12, Marek Vasut wrote: > Note: Guys, please give this a testrun. I think it might fix the issue > Robert > was observing. I dug into the imx-bootlets and the bootrom X-Files and found > this paranormal piece of code. Adding it fixes the boot issue on my crappy > board. Tried your patch a

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Marek Vasut
> I tested both patch on my mx28evk. At least I cannot notice any > missbehavior :-) Downloading the patched u-boot via USB recovery > download still does not work. Good, any improvements though? > > Marek, did you find any further mentionable difference between bootlets > code and current u-boot

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Matthias Fuchs
I tested both patch on my mx28evk. At least I cannot notice any missbehavior :-) Downloading the patched u-boot via USB recovery download still does not work. Marek, did you find any further mentionable difference between bootlets code and current u-boot implementation? Matthias On 31.01.2012 01

[U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-30 Thread Marek Vasut
The DC power STS shouldn't be checked if booting off 5V supply. Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Stefano Babic Cc: Robert Deliën Cc: Fabio Estevam Cc: Matthias Fuchs --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 16 1 files changed,