X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Finstall-tinyos.html;h=53a6a420c1ee3c004afb965713dc4246f075e874;hb=d3fad52471c42259accc7bb0d8c1e63a4808523c;hp=6ed825b2401e5243ceaeef704034bbba140c02e3;hpb=1bdd658b5030f14cfaae4ca11f63a33c4abb0fa1;p=tinyos-2.x.git diff --git a/doc/html/install-tinyos.html b/doc/html/install-tinyos.html index 6ed825b2..53a6a420 100644 --- a/doc/html/install-tinyos.html +++ b/doc/html/install-tinyos.html @@ -8,16 +8,43 @@
Installing TinyOS 2.0
-
Last updated 8 April 2007
+
Last updated 1 May 2007

If you already have a 1.x tree or an existing 2.x tree, you are better off following the upgrade instructions at -upgrade-tinyos.html.

- +upgrade-tinyos.html. There are two ways to install + TinyOS. The first (and recommended) way is to install a live CD that gives + you a virtualized Linux with a complete TinyOS install. The second is to + install TinyOS on your host operating system.

+ +

One-step Install with a Live CD

+ +

Download a + Linux live CD that has a TinyOS installation on it. + All you + need to do is download the CD image, burn it onto a CD, and + install from there. This saves you all of the complexities of + installation, and it's the recommended way to install + TinyOS. The link above has complete instructions. The live CD is + provided by the Toilers group at the Colorado School of + Mines.

+ +

Two-step install on your host OS with Debian packages

+ +

If you are running a version of Linux that supports Debian packages, then + you may want to use the TinyOS package repository. There is a story on www.tinyos.net + that describes how to use it. If you do this, then you do not have to + install the instructions here, except that you will need to check + that your environment is set up correctly (the end of step 5 in + the manual installation.

+ +

Manual installation on your host OS with RPMs

Currently, the TinyOS Core Working Group supports TinyOS on two platforms: Cygwin (Windows) and Linux. There have been some successful efforts to getting TinyOS environments working on Mac OSX, but OSX is not supported by the Core WG.

+

Installing a TinyOS enviromnent has five basic steps; Windows requires an extra step, installing Cygwin, which is a UNIX-like environment. The steps are:

@@ -47,7 +74,7 @@ installing Cygwin, which is a UNIX-like environment. The steps are:

that nesdoc uses to draw the diagrams. -

Step 1: Install Java 1.5 JDK

+

Step 1: Install Java 1.5 JDK

Windows
Download and install Sun's 1.5 JDK from http://java.sun.com. @@ -56,7 +83,7 @@ Download and install Sun's 1.5 JDK from http://jav Linux
Download and install IBM's 1.5 JDK from
http://www-128.ibm.com/developerworks/java/jdk/. -

Step 2: Install Cygwin

+

Step 2: Install Cygwin

This step is required for Windows installations only. If you are installing on Linux, skip to step 3. @@ -110,7 +137,7 @@ This unzips the packages. -

Step 3: Install native compilers

+

Step 3: Install native compilers

Install the appropriate version of the following (Windows or Linux, avr or msp430 or both) with the rpm command 'rpm -ivh '. @@ -220,7 +247,7 @@ but they have not yet been extensively tested by a large community.) -

Step 4: Install TinyOS toolchain

+

Step 4: Install TinyOS toolchain

The TinyOS-specific tools are the NesC compiler and a set of tools developed in the tinyos-2.x/tools source code repository. They are @@ -268,7 +295,7 @@ add the --ignoreos option. -

Step 5: Install the TinyOS 2.x source tree

+

Step 5: Install the TinyOS 2.x source tree

Now that the tools are installed, you need only install the tinyos 2.x source tree and then set your environment variables. @@ -278,7 +305,7 @@ As with the previous rpms, if you get an error claiming that the rpm was build for an NT computer and you're on a windows NT computer, bypass the erroneous error by using 'rpm -ivh --ignoreos rpmname'. - +

-

Step 6: Installing Graphviz

+

Step 6: Installing Graphviz

Go to download page of the Graphviz project and download the appropriate RPM. You only need the basic graphviz RPM (graphviz-);