> > 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.
Try s/0x2a/~(26)/ in spl_mem_init.c ... to lower the freq to 166MHz and see what it does. M _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot