This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: who use the RAM block between 0x0 and 0xfcb8 ??


On Thu, 2005-08-25 at 21:50 +0800, Steven_cheng wrote:
> Dear Thomas,
> 
>             The processor of my platform is PowerPC 8245,
> the application is our product application,  and it is made
> by Nucleus Plus.  The application is located at 0x0,  and
> it starts at 0x100. So we hope to use RedBoot to load this
> application. The application is distributed and works for
> a long time,  and it had better no change.
> 
> So how can I do for it ??

The simplest way would be to write a new RedBoot command to
execute your code.  This command would take your application
image, loaded at some arbitrary location, turn off the MMU and
then move the application to location 0x0 before executing it.

This is quite similar to how the 'exec' function works on some
of the ARM platforms.

> Thank you~
> 
> Steven Cheng
> 
> 
> ----- Original Message ----- 
> From: "Gary Thomas" <gary@mlbassoc.com>
> To: "Steven_cheng" <05071@alphanetworks.com>
> Cc: "Andrew Lunn" <andrew@lunn.ch>; "eCos Discussion"
> <ecos-discuss@ecos.sourceware.org>
> Sent: Thursday, August 25, 2005 7:28 PM
> Subject: Re: [ECOS] who use the RAM block between 0x0 and 0xfcb8 ??
> 
> 
> > On Thu, 2005-08-25 at 11:34 +0800, Steven_cheng wrote:
> > > Dear All,
> > >
> > > Thank you for your reply! But I have a question.
> > >
> > >     Can I move the RedBoot workspace to other address, because I have
> > > an application located at 0x0.  I hope to empty the address 0x0 in the
> ROM /
> > > ROMRAM modes
> > >
> > > How can I do for it ??
> >
> > I don't know what platform/architecture you are using, but moving the
> > data space (RedBoot's workspace) to another location, while possible,
> > is probably a non-trivial job.
> >
> > What kind of application do you have/need at 0x0?
> >
> > >
> 
> 
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]