190 likes | 205 Views
Learn how to upgrade Samsung software using GUI and CLI methods. Access initial IP addresses, enter package versions, and execute steps for successful upgrades. Training manual for efficient software upgrades.
E N D
Distribution ED02 English OS7400 SW Installation Module No. : STM #565 August, 2006 Mail to training@samsung.com
Objectives • After successful completion of the course the trainees should be able to execute the following activities. ⓒ SAMSUNG Electronics Co.,Ltd.
Contents S/W Upgrade by GUI S/W Upgrade by CLI ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade by GUI ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • Run the Web Browser. • Access the initial IP of GWIM/GSIM/GPLIM using HTTPS. • The IP initial value of each board is as follows: • GWIM - 10.0.0.1/24(eth0), 10.0.1.1/24(eth1), 10.0.2.1/24(eth2) • GSIM – 10.0.3.1/24(rd1) • GPLIM – 10.0.4.1/24(vsd) • Note • In case of upgrading GWIM SW from v1.12 to v1.25 you should use bootloader. • Because GWIM v1.12 SW has some problem in upgrading using Web Management. • Other versions of GWIM and GSIM/GPLIM will have no problem with Web Management. ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • Login using the administrator ID and Password. (ID : admin / Password : root) ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • Select the [System → Upgrade] menu. • For the types of upgrade, there are ‘TFTP method’ and ‘File Transmission method through HTTP’ as well as Local method that uploads the user’s PC. ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • The package version to upgrade should be entered like ‘v1.24’ in the [Package Version] field. ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • For TFTP / HTTP, enter the address of the TFTP/HTTP server and click the [OK] button. • S/W Package file name : gwim-pkg-v{version_number}.tgz Enter the address of the TFTP/HTTP server ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade • For Local method, the relevant package file should be existed in the user’s PC. Click the [OK] button after selecting the file. • (In the TFTP / HTTP method, the files of the relevant version are searched automatically and downloaded, bur fot Local method, the entered version name and file name to upload should be identical. If Package Version is 'v1.24', the file name is ‘gwim-pkg-v1.24.tgz'. ) ⓒ SAMSUNG Electronics Co.,Ltd.
SW Upgrade by CLI ⓒ SAMSUNG Electronics Co.,Ltd.
Environment (7400) IP : 165.213.89.200 GPLIM Hub or Switch TFTP server e.g. Execute the PumpKIN program. S/W package exists in the TFTP server directory eth0 eth1 GWIM V.35 eth2 HSSI Serial I/O cable Management PC TFTP root directory ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) • Procedure • Connect the serial cable to the SIO port of Board (baudrate : 19200) • Enter the ‘D’ key after resetting the Board. Then the system goes into Bootloader Mode. U-Boot 1.1.2 (Jun 22 2005 - 22:07:53) OfficeServ 7400 SAMSUNG (GWIM v0.11) CPU: 750GX v1.2 @ 996 MHz BOARD: GWIM v0.11 DRAM: 512 MB Now running in RAM - Memory Address is 0x0ffcd000 FLASH: [32MB@fc000000] [512kB@ff800000] 32.5 MB In: serial Out: serial Err: serial Net: mv_enet0, mv_enet1, mv_enet2 Hit 'd' or 'D' key to stop autoboot : 0 GWIM => ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) • Reset the previous setting environment • Set the environment for TFTP GWIM => protect off bank 1 ; remove the flash protection GWIM => erase 0xfc000000 0xfc03ffff (or erase bootcf) ; erase the current setting environments / : done Erased 1 sectors GWIM => reset GWIM : 0xfc000000 0xfc03ffff GSIM : 0xe0000000 0xe00fffff GPLIM : 0x2c000000 0x2c01ffff GWIM => setenv ethaddr = ; erase the MAC address because MAC address isn’t overwritten GWIM => setenv ethaddr 00:00:00:00:00:01 ; setting the MAC address which isn’t duplicated GWIM => setenv ipaddr 165.213.89.100 ; 165.213.89.100 is temporary IP address GWIM => setenv serverip 165.213.89.200 ; 165.213.89.200 is the TFTP Server IP address GWIM => setenv netmask 255.255.255.0 GWIM => setenv pkgversion 1.24 ; 1.24 is the package version to upgrade GWIM => saveenv ; save the current setting environments ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) • If you want to know the current setting environments, enter the “printenv” command. GWIM => printenv bootldrstart=0xff800000 bootcfstart=0xfc000000 osstart=0xfc040000 configdbstart=0xfd700000 logdbstart=0xfda00000 bootldrend=0xff87ffff bootcfend=0xfc03ffff osend=0xfc1fffff firmwareend=0xfd6fffff configdbend=0xfd9fffff logdbend=0xfdffffff bootldrfile=gwim-bootldr.img-v bootcffile=gwim-bootcf.img-v osfile=gwim-os.img-v firmwarefile=gwim-firmware.img-v configdbfile=gwim-configdb.img-v logdbfile=gwim-logdb.img-v downloadaddr=0x00400000 bootargs=console=ttyS0,19200 bootcmd=setenv bootargs $(bootargs) $(rootpath); bootm $(osstart) $(firmwarestart); ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) • Enter the “install all” command • install [os | firmware | configdb | logdb | all] os : Linux Kernel firmware : Root File System configdb : Config DB File System logdb : Log DB File System all : All of them bootdelay=5 baudrate=19200 loads_echo=0 ipaddr=165.213.89.100 serverip=165.213.89.200 rootpath=root=/dev/ram rw ethact=mv_enet0 firmwarestart=0xfc180000 pkgversion=0.24 ethaddr=00:00:00:00:00:01 stdin=serial stdout=serial stderr=serial Environment size: 884/262140 bytes GWIM => ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) GWIM =>intall all Ethernet status port 0: Link up, Full Duplex, Speed 1 Gbps Using mv_enet0 device TFTP from server 192.168.0.227; our IP address is 192.168.0.249 Filename 'gwim-os.img-v0.12'. Load address: 0x400000 Loading: | : done Bytes transferred = 975782 (ee3a6 hex) | : done Erased 7 sectors Copy to Flash... : 100 % : done Ethernet status port 0: Link up, Full Duplex, Speed 1 Gbps Using mv_enet0 device . . . . . . TFTP from server 192.168.0.227; our IP address is 192.168.0.249 Filename 'gwim-logdb.img-v0.12'. Load address: 0x400000 Loading: | : done Bytes transferred = 131072 (20000 hex) | : done Erased 24 sectors Copy to Flash... : 100 % : done GWIM => reset ⓒ SAMSUNG Electronics Co.,Ltd.
S/W Upgrade using TFTP (on the bootloader) • Note • When you upgrade S/W package on the bootloader, you connect a PC to the debug port in the board. • While the debug port of GSIM and GPLIM isn’t a front port of the board but inner port of the board, GWIM just uses a front port of the board for debug. ⓒ SAMSUNG Electronics Co.,Ltd.