This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Memory layout for ram and flash
- From: Jesper Skov <jskov at redhat dot com>
- To: Charles-Henri Balet <charles-henri at bluewin dot ch>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 13 Mar 2002 08:23:47 +0100
- Subject: Re: [ECOS] Memory layout for ram and flash
- References: <000d01c1c77b$60665ab0$0401a8c0@CHARLESHENRI>
On Sat, 2002-03-09 at 16:02, Charles-Henri Balet wrote:
> Hi,
> My problem is for define the layout in the two file .ldi and .h, the memory
> map of my board is
>
> 1.- SRAM from 0 to 0x7FFFF
> 2.- Internal RAM 0x200000 to 0x200FFF
> 3.- Flash from 0x820000 to 0x83FFFF
> 4.- SRAM from 0x1000000 to 0x107FFFF
> 5.- DRAM from 0x2000000 to 0x3FFFFFF
>
> any can help me to construct the two layout file, .ldi and .h and how make
You can create the files using the config tool for windows. I'm pretty
sure it is covered in the documentation.
Alternatively, you can hand edit the files. The syntax should be obvious
- just adjust the addresses/sizes from the files of a similar platform.
> for use the flash section
> with the redboot fis tools ?
For that, you need to add a flash driver. See the porting guide
http://sources.redhat.com/ecos/docs-latest/porting/
Jesper
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss