Hi!
On Thu, 17 Jan 2008, David wrote:
If you want to use git you can clone from here:
http://hinrg.cs.jhu.edu/git/tinyos-2.x.git
The repository is synchronized from the CVS every hour.
Hi there again :-)
I'm sure I posted this yesterday, but there wasn't a reply today, and
I can't find the mail in my gmail outbox. Maybe gmail dissappeared my
mail :-/ Sorry if this is a dupe.
Firstly, I think you may be repacking everything into a single pack
file (git repack -a) each time you sync. ie, each time someone pulls
new updates they need to download the entire (compressed) git history
rather than just the updates. It takes me a few minutes on my slow
South Africa ADSL connection ;-)
For instance, when I ran 'git pull -v' today, I got this output:
Fetching refs/heads/ctp-devel from
http://hinrg.cs.jhu.edu/git/tinyos-2.x.git using http
* refs/remotes/origin/ctp-devel: same as branch 'ctp-devel' of
http://hinrg.cs.jhu.edu/git/tinyos-2.x
commit: 55d1a1d
Fetching refs/heads/importedFromAppsTests from
http://hinrg.cs.jhu.edu/git/tinyos-2.x.git using http
* refs/remotes/origin/importedFromAppsTests: same as branch
'importedFromAppsTests' of http://hinrg.cs.jhu.edu/git/tinyos-2.x
commit: bbf780c
Fetching refs/heads/master from
http://hinrg.cs.jhu.edu/git/tinyos-2.x.git using http
Getting alternates list for http://hinrg.cs.jhu.edu/git/tinyos-2.x.git
Getting pack list for http://hinrg.cs.jhu.edu/git/tinyos-2.x.git
Getting index for pack 8ac06e82c0900750af74f2c42b5462ab6147f990
Getting pack 8ac06e82c0900750af74f2c42b5462ab6147f990
which contains 4d98d96e7dc8436f6f7a0a50a4046a0bd91b9bea
<snip>
That last part (Getting pack) took a while to download (it's 24 MB).
When I checked the git log there was only one update since yesterday
(4d98d96e7d by rincon), not 24 MB worth. Please check your git sync
logic :-)
I'll take a look later today. I didn't notice this. :P
Also, I've successfully cloned the git repository, but unfortunately
it looks like at least one of the tools used in "make install" and
"make reinstall" depends on your source being in a CVS checkout. So I
can't use the git checkout properly :-(
Here's the relevant output from 'make telosb reinstall' (on
apps/tests/deluge/Blink):
tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump
--target ihex build/telosb/main.ihex build/telosb/main.ihex.out-0
TOS_NODE_ID=0 ActiveMessageAddressC$addr=0
found mote on /dev/ttyUSB0 (using bsl,auto)
installing telosb bootloader using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p
/home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/tosboot/build/telosb/main.ihex
Traceback (most recent call last):
File "/home/david/local/bin/tos-bsl", line 15, in ?
import serial
File "/home/david/local/lib/tinyos/serial/__init__.py", line 9, in ?
VERSION = string.split("$Revision$")[1] #extract CVS version
IndexError: list index out of range
make: *** [program_bl] Error 1
'make telosb install' gets a similar error.
You can fix this error by removing the VERSION = ... line from two files:
tinyos-2.x/tools/platforms/msp430/pybsl/serial/__init__.py
tinyos-2.x/tools/platforms/msp430/pybsl/serial/serialposix.py
I'll investigate a way to also fix this.
--
Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help