[ECOS] ROM startup + MMU tables

Jonathan Larmour jlarmour@redhat.com
Tue Aug 7 10:23:00 GMT 2001


"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



More information about the Ecos-discuss mailing list