This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: config file update with hw package...
- From: Bart Veer <bartv at ecoscentric dot com>
- To: badri at atheros dot com
- Cc: ecos-discuss at ecos dot sourceware dot org, tpaul at atheros dot com
- Date: Tue, 29 Mar 2005 11:14:13 +0100 (BST)
- Subject: Re: [ECOS] config file update with hw package...
- References: <028501c53023$caa2c260$7f100a0a@Badrilt70>
>>>>> "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