Solvline Eddy User Manual

Page 1

Eddy

Upgrade Guide
This manual is not Eddy user guide, but this is firmware upgrade manual. If you have Eddy 2.1a version or below version , you should use this manual. If you have Eddy 2.1b version or upper version, you don't need to read this manual, but read Eddy user guide.
Ver 2.1c
1
Page 2
Revision History
Revision Date Document Version Pages Description
May, 30, 2008 2.1c All Initial release by shlee
July , 1, 2008 2.20 Chapter 2 firmware upgrade to V2.20
2
Page 3
Table of Contents
Chapter 1. Firmware Version Release Note...................................... 4
1.1 Firmware version informations ...................................... 4
1.1.1 Firmware Version Format ................................................... 4
1.1.2 Eddy File System ( Eddy-fs-YYY.bin) ....................................... 4
1.1.3 Lemonix O/S ( Eddy-os-YYY.bin) ............................................ 5
1.1.4 BootLoader ( Eddy-bl-YYY.bin) ............................................. 6
1.1.5 BootStrap( Eddy-bs-YYY.bin) ............................................... 6
1.1.6 Config Infomation File ( Eddy-cf-YYY.bin) ................................. 6
Chapter 2. Upgrade Guide...................................................... 7
2.1 Installing TFTP in Linux environment ................................ 11
2.2 Hardware Install and Recovery ..................................... 12
3
Page 4

Chapter 1. Firmware Version Release Note

1.1 Firmware version informations

1.1.1 Firmware Version Format

Version has the following format
AAAA_XX_YYY.bin
"AAAA" : Product Name "XX" : Images Type (bl=BootLoader, bs=BootStrap, os=Kernel, fs=File System , cf=Eddy Confi g) "YY" : Version Number
Eddy has five parts of Images, this is those Images Version imform ations.
Download in Eddy community ( www .embeddedm odule.com , ftp site ftp://210.101.168.120/pub/Eddy-2.x_Downloads/Software/Firmware_Images/ )

1.1.2 Eddy File System ( Eddy-fs-YYY.bin)

Filesystem is firmware image file that has Eddy's application and libraries. If you know about the Filesystem Versin Info., check the Eddy web page(summ ery page).
Ver 220 (2008.July.1) (eddy-fs-220.bin 파일)
z SNMP V1/2/3 Functions is added. z Firmware Version is displayed in login web page..
Ver 21b (2008.Apr.24) (eddy-fs-21b.b i n Fil e)
z The firmware upgrade program was changed , because Eddy-CPU(8M), 8Mbyte flash version, was added
and upgrade program can upgrade the bootstrap of Eddy.
z If you want to upgrade this firmware, you should upgrade firmware made later than Eddy-os-21b.bin . z This firmware has all functions that former Eddy-fs-21a.bin firmware has.
Ver 21a (2008.Apr.11) (eddy-fs-21a.bin File)
z This version has Eddy-S2M/PIN product functions. Specially pinetd.c and web source was changed. and
SDcard function was added.
z If you want to upgrade this firmware, you should upgrade Eddy-os-21a.only bin that you can use. z This firmware has all functions that former Eddy-fs-20c.bin firmware has.
4
Page 5
Ver 20c (2008.feb.08) (eddy-fs-20c.bin File)
z This is bug fix release. Bug was that username can not be chaged in Eddy web page. z you can use this firmware with eddy-os-20c.bin z This firmware has all functions that former Eddy-fs-20b.bin firmware has.
Ver 20b (2008.Jan.01) (eddy-fs-20b.bin File)
z This is bug fix release. when tcp_client mode was operated, Eddy connect to tcp_server too fast. So this
network became overworked.
z you can use this firmware with eddy-os-20c.bin z This firmware has all functions that former Eddy-fs-20a.bin firmware has.
Ver 20a (2007.Nov.06) (eddy-fs-20a.bin File)
z First Version
, eddy-os-20b.bin, eddy-os-20a.bin versions.
, eddy-os-20b.bin, eddy-os-20a.bin versions.

1.1.3 Lemonix O/S ( Eddy-os-YYY.bin)

Lemonix O/S is Eddy Kernel(linux-2.6.21-rt) that has device driver , schedulers etc. In order to check your kernel version, check " Lemonix Kerne l Ve rsion " in t he summary of Eddy we b page.
Ver 220 (2008.July.1) (eddy-os-220.bin)
z Eddy-S1/DB9-C board is changed. because RS485 mode didn't support the Auto toggle functions
And Kernel is changed to spport the New Eddy-S1/DB9-C board.
z eddy-bs-21c.bin
firmware is installed.
Ver 21c (2008.May.23) (eddy-os-21c.bin)
z Watchdog function is added. z eddy-bs-21c.bin
firmware is installed.
Ver 21b (2008. Apr. 24) (eddy-os-21b.bin File)
z Eddy-CPU(8M), 8Mbyte flash version, product is added. you can use this firmware with Eddy-
CPU(4M),4Mbyte flash version.
z Flash memory partion is relocated. for this, bootloader was changed. z eddy-bs-21c.bin
firmware is installed. .
Ver 21a (2008.Apr.11) (eddy-os-21a.bin File)
z USB Host Device Driver was activated to use USB storage device. z MMC (Multi Media Card) Device Driver was activated to use MMC,SC card devices. z Eddy-S2M/PIN product was added. z eddy-bs-21c.bin
firmware is installed.
Ver 20c (2008.Mar.10) (eddy-os-20c.bin File)
z System rebooting bug was fixed.
Ver 20b (2007.Dec.28) (eddy-os-20b.bin File)
z I2C driver was activated.
Ver 20a (2007.Nov.06) (eddy-os-20a.bin File)
z First Version
, eddy-bl-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version
, eddy-bl-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version
, eddy-bl-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version
, eddy-bl-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version
5
Page 6

1.1.4 BootLoader ( Eddy-bl-YYY.bin)

Ver 21c (2008.May.23) (eddy-bl-21c.bin)
z Watchdog function is added. z eddy-os-21c.bin
firmware is installed.
Ver 21b (2008.Apr.24) ( eddy-bl-21b.bin File)
z Eddy-S2M/PIN product was added. z eddy-os-21c.bin
firmware is installed.
Ver 21a (2008.Apr.11) (eddy-bl-21a.bin File)
z Boot environment is changed because Kernel Size is bigger than before z This version is only compatible with the eddy-os-21a.bin firmware.
Ver 20a (2007. Nov. 06) (eddy-bl-20a.bin)
z First Version
, eddy-bs-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version
, eddy-bs-21c.bin, eddy-fs-21b.bin is intalled for using this firmware or later version

1.1.5 BootStrap( Eddy-bs-YYY.bin)

Ver 21c (2008.May.23) (eddy-bs-21c.bin)
z Watchdog timer function is added. z This version is compatible with eddy-os-21c.bin
Ver 20d (2008.Apr.24) (eddy-bs-20d.bin)
z this is bug fix release. Booting delay and Booting failure problem was fixed. z All version is compatible with this firmware but if you want to use watchdog timer function, you should
use the eddy-bs-21c.bin firmware
Ver 20c (2008.Apr.11) (eddy-bs-20c.bin)
z Chattering bug fixed. z All version is compatible with this firmware but if you want to use watchdog timer function, you should
use the eddy-bs-21c.bin firmware
Ver 20b (2008. Jan. 31) (eddy-bs-20b.bin)
z bootting failure bug is fixed z All version is compatible with this firmware but if you want to use watchdog timer function, you should
use the eddy-bs-21c.bin firmware
Ver 20a (2007.Nov.06) (eddy-bs-20a.bin)
z First Version
, eddy-bl-21c.bin, eddy-fs-21b.bin

1.1.6 Config Infomation File ( Eddy-cf-YYY.bin)

Ver 21c (2007. Nov. 06) (eddy-cf-21c.bin)
z First Version
6
Page 7

Chapter 2. Upgrade Guide

This manual is not Eddy user guide, but this is firmware upgrade manual. If you have Eddy 2.1a version or below version , you should use this manual. If you have Eddy 2.1b version or upper version, you don't need to read this manual, but read Eddy user guide.
Latest firmware :
eddy-bs-21c.bin ( Boot _strap Versio n 2.1c) eddy-bl-21c.bin (Boot_loade r Versio n 2.1c) eddy-os-220.bin (Lemonix Kern el Version 2. 1c) eddy-fs-220.bin (Firmware V ersion 2.1b) eddy-cf-21c.bin ( Configuration Version 2. 1c)
This documentation is made with latest firmware.
In order to find ths your Eddy ve rsion, you can check eddy web page"Firm ware Ve rsion".
For upgrading, change the IP address, gateway , netm ask of your host PC. IP address : 192.168.0. 220 gateway : 192.168.0.1 netmask : 255.255.255.0
Tftp-server is intalled in your host PC for upgrading firmware
If you use windows OS, read the below documentation.
http://www.weird-solutions.com/
In order to download the tftp-serve r program . refer the web site above. And intall program wit h below doc umentat ion.
7
Page 8
8
Page 9
9
Page 10
default download folder linux OS : /tftpboot , windows OS : see the upper picture. (example : C:\eddy 2.x firmware)
Cautions
Do not use another commands without below document mentioned. Do not use another commands without below document mentioned.
10
Page 11
2.1 Installing TFTP in Linux environment
The following explains how to r ecover system with bootloa der in Fedora c ore 5 operatin g system . If you are using other operating system, you will need tftp-server and xinetd daemon compatible with that operating system. First check to make sure tftp-server is installed. If you don’t install tftp-server, you should install. After install tftp-server , m ove provided firm ware (firmware folder in SDK folder) to tftp boot folder(usually /tftpboot folder in Fedora core 5).
11
Page 12

2.2 Hardware Install and Recovery

Connect LAN port of computer and that of D K board usi ng LAN cabl e. Connect debug port and computer’s serial cable using serial cross cable and use minicom to connect to computer’s serial port. C onfigure com puter’ s serial po rt setting to 1 15200 bps, 8 data bit, No parity, 1 stop bit and power on Eddy D K.
E t h e r n e t
Serial Cross Cable
115200 bps, Parity None,
1 Stop Bits, 8 Data Bits
TFTP Server
Eddy DK
After power on the following messages will be printed to minicom. When these are printed, press enter to enter into bootloader. The below image shows status after entering bootloader.
U-Boot 1.2.0 (Oct 3 2007 - 17:07:46)
DRAM: 32 MB SST : 39VF3201 Flash: 4 MB In: serial Out: serial Err: serial End of Autonegotiation Hit any key to stop autoboot: 0 U-Boot>
You can recover by copying OS, fi rmware, and c onfig im age to flash m emory in boot loader. T o upgra de OS, firm ware, and c onfig im age fil e, you have t o confi gure Eddy’s virtual IP addres s and TFTP server’s IP address in bootloader. You can use “printenv” command to check the current configuration of Eddy and TFTP server’s IP address configured in bootloader.
.
12
Page 13
y
U-Boot> printenv Bootstrap_FLASH=0x10000000 bootloader_FLASH=0x10002000 BootEnv_FLASH=0x10001000 OS_FLASH=0x1001E000 FileSystem_FLASH=0x1012E000 Config_FLASH=0x103AE000 Bootstrap_END=0x10000FFF bootloader_END=0x1001DFFF BootEnv_END=0x10001FFF OS_END=0x1012DFFF FileSystem_END=0x103ADFFF Config_END=0x103FFFFF Download_SDRAM=0x20000000 OS_SDRAM=0x20000000 FileSystem_SDRAM=0x20500000 Bootstrap_Version=20a bootloader_Version=20a OS_Version=20a FileSystem_Version=20a Config_Version=20a bootargs=root=/dev/ram rw console=ttyS0,115200,mem=32M bootcmd=cp.b ${OS_FLASH} ${OS_SDRAM} 0x110000; cp.b ${FileSystem_FLASH} ${FileSystem_SDRAM} 0x280000; bootm ${OS_SDRAM} ${FileSystem_SDRAM} bootdelay=1 baudrate=115200 ethaddr=00:05:F4:11:22:33 Config_Size=10000 stdin=serial stdout=serial stderr=serial OS_Size==20000000 filesize=1f0f07 fileaddr=20000000 netmask=255.255.255.0 ipaddr=192.168.0.223 serverip=192.168.0.220 FileS
stem Size=0
13
Page 14
U-Boot 1.2.0 (Apr 3 2008 - 09:56:10)
DRAM: 32 MB SST : 39VF3201 Flash: 4 MB In: serial Out: serial Err: serial End of Autonegotiation Hit any key to stop autoboot: 0 U-Boot>
U-Boot> setenv serverip 192.168.0.220
Setting IP address of host computer that tftp server is installed by user is this part. In other word, after setting ip of server by 192.168.0.220, gateway :192.168.0.1, netmask : 255.255.255.0, user will connect with computer directly by offered LAN cable and eddy. If user changed ip information, it goes to default state by "defenv" order.
U-Boot> U-Boot> U-Boot> saveenv
Å S tore t he informati on that has bee n set.
Saving Environment to Flash... Un-Protected 1 sectors Erasing Flash...Erasing sector .done Erased 1 sectors
Writing to Flash... .done
Protected 1 sectors U-Boot> install bootstrap eddy -bs-21c.bin
eddy-bs-21c.bin will be downloaded from default download folder to eddy to start restoration through upper order.
Please check twice the firmware name.
TFTP from server 192.168.0.220; our IP address is 192.168.0.223 Filename 'eddy-bs-21c.bi n'. Load address: 0x20000000 Loading: T # done Bytes transferred = 2032 (7f0 hex) Erasing sector .done Erased 1 sectors
Copy to Flash... .done
Un-Protected 1 sectors Erasing Flash...Erasing sector .done Erased 1 sectors
Writing to Flash... .done
Protected 1 sectors U-Boot> install bootloader eddy-bl-21c.bin
. eddy-bl-21c.bin will be downloaded from default download folder to eddy to start restoration through upper order.
Please check twice the firmware name.
TFTP from server 192.168.0.220; our IP address is 192.168.0.223
14
Page 15
Filename 'eddy-bl- 21c.bin' . Load address: 0x20000000 Loading: checksum bad checksum bad T ##################### done Bytes transferred = 1051 1 2 (19a98 he x)
Erasing sector ........................... .done
Erased 28 sectors
Copy to Flash... .done
Un-Protected 1 sectors Erasing Flash...Erasing sector .done Erased 1 sectors
Writing to Flash... .done
Protected 1 sectors
Now steer power OFF Æ ON. In the time of booting, press enter key to access boot loader.
U-Boot> defenv
Through upper order new configuration value is set from new boot loader.
U-Boot> install os eddy-os-22 0.bin
eddy-os-220.bin will be downloaded from default download folder to eddy to start restoration through upper order.
TFTP from server 192.168.0.220; our IP address is 192.168.0.223 Filename 'eddy-os-220 .bin'. Load address: 0x20000000 Loading: T ######################################################## ######################################################## ######################################################## ############################################## done Bytes transferred = 1235792 (12db50 hex) Erasing
sector .................................................................................................................................................. ............... ............ ............
..................................... ............ ............... ............... ............... ............ ............... .................. ......done
Erased 330 sectors
Copy to Flash... .done
Un-Protected 1 sectors Erasing Flash...Erasing sector .done
Cautions : In this process, it will takes about two minutes. please, don't power off .
Erased 1 sectors
Writing to Flash... .done
Protected 1 sectors
U-Boot> install fs eddy-fs-220.bin
eddy-fs-220.bin will be downloaded from default download folder to eddy to start restoration through upper order.
TFTP from server 192.168.0.220; our IP address is 192.168.0.223 Filename 'eddy-fs-220 .bin'. Load address: 0x20000000 Loading: ########################################################
15
Page 16
######################################################## ######################################################## ######################################################## ######################################################## ######################################################## ######################################################## ############# done Bytes transferred = 2397630 (2495be hex) Erasing
sector .................................................................................................................................................. ............... ............ ............
..................................... ............ ............... ............... ............... ............ ............... .................. ............... ............... ............ ...............
..................................... ............ ............... ............... ............... ............ ............... .................. ............... ............... ............ ...............
..................................... ............ .............. done
Erased 640 sectors
Copy to Flash... .done
Un-Protected 1 sectors Erasing Flash...Erasing sector .done
Cautions : In this process, it will takes about 4 minutes. please, don't power off .
Erased 1 sectors
Writing to Flash... .done
Protected 1 sectors U-Boot>
Now restoration has been ended.
U-Boot> boot "boot" command make this system boot. Once it has been recovered, login screen is displayed. Now type in ID and password as you would access to telnet. Then register deleted Mac address. Input command for Mac address is def mac xx:xx:xx:xx:xx:xx It can be saved by def save command. Reboot after saving Mac address is printed at the label attached on top of the product. The following shows example of Mac address 00:01:02:03:04:05.
16
Page 17
Welcome to the Eddy development environment. Eddy login: eddy
Password: # def mac 00:01:02:03:04:05 # def save # def view Flash Write Successfully # def view ============< Welcome to Eddy Configuration Manager >============== BootLoader V ersion : 2.1c Kernel Version : 2.1c Fimeware Version : 2.1b
------------------------ -------- ---------- -------- ---------- ------­Device Type : Eddy-CPU Device Name : Eddy Username : eddy Password : 99999999 MAC Address : 00:01:02:03:04:05 Network Line : Static IP : : =================================================================== # reboot
- end -
17
Loading...