Linux MIPS Architecture development
 help / color / mirror / Atom feed
* YAMON: go
@ 2006-07-26  0:14 Ashlesha Shintre
  2006-07-26  0:20 ` Pete Popov
  2006-07-26  0:21 ` craigslist
  0 siblings, 2 replies; 3+ messages in thread
From: Ashlesha Shintre @ 2006-07-26  0:14 UTC (permalink / raw)
  To: linux-mips

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

Thanks & Regards,

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: YAMON: go
  2006-07-26  0:14 YAMON: go Ashlesha Shintre
@ 2006-07-26  0:20 ` Pete Popov
  2006-07-26  0:21 ` craigslist
  1 sibling, 0 replies; 3+ messages in thread
From: Pete Popov @ 2006-07-26  0:20 UTC (permalink / raw)
  To: ashlesha; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: YAMON: go
  2006-07-26  0:14 YAMON: go Ashlesha Shintre
  2006-07-26  0:20 ` Pete Popov
@ 2006-07-26  0:21 ` craigslist
  1 sibling, 0 replies; 3+ messages in thread
From: craigslist @ 2006-07-26  0:21 UTC (permalink / raw)
  To: linux-mips


On Jul 25, 2006, at 8:14 PM, 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

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.
> Intern
> Kenati Technologies
> 800W California Ave.
> Sunnyvale, CA
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-26  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26  0:14 YAMON: go Ashlesha Shintre
2006-07-26  0:20 ` Pete Popov
2006-07-26  0:21 ` craigslist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox