This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ROM startup + MMU tables
- To: "Nicola Bergamin [BW]" <nicola dot bergamin at bluewind dot it>
- Subject: Re: [ECOS] ROM startup + MMU tables
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 07 Aug 2001 18:23:36 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3B7037C4.5916.1FF25F0@localhost>
"Nicola Bergamin [BW]" wrote:
>
> Hi,
> Does anybody know about this ROM startup issue?
>
> i'm trying to use a predefined arm/edb7xxx platform to arrange
> eCos for my board. (no DRAM, only ROM and internal on-chip
> SRAM, Cirrus Logic EP7209 derivative)
>
> I configured with ROM startup, static MMU tables and NO DRAM
> (macro CYGHWR_HAL_ARM_EDB7XXX_DRAM_SIZE==0).
> This macro is used in the vectors.S module, and in
> hal_platform_extras.h as well.The apparent cause seems to be that
> putting DRAM size to zero causes MMU_TABLES_SIZE to be
> undefined!!, thus causing errors in compilation.
Looks like you'll have to edit hal_platform_setup.h/extras.h to resolve
this; the port was not written to fully support running with no DRAM. For
example, you would probably have to map the SRAM to address 0.
> I tried to configure to 16M DRAM size, but memory mapping
> seems not working in that case.
Surely this is just reverting to the default and should work?
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