From: scipio If you already have a 1.x tree, you are better off following the upgrade
-instructions at upgrade-tinyos.html.
-
- 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 four basic steps; Windows requires an extra step,
-installing Cygwin, which is a UNIX-like environment. The steps are:
-Linux We have put online the cygwin packages that we've confirmed to be
-compatible with TinyOS. The instructions below use those packages. You
-can also upgrade your cygwin environment according to the instructions
-at www.cygwin.com and your environment will most likely work. A large
-number of TinyOS users, upgrade their cygwin packages at least monthly
-from cygnus. However, since we can't test what packages are compatible
-as they become available daily, we can't confirm that today's set will
-work.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Step 1: Install Java 1.5 JDK
-
-Windows
-Download and install Sun's 1.5 JDK from http://java.sun.com.
-
-
-Download and install IBM's 1.5 JDK from http://www-128.ibm.com/developerworks/java/jdk/.
-
-Step 2: Install Cygwin
-
- This step is required for Windows installations only. If you are installing
-on Linux, skip to step 3.
-
-
-
-
-
-
- $ cd /cygdrive/c/newcygpkgs
- $ tar zxvf cygwin-1.2a.tgz
-
-This unzips the packages.
-
-
-
-
-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
Atmel AVR Tools -
Tool | -Windows/Cygwin | -Linux | -
avr-binutils† | -avr-binutils-2.15tinyos-3.cygwin.i386.rpm | -avr-binutils-2.15tinyos-3.i386.rpm | -
avr-gcc | -avr-gcc-3.4.3-1.cygwin.i386.rpm | -avr-gcc-3.4.3-1.i386.rpm | -
avr-libc | -avr-libc-1.2.3-1.cygwin.i386.rpm | -avr-libc-1.2.3-1.i386.rpm | -
avarice | -avarice-2.4-1.cygwin.i386.rpm | -avarice-2.4-1.i386.rpm | -
insight (avr-gdb) | -avr-insight-6.3-1.cygwin.i386.rpm | -avr-insight-6.3-1.i386.rpm | -
rpm -Uvh --force
-
-
-TI MSP430 Tools -
Tool | -Windows/Cygwin | -Linux | -
base | -msp430tools-base-0.1-20050607.cygwin.i386.rpm | -msp430tools-base-0.1-20050607.i386.rpm | -
python tools | -msp430tools-python-tools-1.0-1.cygwin.noarch.rpm | -msp430tools-python-tools-1.0-1.noarch.rpm | -
binutils | -msp430tools-binutils-2.16-20050607.cygwin.i386.rpm | -msp430tools-binutils-2.16-20050607.i386.rpm | -
gcc | -msp430tools-gcc-3.2.3-20050607.cygwin.i386.rpm | -msp430tools-gcc-3.2.3-20050607.i386.rpm | -
libc | -msp430tools-libc-20050308cvs-20050608.cygwin.i386.rpm | -msp430tools-libc-20050308cvs-20050608.i386.rpm | -
jtag | -Not yet available | -msp430tools-jtag-lib-20031101cvs-20050610.i386.rpm | -
gdb | - -Not yet available | -msp430tools-gdb-6.0-20050609.i386.rpm | -
TinyOS-specific Tools -
Tool | -Recommended Windows/Cygwin | -Other Windows/Cygwin | -Linux | -Command | -
NesC | -nesc-1.2.7b-1.cygwin.i386.rpm | -nesc-1.2.7a-1.cygwin.i386.rpm | -nesc-1.2.7a-1.i386.rpm | -rpm -Uvh |
-
tinyos-tools | -tinyos-tools-1.2.2-1.cygwin.i386.rpm | -tinyos-tools-1.2.2-1.cygwin.i386.rpm | -tinyos-tools-1.2.2-1.i386.rpm | -rpm -ivh --force (1.x tree)rpm -Uvh (no 1.x tree) |
-
- - - -
TinyOS 2.x -
- | Windows/Cygwin | -Linux | -
TinyOS | -tinyos-2.0.0beta2-3.cygwin.noarch.rpm | -tinyos-2.0.0beta2-3.noarch.rpm | -
-Ideally, you'll put these environment variables in a shell script that will run when your shell starts, but you needn't -put such a script under /etc/profile.d. -
-The example -settings below assume that the tinyos-2.x installation is in /opt/tinyos-2.x. -Change the settings to be correct for where you've put your tinyos-2.x tree. Note -that the windows CLASSPATH must be a windows-style path, not a cygwin path. You can -generate a windows style path from a cygwin-style path using 'cygpath -w'. For example: -
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` -export CLASSPATH="$CLASSPATH;." -- -
TinyOS 2.x -
Environment Variable | -Windows | -Linux | -|
TOSROOT | -/opt/tinyos-2.x | -same as in Cygwin | -- - |
TOSDIR | -$TOSROOT/tos | -same as in Cygwin | -- - |
CLASSPATH | -C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;. | -$TOSROOT/support/sdk/java/tinyos.jar:. | -- - |
MAKERULES | -$TOSROOT/support/make/Makerules | -same as in Cygwin | -- - |
PATH† | -/opt/msp430/bin:$PATH | -same as in Cygwin | -- - |
-In addition to the above environment variables, do the following on Linux machines: -
chown -R <your uid> /opt/tinyos-2.x
-
chmod 666 /dev/<devicename>
-
-
Go to download page of the Graphviz project -and download the appropriate RPM. You only need the basic graphviz RPM (graphviz-); -you don't need all of the add-ons, such as -devel, -doc, -perl, etc. -If you're not sure what version of Linux you're running,
- -uname -a- -
might give you some useful information. Install the rpm with rpm -i rpm-name. -In the case of Windows, there is a simple install program, so you don't need to deal with RPMs.
- - - + + + + +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.
+ +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:
+ +
+Linux
+Download and install IBM's 1.5 JDK from http://www-128.ibm.com/developerworks/java/jdk/.
+
+
We have put online the cygwin packages that we've confirmed to be +compatible with TinyOS. The instructions below use those packages. You +can also upgrade your cygwin environment according to the instructions +at www.cygwin.com and your environment will most likely work. A large +number of TinyOS users, upgrade their cygwin packages at least monthly +from cygnus. However, since we can't test what packages are compatible +as they become available daily, we can't confirm that today's set will +work. + +
+
+
+ $ cd /cygdrive/c/newcygpkgs + $ tar zxvf cygwin-1.2a.tgz ++This unzips the packages. +
+
+
+
+
+
+
+
+
+
Atmel AVR Tools +
Tool | +Windows/Cygwin | +Linux | +
avr-binutils† | +avr-binutils-2.15tinyos-3.cygwin.i386.rpm | +avr-binutils-2.15tinyos-3.i386.rpm | +
avr-gcc | +avr-gcc-3.4.3-1.cygwin.i386.rpm | +avr-gcc-3.4.3-1.i386.rpm | +
avr-libc | +avr-libc-1.2.3-1.cygwin.i386.rpm | +avr-libc-1.2.3-1.i386.rpm | +
avarice | +avarice-2.4-1.cygwin.i386.rpm | +avarice-2.4-1.i386.rpm | +
insight (avr-gdb) | +avr-insight-6.3-1.cygwin.i386.rpm | +avr-insight-6.3-1.i386.rpm | +
rpm -Uvh --force
+
+
+TI MSP430 Tools +
Tool | +Windows/Cygwin | +Linux | +
base | +msp430tools-base-0.1-20050607.cygwin.i386.rpm | +msp430tools-base-0.1-20050607.i386.rpm | +
python tools | +msp430tools-python-tools-1.0-1.cygwin.noarch.rpm | +msp430tools-python-tools-1.0-1.noarch.rpm | +
binutils | +msp430tools-binutils-2.16-20050607.cygwin.i386.rpm | +msp430tools-binutils-2.16-20050607.i386.rpm | +
gcc | +msp430tools-gcc-3.2.3-20050607.cygwin.i386.rpm | +msp430tools-gcc-3.2.3-20050607.i386.rpm | +
libc | +msp430tools-libc-20050308cvs-20050608.cygwin.i386.rpm | +msp430tools-libc-20050308cvs-20050608.i386.rpm | +
jtag | +Not yet available | +msp430tools-jtag-lib-20031101cvs-20050610.i386.rpm | +
gdb | + +Not yet available | +msp430tools-gdb-6.0-20050609.i386.rpm | +
--ignoreos
option.
+
+
+TinyOS-specific Tools +
Tool | +Recommended Windows/Cygwin | +Other Windows/Cygwin | +Linux | +Command | +
NesC | +nesc-1.2.7b-1.cygwin.i386.rpm | +nesc-1.2.7a-1.cygwin.i386.rpm | +nesc-1.2.7a-1.i386.rpm | +rpm -Uvh + rpm -Uvh --ignoreos (if Cygwin complains) |
+
tinyos-tools | +tinyos-tools-1.2.3-1.cygwin.i386.rpm | +tinyos-tools-1.2.3-1.cygwin.i386.rpm | +tinyos-tools-1.2.3-1.i386.rpm | +rpm -ivh --force (1.x tree)rpm -Uvh (no 1.x tree) |
+
+ + + +
TinyOS 2.x +
+ | Windows/Cygwin | +Linux | +
TinyOS | +tinyos-2.0.0-1.cygwin.noarch.rpm | +tinyos-2.0.0-1.noarch.rpm | +
+Ideally, you'll put these environment variables in a shell script that will run when your shell starts, but you needn't +put such a script under /etc/profile.d. +
+The example +settings below assume that the tinyos-2.x installation is in /opt/tinyos-2.x. +Change the settings to be correct for where you've put your tinyos-2.x tree. Note +that the windows CLASSPATH must be a windows-style path, not a cygwin path. You can +generate a windows style path from a cygwin-style path using 'cygpath -w'. For example: +
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` +export CLASSPATH="$CLASSPATH;." ++ +
TinyOS 2.x +
Environment Variable | +Windows | +Linux | +|
TOSROOT | +/opt/tinyos-2.x | +same as in Cygwin | ++ + |
TOSDIR | +$TOSROOT/tos | +same as in Cygwin | ++ + |
CLASSPATH | +C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;. | +$TOSROOT/support/sdk/java/tinyos.jar:. | ++ + |
MAKERULES | +$TOSROOT/support/make/Makerules | +same as in Cygwin | ++ + |
PATH† | +/opt/msp430/bin:$PATH | +same as in Cygwin | ++ + |
+In addition to the above environment variables, do the following on Linux machines: +
chown -R <your uid> /opt/tinyos-2.x
+
chmod 666 /dev/<devicename>
+
+
Go to download page of the Graphviz project +and download the appropriate RPM. You only need the basic graphviz RPM (graphviz-); +you don't need all of the add-ons, such as -devel, -doc, -perl, etc. +If you're not sure what version of Linux you're running,
+ +uname -a+ +
might give you some useful information. Install the rpm with rpm -i rpm-name. +In the case of Windows, there is a simple install program, so you don't need to deal with RPMs.
+ + + diff --git a/doc/html/overview.html b/doc/html/overview.html index a929d36e..5f542805 100644 --- a/doc/html/overview.html +++ b/doc/html/overview.html @@ -6,7 +6,7 @@TinyOS-Version: | 2.x |
---|---|
Author: | -Phil Buonadonna | Phil Buonadonna, Jonathan Hui |
Draft-Created: | 23-Jan-2006 |
Draft-Version: | 1.2 | +
Draft-Version: | 1.1.2.9 |
Draft-Modified: | 2006-07-12 | +
Draft-Modified: | 2006-09-30 |
Draft-Discuss: | TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> |
Philip Levis and Gilman Tolle | |
Draft-Created: | 10-Dec-2004 |
---|---|
Draft-Version: | 1.2 | +
Draft-Version: | 1.1.2.3 |
Draft-Modified: | 2006-07-12 | +
Draft-Modified: | 2006-06-20 |
Draft-Discuss: | TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> |