All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  1. 14 Feb, 2007 1 commit
  2. 01 Dec, 2006 2 commits
  3. 25 Oct, 2006 1 commit
    • Leigh B. Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh B. Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      I have added three new rules to GNUmakerules that look like this:
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
  4. 04 Apr, 2006 2 commits
  5. 21 Mar, 2006 1 commit
  6. 10 Mar, 2006 1 commit
  7. 06 Mar, 2006 1 commit
  8. 27 Dec, 2005 1 commit
    • Dan Gebhardt's avatar
      Added: · 8ed67c52
      Dan Gebhardt authored
      - unbounded record time
      - stats dump (by stdout) with USR1 signal
  9. 19 Dec, 2005 1 commit
  10. 16 Dec, 2005 3 commits
  11. 06 Dec, 2005 1 commit
  12. 25 Sep, 2005 1 commit
    • Timothy Stack's avatar
      · 270173af
      Timothy Stack authored
      A little blinken lichten tweakin:
      	* mote/sgtools/moteleds.C: If an update hasn't been sent for 1.5
      	seconds, send one so the other side still knows we're alive.
      	* www/BlinkenLichten.class, www/ Add the blue
      	throbbing rectangle of liveness and cross out the lights if the
      	connection seems to be down.  Need this stuff, otherwise it's hard
      	to tell the difference between the lights not changing and network
      	* www/showstuff.php3: Widen the size of the blinky light applet.
  13. 29 Jul, 2005 1 commit
    • Timothy Stack's avatar
      · cb7801fb
      Timothy Stack authored
      Fix the race between loading a mote and rebooting its host stargate.
      	* db/ Add TBNodeSubNodes function which returns the
      	list of subnodes for a given node.
      	* mote/ Don't reboot the stargate anymore after loading
      	the attached mote.  The problem with the radio not working after
      	the upload should be fixed now.
      	* tbsetup/ Check if a node's subnodes are being
      	reloaded.  If so, try to wait until they reach ISUP before
      	actually doing the reboot.
      	* tbsetup/ Do not skip the ISUP wait for subnodes that
      	are imageable (like motes), otherwise their allocstates are not
      	updated correctly.  Remove the robot-specific hack that	assumed
      	tbuisp would do the reboot if the attached mote was being reloaded.
  14. 30 Jun, 2005 1 commit
  15. 27 Jun, 2005 3 commits
  16. 23 Jun, 2005 1 commit
  17. 22 Jun, 2005 1 commit
  18. 09 Jun, 2005 1 commit
  19. 03 Jun, 2005 1 commit
    • David Johnson's avatar
      Fixes a fun little bug that's been screwing me over for awhile now. · 4dd8ff10
      David Johnson authored
      Basically, tbuisp was checking if a file was an exe or srec based on
      extension.  This was failing when tbuisp was invoked from xmlrpc, because
      the rpc server created a temp file without a .exe extension.  Thus, tbuisp
      thought that the file was an srec (since it wasn't an exe)... and motes
      were not getting programmed properly.  tbuisp now distinguishes which type
      the file is using avr-objdump, and matching the format.  The downside of
      this is that we'll need to support different kinds of exe binary types as
      we add different kinds of motes (i.e., the binary type for our avr-based
      motes is elf32-avr... surely the telos motes will have a different type).
  20. 02 Jun, 2005 1 commit
    • Timothy Stack's avatar
      · 23800bf7
      Timothy Stack authored
      Make use of the stargate's onboard watchdog timer.
      	* mote/sgtools/ Standard makefile for sgtools.  Run
      	configure as described in doc/cross-compiling.txt to make it
      	compile for the stargate.
      	* mote/sgtools/wagthedog.C: Enable and feed the stargate's onboard
      	watchdog timer.
      	* robots/primotion/ Rewrite in perl.
      	* tmcd/common/watchdog: Change the path of the battery log file.
      	* tmcd/linux-sg/rc.stargate: Start the stargate watchdog tool and
      	run the pilot-wrapper script instead of pilot directly.
  21. 31 May, 2005 1 commit
  22. 27 May, 2005 4 commits
  23. 20 Apr, 2005 2 commits
  24. 05 Apr, 2005 2 commits
    • Robert Ricci's avatar
      Add support for .exe binary files - we process them into the srec · 8eda4f8b
      Robert Ricci authored
      files that are given to TinyOS.
      As part of this, support changing the ID programmed into the mote.
      The user can supply this on the command line, or they can supply it
      in the DB (soon to be hooked in to NS files), or, if neither of
      these is given, it defaults to the numeric part of the node's name.
      This is neat - it could be the start of a more general framework,
      in which we do things like modify uploaded TinyOS kernels to use
      the frequency assigned to the experiment, or let users set parameters
      for their TinyOS kernels in their NS fields.
    • Robert Ricci's avatar
  25. 04 Apr, 2005 1 commit
    • Timothy Stack's avatar
      · 463ee6b1
      Timothy Stack authored
      Mote and robot related stuff.  The main thing is the addition of relay
      capabilities to capture and related things.
      	* Add the capture and tip subdirectories to the
      	client and client-install targets.
      	* configure,, Detect srandomdev() for
      	capture and add "mote/newmote" script.
      	* capture/, capture/capture.c: Add "relay"
      	capabilities to capture.
      	* capture/capquery.c: Query the capserver for the relay receiver's
      	port number.
      	* capture/capserver.c: Small hack to return the port number
              for a node.
      	* db/, db/ Add virt_tiptunnels table.
      	* event/program-agent/program-agent.c: Change log file names to
      	something a little more user-friendly.  Add a "MODIFY" event
      	handler that lets the user set agent attributes (command, tag,
      	timeout) without having to run a program.
      	* event/sched/, event/sched/,
      	event/sched/console-agent.h, event/sched/event-sched.c: Add
      	console agents that can be used to snapshot a section of the
      	capture log file.
      	* event/sched/ Some minor cleanup.
      	* event/sched/, event/sched/simulator-agent.h:
      	Add the config data to the report mail.  Add a "RESET" event
      	handler that runs "loghole clean".  Save the report mail in a file
      	so it gets archived with the rest of the logs.
      	* lib/libtb/tbdefs.h: Add CONSOLE object type.
      	* mote/, mote/newmote: Add newmote script, just a
      	quick hack to add motes to the DB.
      	* mote/ Add another backend for loading motes through
      	their relay capture server.
      	* robots/mtp/mtp_dump.c: Dump the min/max values for x and y,
      	handy for figuring out the bounds of the camera.
      	* sql/database-fill.sql: Change the RELOAD-MOTE/SHUTDOWN ->
      	ALWAYSUP/SHUTDOWN mode transition to ALWAYSUP/ISUP since stated
      	doesn't seem to run triggers after a state change by a mode
      	* tbsetup/ Change the ordering of the eventlist so it
      	displays event-sequences appropriately.
      	* tbsetup/ns2ir/, tbsetup/ns2ir/console.tcl,
      	tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/,
      	tbsetup/ns2ir/ Add a "console" agent that represents
      	the serial console for a node.
      	* tbsetup/ns2ir/sequence.tcl: Add an "append" method so it is
      	easier to build sequences dynamically.
      	* tbsetup/ns2ir/topography.tcl: Make checkdest available to
      	regular users.
      	* tip/, tip/tiptunnel.c: Add support for uploading a
      	file to a relay version of capture and exporting the end
      	connection as a pty.
      	* tmcd/decls.h, tmcd/common/ Bump version number since
      	the dosubnodelist change is not backwards compatible.
      	* tmcd/tmcd.c: Make dosubnodelist and dosubconfig callable even
      	when a node isn't allocated.  Add dotiptunnels command that
      	returns which serial consoles are to be mounted on a node.  Add
      	mote version of subconfig that returns information needed to
      	startup the relay version of capture.
      	* tmcd/common/bootsubnodes: For motes, startup the relay version
      	of capture (XXX stargate specific).
      	* tmcd/common/, tmcd/common/,
      	tmcd/common/config/rc.config, tmcd/common/config/rc.tiptunnels:
      	Client side changes for mounting another nodes serial line.
      	* tmcd/common/rc.bootsetup: Always boot the subnodes, even when
      	free.  This is used for motes since their capture needs to be up
      	for reloading at the time.
      	* tmcd/linux/ixpboot: Shuffle some code around so the script
      	doesn't fail if the ixp isn't allocated.
      	* utils/ Add "digest.out" and "report.mail" as global
      	logs to be saved in archives and display the "report.mail" file
      	when showing a loghole archive.
      	* xmlrpc/ Scrub more of the return values to
      	get rid of "None"s.
  26. 15 Feb, 2005 2 commits
    • Kirk Webb's avatar
      · 03f2ad1a
      Kirk Webb authored
      Missed Tim's change to tbuisp that already addresses this.
    • Kirk Webb's avatar
      · 832dd9ec
      Kirk Webb authored
      Have tbuisp wait for the stargate to finish rebooting to prevent a
      subnode->node race while reloading.
  27. 11 Feb, 2005 1 commit
  28. 09 Feb, 2005 1 commit
    • Timothy Stack's avatar
      · ea206d40
      Timothy Stack authored
      Robot-related improvements based on feedback from Sid:
      	* event/sched/event-sched.h, event/sched/event-sched.c,
      	event/sched/rpc.h, event/sched/ Send a notification of the
      	start of event time and timelines.  Add a '-r' option that forces
      	it to use the default rpc path (so dan can use a custom
      	scheduler/rmcd/etc on ops).
      	* robots/, robots/emc/,
      	robots/mtp/, robots/primotion/,
      	robots/rmcd/, robots/vmcd/,
      	robots/tbsetdest/ Add a control-install target.
      	* robots/primotion/ Take out some experimental
      	* robots/primotion/dashboard.hh, robots/primotion/,
      	robots/primotion/, robots/primotion/wheelManager.hh,
      	robots/primotion/ When doing a COMMAND_STOP, make
      	sure we only send one update packet, an idle or an abort.  Also
      	send back the actual distance travelled/pivoted.
      	* robots/tbsetdest/ Don't output setdest event's with
      	a speed of zero.
      	* tbsetup/ When replaying/stopping, clear the
      	start of event time for the experiment.
      	* tbsetup/ Decrease the threshold used to tell if
      	a node has been power cycled "recently".
      	* tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/ Bah, backout
      	last change, orientation is supposed to be in degrees at these
      	points.  Also, when automatically picking the sync server, don't
      	use nodes that are subnodes.
      	* tmcd/common/bootsubnodes: Send an ISUP for motes.
      	* www/moteleds.php3: Show the mote node names instead of the
      	* www/powertime.php3: Add option to mark nodes as powered off.
      	* www/robotmap.php3: Display the elapsed time for the overall
      	event time and for each active timeline.
      	* www/showexp.php3: Only display the blinky lights menu item when
      	there are motes.
      	* www/shownode.php3: Change "Update Power Time" -> "Update Power
      	* www/tutorial/mobilewireless.php3: Fix some nits.
      	* xmlrpc/ Add event_time_start method for
      	storing/getting/clearing the start of event time for an