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
