Firmware Upgrade Area



SRMS Firmware fimage download and change log.

WEB based Firmware Upgrade Instructions

FTP based Firmware Upgrade Instructions

GPL Code Center



Download Fimage build 1916   December 13, 2009

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX Usb voltmeter board adjustment value was not being honoured.
BUGFIX Usb voltmeter board SNMP OIDS returned wrong values sometimes.



Download Fimage build 1913   October 17, 2009

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX Usb voltmeter board no longer does double reads.
BUGFIX Added sqlite_close(db); to sig handler of rmsvmd.
BUGFIX for/next loop out of range in btn_trig_supress of RMSd sig handler.
BUGFIX for/next loop out of range in gxio_trig_supress of RMSd sig handler.
ADDED ppp configuration files.
REMOVED Wget (added in 1908).



Download Fimage build 1908   June 1, 2009

Change Log:
*Note 1: This must be a level 2 upgrade.
ADDED Kernel Hid driver to support USB voltmeter board.
ADDED Web support for USB voltmeter board.
ADDED uSNMP support for USB voltmeter board.
ADDED WGET program.
Database updated to version 13.



Download Fimage build 1894   Jan 11, 2009

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX In temperature hysteresis.
ADDED Temperature Trigger Action Suppression for Boot up option.
Database updated to version 12.



Download Fimage build 1890   Nov 15, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX Closed database too soon setup.c (timers).
BUGFIX Alarms and I/O's "Test Every" time was broken.
ENHANCED SMTPclient can fork()now.
CHANGED SMTPclient timeout value decreased to 15 seconds from 60.
CHANGED the order of execution of actions, scripts first now.
CLEANUP Removed debugging statements and unused variables from rmsd.



Download Fimage build 1883   Oct 15, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
ENHANCED rmsscript program can fork() now.
ADDED more ping timeouts allowed in rmspingd.
ADDED support for Watch Dog Timer add-on board.
CLEANUP -removed unused variables.
Database updated to version 11.



Download Fimage build 1868   Aug 31, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX NTPclient would sometimes loop forever if no time server was available.
BUGFIX Time setup page; hours box now goes from 1 to 24. Broken in last update.
ADDED Automatic refresh to Voltmeters page.
COSMETIC Changed layout of Voltmeters page.
COSMETIC Changed time format on Voltmeters setup page from 24hr notation to am/pm notation.
COSMETIC Changed Left Nav help link.
Database updated to version 10.



Download Fimage build 1855   July 10, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX UsnmpD would return random zero voltages sometimes.
BUGFIX Stunnel can now work behind the firewall.
BUGFIX No more duel boot up messages.
ADDED Date and Time stamp to email notifications in setup.c
ADDED Date and Time stamp to email notifications in rmspingd.c
ADDED Date and Time stamp to firewall rule creation.
ADDED Ability to add interface for custom devices in device manager.
ADDED Modbus Library - libmodbus.so
ADDED Time/Date header to smtpclient.c
UPDATED password algorithm from DES to MD5, more than 8 chars may be used now. 
COSMETIC Changed time format on time setup page from 24hr notation to am/pm notation.
COSMETIC Changed layout of Relays page.
Database updated to version 9.



Download Fimage build 1807   May 08, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX Voltmeters would read random zero voltages sometimes.
ADDED Date and Time stamp to email notifications.
UPDATED RMSping Daemon to use smtp auth.
UPDATED amline.swf voltmeter graph utility. v1.5.0.0
UPDATED snmp oid .1.3.6.1.4.1.21749.3.1.2.78.x to return more fields.
COSMETIC Changed time on main page from 24hr notation to am/pm notation. 
COSMETIC Changed time format in RMSD messages from 24hr notation to am/pm notation.
COSMETIC Updated Home page. Saved a few vertical lines.
COSMETIC Updated Voltmeter Triggers. More friendly for small screens.



Download Fimage build 1797   April 21, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
BUGFIX No Longer write default SERNO and HWID into rescue block, when MAC not found. 
BUGFIX Voltmeter and Temperature Hysteresis would not execute scripts under certain conditions.
BUGFIX Alarms would not execute Alerts or Scripts under certain conditions.
BUGFIX RmsD now starts before HTTPD server for proper display on boot.
BUGFIX Use Email Authorization checkbox works in Add Mode now.
BUGFIX Precision values now 2-6 to prevent wrong values in ammeter mode.
BUGFIX Smtpclient would mix up subject/body when hit with concurrent email send requests.
ADDED Name and Mouse Over to Alarms.
ADDED Voltmeter Trigger Action Suppression for Boot up option.
ADDED Alarms Trigger Action Suppression for Boot up option.
ADDED Input Trigger Action Suppression for Boot up option.
ADDED Gxio Trigger Action Suppression for Boot up option.
ADDED Btn Trigger Action Suppression for Boot up option.
ENHANCED Load time of main page (Less database open/closes).
COSMETIC Setup/IP Activate button changed to Apply.
COSMETIC Added Cancel button to temperature page.
COSMETIC Changed layout of voltmeter graphs.
COSMETIC Changed layout of main page.
COSMETIC Changed text Amp Meter to Ammeter.
COSMETIC Changed sort order of relay scripts, changed to upper case.
UPDATED sql database to version 8.



Download Fimage build 1762   March 16, 2008

Change Log:
*Note 1: This must be a level 2 upgrade.
ADDED "PLAIN" and "LOGIN" support for smtpclient.
** setup.c **
FIXED smtp auth.
REMOVED pop3 authentication hack.
BUGFIX Email Alerts can take multiple email addresses seperated by a space.
ADDED alert confirmation POST support.
ADDED script confirmation POST support.
BUGFIX Device Manager segfaulted when refreshing page.
BUGFIX Unused Camera Init String contained weird characters.
** rmsd.c **
REMOVED pop3 authentication.
** relays.c **
ADDED Confirmation to delete and execute relay scripts.
ADDED Relay tool tips to relay script execute and delete buttons.
** voltmeters.c ** and ** temperature.c **
ADDED adjustment check (must not be zero).
ADDED Hysteresis Trigger range.
**webif.c**
BUGFIX triggers2 function caused voltmeters and temperature page to look weird.
**experimental**
ADDED swf graphs to voltmeters.
**general**
W3C HTML fix ups.
KERNEL recompiled with optimized Watchdog support.
UPDATED sql database to version 7.



Download Fimage build 1734   December 29, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
BugFix uSNMP HWID oid.
BugFix Cron startup ID.
Added NTP Client. Replaced RDATE as main time sync program. More servers etc. RFC 1305
Added email authentication. (uses pop3 auth hack for now).
Added UDHCPC Client support, board can obtain IP by dhcp.
Updated rmsrelay program, it now supports relay daughterboard commands.
Updated stunnel.pem file.
Updated sql database to version 6.



Download Fimage build 1686   November 18, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
BugFix Setup.c When using reboot icon, board lost first digit of ip address.
BugFix rmsgpsmond now detects when serial communications goes quiet and resets the serial port.
BugFix Email Notifications crashed on some email addresses entered.



Download Fimage build 1672   October 22, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
BugFix enviroment PATH now includes /usr/local/bin and /usr/local/sbin.
Database upgraded to Version 5.
BugFix File srms.db.old gets deleted after gzipping.
** voltmeters.c **
Added ability to run file with triggers.
** temperature.c **
Added ability to run file with triggers.
** io.c **
Added ability to run file with triggers.
** ping_targets.c **
Added ability to run file with triggers.



Download Fimage build 1663   October 1, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
LINUX KERNEL UPGRADE from 2.6.15 to 2.6.19
Updated core utilities.
Improved USB support.
Support for more gadgets.



Download Fimage build 1360   August 20, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
*New Mib file created in the download section.
** Changes to uSNMPD **
Added double digit varbind lengths. 
Added milliamp oid 1.3.6.1.4.1.21749.3.1.2.54.x
Added amp oid 1.3.6.1.4.1.21749.3.1.2.55.x
Added millivolt oid 1.3.6.1.4.1.21749.3.1.2.56.x
Added volt oid 1.3.6.1.4.1.21749.3.1.2.57.x
Changed oid 1.3.6.1.4.1.21749.3.1.2.73.1 to RW from RO
Added Linux Version Info 1.3.6.1.4.1.21749.3.1.2.1.1.3
Added VMsettings oid 1.3.6.1.4.1.21749.3.1.2.78.x
Added VMprecision oid 1.3.6.1.4.1.21749.3.1.2.79.x
Added VMadjustment oid 1.3.6.1.4.1.21749.3.1.2.80.x

** Changes to librms.c **
Added functions to seek and destroy alerts or scripts referenced by voltmeters,temperature,io,and ping_targets when
	-alerts or scripts have been deleted. 
Added functions for VMsettings, VMprecision, VMadjustment
	
** Changes to setup.c **
Added relay confirmation tool tips.

** Changes to ios.c **
Added Refresh button to Alarms, Inputs, GXIO's and Buttons

** Changes to webif.c **
Added functions to seek and destroy alerts or scripts referenced by voltmeters,temperature,io,and ping_targets when
	-alerts or scripts have been deleted. 
Added function to restart SRMS specific daemons. (RmsD,RMSpingD,UsnmpD)

** Changes to winclient **
Finished Voltmeter 1 - 8 setup dialogs.
Fixed Emal Alert bug (fields mixed up).
Added support for Relay Daughter Board commands.
Added placeholders for upcomming functions.



Download Fimage build 1356   July 2, 2007

Change Log:
*Note 1: This must be a level 2 upgrade.
**Data Base Changes**
Added table relayconf
Edit table rdb (changed text "Relay 1" to "Not Named")
Edit table relay_script_cmds (New format to allow double didgit cmd numbers)
CREATE TABLE relay_script_cmds ( actual, name, sep, state, command );
added Relay Daughter Board Command Support
Edit table io_script_cmds
New format to allow double digit cmd numbers
CREATE TABLE io_script_cmds ( actual, name, sep, state, command);
CREATE TABLE relayconf (confirmation);
**Changes to RmsScript.c**
Added support for Relay Daughter Board commands.
Fixed bug database not being closed.
Fixed 4k variable.
Changed script names to 25 chars.
**Changes to Relays.c**
Added relay script control to main relay overview page.
Added relay control confirmaion javascript.
Added Refresh button.
Added functionality for Relay Daughter Boards to create/edit/run Relay Scripts.
Added ability to change Relay NC/NO function text (On/Off, Energized/De-Energized etc)
Added better use of Relay Name.
Added custom javascript tooltip help box.
Changed notes box size to something more realistic.
Changed script names to 25 chars.
**Changes to Webif.c**
Added ok_cancel4 function, last arg allows horizontal position of buttons.
Added functionality for double character relay script commands.
Added JavaScript reference in StartFooter function call.
Added function to restart services listed in the service manager table when the ip and admin info changes.
**Changes to ios.c**
Changed i/o names to 25 chars.
Added tooltips and names to I/O page.
**Changes to setup.c**
Add unlink command for temporary files.
Added /etc/hosts updated with new ip info.
**Changes to rmstimerd.c**
Removed 10 timers (saved 1k ram)
Removed several unused vars (saved 2k ram)
Adjusted 2 large buffers to a more reasonable size (saved 7k ram)
Adjusted data base for 15 timers instead of 25 timers
**Changes to rmspingd.c**
Removed several unused vars (saved 1k ram)
**General updates**
Cosmetic touches to various pages.
ADDED Device Manager to setup page.
ADDED alpha version SRMS Windows Client utility.



Download Fimage build 1283   September 24, 2006

Change Log:
*Note 1: This must be a level 2 upgrade.
*Note 2: This last upgrade was rather extensive, some symbolic links got broken.

To fix these links after upgrading to firmware 1283, telnet, ssh, or use the web based cli to run the following two commands.

Command 1:    rm /etc/rc3.d/S49crond && ln -s /etc/init.d/crond /etc/rc3.d/S93crond
Command 2:    ln -s /etc/webif/srms.db /usr/local/webif

The above fixes will be included in the next firmware release.

LINUX KERNEL UPGRADE from 2.6.12 to 2.6.15

Changed KERNEL console debugging behaviour.
 -Hold button 3 down for approx 10 seconds when turning SRMS on to enable kernel debug output on the serial port.
Factory default procedure with bootup button press has changed to adapt to the new method of having a larger read/write partition
including the directories /usr/local/* and /etc/* instead of just /etc/*
 -The old method was to make an image of ALL files in the read/write partition and store it in the read-only partition.
 -The new method will just extract new/default files over top of the config files in /etc
 -/etc directory now contains ONLY config files and webif database (as it should be)
 -Edited top level Makefile to not install jimage, and to make etc.tar.gz of /etc*
 -Edited /packages/initscripts/factorydefault-R2_1_1/rc.factorydefault script to extract tarball
 -Edited /packages/initscripts/fsupgrade-jffs2-network-only from top level Makefile.
 -Edited /packages/initscripts/common/linuxrc to make sure /mnt/flash is mounted before
  trying to restore factory defaults etc.tar.gz. 
Web interface cgi's and supporting files moved from /etc/httpd/html/webif to /usr/local/webif
 -boa.conf changed 'DocumentRoot /usr/local/webif'
 -spca5xx/fox makefile changed to put the java camera viewer in the new directory
Upgraded ppp to 2.4.4 from 2.4.3b3. +13k (Now at 200k for pppd, 14k for chat)
 -now installs pppd and chat to /usr/local/sbin (a read/write area)
 -symlinks to /usr/sbin for backwards compatibility
Added package lrzsz for terminal xmodem and ymodem send and recieve support. (98k Approx) /usr/local/bin

Added package bnd-init in apps/bnd/bnd-init
 -"autoexec.bat" type of file. Starts after all other bootup scripts are complete
 -IPTables init happens in here .. Previously there was no initscript for the firewall.
Edited /home/bnd/axis2/devboard-R2_01/Makefile
 -Commented out the installation of: hwtest hwtestrtc hwtestserial gdbserver (89k Saved).
Edited /home/bnd/axis2/devboard-R2_01/apps/iptables/Makefile
 -Commented out the installation if iptables-retore and iptables-save (82k Saved).
Working towards having more packages that will be frequently updated into the read/write partition.
 -read-only cramfs partition changed to a smaller size 0x2d0000 to 0x1e0000
 -read-write jffs2 partition changed to a larger size 0x120000 to 0x210000
Fixed Bug in lm75.c kernel module (temp sensor) which reported bad values when below 0 degrees celcius.

Introduction of new RMSLIB package, a new shared library in /usr/local/lib (14k)
 -USE #include "librms.h" and link with -lrms
Moved jcam from apps/bnd/spca5xxLE/fox* to apps/bnd/webif/jcam
 -index.html file now describes frameset layout for relay control on left and jcam viewer on right.
 -uses new rmslib
Updated voltmeters.c to show millivolts as well as volts.
920K Free in this release.



Download Fimage build 1180   July 12, 2006

Change Log:
*Note 1: This must be a level 2 upgrade.
Fixed leftover debugging in /etc/snmpd/rmsv2.sh script
Updated fileup.cgi is renamed to db_upgrade.cgi.
Updated database upgraded to version 3.
  - added rdb tables to upgrade script and srms.sql
Added relay daughter board kernel driver.
Added relay daughter board web interface under relays.
Added micro push button 1, 2, and 3 support in i/o page.
Added mgetty modem support program.



Download Fimage build 1143   June 12, 2006

Change Log:
*Note 1: This must be a level 2 upgrade.
Fixed buffer overflow in delete_pid of rms.d
Fixed bug in webif.c (two missing fclose statements).
Fixed more tool tips and button help.
Added form_ok_cancel3 in webif.c.
Added refresh button to Voltmeter pages.
Added ability to upgrade/import database. Database to import must at least have a version number



Download Fimage build 1137   May 6, 2006

Change Log:
*Note 1: This must be a level 2 upgrade.
*Note 2: This firmware upgrade has special instructions on how to retain the current ip address after a successful firmware upgrade.

Added the ability to retain the current ip address after a successful firmware upgrade.
Fixed the length of the textboxes on the contact information and general setup pages.
Added refresh button to temperature page.
Added temperature adjustment variable to database, temperature.c, rmsd.c
	NOTE:
 	Adjustment has to made using the Celsius scale.
 	If SRMS reports the board temperature as 30 Celsius, but your external digital temperature sensor reads 25 Celsius,
 	then the adjustment is like this:
  	adjustment   =   real_Celsius   /   board_Celsius
  	adjustment = 30 / 25
  	adjustment = 0.83
Fixed remote syslog example.
Added command to HUP syslogd to enable remote syslog ability. in start() of /etc/init.d/net.eth0.
Changed setup.c edited doit_cli increased command size from 99 to 149.
*Note : The database format changed, do not upload an old database to the SRMS board! You must retype your alerts, scripts etc. for now. The next firmware revision should take care of this annoyance.



Download Fimage build 1098   April 9, 2006

Change Log:
*Note: This must be a level 2 upgrade.
Bug fixes in RMSD for flap time and alerts.
Large portions of RMSD got a re-write, more streamlined.
Alerts a bit more descriptive, stamped with appropriate variables.
Alerts duplicated in RMSD.log
Added current input state for alarms in ios.c
Added current input state for gp inputs in ios.c
Added more tool tips in setup.c
Added more tool tips in webif.c
Added more tool tips in ios.c



Download Fimage build 1090   March 8, 2006

Change Log:
*Note: This must be a level 2 upgrade.
Added changelog for sql database, preliminary support for 1 file config solution.
Added new fields to sql database.
Finished database backup and restore page.
Fixed Voltmeters Gauge ranging bug.
Fixed Relay 2 & 3 names mixed up.
Updated rmsv2.sh snmp handler to support millivolt readings for MRTG.
eeprom.c, lm75.c, matrox_lcd.c, i2c.c changes to help control concurrent access to i2c bus.



Download Fimage build 1081   February 7, 2006

Change Log:
*Note: This must be a level 2 upgrade.
-RMSD more high/low threshhold check bugs for alarms and voltmeters.
-Cosmetic fixes / changes for alert and script chooser from within voltmeter, temp, io pages.
-Added more detailed notifications.
-Fixed ampmeter mode notification.
-Added rmssms preliminary support (Beta), SMS via GSM Modem.
-Added new libcgic.so.
-Re-enabled Matrox Orbital LCD kernel driver.
-DHCP Server added for the U.S. Navy.
-Removed left over debugging /tmp/uuu file.
-Performance enhancements (removing system calls).
-Added apps/bnd/spca5xxLE Package.
- Supports 83 jpeg webcams ( http://mxhaard.free.fr/spca5xx.html ).
- Includes java web based client at /jcam.
- includes new daemon servfox. not enabled by default.
- patched kernel source to include spca5xxxLE driver.
-Tested DLink usb wireless adapter successfully.
-Changed packages/filesystem Makefile, moved /usr/lib and /usr/local to RW partition.
-Changed all apps/bnd/* makefiles to install to /usr/local/[sbin,bin,lib].
-Updated boa.cgi CHANGED cgi path to /usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin.
-Updated packages/shell/ash/profile/common-R1_0_2.
-Added /usr/local/[sbin,bin] to shell path.
-Added aliases for l ll and la.
-Updated paths to RMS* daemons in rc/init files.
-All libs to /usr/local/lib.
-All progs to /usr/local/bin.
-All daemons to /usr/local/sbin.
-RMSD fixed low threshhold check.
-Changed /home/bnd/axis2/devboard-R2_01/packages/apps/vftpd/vftpd.conf.
-Added virtual target rms_update -m FTP.
-Added modem icon to Devices.
-Rearrange setup icons in web interface.
-Added Preliminary SMS message notification support.
-Added CDC_ACM generic modem driver for USB modems.
-Fixed voltmeter hi and low triggers when in amp meter mode.



Download Fimage build 1037   December 9, 2005

Change Log:
*Note: This must be a level 2 upgrade.
-Fixed broken password change from web interface.



Download Fimage build 1036   December 7, 2005

Change Log:
*Note: This must be a level 2 upgrade.
-Fixed ammeter option bug in voltmeters.cgi.
-Added rmsled program. (a utility to control the leds on the SRMS board)
-Added led flash sequence to factory default button press. (rc.factorydefault)
-Added led flash sequence to firmware upgrade. (preflashupgrade)
-Removed led flash sequence from rmstimer daemon startup.
-Removed led flash sequence from rmsping daemon startup.



Download Fimage build 1032   November 30, 2005

Change Log:
*Note: This must be a level 2 upgrade.
-Fixed devboard-R2_01/apps/utelnetd/utelnetd.c added Windows Dos telnet support
-RW-CHANGED - srms.sql
-Changed read/write Partition size from 0x0d0000 to 0x150000 (832k to 1.344Mb)
-Added adc shunt mode option
-Changed RMSD now writes raw values to /var/rmsdata/vm[1-8]
-Fixed voltmeter precision handling
-Added form_apply_ok_cancel used in voltmeter setup to libwebif
-Changed initscripts/fsupgrade-jffs2-network-only/rc.fsupgrade removed set_led references
-Changed initscripts/factorydefault/rc.factorydefault removed set_led references
-Changed initscripts/mac/rc removed set_led references
-Added LDFLAGS += -L. to webif Makefile
-Changed rdate rc file - commented out 'enabled' support. Use svc_mgr rc links instead
-Fixed setup.c rdate sed command to update timeserver in rc file
-RW-CHANGED - srms.sql
-Changed vm_setup adjust textbox formatted to 9.9999
-Removed leftover Hi and Lo trigger values from tempurature.cgi
-Removed leftover enabled checkbox database values from voltmeters.cgi
-RW-CHANGED - srms.sql
-Fixed When saving in io_setup, all io types for that # were incorrectly updated
-Removed stunnel - too slow
-Fixed setup.cgi -> cli page cancel button now works again
-Fixed voltmeters.cgi hi and lo enabled checkboxes were not being saved
-Changed v_overview adjust value formating to 9.9999
-Fixed v_overview spelling mistake 'gauge'



Fimage 01   (Initial Release)

This is the initial release of the SRMS firmware. Basic functionality of the board has been achieved and tested.

Some of the features included in Fimage 01 are:
Linux 2.6.12 kernel, SQLlite, Telnet, Boa Http Server, SSH, FTP, Cron, BusyBox, PPP, SNMP Agent.

USB drivers installed and tested with the following devices:
Model 75052 4 port USB Hub.
Realtek 8150 USB to ethernet converter.
No Name Brand USB to Serial converter.
Encore USB Speakers (played arnie whoareyou.wav)
Generic USB 512 Meg Memory Stick