This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: IXDP425 platform support
Mark Salter wrote:
On Wed, 2005-04-06 at 20:27 +0400, Nickolay wrote:
Hallo All!
My new IXDP425 board has only 128Mb of RAM, but native IXDP425 has 256Mb
of RAM.
What changes i need does, for porting redboot from IXDP425 with 256Mb of
RAM, to IXDP425 with 128Mb of RAM.
There are two places, I believe. First, the SDRAM controller needs to be
properly setup. The SDRAM controller setup is defined in:
hal/arm/xscale/ixdp425/current/include/ixdp425.h
Next are ram-size entries in the mem config files in:
hal/arm/xscale/ixdp425/current/include/pkgconf/*.{h,ldi}
--Mark
I did change in
hal/arm/xscale/ixdp425/current/include/ixdp425.h:
#define CYGMEM_REGION_ram_SIZE (0x8000000)
#define CYGMEM_SECTION_heap1_SIZE (0x8000000 - (size_t)
CYG_LABEL_NAME (__heap1))
hal/arm/xscale/ixdp425/current/include/ixdp425.ldi:
ram : ORIGIN = 0, LENGTH = 0x8000000
hal/arm/xscale/ixdp425/current/include/ixdp425.h:
#define SDRAM_SIZE 0x8000000
Next macros i doesn't change in
.hal/arm/xscale/ixdp425/current/include/ixdp425.h:
#define SDRAM_PHYS_BASE 0x00000000
#define SDRAM_BASE 0x00000000
#define SDRAM_ALIAS_BASE 0x10000000
#define SDRAM_UNCACHED_BASE 0x20000000
#define SDRAM_DC_BASE 0x30000000
Maybe i need change something here?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss