[Tinyos-devel] Re: [Tinyos-commits] CVS: tinyos-1.x/tools/make/msp install.extra, 1.7, 1.8

Cory Sharp cory at moteiv.com
Wed Nov 22 12:23:10 PST 2006


Steve, thanks! - Cory

On 11/22/06, steve ayer <ayer at handhelds.org> wrote:
>
> cory,
>
> i stand corrected.
>
> the reason, as stated in the cvs log, is that we were having trouble
> with a corrupted executable image being installed on telosb's, which we
> traced to the lack of a mass erase during installation.
>
> i missed the change in default behavior from last december, which
> explains why this problem first appeared after an update from
> sourceforge in january.
>
> i'll back out the change right now, and offer apologies for the annoyance.
>
> -steve
>
> Cory Sharp wrote:
> > Steve, why did you make this commit?  Your change will mass erase the
> > just-installed TOSBoot.
> >
> > That program_no_e target is guarded within the TINYOS_NP=BNP block,
> > which means this particular BUILD_DEPS is only assigned when installing
> > TOSBoot used by Deluge.  In TinyOS 1.x, installing a network
> > programmable image is a two step process: first bootloader is installed
> > with mass erase, then the main application is installed without mass
> > erase.  If you take out the _no_e, then the bootloader which was just
> > installed will be blown away.
> >
> > Relatively recent TinyOS default TINYOS_NP=BNP, so that particular
> > BUILD_DEPS is the default behavior.  The appropriate way to override it
> > in your system is to export TINYOS_NP=none.
> >
> > Cory
> >
> > On 11/22/06, *steve ayer* <ayer1 at users.sourceforge.net
> > <mailto:ayer1 at users.sourceforge.net>> wrote:
> >
> >     Update of /cvsroot/tinyos/tinyos-1.x/tools/make/msp
> >     In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18426
> >
> >     Modified Files:
> >             install.extra
> >     Log Message:
> >
> >     changed BUILD_DEPS from program_no_e to program; some telos images
> are
> >     corrupted without and erase.
> >
> >
> >     Index: install.extra
> >     ===================================================================
> >     RCS file: /cvsroot/tinyos/tinyos-1.x/tools/make/msp/install.extra,v
> >     retrieving revision 1.7
> >     retrieving revision 1.8
> >     diff -C2 -d -r1.7 -r1.8
> >     *** install.extra       28 Jul 2005 22:57:50 -0000      1.7
> >     --- install.extra       22 Nov 2006 17:46:05 -0000      1.8
> >     ***************
> >     *** 6,9 ****
> >
> >       ifeq ($(TINYOS_NP),BNP)
> >     !   BUILD_DEPS = tosimage $(POST_BUILD_EXTRA_DEPS) setid program_bl
> >     program_no_e
> >       endif
> >     --- 6,9 ----
> >
> >       ifeq ($(TINYOS_NP),BNP)
> >     !   BUILD_DEPS = tosimage $(POST_BUILD_EXTRA_DEPS) setid program_bl
> >     program
> >       endif
> >
> >     _______________________________________________
> >     Tinyos-commits mailing list
> >     Tinyos-commits at Mail.Millennium.Berkeley.EDU
> >     <mailto:Tinyos-commits at Mail.Millennium.Berkeley.EDU>
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-commits
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20061122/fccfaf0d/attachment.htm


More information about the Tinyos-devel mailing list