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 @@
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. + +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.
+ +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.
+ +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. ---ignoreos
option.
-
@@ -295,8 +322,8 @@ bypass the erroneous error by using 'rpm -ivh --ignoreos
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. +
Go to download page of the Graphviz project and download the appropriate RPM. You only need the basic graphviz RPM (graphviz-);