From: scipio Date: Tue, 1 May 2007 23:39:19 +0000 (+0000) Subject: Include plug for Xubuntos. Add TOSSIM note. X-Git-Tag: release_tools_1_2_4_1~196 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=086d03b734571b551276687c7ae9b5324667d708;p=tinyos-2.x.git Include plug for Xubuntos. Add TOSSIM note. --- diff --git a/doc/html/install-tinyos.html b/doc/html/install-tinyos.html index 6ed825b2..fff256e9 100644 --- a/doc/html/install-tinyos.html +++ b/doc/html/install-tinyos.html @@ -12,12 +12,28 @@

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.

+ +

Installing on your host operating system

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 +63,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 +72,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 +126,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 +236,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 +284,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 +294,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-); diff --git a/doc/html/upgrade-tinyos.html b/doc/html/upgrade-tinyos.html index dd44d1de..b74fd6a8 100644 --- a/doc/html/upgrade-tinyos.html +++ b/doc/html/upgrade-tinyos.html @@ -317,6 +317,22 @@ are going to use: chmod 666 /dev/<devicename> groups: --> +

  • Finally, if you have installed TinyOS 2.0.1, there is a bug in TOSSIM (which will be fixed in 2.0.2). +The bug is in file tos/chips/atm128/sim/atm128_sim.h. Change these lines 22 and 23 from: + +

    +#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20)
    +#define _SFR_IO16(io_addr) _MMIO_WORD((io_addr) + 0x20)
    +
    + +to + +
    +#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr))
    +#define _SFR_IO16(io_addr) _MMIO_WORD((io_addr))
    +
    + +If you do not do this, then timers will not work correctly.
  • Switching back to a TinyOS 1.x tree