GW6Lin software upgrade
Jump to navigation
Jump to search
Software can be downloaded here
Before updating to new firmware read the setup from your device, and make a backup.
Firmware files explained:
- kernel_X-Y_144_154.7z - updates the kernel.
- kernel_X-Y_356.7z - updates the kernel for 256MB GW6, you dont have that device we know where it is, ignore.
- Telem-GW6_X-Y_Base.7z - single board GW6.
- Telem-GW6_X-Y_Base+Com8.7z - two board version that has no GPS board.
- Telem-GW6_X-Y_Full.7z - support for all the boards.
- Telem-GW6_X-Y_app_only.7z - updates bare minimum, that is Martem software and no additional utilities.
X is the version number, for instance 1202. Y is the version string, for instance "stable". So kernel_1202-stable_144_154.7z is the "stable" release 1202 of GW6 kernel. Telem-GW6_1203-develop-dirty_app-only.7z is the developement version 1203. "stable" means official release of the software and "develop" or other are testing versions.
Known caveats:
- If you update with Full, Base or with Base+Com8 the password file will be over written. If you changed the default passwords of the device then use app_only version of the software. app_only updates protocol code, that is IEC-104 or Spa-BUS and etc, that is code written by Martem. iptables or openvpn or any other additional utility will not be over written by the app_only release.
- If you use Base, Base+Com8 or Full update software update the kernel as well. Some utilities for instance openvpn or pppd(point to point daemon used with external modems attached to GW6) might not work otherwise.
- Configuring with GWS save or backup your configurations in tar.xz format, otherwise Linux specific and other software configuration files (openvpn, firewall, ..) will not be saved.
Loading firmware through Secure Digital (SD) Memory Card slot
Update logs
A unique folder is created on SD for every device you update.
When updating software some logs are created to check the success of update operation. Additionally some general information is collected to INFO file.
Updating firmware
- Make backup of your devices configuration!
- Connect Secure Digital (SD) Memory Card to your computer
- Extract the compressed firmware update file (provided by Martem AS) to your SD Memory Card
- Disconnect the card from your computer
- Insert the card to Telem-GW6 SD Memory Card slot
- SD Memory Card slot is located at the back of the device
- Perform reset operation to Telem-GW6 device
- Wait until the device resumes to it’s normal operation state
- Update procedure can take up to a minute.
- Firmware update is complete. Remove the SD Memory Card and check if firmfare update was successful
Checking results of the firmware update operation
- Connect the SD Memory Card to your computer
- Open the folder you extracted earlier
- When update procedure is started, a file res.txt is created.
- Look at the end of res.txt to see the location for your device update logs.
Loading firmware via SFTP
Updating firmware
- Make backup of your devices configuration!
- Connect to GW6 over SSH
- Login as ftpuser (password is provided by Martem AS)
- Extract the compressed(.7z) firmware update file (provided by Martem AS) to your computer.
- Copy gwupd folder from your computer to /home/user (/home/ftpuser) directory in GW.
- Since version 1190 all /home/user directories are scanned for update.
- Wait about 1 minute (this is unnecessary if reset is sent through the configuration program)
- Perform reset operation to Telem-GW6 device
- Wait until the device resumes to it’s normal operation state
- Firmware update is complete.
Checking results of the firmware update operation
- Open the user (ftpuser) directory
- If update fails err.txt file is created with some description of error.
- Otherwise res.txt contains information about the last update.
Loading firmware via GWS
- Make backup of your devices configuration!
- Save it to a new file
- Open Firmware Update dialog
- Press Pick and select the firmware file.
- Press Update
- Wait until firmware is updated. Green LED will start blinking again.
- Press Get Result
- Update result file is loaded from device
- Done