This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: CDL parent target+options?
- To: ilg at livius dot net (Liviu Ionescu)
- Subject: Re: [ECOS] CDL parent target+options?
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Thu, 20 Apr 2000 11:50:56 +0200 (MET DST)
- Cc: ecos-discuss at sourceware dot cygnus dot com
> so both ROM and RAM images should be available at the same time.
> reconfiguring ecos and performing a full build is tedious and is really
> useless, since the rom image is in fact build from exactly the same object
> files but using a different link configuration.
The exactly the same onjects files is the key issue. The target im
using only recently used exactly the same object files. Before the
objects were different. A ROM app would initialise the SDRAM
controller where as a RAM app would not. You have to be carefull when
initialsing the SDRAM controller since it can corrupt the contents of
the RAM.
I belieave eCos was designed so the ROM and RAM apps could be
different. Maybe it could be possible for targets that don't use this
feature to build both ROM and RAM versions, but not for those that
differ?
Andrew