*****************************************************************************
* ATEN Technology, Inc.                                                     *
*****************************************************************************
* FUNCTION   :  IPMI FIRMWARE UPDATE UTILITY                                *
* VERSION    :  1.15                                                        *
* BUILD DATE :  Jan  7 2010                                                 *
* USAGE      :                                                              *
*             (1)Update FIRMWARE : wUpdate.exe -f filename.bin [OPTION]     *
*             (2)Dump FIRMWARE : wUpdate.exe -d filename                    *
*****************************************************************************
* 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                                 *
*****************************************************************************
* EXAMPLE                                                                   *
*   we like to upgrade firmware through KCS channel                         *
*   wUpdate.exe -f fw.bin -i kcs -r n                                       *
*                                                                           *
*   we like to upgrade firmware through LAN channel with                    *
*     BMC IP address 10.11.12.13 port 623                                   *
*     IPMI username is alice                                                *
*     Password for alice is secret                                          *
*     Reset to factory default settings                                     *
*   wUpdate.exe -f fw.bin -i lan -h 10.11.12.13 623 -u alice -p secret -r n *
*****************************************************************************

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