[Tinyos-2-commits] CVS: tinyos-2.x/doc/html install-tinyos.html,
1.12, 1.13 upgrade-tinyos.html, 1.11, 1.12
Phil Levis
scipio at users.sourceforge.net
Tue May 1 16:39:22 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/doc/html
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15313
Modified Files:
install-tinyos.html upgrade-tinyos.html
Log Message:
Include plug for Xubuntos. Add TOSSIM note.
Index: install-tinyos.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/install-tinyos.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** install-tinyos.html 9 Apr 2007 18:43:51 -0000 1.12
--- install-tinyos.html 1 May 2007 23:39:19 -0000 1.13
***************
*** 13,22 ****
<p>If you already have a 1.x tree or an existing 2.x tree, you are better off
following the <i>upgrade</i> instructions at
! <a href="upgrade-tinyos.html">upgrade-tinyos.html</a>.</p>
<p>Currently, the TinyOS Core Working Group supports TinyOS on two platforms: Cygwin (Windows)
and Linux. There have been some <A HREF="">successful efforts</A> to getting TinyOS environments working
on Mac OSX, but OSX is not supported by the Core WG.</p>
!
<p>Installing a TinyOS enviromnent has five basic steps; Windows requires an extra step,
installing Cygwin, which is a UNIX-like environment. The steps are:</p>
--- 13,38 ----
<p>If you already have a 1.x tree or an existing 2.x tree, you are better off
following the <i>upgrade</i> instructions at
! <a href="upgrade-tinyos.html">upgrade-tinyos.html</a>. 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.</p>
!
! <h1>One-step Install with a Live CD</h1>
+ <p><A
+ HREF="http://toilers.mines.edu/Public/XubunTOS/">Download a
+ Linux live CD that has a TinyOS installation on it</A>. 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.</p>
+
+ <h1>Installing on your host operating system</h1>
<p>Currently, the TinyOS Core Working Group supports TinyOS on two platforms: Cygwin (Windows)
and Linux. There have been some <A HREF="">successful efforts</A> to getting TinyOS environments working
on Mac OSX, but OSX is not supported by the Core WG.</p>
!
<p>Installing a TinyOS enviromnent has five basic steps; Windows requires an extra step,
installing Cygwin, which is a UNIX-like environment. The steps are:</p>
***************
*** 48,52 ****
</ol>
! <h1>Step 1: Install Java 1.5 JDK</h1>
<b>Windows</b><br>
--- 64,68 ----
</ol>
! <h2>Step 1: Install Java 1.5 JDK</h2>
<b>Windows</b><br>
***************
*** 57,61 ****
Download and install IBM's 1.5 JDK from <a href="http://www-128.ibm.com/developerworks/java/jdk/">http://www-128.ibm.com/developerworks/java/jdk/</a>.
! <h1>Step 2: Install Cygwin</h1>
<font color=red> This step is required for Windows installations only. If you are installing
--- 73,77 ----
Download and install IBM's 1.5 JDK from <a href="http://www-128.ibm.com/developerworks/java/jdk/">http://www-128.ibm.com/developerworks/java/jdk/</a>.
! <h2>Step 2: Install Cygwin</h2>
<font color=red> This step is required for Windows installations only. If you are installing
***************
*** 111,115 ****
</ol>
! <h1>Step 3: Install native compilers </h1>
Install the appropriate version of the following (Windows or Linux,
--- 127,131 ----
</ol>
! <h2>Step 3: Install native compilers </h2>
Install the appropriate version of the following (Windows or Linux,
***************
*** 221,225 ****
</tbody></table>
! <h1>Step 4: Install TinyOS toolchain</h1>
The TinyOS-specific tools are the NesC compiler and a set of tools
--- 237,241 ----
</tbody></table>
! <h2>Step 4: Install TinyOS toolchain</h2>
The TinyOS-specific tools are the NesC compiler and a set of tools
***************
*** 269,273 ****
</tbody></table>
! <h1>Step 5: Install the TinyOS 2.x source tree </h1>
Now that the tools are installed, you need only install the tinyos 2.x
--- 285,289 ----
</tbody></table>
! <h2>Step 5: Install the TinyOS 2.x source tree </h2>
Now that the tools are installed, you need only install the tinyos 2.x
***************
*** 279,283 ****
bypass the erroneous error by using 'rpm -ivh --ignoreos
<i>rpmname</i>'.
!
<ul>
<li> Install tinyos-2.x
--- 295,299 ----
bypass the erroneous error by using 'rpm -ivh --ignoreos
<i>rpmname</i>'.
! <p>
<ul>
<li> Install tinyos-2.x
***************
*** 370,376 ****
</code></code></li></ol>
</li></ul>
! <h1>Step 6: Installing Graphviz</h1>
<p>Go to <A HREF="http://www.graphviz.org/Download..php">download page</A> of the Graphviz project
--- 386,412 ----
</code></code></li></ol>
+
+
+
+ <li><p>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 <tt>tos/chips/atm128/sim/atm128_sim.h</tt>. Change these lines 22 and 23 from:
+
+ <pre>
+ #define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20)
+ #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr) + 0x20)
+ </pre>
+
+ to
+
+ <pre>
+ #define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr))
+ #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr))
+ </pre>
+
+ If you do not do this, then timers will not work correctly.
+
</li></ul>
! <h2>Step 6: Installing Graphviz</h2>
<p>Go to <A HREF="http://www.graphviz.org/Download..php">download page</A> of the Graphviz project
Index: upgrade-tinyos.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/upgrade-tinyos.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** upgrade-tinyos.html 9 Apr 2007 18:43:52 -0000 1.11
--- upgrade-tinyos.html 1 May 2007 23:39:19 -0000 1.12
***************
*** 318,321 ****
--- 318,337 ----
-->
</code></code></li></ol>
+ <li><p>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 <tt>tos/chips/atm128/sim/atm128_sim.h</tt>. Change these lines 22 and 23 from:
+
+ <pre>
+ #define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20)
+ #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr) + 0x20)
+ </pre>
+
+ to
+
+ <pre>
+ #define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr))
+ #define _SFR_IO16(io_addr) _MMIO_WORD((io_addr))
+ </pre>
+
+ If you do not do this, then timers will not work correctly.
</li></ul>
More information about the Tinyos-2-commits
mailing list