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

Marek Vasut marek.vasut at gmail.com
Tue Jan 31 19:33:02 CET 2012


> > 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.
> 
> > Can you trace mem_init()
> > in the SPL? Simply define CONFIG_SPL_SERIAL_SUPPORT for example and run
> > serial_init() before, then run serial_puts() every now and then when fit.
> 
> I'm trying too. I'm also trying to figure out the call stack of
> mx28_dram_init(), but no luck so far.

Ok, what happens if you replace mx28_dram_init() with:

while (!readl(0x8001c280))
	mx28_mem_init();

?


More information about the U-Boot mailing list