[Top] [All Lists]

Re: YAMON: go

Subject: Re: YAMON: go
From: craigslist <>
Date: Tue, 25 Jul 2006 20:21:13 -0400
In-reply-to: <>
Original-recipient: rfc822;
References: <>

On Jul 25, 2006, at 8:14 PM, Ashlesha Shintre wrote:


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

I think the command should be
        go .

the period tells it to use the start address from the last "load" command.

Also another query is this: How does one know whether the load command
has written to the RAM or the Flash?

The address the srec file is loaded to is dependent upon the address used when building the srec file. I believe it defaults to ram memory. I use the --adjust-vma option with objcopy to adjust the address to a flash memory location. Yamon will put that in flash if the address parameter is correct.

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

Thanks & Regards,

Ashlesha Shintre.
Kenati Technologies
800W California Ave.
Sunnyvale, CA

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