Re: [Tinyos-help] tinyos source packages?

2008-08-13 Thread Philip Levis

On Aug 8, 2008, at 7:44 AM, Kevin Klues wrote:

 There is no particular reason other than the newer compiler hasn't
 been thoroughly tested by us to make sure there are no problems with
 it. The  3.2.3 version is known to work and so we stuck with it.  Now
 that we have the debian repository though, there is no reason not to
 allow alternate msp430 packages to be installed (or other tools for
 that matter).

Yeah, it turns out that msp430-gcc is generally pretty buggy. Over  
time, we've worked around all of the 3.2.3 bugs. There was general  
consensus in core that we should upgrade to a newer msp430-gcc after  
the 2.1 release. This will probably involve a couple of months of  
finding new bugs and adjusting the TinyOS source to avoid them.

Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-08-11 Thread Steve McKown
Hi Kevin,

On Friday 08 August 2008 08:44:04 am Kevin Klues wrote:
 There is no particular reason other than the newer compiler hasn't
 been thoroughly tested by us to make sure there are no problems with
 it. The  3.2.3 version is known to work and so we stuck with it.

Sorry, I may have mislead you.  I'm sticking for now with 3.2.3 for similar 
reasons.  The difference is that I've started testing with the latest build 
with latest patches.

 Now 
 that we have the debian repository though, there is no reason not to
 allow alternate msp430 packages to be installed (or other tools for
 that matter).  I can just create a 'virtual' msp430-tinyos package
 that is instantiated by the various versions.  That way the tinyos
 packages can depend on the virtual package, and the developer can
 install the version they think is appropriate.

This would be excellent!  I see several people on the list interested in using 
the new msp430 parts, so availability of 'testing' packages via the Stanford 
repo should help to scratch their collective itches and provide an early 
group of testers.

I'll plan on pushing some patches your way for consideration in the next week 
or two.  The problem is that I'm not up to speed on apt package development, 
so I may need your review and feedback on the patches to get them into shape 
for inclusion.

All the best,
Steve


 Kevin

 On Thu, Aug 7, 2008 at 2:54 PM, Steve McKown [EMAIL PROTECTED] wrote:
  Hi Kevein,
 
  On Saturday 19 July 2008 04:53:08 pm Kevin Klues wrote:
  I cleaned up some of the scripts (not perfect in my mind,. but there
  nonetheless).  You can grab them from here..
 
  git clone http://hinrg.cs.jhu.edu/git/tinyos-toolchain-packages.git
 
  I'd like to push some changes your way in the next couple of months.  I'm
  finally back to TOS2 development, and have a project just starting that
  will use the msp430f2617.  mspgcc CVS HEAD, using the patches in
  packaging/, builds a compiler that supports this and other newer parts. 
  Some trivial compile/run tests shows that it still builds runnable code
  for our '1611 based boards.  It compiles TOS2 code, with a few minor
  changes, for the '2617, but I don't have hardware to test on yet.
 
  I'm intending to create Ubuntu deb packages to simplify local updates of
  our Ubuntu development machines, and hope to contribute useful bits to
  your mainline distribution.  Do you have some specific recommendations? 
  Is there any reason you have yet to include the patches to support more
  of the x2xx family of parts and have not started using binutils-2.18?
 
  All the best,
  Steve
 
  Kevin
 
  On Fri, Jul 18, 2008 at 7:35 AM, Aurélien Francillon
 
  [EMAIL PROTECTED] wrote:
   Kevin Klues a écrit :
   I'll try and put something together sometime this week or next.  Its
   just a matter of finding the time.
  
   that would be great, thanks !
   by the way, what about having everything (rpm/deb/source) at the same
   place? i.e. under: http://www.tinyos.net/dist-2.0.0/
  
   cheers,
   Aurélien



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-08-08 Thread Kevin Klues
There is no particular reason other than the newer compiler hasn't
been thoroughly tested by us to make sure there are no problems with
it. The  3.2.3 version is known to work and so we stuck with it.  Now
that we have the debian repository though, there is no reason not to
allow alternate msp430 packages to be installed (or other tools for
that matter).  I can just create a 'virtual' msp430-tinyos package
that is instantiated by the various versions.  That way the tinyos
packages can depend on the virtual package, and the developer can
install the version they think is appropriate.

Kevin

On Thu, Aug 7, 2008 at 2:54 PM, Steve McKown [EMAIL PROTECTED] wrote:
 Hi Kevein,

 On Saturday 19 July 2008 04:53:08 pm Kevin Klues wrote:
 I cleaned up some of the scripts (not perfect in my mind,. but there
 nonetheless).  You can grab them from here..

 git clone http://hinrg.cs.jhu.edu/git/tinyos-toolchain-packages.git

 I'd like to push some changes your way in the next couple of months.  I'm
 finally back to TOS2 development, and have a project just starting that will
 use the msp430f2617.  mspgcc CVS HEAD, using the patches in packaging/,
 builds a compiler that supports this and other newer parts.  Some trivial
 compile/run tests shows that it still builds runnable code for our '1611
 based boards.  It compiles TOS2 code, with a few minor changes, for
 the '2617, but I don't have hardware to test on yet.

 I'm intending to create Ubuntu deb packages to simplify local updates of our
 Ubuntu development machines, and hope to contribute useful bits to your
 mainline distribution.  Do you have some specific recommendations?  Is there
 any reason you have yet to include the patches to support more of the x2xx
 family of parts and have not started using binutils-2.18?

 All the best,
 Steve


 Kevin

 On Fri, Jul 18, 2008 at 7:35 AM, Aurélien Francillon

 [EMAIL PROTECTED] wrote:
  Kevin Klues a écrit :
  I'll try and put something together sometime this week or next.  Its
  just a matter of finding the time.
 
  that would be great, thanks !
  by the way, what about having everything (rpm/deb/source) at the same
  place? i.e. under: http://www.tinyos.net/dist-2.0.0/
 
  cheers,
  Aurélien






-- 
~Kevin

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-08-07 Thread Steve McKown
Hi Kevein,

On Saturday 19 July 2008 04:53:08 pm Kevin Klues wrote:
 I cleaned up some of the scripts (not perfect in my mind,. but there
 nonetheless).  You can grab them from here..

 git clone http://hinrg.cs.jhu.edu/git/tinyos-toolchain-packages.git

I'd like to push some changes your way in the next couple of months.  I'm 
finally back to TOS2 development, and have a project just starting that will 
use the msp430f2617.  mspgcc CVS HEAD, using the patches in packaging/, 
builds a compiler that supports this and other newer parts.  Some trivial 
compile/run tests shows that it still builds runnable code for our '1611 
based boards.  It compiles TOS2 code, with a few minor changes, for 
the '2617, but I don't have hardware to test on yet.

I'm intending to create Ubuntu deb packages to simplify local updates of our 
Ubuntu development machines, and hope to contribute useful bits to your 
mainline distribution.  Do you have some specific recommendations?  Is there 
any reason you have yet to include the patches to support more of the x2xx 
family of parts and have not started using binutils-2.18?

All the best,
Steve


 Kevin

 On Fri, Jul 18, 2008 at 7:35 AM, Aurélien Francillon

 [EMAIL PROTECTED] wrote:
  Kevin Klues a écrit :
  I'll try and put something together sometime this week or next.  Its
  just a matter of finding the time.
 
  that would be great, thanks !
  by the way, what about having everything (rpm/deb/source) at the same
  place? i.e. under: http://www.tinyos.net/dist-2.0.0/
 
  cheers,
  Aurélien



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-20 Thread David
Thanks, this looks great.

Could you also post this location on the tinyos website, for other
interested parties to find in the future?

I'll probably be sending you patches in the near future (docs, and
debianisation). Will send you the git URL when I set it up.

David.

On Sun, Jul 20, 2008 at 12:53 AM, Kevin Klues [EMAIL PROTECTED] wrote:
 I cleaned up some of the scripts (not perfect in my mind,. but there
 nonetheless).  You can grab them from here..

 git clone http://hinrg.cs.jhu.edu/git/tinyos-toolchain-packages.git

 Kevin

 On Fri, Jul 18, 2008 at 7:35 AM, Aurélien Francillon
 [EMAIL PROTECTED] wrote:
 Kevin Klues a écrit :

 I'll try and put something together sometime this week or next.  Its
 just a matter of finding the time.


 that would be great, thanks !
 by the way, what about having everything (rpm/deb/source) at the same place?
 i.e. under: http://www.tinyos.net/dist-2.0.0/

 cheers,
 Aurélien





 --
 ~Kevin


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-18 Thread Aurélien Francillon
Kevin Klues a écrit :
 I'll try and put something together sometime this week or next.  Its
 just a matter of finding the time.
 

that would be great, thanks !
by the way, what about having everything (rpm/deb/source) at the same place?
i.e. under: http://www.tinyos.net/dist-2.0.0/

cheers,
Aurélien

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-17 Thread Aurelien Francillon
Le Thursday 17 July 2008 12:52:43 Stefano Kismet Lenzi, vous avez écrit :
 On Tue, Jul 15, 2008 at 11:23, David [EMAIL PROTECTED] wrote:
  Hi list.
 
  TinyOS provides Ubuntu packages, with installation instructions here:
 
  http://www.tinyos.net/scoop/story/2007/8/15/234856/990
 
  I've browsed the package repo, and don't see any source packages.
 
  Could source packages be provided? They would be very useful for users
  to make their own, custom packages.

 I think that having access to the source package would really benefit
 the community! In particular, it would be even possible to provide a
 daily or weekly update tinyos-core containing all the latest CVS
 changes


I think it would be nice ... and it would make support for gentoo easier one 
day, even tough the development of gentoo ebuilds is quite stalled ...

IIRC this has been requested some time ago, the answer was use a binary 
rpm/deb or take a cvs snapshot yourself ...
I hope source tarballs will be provided one day ... moreover it's probably a 
low effort task as they are probably already made somehow to build the 
debs/rpm, just some changes to some build script ? 


Aurélien

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-17 Thread Sarfraz Nawaz
I would second what Aurelien has already said. Having source packages
would be definitely beneficial in supporting larger number of
distributions that generally rely on similar package management but
then also have quirks that make it difficult to install binary
packages.

On Thu, Jul 17, 2008 at 10:31 PM, Aurelien Francillon
[EMAIL PROTECTED] wrote:
 Le Thursday 17 July 2008 12:52:43 Stefano Kismet Lenzi, vous avez écrit :
 On Tue, Jul 15, 2008 at 11:23, David [EMAIL PROTECTED] wrote:
  Hi list.
 
  TinyOS provides Ubuntu packages, with installation instructions here:
 
  http://www.tinyos.net/scoop/story/2007/8/15/234856/990
 
  I've browsed the package repo, and don't see any source packages.
 
  Could source packages be provided? They would be very useful for users
  to make their own, custom packages.

 I think that having access to the source package would really benefit
 the community! In particular, it would be even possible to provide a
 daily or weekly update tinyos-core containing all the latest CVS
 changes


 I think it would be nice ... and it would make support for gentoo easier one
 day, even tough the development of gentoo ebuilds is quite stalled ...

 IIRC this has been requested some time ago, the answer was use a binary
 rpm/deb or take a cvs snapshot yourself ...
 I hope source tarballs will be provided one day ... moreover it's probably a
 low effort task as they are probably already made somehow to build the
 debs/rpm, just some changes to some build script ?


 Aurélien

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-17 Thread Kevin Klues
I'll try and put something together sometime this week or next.  Its
just a matter of finding the time.

Kevin

On Thu, Jul 17, 2008 at 5:43 AM, Sarfraz Nawaz [EMAIL PROTECTED] wrote:
 I would second what Aurelien has already said. Having source packages
 would be definitely beneficial in supporting larger number of
 distributions that generally rely on similar package management but
 then also have quirks that make it difficult to install binary
 packages.

 On Thu, Jul 17, 2008 at 10:31 PM, Aurelien Francillon
 [EMAIL PROTECTED] wrote:
 Le Thursday 17 July 2008 12:52:43 Stefano Kismet Lenzi, vous avez écrit :
 On Tue, Jul 15, 2008 at 11:23, David [EMAIL PROTECTED] wrote:
  Hi list.
 
  TinyOS provides Ubuntu packages, with installation instructions here:
 
  http://www.tinyos.net/scoop/story/2007/8/15/234856/990
 
  I've browsed the package repo, and don't see any source packages.
 
  Could source packages be provided? They would be very useful for users
  to make their own, custom packages.

 I think that having access to the source package would really benefit
 the community! In particular, it would be even possible to provide a
 daily or weekly update tinyos-core containing all the latest CVS
 changes


 I think it would be nice ... and it would make support for gentoo easier one
 day, even tough the development of gentoo ebuilds is quite stalled ...

 IIRC this has been requested some time ago, the answer was use a binary
 rpm/deb or take a cvs snapshot yourself ...
 I hope source tarballs will be provided one day ... moreover it's probably a
 low effort task as they are probably already made somehow to build the
 debs/rpm, just some changes to some build script ?


 Aurélien

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
~Kevin

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos source packages?

2008-07-17 Thread David
On Thu, Jul 17, 2008 at 8:36 PM, Kevin Klues [EMAIL PROTECTED] wrote:
 I'll try and put something together sometime this week or next.  Its
 just a matter of finding the time.

 Kevin


I can help out a bit with this, or at least do some (Debian Etch 
Sid) testing, if it will help.

I assume you have scripts, or docs you follow to manually build binary
debs for each release?

If you're too busy to make source packages in the next few weeks,
could you forward any rough notes/scripts to me so I can try
debianising?

Otherwise I'll try to reverse-engineer source packages by extracting
the binary installers and then creating debian control files to make
binary packages with the same layout (after performing the normal
build under a Debian Stable chroot).

I also want to make the .deb packages more Debian-friendly (eg: put
stuff under FHS-complient /usr dirs instead of /opt. Also don't
require users to update their PATH env vars. And various other things
suggested by lintian). But that comes later.

I'm mainly interested in debianising the stuff under /opt/tinyos2.x,
but I'll try the other packages too if you send me info for how their
.deb files are built.

Should I send debianisation patches to you?

David.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help