*****************************************************************************
* ATEN Technology, Inc.                                                     *
*****************************************************************************
* FUNCTION   :  IPMI FIRMWARE UPDATE UTILITY                                *
* VERSION    :  1.18                                                        *
* BUILD DATE :  Mar 16 2011                                                 *
* USAGE      :                                                              *
*             (1)Update FIRMWARE : wUpdate.exe -f filename.bin [OPTION]     *
*             (2)Dump FIRMWARE   : wUpdate.exe -d filename                  *
*             (3)Restore CONFIG  : wUpdate.exe -c -f filename.bin           *
*             (4)Backup CONFIG   : wUpdate.exe -c -d filename.bin           *
*****************************************************************************
* OPTION                                                                    *
*   -i the IPMI channel, currently, kcs and lan are supported               *
* LAN channel specific arguments                                            *
*   -h remote BMC address and RMCP+ port, (default port is 623)             *
*   -u IPMI user name                                                       *
*   -p IPMI password correlated to IPMI user name                           *
*   -r Preserve Configuration (default is Preserve)                         *
*      n:No Preserve, reset to factory default settings                     *
*      y:Preserve, keep all of the settings                                 *
*   -c IPMI configuration backup/restore                                    *
*      -f [restore.bin] Restore configurations                              *
*      -d [backup.bin] Backup configurations                                *
*****************************************************************************
* EXAMPLE                                                                   *
*   we like to upgrade firmware through KCS channel                         *
*   wUpdate.exe -f fwuperade.bin -i kcs -r y                                *
*   wUpdate.exe -d fwdump.bin -i kcs -r y                                   *
*                                                                           *
*   we like to restore/backup IPMI config through KCS channel               *
*   wUpdate.exe -c -f restore.bin -i kcs -r y                               *
*   wUpdate.exe -c -d backup.bin -i kcs -r y                                *
*                                                                           *
*   we like to upgrade firmware through LAN channel with                    *
*   - BMC IP address 10.11.12.13 port 623                                   *
*   - IPMI username is usr                                                  *
*   - Password for alice is pwd                                             *
*   - Preserve Configuration                                                *
*   wUpdate.exe -f fw.bin -i lan -h 10.11.12.13 623 -u usr -p pwd -r y      *
*   wUpdate.exe -d fwdump.bin -i lan -h 10.11.12.13 623 -u usr -p pwd -r y  *
*                                                                           *
*   we like to restore/backup IPMI config through LAN channel with          *
*   - BMC IP address 10.11.12.13 port 623                                   *
*   - IPMI username is usr                                                  *
*   - Password for alice is pwd                                             *
*   - Preserve Configuration                                                *
*   wUpdate.exe -c -f fw.bin -i lan -h 10.11.12.13 623 -u usr -p pwd        *
*   wUpdate.exe -c -d fwdump.bin -i lan -h 10.11.12.13 623 -u usr -p pwd    *
*****************************************************************************

1.Install IMB driver.
2.Place the FW binary file & FW update utility into the same folder.
3.Excute the command line, and execute this utility.

NOTE: Please execute wUpdate.bat <parameter>

In the wUpdate.bat use the following command to stop/start the service of SMC, 
while FW update.
net stop Supero SD3Service Daemon"
net stop "SuperMicro Health Assistant"
net start "SuperMicro Health Assistant"
net start Supero SD3Service Daemon"


1.12 add list:
(1) add preserve configuration.

1.14 add list:
(1) add error handling.
(2) auto install IMB driver.

1.15 add list:
(1) add dump flash feature
(2) default port number is 623 & default preserve configuration is yes

1.16 add list:
(1)  fix the issue on Limitation of IMB driver on windows
(2)  fix the issue on display on Linux

1.17 add list:
(1) Modify for default kcs channel

1.18 add list:
(1) add IPMI configuration restore/backup mode

1.19 add list:
(1) use cipher suit 1 to open session

1.20 add list:
(1) none, just sync. version with lUpdate
