public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] any tool/strategy present in eCos to load ram image stored in  flash and run it ???
@ 2006-06-01 14:12 Ram Sudhir Tadavarthi
  2006-06-01 16:27 ` Andrew Lunn
  2006-06-01 16:50 ` Gary Thomas
  0 siblings, 2 replies; 3+ messages in thread
From: Ram Sudhir Tadavarthi @ 2006-06-01 14:12 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I am new to eCos. I have redboot working for my platform(PQ2FADS-ZU board).
Now I am creating ram images on the host and loading the ram images to the
target using the redboot load via tftp and running them successfully.

However in production series, we would like to store the ram image in flash,
copy the image in ram and run it from ram.

Is there any tool/strategy/option in eCos to do this? Can we configure
redboot to do it?

In my point of view, most of you might have done this already. Can anybody
give me hint how to do this.

Thank you,
ram



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] any tool/strategy present in eCos to load ram image stored in  flash and run it ???
  2006-06-01 14:12 [ECOS] any tool/strategy present in eCos to load ram image stored in flash and run it ??? Ram Sudhir Tadavarthi
@ 2006-06-01 16:27 ` Andrew Lunn
  2006-06-01 16:50 ` Gary Thomas
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2006-06-01 16:27 UTC (permalink / raw)
  To: Ram Sudhir Tadavarthi; +Cc: eCos Disuss

On Thu, Jun 01, 2006 at 04:07:15PM +0200, Ram Sudhir Tadavarthi wrote:
> Hi all,
> 
> I am new to eCos. I have redboot working for my platform(PQ2FADS-ZU board).
> Now I am creating ram images on the host and loading the ram images to the
> target using the redboot load via tftp and running them successfully.
> 
> However in production series, we would like to store the ram image in flash,
> copy the image in ram and run it from ram.
> 
> Is there any tool/strategy/option in eCos to do this? Can we configure
> redboot to do it?

Yes, reboot will do this for you. Look at the FIS parts of the redboot
documentation.

        Andrew

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] any tool/strategy present in eCos to load ram image  stored in  flash and run it ???
  2006-06-01 14:12 [ECOS] any tool/strategy present in eCos to load ram image stored in flash and run it ??? Ram Sudhir Tadavarthi
  2006-06-01 16:27 ` Andrew Lunn
@ 2006-06-01 16:50 ` Gary Thomas
  1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2006-06-01 16:50 UTC (permalink / raw)
  To: Ram Sudhir Tadavarthi; +Cc: ecos-discuss

On Thu, 2006-06-01 at 16:07 +0200, Ram Sudhir Tadavarthi wrote:
> Hi all,
> 
> I am new to eCos. I have redboot working for my platform(PQ2FADS-ZU board).
> Now I am creating ram images on the host and loading the ram images to the
> target using the redboot load via tftp and running them successfully.
> 
> However in production series, we would like to store the ram image in flash,
> copy the image in ram and run it from ram.
> 
> Is there any tool/strategy/option in eCos to do this? Can we configure
> redboot to do it?
> 
> In my point of view, most of you might have done this already. Can anybody
> give me hint how to do this.

This is exactly what the FIS (create/load) commands are for.  You can 
create a boot script to load the image and execute it.

To create the image:
  RedBoot> lo program_image
  RedBoot> fi create program

To run it in your boot script:
  (boot) fi lo program
  (boot) g

-- 
------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-01 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-01 14:12 [ECOS] any tool/strategy present in eCos to load ram image stored in flash and run it ??? Ram Sudhir Tadavarthi
2006-06-01 16:27 ` Andrew Lunn
2006-06-01 16:50 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).