This is the mail archive of the ecos-discuss@sources.redhat.com 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: config file update with hw package...


>>>>> "Badri" == Badri Sampathkumar <badri@atheros.com> writes:

    Badri> We are trying to add a harware package to an already
    Badri> existing .ECC config file that was based on an older
    Badri> hardware template. The hardware template did not contain
    Badri> this hardware package at the time the .ecc file was
    Badri> created. Now the hardware template was updated (by hand
    Badri> editing ecos.db file) to contain this hardware pkg. But the
    Badri> older .ecc file doesnot contain this hardware pkg now and
    Badri> we are not able to add it also. The config tool gives an
    Badri> error 'add/remove hw pkgs by choosing a new hw template'.
    Badri> If we create a new .ecc config file, it does contain the hw
    Badri> pkg. But the older .ecc config files are not editable to
    Badri> add this hw pkg.

    Badri> Are we missing something here..?

Within the configuration system adding/removing hardware packages can
get very messy. The graphical configtool disallows the operation
completely, which arguably is too strict. There are two main ways of
proceeding:

1) use ecosconfig at the command line. This is more relaxed about
   adding/removing hardware packages, on the assumption that people
   who use the command line tool and edit ecos.ecc manually are more
   likely to be able to handle any problems that arise.

2) within the graphical configtool, load up your old configuration and
   export it. This saves all the important settings, i.e. your changes
   to the configuration. Then create a new configuration with the
   updated hardware and the same template (default, net, whatever),
   and import the file previously exported. This should restore your
   settings.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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