This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Confusion about MIPS reset vector
- From: "Domegan, Patrick" <Patrick dot Domegan at amd dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 27 Nov 2007 11:49:34 -0500
- Subject: [ECOS] Confusion about MIPS reset vector
Hi,
We are trying to create a port of eCOS to our board (MIPS 4Kec) based
from the Malta branch.
-----------------------------------
I am making the following assumptions/observations (possibly faulty):
-MIPS reset vector is at 0xBFC00000
-Even the eCOS file \packages\hal\mips\arch\current\src\vectors.S makes
a note of this in a comment(Line 78: # Reset vector at 0xBFC00000)
-The loader script file mlt_mips_malta_ram.ldi puts the address of the
final image starting at 0x80020000
-a dump of the resulting elf file indicates that the images will start
loading at 0x80020000 (as expected) and the start address is 0x800200bc
-------------------------------------
My question: shouldn't the start address be 0xBFC00000?? If the starting
address is 0x800200bc then is there some Malta specific hardware that
changes it from the default 0xBFC00000?? The problem is my ignorance so
any pointers would be appreciated.
Thanks
Patrick
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss