[ECOS] RedBoot Adding my parameters to the fconfig saved configuration.

Lambrecht Jürgen J.Lambrecht@TELEVIC.com
Wed Oct 27 12:29:00 GMT 2010


In the file ecos\packages\redboot\current\src\fconfig.c, I added this to have the serial number:

#ifdef CYGSEM_REDBOOT_SERIAL_NUMBER
RedBoot_config_option("Serial number",
                      serial_number,
                      ALWAYS_ENABLED, true,
                      CONFIG_INT,
                      0
    );
#endif

I think the order is just the order in which those calls to "RedBoot_config_option" happen.

Success,
Jürgen

> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-
> owner@ecos.sourceware.org] On Behalf Of Elad Yosef
> Sent: woensdag 27 oktober 2010 13:00
> To: ecos-discuss@ecos.sourceware.org
> Subject: [ECOS] RedBoot Adding my parameters to the fconfig saved
> configuration.
> 
> Hi all,
> I'm working on a new platform and want to add new parameters to the
> configuration that is saved in the "fconfig"
> How can i do it? Does the structure and order of the parameters is
> constant ? (i.e the ESA is always the second record in table)
> 
> Also, can i dump the configuration into human readable file ? the
> other option is to dump the flash sector into hex file and use
> external tool, does anyone has such tool?
> 
> Thanks
> 
> Elad
> 
> SW R&D
> 
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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