linux-mips
[Top] [All Lists]

Exception in U-Boot

To: <u-boot@lists.denx.de>
Subject: Exception in U-Boot
From: "Sanjay Kumar" <sanjay.kumar@gmobis.com>
Date: Thu, 29 Apr 2010 23:04:54 +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5858DE952C53A441BDA3408A0524130104CCE0A3@mkegmal01>
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcrnpNuHHTaZvFXdTrSJGGPJ8yCNNQAABWmI
Thread-topic: Exception in U-Boot
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.

Please let me know if am doing anything wrong or missing something.

With Thanks and Regards,
Sanjay Kumar
KPIT Cummins Infosystems Pvt Ltd



Attachment: start.S
Description: start.S

Attachment: lowlevel_init.S
Description: lowlevel_init.S

<Prev in Thread] Current Thread [Next in Thread>
  • Exception in U-Boot, Sanjay Kumar <=