This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
utlb_vector & other_vector location in RAM version
- From: Elad Yosef <elad dot yosef at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 2 Jan 2011 21:20:38 +0200
- Subject: [ECOS] utlb_vector & other_vector location in RAM version
Hi,
I'm using the default template for MIPS32 4Ke.
I ported to my platform from the Atlas examples.
In my target the application will be loaded by Tftp to RAM.
I have edited the RAM memory layout files to fit my platform (1 RAM segment).
When I set the RAM address to start in 0x8000:0000
The txt segment goes over the vsr_table (located in 0x8000:0200) and the VVT.
If I change it to start above the 2 tables.
I find the utlb_vector and the other_vector in a wrong place, The MIPS
looks in 0x8000:0000 and 0x8000:0180.
The vector are in 0x8000:0400 and 0x8000:0080.
I have sparated the rom_vectors section from the general RAM segment
and I still get that the other_vector is located in offset 0x80 from
the rom_vectors start address.
(the utlb_vector is now o.k in offset 0x0)
I added some asm code in offset 0x180 do jump to offset 0x80, but
that's a patch.
Does any one can help me to place the other_vector in the correct place?
Thanks
elad
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss