
Hi Stefan,
But, my DDR3 initialization seems to be completed and I am not getting any error in DDR3 initialization.
Another issue I am facing that if I add 2 pritinf functions before or after DDR initialization the DDR3 initialization code hangs in between and if I remove the printf functions, everything is working fine and after disabling the EE bit I am able to see the u-boot proopt This is not desired and I am looking in that problem.
if I replace the printf whith udelay(5) then also I am facing same issue.
In BDI3000 debugger I am seeing that after set_timer(0) function in cpu/ppc4xx/board.c when I execute next fucntion /* Initialize from environment */ if ((s = getenv ("loadaddr")) != NULL) { ... } then u-boot hangs in between during the execution of getenv(..) function. What may be the reason?
Which registers I should see to check the address of instruction which causes exception?
Regards, Prakash On Wed, May 5, 2010 at 5:22 PM, Stefan Roese sr@denx.de wrote:
On Wednesday 05 May 2010 13:48:05 prakash bedge wrote:
I commented he MSR_EE in interrupt_init function in
cpu/ppc4xx/interrupts.c
to run the u-boot and to get u-boot prompt.
when I executed "sleep 3 " command it doesn't reurns to prompt. It seems that it hangs in while loop or hangs somewhere else. what does it mean?
That means, that the timer is not running at all. Since you disabled the interrupts in the MSR register.
You need to solve the problem with the hanging trap, most likely resulting from the DDR3 setup code.
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@denx.de