This is the mail archive of the
mailing list for the eCos project.
ARM port: how to handle ROM at address 0 without MMU ?
- From: <heinricg at esiee dot fr>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 13 Feb 2004 10:47:41 +0100
- Subject: [ECOS] ARM port: how to handle ROM at address 0 without MMU ?
I'm seen this topic discussed earlier on the list but I never really
found an answer that matched my needs.
The thing is I have a platform that has:
- ROM at address 0
- no MMU
With the normal vectors.S file, I obviously get a data abort when it
tries to write into exception vectors, as these are located in ROM.
The question is: what do you think is the best way of modifying the
vectors.S file in order to handle this?
It seems like I will have to have a vector table in RAM and modify
vectors.S so that exception handlers just jump to addresses set up in
the RAM-vector table. Is that it or is there more to do? I'm worried
that I may have to hack a lot of other files in eCOS... which will
certainly result in a pretty unstable port as I am may not be aware of
the implications of what I'll do.
Thanks for your attention,
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss