=====================================================================================================================================
3.19	update

	abstract: update command for update BMC/BIOS/CPLD/PSU firmware.

	usage	: java -jar GbtUtility-2.1.76.jar [optoins] update <bmc | bios | cpld | psu> [arguemts...]
*************************************************************************************************************************************
3.19.1	bmc
	usage	: java -jar GbtUtility-2.1.76.jar [options] update bmc [auto] [skip] [preserve] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[skip]			 : Do you want to skip the update BMC FW when the suitable FW package's revision
	(optional)		   as same as the current revision of the target BMC. If you want to, set "skip"
				   into command line arguments.

	[preserve]		 : Do you want to preserve the BMC configurations after FW updated. If you want,
	(optional)		   set "preserve" into command line arguments. Otherwise it will clear all BMC configurations
				   and set as defaults.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.
				   
	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)

	[wr="Timeout"]		 : Apply the waiting time for BMC restart (millisecond).
	(optional)
	
	[backupimg]		 : Execute the process of updating 2nd SPI BMC after updating 1st SPI.
				   ******************** ! ! WARNING ! ! ********************
		  		   If update backup image process fail or break by accident, it may cause system crash.

				   Please use it carefully.
				   ******************** ! ! WARNING ! ! ********************

	<FW packages ...>	 : BMC update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	by node list (default)	 : java -jar GbtUtility-2.1.76.jar update bmc auto preserve path=/tftpboot rt=300000 ct=5000000 tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bmc skip path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bmc skip preserve 702.zip 703.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc auto preserve path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc skip path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc skip preserve 702.zip 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc path=/root tftpip=10.2.1.1 /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto preserve /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto port=2434 /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc path=tmp tftpip=10.2.1.1 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc auto skip /home/user/304.zip
*************************************************************************************************************************************
3.19.2	bios
	usage	: java -jar GbtUtility-2.1.76.jar [options] update bios [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	[backupimg]		 : Execute the process of updating 2nd SPI BIOS after updating 1st SPI.
				   ******************** ! ! WARNING ! ! ********************
		  		   If update backup image process fail or break by accident, it may cause system crash.

				   Please use it carefully.
				   ******************** ! ! WARNING ! ! ********************

	<FW packages ...>	 : BIOS update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar update bios auto rt=300000 ct=5000000 path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bios path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bios 702.zip 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios path=/root tftpip=10.2.1.1 /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios backupimg /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios path=tmp tftpip=10.2.1.1 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios auto /home/user/304.zip
*************************************************************************************************************************************
3.19.3	cpld
	usage	: java -jar GbtUtility-2.1.76.jar [options] update cpld <bpb | mb> [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	<bpb | mb | scm>	 : bpb means backplane board CPLD, mb means motherboard CPLD, scm means G-SCM board CPLD.

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : CPLD update firmware packages.
				   (Note: Firmware packages must be contains *.rcu file and release note)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update cpld bpb auto rt=300000 ct=5000000 path=/root/tftpboot/ tftpip=10.2.1.1 /home/CBP10A1_170824_R0A_0x1BBD.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update cpld bpb auto path=/root/tftpboot/ tftpip=10.2.1.1 /home/CBP10A1_170824_R0A_0x1BBD.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update cpld scm /home/user/CBP10A1_170824_R0A_0x1BBD.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update cpld bpb auto /home/user/CBP10A1_170824_R0A_0x1BBD.zip
*************************************************************************************************************************************
3.19.4	psu
	usage	: java -jar GbtUtility-2.1.76.jar [options] update psu [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : PSU update firmware packages.
				   (Note: Firmware packages only support .*hex and must set at least one)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update psu auto rt=300000 ct=5000000 path=/root/tftpboot/ tftpip=10.2.1.1 /home/psuFW/XXXX.hex
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update psu auto path=/root/tftpboot/ tftpip=10.2.1.1 /home/psuFW/XXXX.hex
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update psu auto /home/user/XXXX.hex
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update psu /home/user/505.hex
*************************************************************************************************************************************
3.19.5	fpga
	usage	: java -jar GbtUtility-2.1.76.jar [options] update fpga [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : PSU update firmware packages.
				   (Note: Firmware packages only support .zip and must set at least one)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update fpga auto rt=300000 ct=5000000 CG1_FW.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update fpga CG1_FW.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update fpga CG1_FW.zip auto
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update update fpga CG1_FW.zip
=====================================================================================================================================