It worked :-) I successfully compiled and installed Blink on a tmote using a Mac OS X 10.4.6 (PPC) powerbook.

Couple of minor comments for the help page created by Prof Welsh:
+ Need to install ncc after nesc
cd $tools/src/ncc;
./Bootstrap && DEFAULT_TARGET=telos ./configure && make && sudo make install
+ I received an error while compiling msp toolchain from tinyos-1.x directory. I changed to "tools/src/mspgcc" directory and then did the compilation.
+ Here are bare minimum environment variables, which need to be set
export MSPGCCROOT=/opt/msp430
export TOSROOT=$HOME/Documents/tinyos-1.x
export TOSDIR=$TOSROOT/tos
export MAKERULES=$TOSROOT/tools/make/Makerules
export PATH="$MSPGCCROOT/bin:$PATH"

Thank you all for the help,

- Vinayak

On 5/3/06, August Joki < [EMAIL PROTECTED]> wrote:
The tinyos wiki page has been updated

http://cents.cs.berkeley.edu/tinywiki/index.php/Tmote_Macintosh_install

On 5/3/06, August Joki <[EMAIL PROTECTED]> wrote:
> Go ahead if you've already got an account. I'm not sure how you go about
> getting one if you don't have one already. Maybe it's linked to the
> tinyos.net account? But if that doesn't work you could send me the changes
> and I'll update the wiki.
>
>
> On 5/3/06, Matt Welsh <[EMAIL PROTECTED]> wrote:
> > August,
> >
> > Thanks. This wiki page is a bit out of date and does not address
> > the serialforwarder issue (it also eliminates some tricky details
> > about getting msp430-gcc to actually compile...)
> >
> > Can I edit the wiki page to add in some of the things we've
> > figured out?
> >
> >
> >
> > On Wed, 2006-05-03 at 10:52 -0700, August Joki wrote:
> > > There is an installation page on the Tinyos Wiki for getting the telos
> > > platform working on Mac OS X.
> > >
> > >
> http://cents.cs.berkeley.edu/tinywiki/index.php/Tmote_Macintosh_install
> > >
> > > -August
> > >
> > > On 5/3/06, Vinayak Naik <[EMAIL PROTECTED]> wrote:
> > >         Dear Prof Welsh,
> > >
> > >         It is nice to see that you are getting encouraging results in
> > >         porting
> > >         TinyOS to Mac OS X :-) I have tried to do it multiple times in
> > >         the
> > >         past. I also followed existing postings by the people that
> > >         were
> > >         successful in doing so. But I couldn't do a successful port.
> > >         May be
> > >         it's because of my lack of knowledge of TinyOS dependencies,
> > >         or Mac OS
> > >         portability issues, or both.
> > >
> > >         I know that there many other folks like me. If you could
> > >         kindly post
> > >         your experiences, that would be great! I will give it an
> > >         another try
> > >         :-)
> > >
> > >         Thanks and good luck,
> > >
> > >         - Vinayak
> > >
> > >         On 5/3/06, Matt Welsh < [EMAIL PROTECTED] > wrote:
> > >         > Quick update:
> > >         >
> > >         > I have checked in a small change to tools/src/sf/sfsource.c
> > >         > that allows the C-based Serial Forwarder to work on MacOS.
> > >         >
> > >         > Onto getting the Java tools to talk to it (possibly by
> > >         excising
> > >         > the dependency on javax.comm). Has anyone tried TOSComm on
> > >         MacOS?
> > >         >
> > >         > > I don't know a good answer to this. TinyOS 2.0 has thrown
> > >         off RXTX/
> > >         > > javax.comm because of all of the issues and uses its own
> > >         serial
> > >         > > package (written by Cory Sharp). I haven't tried getting
> > >         it working
> > >         > > on OS X, however, and it isn't backwards-compatible with
> > >         1.x (there
> > >         > > is a slightly different serial protocol).
> > >         >
> > >         > OK, so this would be the TOSComm equivalent for Tinyos 2.x.
> > >         > Nice.
> > >         >
> > >         > > > have a lean 'serial daemon' that interfaces to the
> > >         serial port and
> > >         > > > could
> > >         > > > be (ideally) readily ported across many platforms; then
> > >         the Java tools
> > >         > > > only need to understand how to talk to the daemon over a
> > >         socket.
> > >         > >
> > >         > > I agree, that would be a useful tool.
> > >         >
> > >         > Indeed. Does the C-based SF work on TinyOS 2.x?
> > >         >
> > >         > Matt
> > >         >
> > >         >
> > >         >
> _______________________________________________
> > >         > Tinyos-help mailing list
> > >         > [email protected]
> > >         > https://mail.millennium.berkeley.edu/cgi-
> > >         bin/mailman/listinfo/tinyos-help
> > >         >
> > >
> > >         _______________________________________________
> > >         Tinyos-help mailing list
> > >         [email protected]
> > >         https://mail.millennium.berkeley.edu/cgi-
> > >         bin/mailman/listinfo/tinyos-help
> > >
> >
> >
>
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to