eCos Home

RedBoot Home


About eCos

Supported Hardware

Downloading and Installation

Documentation

FAQ

Mailing lists

Problems

Licensing

Anonymous CVS

Contributions and Development Projects

Legal

eCos

Anonymous CVS Access


Introduction

The most recent versions of eCos and RedBoot may be obtained using anonymous CVS access. This facility provides immediate access to the latest eCos and RedBoot features and the rapid deployment of any necessary bug fixes.

We also provide a simple but effective way to view the CVS repository over the web using ViewVC. You can inspect the contents, history and differences between versions of all files in the repository in this way.

License change

In May 2002, the license under which the eCos is made available was changed from the Red Hat eCos Public License (RHEPL) to the GNU General Public License (GPL) with a modification that makes it more suitable for embedded systems. Further details of the license change are available in our license overview. To retrieve the last revision that was licensed under the RHEPL, you need to use the last-rhepl CVS tag in your CVS checkout as described below.

The CVS source repository

The anonymous CVS repository contains the latest changes to the eCos sources and is updated as necessary by the eCos maintainers. However, users should note that these updates have not been rigorously tested and cannot be guaranteed to build or function correctly. The repository should be used in situations where you need access to new features, bug fixes, or are working on a shared contributed project.

The relevant host side build tools may be obtained by FTP from this site and are not provided by anonymous CVS. Any patches or changes required to enable the use of these tools with the latest version of eCos in the repository will be publicized. If any updates to the eCos Configuration Tool are required, we will put up a new binary as soon as possible. You should ensure that you use the latest version of the Configuration Tool from the most recent release of eCos when working with the sources from the anonymous CVS repository.

Accessing the repository

Before you can access the CVS repository, you must have a CVS client (see above) and direct TCP/IP access. If you are behind a firewall, you should discuss access with your local systems administrator.

If you are using CVS v1.10 or earlier (use 'cvs -v' to determine), you will first need to run the following command before you can access the repository the very first time:

cvs -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos login

Any password is accepted.

It is recommended that you use different directory trees for the anonymous CVS sources and for full releases of eCos. Create a new directory for the check out, change to that directory, and type:

cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos

This command should initiate a connection to the CVS server and check out the latest version of eCos. For those who want the last version of eCos to be released under the RHEPL, instead type:

cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -r last-rhepl -P ecos

In the future, when you want to update your repository to the latest version, go to the base of the repository tree and use the command:

cvs -z3 update -d -P

or to update to the older RHEPL'd version of eCos:

cvs -z3 update -r last-rhepl -d -P

Using the repository

Once the sources have been checked out, Unix users (or Windows users using the command line) can switch to it by setting the ECOS_REPOSITORY environment variable to the ecos/packages subdirectory of the checked out tree. For example:

ECOS_REPOSITORY=/ecoscvs/ecos/packages ; export ECOS_REPOSITORY (for sh, ksh and bash users)
setenv ECOS_REPOSITORY /ecoscvs/ecos/packages (for csh and tcsh users)

The current set of sources in the CVS repository requires recent versions of the host-side configuration tools for correct operation. The tools provided in eCos releases prior to the 2.0 beta release are not suitable. Users of the eCos Configuration Tool should select the new repository using the Build->Repository menu item.

Use of a new repository with an old build tree is not recommended. Changes may have been made to the repository CDL files that will not be present in the working versions in your build tree.

Other notes

Anonymous CVS access to the repository is read-only. If you would like to contribute a change, bug fix or other improvement to eCos then you should start by discussing it on the ecos-devel mailing list. If applicable, you may wish to post (or put up for FTP) the relevant diff or patch.

You can obtain e-mail notifications when changes are made to the eCos repository. Refer to our mailing lists page for further details.

eCosCentric is providing a weekly CVS snapshot service for those developers who are unable to access the anonymous CVS server due to firewall restrictions.

Updated documentation is available, covering changes to eCos since the last official public release. Users of the anonymous CVS sources should refer to the updated documentation.

Queries and problems regarding use of the anonymous CVS service should be directed to the ecos-discuss mailing list. Please clarify that the mail concerns an anonymous CVS problem in the subject field.