[ECOS] ec555 memory map, bootcode
Thu Nov 25 01:04:00 GMT 2004
Looks to me that your board is one with 2MB RAM and 4MB FLASH, which
_is_ supported. The only difference are the start addresses; the ones
you describe are the ones Wuerz uses, and yes they differ from those in
the eCos memory map. This is completely determined by the programming of
the memory controller, which is done by software. So, if your board
indeed has 2 MB RAM and 4 MB Flash, the F04_S02 configuration _should_
What you are trying to do, however, is something (as far as I know)
nobody ever tried on the mpc555; using the wuerz bootloader to boot a
RAM version of eCos. Incompatible memory maps are only one of the
problems you are going to experience. Most probably, your eCos will also
expect things being set up properly on beforehand by redboot, e.g
interrupt vectors, virtual vector table etc.
As Gary already suggested, things would become a lot simpler if you'd
just build a ROM version of redboot, program it into the internal flash
of the mpc555 and use that for booting your eCos application. It would
become easier for me to guess what your problem could be anyway.
On Wed, 2004-11-24 at 13:26, Meulendijks, J. wrote:
> Yes I know there are 4 variants, but none of them has the same memory map I
> -----Original Message-----
> From: Andrew Lunn [mailto:email@example.com]
> Sent: woensdag 24 november 2004 13:25
> To: Meulendijks, J.
> Cc: 'firstname.lastname@example.org'
> Subject: Re: [ECOS] ec555 memory map, bootcode
> On Wed, Nov 24, 2004 at 01:04:13PM +0100, Meulendijks, J. wrote:
> > Hi,
> > I have a development board from Wuerz (ec555) but if I look in the eCos
> > configuration the memory map is not the same as the memory map my development
> > board has.
> > My memory map is like this:
> > External Flash base: 0x10000000, size: 0x00400000
> > External Ram base: 0x20000000, size: 0x00200000
> > Internal Ram base: 0x003F9800, size: 0x00006800
> > Do I only have to adjust the memory mapping in ec555.S or are there other
> > I have to edit??
> I guess you need to change ec555.S and also include/pkgconf/.
> The ec555 hal already has the concept of different variants. See
> CYGHWR_HAL_EC555_BOARD_VARIANT. It would be good if you could extend
> this to cover your board as well.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss