[ECOS] malloc vs. new
Tim Drury
tdrury@siliconmotorsports.com
Tue Jun 25 02:32:00 GMT 2002
Actually.... I have. But I'm not sure they are correct. I cannot figure out
how to target a ROM-based redboot target. If I do an ecosconfig and
import redboot_ROM.ecm instead of the RAM version, the resulting elf
file appears to have addresses starting at 0x02020000 (RAM) instead of
0x01000000 which is the Flash. Is there something else I'm supposed to
do or will the addresses get automagically adjusted upon upload?
-tim
On Monday 24 June 2002 05:55 pm, Scott Dattalo wrote:
> On 24 Jun 2002, Gary Thomas wrote:
> > Is your platform an EB40 or EB40A?
>
> I have both, but for the moment I was targeting the EB40 since eCos works
> "out of the box" for it. Ultimately, I'll target my own platform which
> will be different than both of these, but more similar to the EB40A (e.g.
> I plan on using the 40008).
>
> > The "proper" way is to define a new platform. This can be much the same
> > as an extant one, in fact, all that might be different is the mlt_*
> > files. Look at the (ARM) Cirrus Logic edbxxx platforms. One platform
> > HAL is used for 4 different boards (platforms).
>
> Great! I look into a EB40a mlt_* version, (assuming Tim hasn't done one
> already).
>
> Thanks,
> Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlt_arm_at91_eb40_rom.h
Type: text/x-chdr
Size: 978 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020625/53f9b68b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlt_arm_at91_eb40_rom.ldi
Type: text/x-c++src
Size: 1157 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020625/53f9b68b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlt_arm_at91_eb40_romram.h
Type: text/x-chdr
Size: 862 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020625/53f9b68b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlt_arm_at91_eb40_romram.ldi
Type: text/x-c++src
Size: 926 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020625/53f9b68b/attachment-0003.bin>
-------------- next part --------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list