[U-Boot] U-Boot Crashes with Dumps

Stefan Roese sr at denx.de
Wed Jan 13 08:38:49 CET 2010


[Please keep the list on Cc]

On Wednesday 13 January 2010 08:21:32 anupbehare at gmail.com wrote:
> I am using denali controller.
> Here we can not use 44x_spd_ddr.c as registers are complitly different, so
> we have implemented sdram.c for doing specific initialization...

This seems wrong. You are using the 440GX *and* the Denali SDRAM core? The 
440GX doesn't use the Denali SDRAM controller. Only the 440EPx/GRx use Denali.

Please explain what you are doing here.
 
> We have done ddr training, which was successfully completed I think that
> means DDR initialization is proper.

What exactly do you mean with "ddr training"? DDR setup is complex stuff. Many 
things can go wrong here.
 
> But when the control enter into board_init_r() we get machine check
> exception and u-boot is in continuously reboot mode.

If you are sure that your SDRAM setup is correct, then you need to debug where 
exactly this crash happens. Either use the JTAG debugger (BDI2000/3000) or add 
printf's. But I still suspect SDRAM problems.
 
> after that we are not able to access the flash with Crack monkey tool to
> flash the u-boot binary .

"Crack monkey tool"? What's that? You should be able to access the FLASH again 
after resetting the CPU.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list