[U-Boot] Hangs at relocation on 460EX Target

Ayman M. El-Khashab ayman at elkhashab.com
Thu Oct 23 02:59:12 CEST 2008


On Wed, Oct 22, 2008 at 07:12:30AM +0200, Stefan Roese wrote:
> 
> Yes, there have been issues with the "old" autocalibration code on some boards. That's one 
> reason that AMCC provided a new version just a few weeks ago:
> 

Thanks Stefan,  I've got the hardware mostly working now.  The new calibration code did 
work once I got past another issue.  I'll try to describe it here b/c It *might* be a 
bug, but I wasn't 100% sure.  

First, I am using registered ecc dimms which appears to be handled in 
cpu/ppc4xx/44x_spd_ddr2.c  However, what I found by observing the registers with 
the abatron was that the SDRAM_MCOPT1_RDEN was not set for the registered DIMM. Following
the code, it looks like it should have been set if "registered" was set, but it does not 
appear that it worked correctly.  So of course we were off by 1/2.  I forced the bit
in the mcopt1 variable and that fixed all the problems.  

Any thoughts or is there something I can try/contribute?

Thanks
Ayman



More information about the U-Boot mailing list