Viola Systems Ltd. Lemminkäisenkatu 14-18B FIN-20520, Turku Finland tel +358-(0)201-226 226 fax +358-(0)201-226 220 e-mail support@violasystems.com APPLICATION NOTE VA-09-5-2 UPGRADING THE ARCTIC FIRMWARE Version history: 2.0 Updated to match newer SW/FW versions 1.0 Released - JaL Date: Oct-29-2009 Version: 2.0 Author: LaH © 2009 VIOLA SYSTEMS LTD. WWW.VIOLASYSTEMS.
Copyright and Trademarks Copyright 2009, Viola Systems Ltd. All rights to this document are owned solely by Viola Systems Ltd. All rights reserved. No part of this document may be transmitted or reproduced in any form or by any means without a prior written permission from Viola Systems. Ethernet™ is a trademark of Xerox Corporation. Windows™, Windows XP™ and Internet Explorer™ are trademarks of Microsoft Corporation. Netscape™ is a trademark of Netscape Communications Corporation.
Table of contents TABLE OF CONTENTS .........................................................................................................................................3 1. GENERAL ..............................................................................................................................................................4 1.1. PURPOSE .........................................................................................................................................................
1. General 1.1. Purpose This document describes how to upgrade the firmware of certain Arctic products. See the next chapter for applicable products. Note: • Don’t begin upgrading a firmware without first verifying the procedure and file versions from Viola Systems Ltd. Technical Support (abbreviated later in this document as Technical Support). 1.2. Summary The Arctics that share the same architectural platform can be upgraded with very similar instructions.
1.3. Target audience The target audience for this document is: • • Field engineers Customers' technical personnel 1.4. Conventions The following conventions may be used in this document: • • • • • The menu items in graphical user interfaces are denoted as bolded italic font and the sequence of mouse clicks, while configuring the devices in menus is separated with an arrow. Example: “Click Tools Æ System log”.
3.1.2. Arctic Gateway The Arctic Gateway products have two serial ports; one for console or application (selectable with a switch) and one for application use only. The “application” use may be for transparent serial protocols (Arctic GPRS Gateway) or for some special protocol (Arctic IEC-104 Gateway). 3.2. Firmware images Depending on the case, you will need either kernel or root filesystem file image, or both. Usually the files are delivered by Technical Support with MD5 checksums.
3.3. Connecting the equipment 1. Verify that the power switch of Arctic is in “OFF” position. 2. Connect the power supply and Serial cable to the Arctic as shown in the picture below. 3. Connect the serial cable to a computer and verify that Arctic’s power supply is connected to proper voltage outlet. 4. Connect an Ethernet crossover cable between the Ethernet interface of the Arctic and the Ethernet interface of the computer 5.
3.5. Configuring the environment 1. If you’re using PuTTY, start by clicking the Serial button and change the Speed from "9600" to "19200". 2. The Serial line should match the serial port where the null modem cable is connected to your computer; typically it is "COM1". You may wish to check which serial (COM) ports are in use. In Windows XP, go to Control panel Æ System Æ Hardware Æ Device Manager Æ Ports (COM&LPT) and check which “COM” ports are available, if any.
5. Power on the Arctic. Log in as root user and type reboot at the command line, then right away press continuously any key, e.g. “Enter” in order to interrupt the boot sequence of Arctic. See the sequence below: # reboot (Start pressing “Enter key”) Restarting system. PPCBoot 1.1.6 (Apr 14 2005 - 18:44:18) Viola Systems Arctic Board CPU: MOTOROLA Coldfire MCF5272 Board: Viola Systems Oy Arctic Board http://www.violasystems.
ipaddr=10.10.10.10 7. If the IP address information in step 6 is correct (i.e. matches your Arctic configuration) then proceed to chapter 3.6. If not, follow the instructions on next chapter. 3.5.1. Changing the Arctic’s IP address if needed Arctic network setting can be changed by changing the following parameters: • • • ipaddr (IP address of Arctic device, default is 10.10.10.10) netmask (Netmask used by Arctic device, default 255.0.0.
arctic> saveenv Saving Enviroment to EEPROM... arctic> boot 3.6. Configuring the TFTP-server Change first the IP address of your computer to 10.0.0.1, netmask 255.0.0.0 and default gateway 10.10.10.10. In Windows XP, command ipconfig /all can be used to check the IP settings in command line. The following instructions provide details on how to change the IP address in Windows XP. In case of other operating system, follow the OS-specific instructions. 1. Click "start" button: 2.
Choose the LAN interface where the LAN cable is connected to. 5. Click the correct LAN interface icon with mouse's right button and click "Properties" from the list. You will see the following screen of LAN properties. 6. Scroll down the "This connection uses the following items" list to see the "Internet Protocol (TCP/IP)". Click the "Internet Protocol (TCP/IP)" in order to make it active and click "Properties".
7. Set the values as follows: IP address as 10.0.0.1, netmask as 255.0.0.0 and default gateway as 10.10.10.10. This way your computer is belonging to the same network as the Arctic. 8. Verify that you are offering the kernel and root filesystem images with TFTP server. Start the TFTP server and click the Browse button, then select the directory you want to share with TFTP. You may have to grant the privileges for TFTP server to work as server, depending on your virus detection software suite.
3.7.1. Kernel upgrade 1. Download the kernel file using TFTP to Arctic. In arctic> prompt, enter the following command: tftp 20000 Replace the with the actual filename of the kernel file, e.g. linux.501. If you encounter timeouts in transfer, re-check the cabling and IP settings in Arctic and in PC. 2. After successful TFTP-transfer, erase the Arctic flash using the following commands: protect off ff820000 ffffffff erase ff820000 ffffffff 3.
The SSH keys can be generated by issuing the following command in Arctics command line (do not interrupt the boot but instead let the Arctic boot up completely and login as root user either via serial console or telnet session and execute the command below): genkeys.sh The key generation will take some minutes. Now the firmware upgrade is completed.