This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to interpret hal_platform_extra.h?


Hi Thomas,
I have followed your advice and modified ixdp425.h. But the problem
still exists. When I download a file(3M) to 0x10800000, it stops at
0x10900000. It seems that memory at 0x1090-0000 does not mapped
correctly.

On Wednesday 13 August 2003 20:13, Gary Thomas wrote:
> This table entry is setting the MMU to map the 256MB from
> 0x00000000..0x0FFFFFFF.
>
> I think that all you should have to change are the SDRAM settings in
> hal/arm/xscale/ixdp425/current/include/ixdp425.h:
>   #define SDRAM_SIZE                         0x10000000  // 256MB
>   #define IXP425_SDRAM_CONFIG_INIT  (SDRAM_CONFIG_CAS_3 |
> SDRAM_CONFIG_4x32Mx16)
>
> My guess:
>   #define SDRAM_SIZE                         0x04000000  // 64MB
>   #define IXP425_SDRAM_CONFIG_INIT  (SDRAM_CONFIG_CAS_3 |
> SDRAM_CONFIG_4x8Mx16)
>
> Change these to match your hardware and it should work fine.
> --
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]