linux-mips
[Top] [All Lists]

Re: YAMON: go

To: ashlesha@kenati.com
Subject: Re: YAMON: go
From: Pete Popov <ppopov@embeddedalley.com>
Date: Tue, 25 Jul 2006 17:20:06 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <1153872862.6478.7.camel@sandbar.kenati.com>
Organization: Embedded Alley Solutions, Inc
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1153872862.6478.7.camel@sandbar.kenati.com>
Reply-to: ppopov@embeddedalley.com
Sender: linux-mips-bounce@linux-mips.org
On Tue, 2006-07-25 at 17:14 -0700, Ashlesha Shintre wrote:
> Hi,
> 
> I compiled an 2.6 kernel for the db1500 board and used the load command
> in YAMON to write the srec image to the RAM using tftp.  Now I want to
> start the kernel and so I issued the go command.  It gives me the
> following error:
> 
> * Exception (user) : Reserved instruction *
> 
> CAUSE    = 0x00808028  STATUS   = 0x00000002
> EPC      = 0x80404004  ERROREPC = 0x00000000
> BADVADDR = 0x00000000

> Also another query is this: How does one know whether the load command
> has written to the RAM or the Flash?  The help load says that this
> depends on the address.  However, upon issuing the load command without
> any options, YAMON outputs the following as the location of the load:
> 
> Start = 0x80404000, range = (0x80100000,0x80423084), format = SREC

... which is a ram address.  SRECs have the load address embedded in
them and the kernel is linked to run from ram.

Are you sure the jumpers on the board are setup to match the kernel
endianness you have compiled? Looks like your kernel crashed pretty
quickly.

Pete


<Prev in Thread] Current Thread [Next in Thread>