*****************************************************************************
* ATEN Technology, Inc.                                                     *
*****************************************************************************
* FUNCTION   :  IPMI FIRMWARE UPDATE UTILITY                                *
* VERSION    :  1.22                                                        *
* BUILD DATE :  Jul 20 2012                                                 *
* 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, lan is supported only                   *
* 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 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.Place the FW binary file & FW update utility into the same folder.
2.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

1.21 add list:
(1) Remove IMB driver from Intel, and the Microsoft IPMI driver is required

1.22 add list:
(1) fix the issue for configuration restore/backup
(2) Take the kcs interface out because the Microsoft 2008 IPMI driver is unstable

