This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: making and running tests
- From: Tim Drury <tdrury at siliconmotorsports dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 21 Jul 2002 15:32:57 -0400
- Subject: Re: [ECOS] making and running tests
- Organization: Silicon Motorsports
- References: <000301c230cd$4728a470$6501a8c0@s1Main2bws911> <200207211414.09984.tdrury@siliconmotorsports.com>
Of course, no sooner than I sent this, I realized there are hardcoded
rom locations in the copy routine. Ideally, they should not be there.
They should be calculated or macro-substituted. I've notice while doing
the eb40a port there are many places where parameters are duplicated
instead of locating all of them in one file and using variable substitution
for those values throughout the code. Perhaps when I get a little
better at ARM assembly and eCos, I can change that.
-tim
On Sunday 21 July 2002 02:14 pm, Tim Drury wrote:
> James,
>
> The ROMRAM image appears as though it resides completely in RAM even
> though it is initially burned into flash. If you look in
> hal_platform_setup.h you can see the code that copies the flash image to
> ram - note that it has no hard addresses coded into it which means the code
> is completely relocatable. So, the point being, that it doesn't matter
> _where_ the ROMRAM image is located, it will copy itself to RAM where all
> the
> hard coded addresses expect the code to be.
>
> Did this explain it?
>
> -tim
>
> PS - I CC'd the list so that everyone can benefit from a good question and
> a mediocre answer.
>
> On Sunday 21 July 2002 11:42 am, James wrote:
> > Hi,
> > I have been following your posts on the ecos mailing lists with interest
> > because
> > I have been working with the eb40 and want to move to the eb40a.
> > But, the reason I am sending you this email is to ask how do you run
> > ROMRAM applications? The link addresses are all RAM addresses, so how
> > exactly do you get the program into ROM (and where)?
> > Thanks for any info,
> > James
> > James Musselman
> > 858-404-0008 Pacific Time Zone -8:00 GMT, -7:00 Summer
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss