<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>Using Templates</TITLE
|
>Using Templates</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos User Guide"
|
TITLE="eCos User Guide"
|
HREF="ecos-user-guide.html"><LINK
|
HREF="ecos-user-guide.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="Updating the Configuration"
|
TITLE="Updating the Configuration"
|
HREF="config-tool-updating-configuration.html"><LINK
|
HREF="config-tool-updating-configuration.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="Platform Selection"
|
TITLE="Platform Selection"
|
HREF="config-tool-platform-selection.html"><LINK
|
HREF="config-tool-platform-selection.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Searching"
|
TITLE="Searching"
|
HREF="config-tool-searching.html"></HEAD
|
HREF="config-tool-searching.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="SECT1"
|
CLASS="SECT1"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos User Guide</TH
|
>eCos User Guide</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="config-tool-platform-selection.html"
|
HREF="config-tool-platform-selection.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
>Chapter 19. Updating the Configuration</TD
|
>Chapter 19. Updating the Configuration</TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="config-tool-searching.html"
|
HREF="config-tool-searching.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><H1
|
><H1
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><A
|
><A
|
NAME="CONFIG-TOOL-USING-TEMPLATES">Using Templates</H1
|
NAME="CONFIG-TOOL-USING-TEMPLATES">Using Templates</H1
|
><P
|
><P
|
>To load a configuration based on a template, select
|
>To load a configuration based on a template, select
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Build</I
|
>Build</I
|
></SPAN
|
></SPAN
|
>-><SPAN
|
>-><SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Templates</I
|
>Templates</I
|
></SPAN
|
></SPAN
|
>.</P
|
>.</P
|
><P
|
><P
|
>The following dialog box will be displayed:</P
|
>The following dialog box will be displayed:</P
|
><DIV
|
><DIV
|
CLASS="FIGURE"
|
CLASS="FIGURE"
|
><A
|
><A
|
NAME="AEN1417"><P
|
NAME="AEN1417"><P
|
><B
|
><B
|
>Figure 19-4. Templates dialog box</B
|
>Figure 19-4. Templates dialog box</B
|
></P
|
></P
|
><P
|
><P
|
><IMG
|
><IMG
|
SRC="pix/templates.png"></P
|
SRC="pix/templates.png"></P
|
></DIV
|
></DIV
|
><P
|
><P
|
>Change the hardware template, the packages template, or
|
>Change the hardware template, the packages template, or
|
both. To select a hardware template, choose from the first
|
both. To select a hardware template, choose from the first
|
drop-list. To choose a packages template, choose from the
|
drop-list. To choose a packages template, choose from the
|
second. Brief descriptions of each kind of template are
|
second. Brief descriptions of each kind of template are
|
provided in the corresponding edit boxes.</P
|
provided in the corresponding edit boxes.</P
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="RESOLVING-CONFLICTS">Resolving conflicts</H2
|
NAME="RESOLVING-CONFLICTS">Resolving conflicts</H2
|
><P
|
><P
|
>During the process of configuring <SPAN
|
>During the process of configuring <SPAN
|
CLASS="PRODUCTNAME"
|
CLASS="PRODUCTNAME"
|
>eCos</SPAN
|
>eCos</SPAN
|
> it is possible
|
> it is possible
|
that conflicts will be created. For more details of the
|
that conflicts will be created. For more details of the
|
meaning of conflicts, see <A
|
meaning of conflicts, see <A
|
HREF="cdl-concepts.html"
|
HREF="cdl-concepts.html"
|
>Chapter 24</A
|
>Chapter 24</A
|
>.</P
|
>.</P
|
><P
|
><P
|
>The Conflicts Window displays all conflicts in the
|
>The Conflicts Window displays all conflicts in the
|
current configuration. Additionally, a window in the
|
current configuration. Additionally, a window in the
|
status bar displays a count of the conflicts. Because the
|
status bar displays a count of the conflicts. Because the
|
resolution of conflicts can be time-consuming, a mechanism
|
resolution of conflicts can be time-consuming, a mechanism
|
exists whereby conflicts can be resolved
|
exists whereby conflicts can be resolved
|
automatically.</P
|
automatically.</P
|
><P
|
><P
|
>You can choose to have a conflicts resolution dialog
|
>You can choose to have a conflicts resolution dialog
|
box displayed by means of the <SPAN
|
box displayed by means of the <SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>View->Settings...
|
>View->Settings...
|
</I
|
</I
|
></SPAN
|
></SPAN
|
>menu item, on the <SPAN
|
>menu item, on the <SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Conflict Resolution</I
|
>Conflict Resolution</I
|
></SPAN
|
></SPAN
|
>
|
>
|
tab of the dialog.</P
|
tab of the dialog.</P
|
><DIV
|
><DIV
|
CLASS="FIGURE"
|
CLASS="FIGURE"
|
><A
|
><A
|
NAME="AEN1430"><P
|
NAME="AEN1430"><P
|
><B
|
><B
|
>Figure 19-5. Options</B
|
>Figure 19-5. Options</B
|
></P
|
></P
|
><P
|
><P
|
><IMG
|
><IMG
|
SRC="pix/ToolsOptions.png"></P
|
SRC="pix/ToolsOptions.png"></P
|
></DIV
|
></DIV
|
><P
|
><P
|
>You can choose to have conflicts checked under the
|
>You can choose to have conflicts checked under the
|
following circumstances:</P
|
following circumstances:</P
|
><P
|
><P
|
></P
|
></P
|
><UL
|
><UL
|
><LI
|
><LI
|
><P
|
><P
|
>After any item is changed (in other words,
|
>After any item is changed (in other words,
|
as soon as the conflict is created)</P
|
as soon as the conflict is created)</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>Before saving the configuration (including
|
>Before saving the configuration (including
|
building)</P
|
building)</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>Never</P
|
>Never</P
|
></LI
|
></LI
|
></UL
|
></UL
|
><P
|
><P
|
>The method you chose depends on how much you need
|
>The method you chose depends on how much you need
|
your configuration to be free of conflicts. You may
|
your configuration to be free of conflicts. You may
|
want to avoid having to clean up all the conflicts at
|
want to avoid having to clean up all the conflicts at
|
once, or you may want to keep the configuration
|
once, or you may want to keep the configuration
|
consistent at all times. If you have major changes to
|
consistent at all times. If you have major changes to
|
implement, which may resolve the conflicts, then you
|
implement, which may resolve the conflicts, then you
|
might want to wait until after you have completed
|
might want to wait until after you have completed
|
these changes before you check for conflicts.</P
|
these changes before you check for conflicts.</P
|
><DIV
|
><DIV
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><BLOCKQUOTE
|
><BLOCKQUOTE
|
CLASS="NOTE"
|
CLASS="NOTE"
|
><P
|
><P
|
><B
|
><B
|
>Note: </B
|
>Note: </B
|
>If you choose to check conflicts after any item
|
>If you choose to check conflicts after any item
|
is changed, only newly arising conflicts are displayed.
|
is changed, only newly arising conflicts are displayed.
|
If you choose to check for conflicts before saving the
|
If you choose to check for conflicts before saving the
|
configuration, the complete set is
|
configuration, the complete set is
|
displayed.</P
|
displayed.</P
|
></BLOCKQUOTE
|
></BLOCKQUOTE
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><H2
|
><H2
|
CLASS="SECT2"
|
CLASS="SECT2"
|
><A
|
><A
|
NAME="AEN1444">Automatic resolution</H2
|
NAME="AEN1444">Automatic resolution</H2
|
><P
|
><P
|
>If you check the “Automatically suggest
|
>If you check the “Automatically suggest
|
fixes” check box, a conflicts resolution dialog box
|
fixes” check box, a conflicts resolution dialog box
|
will be displayed whenever new conflicts are created. The
|
will be displayed whenever new conflicts are created. The
|
same dialog box may be displayed at any stage by means of
|
same dialog box may be displayed at any stage by means of
|
the <SPAN
|
the <SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Tools->Resolve Conflicts</I
|
>Tools->Resolve Conflicts</I
|
></SPAN
|
></SPAN
|
>
|
>
|
<SPAN
|
<SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
></I
|
></I
|
></SPAN
|
></SPAN
|
>menu item.
|
>menu item.
|
</P
|
</P
|
><P
|
><P
|
>The conflicts resolution dialog box contains two major windows. </P
|
>The conflicts resolution dialog box contains two major windows. </P
|
><DIV
|
><DIV
|
CLASS="FIGURE"
|
CLASS="FIGURE"
|
><A
|
><A
|
NAME="AEN1450"><P
|
NAME="AEN1450"><P
|
><B
|
><B
|
>Figure 19-6. Resolve conflicts window</B
|
>Figure 19-6. Resolve conflicts window</B
|
></P
|
></P
|
><P
|
><P
|
><IMG
|
><IMG
|
SRC="pix/Conflicts.png"></P
|
SRC="pix/Conflicts.png"></P
|
></DIV
|
></DIV
|
><P
|
><P
|
>The upper contains the set of conflicts to be addressed; the
|
>The upper contains the set of conflicts to be addressed; the
|
format of the data being as that of the Conflicts Window. The lower
|
format of the data being as that of the Conflicts Window. The lower
|
window contains a set of proposed resolutions – each entry
|
window contains a set of proposed resolutions – each entry
|
is a suggested configuration item value change that as a whole may
|
is a suggested configuration item value change that as a whole may
|
be expected to lead to the currently selected conflict being resolved. </P
|
be expected to lead to the currently selected conflict being resolved. </P
|
><P
|
><P
|
>Note that there is no guarantee:</P
|
>Note that there is no guarantee:</P
|
><P
|
><P
|
></P
|
></P
|
><UL
|
><UL
|
><LI
|
><LI
|
><P
|
><P
|
>that automatic resolutions will be determinable for every
|
>that automatic resolutions will be determinable for every
|
conflict.</P
|
conflict.</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
> that the resolutions for separate conflicts will be independent.
|
> that the resolutions for separate conflicts will be independent.
|
In other words, the resolution of one conflict may serve to prevent
|
In other words, the resolution of one conflict may serve to prevent
|
the resolution of another.</P
|
the resolution of another.</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
> that the resolution conflicts will not create further
|
> that the resolution conflicts will not create further
|
conflicts.</P
|
conflicts.</P
|
></LI
|
></LI
|
></UL
|
></UL
|
><P
|
><P
|
>The above warnings are, however, conservative. In practice
|
>The above warnings are, however, conservative. In practice
|
(so long as the number and extent of conflicts are limited) automatic
|
(so long as the number and extent of conflicts are limited) automatic
|
conflict resolution may be used to good effect to correct problems
|
conflict resolution may be used to good effect to correct problems
|
without undue amounts of programmer intervention.</P
|
without undue amounts of programmer intervention.</P
|
><P
|
><P
|
>In order to select the conflicts to be applied, select or
|
>In order to select the conflicts to be applied, select or
|
clear the check boxes against the resolutions for each proposed
|
clear the check boxes against the resolutions for each proposed
|
resolution. By default all resolutions are selected; you can return
|
resolution. By default all resolutions are selected; you can return
|
to the default state (in other words, cause all check boxes for
|
to the default state (in other words, cause all check boxes for
|
each conflict to again become checked) by pressing the “Reset” button.
|
each conflict to again become checked) by pressing the “Reset” button.
|
Note that multiple selection may be used in the resolutions control
|
Note that multiple selection may be used in the resolutions control
|
to allow ranges of check boxes to be toggled in one gesture.</P
|
to allow ranges of check boxes to be toggled in one gesture.</P
|
><P
|
><P
|
>When you are happy to apply the selected resolutions for each
|
>When you are happy to apply the selected resolutions for each
|
conflict displayed, click <SPAN
|
conflict displayed, click <SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>Apply</I
|
>Apply</I
|
></SPAN
|
></SPAN
|
>; this will
|
>; this will
|
apply the resolutions. Alternatively you may cancel from the dialog
|
apply the resolutions. Alternatively you may cancel from the dialog
|
box without any resolutions being applied.</P
|
box without any resolutions being applied.</P
|
></DIV
|
></DIV
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="config-tool-platform-selection.html"
|
HREF="config-tool-platform-selection.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-user-guide.html"
|
HREF="ecos-user-guide.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="config-tool-searching.html"
|
HREF="config-tool-searching.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>Platform Selection</TD
|
>Platform Selection</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="config-tool-updating-configuration.html"
|
HREF="config-tool-updating-configuration.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>Searching</TD
|
>Searching</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|