Академический Документы
Профессиональный Документы
Культура Документы
file:///C:/Users/gags/Desktop/tos.html
Tiny-OS
TinyOS is an open source, BSD-licensed operating system ,designed for low-power wireless devices such as sensors.These sensors can be deploed in various feilds depending upon the application.Tiny Os provides support for various platforms such as epic, mulle, and shimmer2 ,CC2420 radio platforms, Official it is said to be suppoorted on Debain based linux distribution(ubuntu) and on windows (using cygwin).However I have successfully installed it on RPM based linux(Centos).Here i would be discussing the steps to install TinyOS on Centos.They would be similar for Fedora and Redhat.
The TinyOS-specific tools are the NesC compiler and a set of tools developed in the tinyos-2.x/tools source code repository. There are two Linux versions of tinyos-tools, depending on whether you have a 32-bit or 64-bit machine. The first is the i386 RPM and the second is the i686 RPM. TinyOS-specific Tools Tool NesC Tool Deputy Tool Linux nesc-1.3.1-1.fc9.i386.rpm Linux tinyos-deputy-1.1-1.fc9.i386.rpm Linux Command
rpm -Uvh rpm -Uvh --ignoreos
Command
rpm -i rpm -i --ignoreos (if
Command
rpm -ivh --force (1.x rpm -Uvh (no 1.x tree)
tinyos-tools tinyos-tools-1.4.0-3.ubuntu.i386.rpm
Now that the tools are installed, you need only install the tinyos 2.x source tree and then set your environment variables. Install the appropriate version of the following (Window or Linux) with the rpm command 'rpm -ivh rpm'. Install tinyos-2.x TinyOS 2.x TinyOS Linux TinyOS tinyos-2.1.1-3.ubuntu.noarch.rpm
TinyOS 2.x Environment Variable Linux TOSROOT /opt/tinyos-2.x TOSDIR $TOSROOT/tos CLASSPATH $TOSROOT/support/sdk/java/tinyos.jar:.
1 of 2
6/11/2012 10:36 AM
file:///C:/Users/gags/Desktop/tos.html
MAKERULES PATH
$TOSROOT/support/make/Makerules /opt/msp430/bin:/opt/jflashmm:$PATH
Only necessary if you're using MSP430 or iMote2 platform/tools. In addition to the above environment variables, do the following on Linux machines: Change the ownership on your /opt/tinyos-2.x files: chown -R <your uid> /opt/tinyos-2.x
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
Solving various Issue encountered during TinyOs Installation. Please click here for viewing the issue and their solutions
2 of 2
6/11/2012 10:36 AM