[U-Boot] Exception in U-Boot
Viswanath Bandi
bandi.ml at gmail.com
Thu Apr 29 19:51:16 CEST 2010
On Thu, Apr 29, 2010 at 7:34 PM, Sanjay Kumar <sanjay.kumar at gmobis.com>wrote:
> Hi All,
> We are porting U-boot. 2010.03 version for MIPS32 processor (Au1350).
> Currently we are facing one problem:
>
> When I compile u-boot and program to NOR Flash using bdiGDB through BDI3000
> Debugger, I am observing u-boot hangs at exception i.e. at address
> 0xbfc00570 after reset .
>
> error log is below:
>
>
> Au1350>ti
> Core number : 0
> Core state : Debug Mode
> Debug entry cause : single step
> Current PC : 0xbfc00400
> Current SR : 0x00400004
> Current LR (r31) : 0xbfc0f6e4
> Current SP (r29) : 0x803fff00
> Au1350>go
> Au1350>halt
> Core number : 0
> Core state : Debug Mode
> Debug entry cause : JTAG break request
> Current PC : 0xbfc00570
> Current SR : 0x00400002
> Current LR (r31) : 0xbfc0f6e4
> Current SP (r29) : 0x803fff00
> Au1350>
>
> After reset address 0xbfc00400, code executes lowlevel_init and
> subsequently hangs at 0xbfc00570 (RomException).
>
> I'm attaching start.S and lowlevel_init.S files we are using.
>
romExcHandle is reached when one of the valid exceptions (filled using
XVECENT) occur. From your start.S, there are 4 possibilities. Checking the
value of register k0 can give you an idea of the actual exception.
Hope this helps.
Thanks,
Bandi
>
> Please let me know if am doing anything wrong or missing something.
>
> With Thanks and Regards,
> Sanjay Kumar
> KPIT Cummins Infosystems Pvt Ltd
>
>
>
>
More information about the U-Boot
mailing list