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
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
* Exception (user) : Reserved instruction *
CAUSE = 0x00808028 STATUS = 0x00000002
EPC = 0x80404004 ERROREPC = 0x00000000
BADVADDR = 0x00000000
I think the command should be
the period tells it to use the start address from the last "load"
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
any options, YAMON outputs the following as the location of the load:
Start = 0x80404000, range = (0x80100000,0x80423084), format = SREC
Thanks & Regards,
800W California Ave.