[ECOS] There is a way to change a 'fconfig' redboot value from a linux program

Gary Thomas gary@mlbassoc.com
Tue Apr 18 16:09:00 GMT 2006

On Tue, 2006-04-18 at 18:02 +0200, thierry langlais wrote:
> Hi All,
> The purpose is to change the redboot's "boot script" value from a linux
> program.
> Does someone know if it could be done ?
> More details:
> from redboot fconfig command, it is possible to set the boot script
> value. This value is written in the RedBoot config partition. Currently,
> this boot script launches a linux embedded distribution. Is there a way
> to access to get and set fconfig api from a linux program ?

Sorry, you're on your own here.

Once Linux is running, RedBoot is out of the picture (i.e. no longer
usable), so you'd need to duplicate the functionality that's used by
RedBoot to handle the 'fconfig' data.  All of the details of what this
entails can be found by reading

In Linux, you could use MTD to access the 'fconfig' data.

n.b. I've thought about writing these functions (for years), but
haven't found the time.

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

More information about the Ecos-discuss mailing list