halo,

yes, I tryed to run the cmd *tos-build-deluge-image *(and I send an email
stopped by the moderator :( )
and the result is this:

tiny2::>>  /opt/local/bin/tos-build-deluge-image -i 1
build/telosb/tos_image.xml
Ihex read complete:
  32766 bytes starting at 0x4A00
     32 bytes starting at 0xFFE0
  32798 bytes in 2 sections
CRCs:
  0x885E 0x79A8 0x2FDA 0xD7CF 0xEBD2 0x180D 0x6152
  0xD894 0xF4BC 0xBE90 0xD9D3 0xF69A 0xD7B8 0xE6BE
  0xFDD8 0x5E08 0x14E8 0xF28E 0x473F 0xF151 0x8472
  0x7FB7 0xB420 0xC3CB 0xF91C 0xEA0A 0xDCF9 0x0EBF
  0x46A6 0x50EA
HC U???BlinkAppCenienieni-enis-computtelosbG?%?US?
aRؔ????????׸?????G??Q?r?? ????                    ?^y?/?????
[EMAIL PROTECTED]@>JP???B?_?2?C?0AO?$2?0A
??J<A=A>A?A???Bb?_?$Br0ABd?_?$Bt0ABf?_?$Bv0A
B.?O??
      $/?4?$
            </?<??J<??J<??J<A=A>A?A???
OC?"K<A=A>A?A???0ANO???|,[EMAIL PROTECTED] ??j
_C?*L0A??L0A>@?/N?_?V$B????????$B?0A?S??S??c?0AON? K0Ad ?????(7 ?C(?V?
VOC?T0A?*P0AB??_?%$B?0AB??_?$B?0AB??_?$B?0AB??_?
                       KO?TJMOCOK??? ? CCN? ? ?K?<_B???P??K?K?CO?
{@<KCOM?hJOK;A0A

       ??M
N....


...and there is a lot of stuff like this that I'm not putting in here bc the
moderator
maybe will block the email (max 40kb)...
I think that after printing the hexacode (that I think should be normal)
the tos-build-deluge-image print the tos-image.xml too or something
similar...

I'm downloading git for mac but I'm sure I can't used (cvs too) bc of my
proxy at
home and school... but this is my problem :-D



On Thu, Mar 6, 2008 at 7:05 PM, Razvan Musaloiu-E. <[EMAIL PROTECTED]>
wrote:

> Hi!
>
> On Thu, 6 Mar 2008, unauna abiabi wrote:
>
> > On Thu, Mar 6, 2008 at 12:35 PM, unauna abiabi <[EMAIL PROTECTED]>
> wrote:
> >
> >> Hi,
> >>
> >> I resolved the problem of sha1sum doing a link to the md5
> >> and retried to do execute the burn script
> >>
> >> and the result is this::
> >>
> >>
> >> eni-enis-computer:/opt/tinyos-2.x/apps/tests/deluge/Blink enieni$
> ./burn
> >> /dev/tty.usbserial-XBQABZ6I telosb
> >> rm -rf build
> >> rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py
> >> ============================ Compile and load Blink
> >> ============================
> >> mkdir -p build/telosb
> >> tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb <
> >> volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
> >> build/telosb/StorageVolumes.h
> >>     compiling BlinkAppC to a telosb binary
> >> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
> >> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
> >> -DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb -DDELUGE_BASESTATION
> >> -DDELUGE_BASESTATION -DDELUGE -I/opt/tinyos-2.x/tos/lib/net
> -I/opt/tinyos-
> >> 2.x/tos/lib/net/drip -I/opt/tinyos-2.x/tos/lib/net/Deluge
> -I/opt/tinyos-
> >> 2.x/tos/lib/net/Deluge/FlashVolumeManager -I/opt/tinyos-2.x
> /tos/lib/net/Deluge/BlockStorageManager
> >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra -I/opt/tinyos-2.x
> /tos/lib/net/Deluge/extra/msp430
> >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telos -I/opt/tinyos-2.x
> /tos/lib/net/Deluge/extra/telosb
> >> -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
> >> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"enieni\"
> >> -DIDENT_HOSTNAME=\"eni-enis-comput\" -DIDENT_USERHASH=0x04fea1acL
> >> -DIDENT_TIMESTAMP=0x47cfd48eL -DIDENT_UIDHASH=0x5b86b682L
> BlinkAppC.nc-lm
> >>     compiled BlinkAppC to build/telosb/main.exe
> >>            32728 bytes in ROM
> >>             1249 bytes in RAM
> >> msp430-objcopy --output-target=ihex build/telosb/main.exe
> >> build/telosb/main.ihex
> >>     writing TOS image
> >> cp build/telosb/main.ihex build/telosb/main.ihex.out
> >>     installing telosb bootloader using bsl
> >> tos-bsl --telosb -c /dev/tty.usbserial-XBQABZ6I -r -e -I -p
> /opt/tinyos-
> >> 2.x/tos/lib/tosboot/build/telosb/main.ihex
> >> MSP430 Bootstrap Loader Version: 1.39-telos-8
> >> Mass Erase...
> >> Transmit default password ...
> >> Invoking BSL...
> >> Transmit default password ...
> >> Current bootstrap loader version: 1.61 (Device ID: f16c)
> >> Changing baudrate to 38400 ...
> >> Program ...
> >> 2112 bytes programmed.
> >> Reset device ...
> >>     installing telosb binary using bsl (without mass erase)
> >> tos-bsl --telosb -c /dev/tty.usbserial-XBQABZ6I -r -I -p
> >> build/telosb/main.ihex.out
> >> MSP430 Bootstrap Loader Version: 1.39-telos-8
> >> Invoking BSL...
> >> Transmit default password ...
> >> Current bootstrap loader version: 1.61 (Device ID: f16c)
> >> Changing baudrate to 38400 ...
> >> Program ...
> >> 32760 bytes programmed.
> >> Reset device ...
> >> rm -f build/telosb/main.exe.out build/telosb/main.ihex.out
> >>            +-------------------------------------------------------+
> >>            |                                                       |
> >>            | At this point the first led (red) should be blinking. |
> >>            |                                                       |
> >>            |               Press ENTER to continue...              |
> >>            |                                                       |
> >>            +-------------------------------------------------------+
> >>
> >> ============================= Compile a new Blink
> >> ==============================
> >> mkdir -p build/telosb
> >>     compiling BlinkAppC to a telosb binary
> >> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
> >> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
> >> -DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb -DBLINK_REVERSE
> >> -DDELUGE_BASESTATION -DDELUGE_BASESTATION -DDELUGE -I/opt/tinyos-2.x
> /tos/lib/net
> >> -I/opt/tinyos-2.x/tos/lib/net/drip -I/opt/tinyos-2.x/tos/lib/net/Deluge
> >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager -I/opt/tinyos-
> 2.x/tos/lib/net/Deluge/BlockStorageManager
> >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra -I/opt/tinyos-2.x
> /tos/lib/net/Deluge/extra/msp430
> >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telos -I/opt/tinyos-2.x
> /tos/lib/net/Deluge/extra/telosb
> >> -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000
> >> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"enieni\"
> >> -DIDENT_HOSTNAME=\"eni-enis-comput\" -DIDENT_USERHASH=0x04fea1acL
> >> -DIDENT_TIMESTAMP=0x47cfd4d0L -DIDENT_UIDHASH=0x36649339L
> BlinkAppC.nc-lm
> >>     compiled BlinkAppC to build/telosb/main.exe
> >>            32728 bytes in ROM
> >>             1249 bytes in RAM
> >> msp430-objcopy --output-target=ihex build/telosb/main.exe
> >> build/telosb/main.ihex
> >>     writing TOS image
> >> =============================== Upload the image
> >> ===============================
> >> Pinging node ...
> >> Connected to Deluge nodes.
> >> No valid image was detected.
> >> --------------------------------------------------
> >> Create image: /opt/local/bin/tos-build-deluge-image -i 1
> >> build/telosb/tos_image.xml
> >>
> >> -->>>
> >> it just stop here and don't continue... is strange, isn't it?
> >
> >
> > AND
> > when I do a Ctrl+C it gives me this error
> >
> > Create image: /opt/local/bin/tos-build-deluge-image -i 1
> > build/telosb/tos_image.xml
> > ^CTraceback (most recent call last):
> >  File "/opt/local/bin/tos-deluge", line 417, in <module>
> >    inject(imgNum, sys.argv[5])
> >  File "/opt/local/bin/tos-deluge", line 303, in inject
> >    print p.stderr.read(),
> > KeyboardInterrupt
>
> Can you try to run the tos-build-image-image command by hand? You need
> give the following command:
>         /opt/local/bin/tos-build-deluge-image -i 1
> build/telosb/tos_image.xml
>
> --
> Razvan ME
>
> >>
> >> I didn't get the file from
> >> http://hinrg.cs.jhu.edu/git/?p=deluge/tinyos-2.x.git
> >> bc I don't know which one to get and it seems that I can't download the
> >> file
> >> bc there is just a copy-paste from an editor...
> >> There is just a file in download version, the last one: NetProgM.c
> >> I replace the old file in my filesystem with this one but when I run
> the
> >> burn script some errors get out...
> >>
> >> In file included from /opt/tinyos-2.x
> >> /tos/lib/net/Deluge/extra/NetProgC.nc:43,
> >>                  from /opt/tinyos-2.x/tos/lib/net/Deluge/DelugeC.nc:59,
> >>                  from BlinkAppC.nc:47:
> >> In component `NetProgM':
> >> /opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:45: interface
> >> ReprogramGuard not found
> >> /opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc: In function
> >> `NetProg.programImageAndReboot':
> >> /opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:89: interface has
> no
> >> command or event named `okToProgram'
> >> /opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc: At top level:
> >> /opt/tinyos-2.x/tos/lib/net/Deluge/extra/NetProgM.nc:93:
> `okToProgramDone'
> >> is not in interface `ReprogramGuard'
> >> make: *** [exe0] Error 1
> >>
> >>
> >> --->> I think that to use this file I have to download other file but
> it
> >> seems that I can't download the
> >> file from that page....
> >>
> >>
> >>
> >> thx again for your help
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Wed, Mar 5, 2008 at 10:53 PM, Razvan Musaloiu-E. <[EMAIL PROTECTED]
> >
> >> wrote:
> >>
> >>> Hi!
> >>>
> >>> On Wed, 5 Mar 2008, unauna abiabi wrote:
> >>>
> >>>> Hi to all,
> >>>>
> >>>> I start to "play" with deluge T2 and I'm following
> >>>> the manual (deluge-t2-manual.html) but I gut problem in the "Quick
> >>> start"
> >>>> section.
> >>>> I'm using tinyos2.x on a macbook duo 2 core with Tiger version
> 10.4.11
> >>>>
> >>>>
> >>>> -->>The problem is :
> >>>>
> >>>> tinyos::>> ./burn /dev/tty.usbserial-XBQ6TGNF telosb
> >>>> sh: line 1: sha1sum: command not found
> >>>> sh: line 1: sha1sum: command not found
> >>>> rm -rf build
> >>>> rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py
> >>>>
> >>>>
> >>>> ============================ Compile and load Blink
> >>> ============================
> >>>> sh: line 1: sha1sum: command not found
> >>>> sh: line 1: sha1sum: command not found
> >>>> mkdir -p build/telosb
> >>>> tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb <
> >>> volumes-stm25p.xml >build/telosb/StorageVolumes.h || rm -f
> >>> build/telosb/StorageVolumes.h
> >>>>
> >>>> ...
> >>>>
> >>>> =============================== Upload the image
> >>> ===============================
> >>>> Pinging node ...
> >>>> Connected to Deluge nodes.
> >>>> No valid image was detected.
> >>>> --------------------------------------------------
> >>>>
> >>>> Create image: /opt/local/bin/tos-build-deluge-image -i 1
> >>> build/telosb/tos_image.xml
> >>>>
> >>>> Traceback (most recent call last):
> >>>>  File "/opt/local/bin/tos-build-deluge-image", line 117, in <module>
> >>>>    ident[p] = int(ident[p][:-1], 16)
> >>>> KeyError: 'userhash'
> >>>> --------------------------------------------------
> >>>
> >>> sha1sum program is missing and so some important hashes are not
> computed
> >>> which makes the tos-build-deluge-image script unhappy. If you replace
> >>> sha1sum with md5sum it should work fine.
> >>>
> >>> Something else: the Deluge T2 from the CVS doesn't yet contains a
> bunch
> >>> of
> >>> changes and fixes I made. They are available in the following git
> >>> repository:
> >>>        http://hinrg.cs.jhu.edu/git/?p=deluge/tinyos-2.x.git
> >>>
> >>> Have a nice day!
> >>> Razvan ME
> >>>
> >>
> >>
> >
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to