From: scipio 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.
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.
+ +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. ---ignoreos
option.
-
@@ -369,9 +385,29 @@ 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. +
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.