OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [coarse-grained-configuration.html] - Diff between revs 28 and 174

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- 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
>Coarse-grained Configuration</TITLE
>Coarse-grained Configuration</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="Manual Configuration"
TITLE="Manual Configuration"
HREF="manual-configuration.html"><LINK
HREF="manual-configuration.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="Packages"
TITLE="Packages"
HREF="ecos-packages.html"><LINK
HREF="ecos-packages.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="Fine-grained Configuration"
TITLE="Fine-grained Configuration"
HREF="fine-grained-configuration.html"></HEAD
HREF="fine-grained-configuration.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="ecos-packages.html"
HREF="ecos-packages.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 28. Manual Configuration</TD
>Chapter 28. Manual Configuration</TD
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="right"
ALIGN="right"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="fine-grained-configuration.html"
HREF="fine-grained-configuration.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="COARSE-GRAINED-CONFIGURATION">Coarse-grained Configuration</H1
NAME="COARSE-GRAINED-CONFIGURATION">Coarse-grained Configuration</H1
><P
><P
>Coarse-grained configuration of
>Coarse-grained configuration of
          an <SPAN
          an <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
> system means making configuration changes using the
> system means making configuration changes using the
          <B
          <B
CLASS="COMMAND"
CLASS="COMMAND"
>ecosconfig</B
>ecosconfig</B
> tool. These changes
> tool. These changes
          include: </P
          include: </P
><P
><P
></P
></P
><OL
><OL
TYPE="1"
TYPE="1"
><LI
><LI
><P
><P
>switching to different target hardware</P
>switching to different target hardware</P
></LI
></LI
><LI
><LI
><P
><P
>switching to a different template</P
>switching to a different template</P
></LI
></LI
><LI
><LI
><P
><P
>adding or removing a package</P
>adding or removing a package</P
></LI
></LI
><LI
><LI
><P
><P
>changing the version of a package</P
>changing the version of a package</P
></LI
></LI
></OL
></OL
><P
><P
>Whenever <B
>Whenever <B
CLASS="COMMAND"
CLASS="COMMAND"
>ecosconfig</B
>ecosconfig</B
> generates or
> generates or
          updates an <SPAN
          updates an <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
> configuration, it generates a configuration
> configuration, it generates a configuration
          save file.</P
          save file.</P
><P
><P
>Suppose that the configuration was first created using
>Suppose that the configuration was first created using
          the following command line: </P
          the following command line: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig new stdeval1</PRE
>$ ecosconfig new stdeval1</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>To change the target hardware to the Cogent CMA28x
>To change the target hardware to the Cogent CMA28x
          PowerPC board, the following command would be needed:
          PowerPC board, the following command would be needed:
        </P
        </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig target cma28x</PRE
>$ ecosconfig target cma28x</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>To switch to the PowerPC simulator instead: </P
>To switch to the PowerPC simulator instead: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig target psim</PRE
>$ ecosconfig target psim</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>As the hardware changes, hardware-related packages such as
>As the hardware changes, hardware-related packages such as
the HAL packages and device drivers will be added to and removed
the HAL packages and device drivers will be added to and removed
from the configuration as appropriate. </P
from the configuration as appropriate. </P
><P
><P
>To remove any package from the current configuration, use
>To remove any package from the current configuration, use
the <B
the <B
CLASS="COMMAND"
CLASS="COMMAND"
>remove</B
>remove</B
> command: </P
> command: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig remove uitron</PRE
>$ ecosconfig remove uitron</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>You can disable multiple packages using multiple arguments,
>You can disable multiple packages using multiple arguments,
for example: </P
for example: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig remove uitron libm</PRE
>$ ecosconfig remove uitron libm</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>If this turns out to have been a mistake then you can
>If this turns out to have been a mistake then you can
          re-enable one or more packages with the
          re-enable one or more packages with the
          <B
          <B
CLASS="COMMAND"
CLASS="COMMAND"
>add</B
>add</B
> command: </P
> command: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig add libm</PRE
>$ ecosconfig add libm</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>Changing the desired version for a package is also
>Changing the desired version for a package is also
          straightforward:</P
          straightforward:</P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig version v2_1 kernel</PRE
>$ ecosconfig version v2_1 kernel</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>It is necessary to regenerate the build tree and header
>It is necessary to regenerate the build tree and header
          files following any changes to the configuration before
          files following any changes to the configuration before
          rebuilding <SPAN
          rebuilding <SPAN
CLASS="PRODUCTNAME"
CLASS="PRODUCTNAME"
>eCos</SPAN
>eCos</SPAN
>:</P
>:</P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>$ ecosconfig tree</PRE
>$ ecosconfig tree</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></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="ecos-packages.html"
HREF="ecos-packages.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="fine-grained-configuration.html"
HREF="fine-grained-configuration.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"
>Packages</TD
>Packages</TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="manual-configuration.html"
HREF="manual-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"
>Fine-grained Configuration</TD
>Fine-grained Configuration</TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.