This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Mem maps and mmu for iq80310
- To: Ashwin Kamath <kamath at OmegaBand dot com>
- Subject: Re: [ECOS] Mem maps and mmu for iq80310
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 02 Apr 2001 18:09:47 +0100
- Cc: Mark Salter <msalter at redhat dot com>, ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3AC3DD62.32D889B6@OmegaBand.com> <200103301306.f2UD6Wj15872@deneb.localdomain> <3AC89531.489646C0@OmegaBand.com>
Ashwin Kamath wrote:
>
> > Index: hal/arm/iq80310/current/include/pkgconf/mlt_arm_iq80310_rom.h
> Gee thanks Mark. This solved my problems. Is there a mechanism to change
> the HEAP END without having to touch the ecos sources? The patch that
> you gave changes the heap end to the last location of SDRAM. I might
> want to change this, so that I can allocate large buffers for sharing
> with devices and I have to change the page tables for this. This also
> means that the heap needs to end well short of SDRAM. ecos.db did not
> have this option as far as I could see. Does having such a mechanism
> seem valuable?
You need to change the memory layout from within the configuration tool.
The problem Mark fixed was just that the .h file generated was not in sync
with the real memory layout information. So if you just regenerate the
memory layout that should be fine, and does not involve changing the eCos
sources.
If you then need to change the size of the heap to allow for device
buffers, you can do this in the memory layout tool as well.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine