Re: [U-Boot] Exception in serial_init

9 May
2010
9 May
'10
8:47 p.m.
On Sun, May 9, 2010 at 10:50 AM, Gurumurthy G M Gurumurthy.Gowdar@gmobis.com wrote:
Hi Andrew, Find attached disassembly file and register dump. let me know if you find any mistake or am missing something.
code looks pretty normal. Check that t9 (aka register 25) is set up on entry to the function. I believe it is supposed to be set to the function's entry point by the caller (something to do with PIC code).
I would stop at the function entry, dump the registers, step through it (and the call to serial_setbrg) and watch the stack pointer. Dump the stack contents at different points and see where things go haywire.
5482
Age (days ago)
5482
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Dyer