[En-Nut-Discussion] Running from internal RAM was .bss
Pavel Chromy
chromy at asix.cz
Fri Apr 2 15:23:09 CEST 2004
The discussion on .bss made me to think more about how to start NutOS
from internal memory - I suppose NutOS can do that at least I've seen some notes on this,
let's get to the point:
I need to start NutOS from internal RAM, then in the application code,
after I initialize the nesessary stuff (FPGA which is handling memory mapping among other stuff),
I enable XRAM and add it to the heap by calling NutHeapAdd().
To achieve this I just removed the NutInitXRAM() and it basicaly seems to be working,
but now it seems that there may be more to do than just this.
I would like to know how to do this correctly - e.g. how do I force the linker
NOT to put variables in XRAM at all?
I'm not much familiar with internals of GCC.
Maybe this was discussed before, in such case please point me to the place I can find it.
Thanks
Pavel
More information about the En-Nut-Discussion
mailing list