public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot hangs after detecting DDR3 RAM and Flash.
@ 2010-05-04 14:21 prakash bedge
  2010-05-04 14:34 ` Stefan Roese
  0 siblings, 1 reply; 10+ messages in thread
From: prakash bedge @ 2010-05-04 14:21 UTC (permalink / raw)
  To: u-boot

Hi All,

I am facing an error while porting u-boot for my platform because if
exception error.

After running the u-boot to detect the DDR and flash u-boot hangs after
showing the serial console output. In debugger I am seeing PC at 0x00000400
address which the exception handler vector address.

But when I modify the below statement in the function int interrupt_init
(void) in u-boot\lib_ppc\interrupts.c, u-boot continues and I can see the
u-boot prompt and I am able to run all u-boot commands.

int interrupt_init (void)
{
    int ret;

    /* call cpu specific function from $(CPU)/interrupts.c */
    ret = interrupt_init_cpu (&decrementer_count);

    if (ret)
        return ret;

    set_dec (decrementer_count);

---    set_msr (get_msr () | MSR_EE);   //Removed this statement.
++  set_msr (get_msr ());

    return (0);
}

It seems that there is an exception error and because of this u-boot hangs.
But I didn't get any error condition till now.

If someone has earlier experienced this kind of issue, please share.


Regards,
Prakash

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-10 14:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 14:21 [U-Boot] u-boot hangs after detecting DDR3 RAM and Flash prakash bedge
2010-05-04 14:34 ` Stefan Roese
2010-05-04 15:03   ` prakash bedge
2010-05-04 15:38     ` Stefan Roese
2010-05-05 11:48       ` prakash bedge
2010-05-05 11:52         ` Stefan Roese
2010-05-06 13:06           ` prakash bedge
     [not found]             ` <201005071030.24575.sr@denx.de>
2010-05-07 14:52               ` prakash bedge
2010-05-07 15:17                 ` Wolfgang Denk
2010-05-10 14:28                   ` prakash bedge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox