﻿*******************************************************************************
*                   BMC Firmware Update tool ReadMe                   *
-------------------------------------------------------------------------------
[DOS]
1. Update BMC firmware.
    a. Boot to DOS (MS-DOS or Free DOS is workable).
    b. Enter BMC firmware directory [xxxxxyzz] ; 
        xxxxx:project name ; 
        y:C for official release, B for beta release ;
        zz:firmware version ;  .
    c. Execute “A.BAT “ to update BMC firmware
        Example:
            A:>cd GB101C10
            A:\GB101C10>A.BAT
            ps: This is just a example, "GB101C10" is BMC firmware file name. 
            Please instead "GB101C10" to your BMC firmware directory name.
    d. If BMC is not responding, you can use “A.BAT fix” to update.
        P.S.: config will be clear.

2. After update BMC firmware, please power off and then power on system.

Note:
            1. Do not use EMM386 in DOS environment when update firmware,
                or you will get a exception fail.
            2. In some critical condition, after update BMC firmware, you might   need 
                to unplug AC power cord 5 seconds and then plug in AC power cord to reset BMC, 
                then updated new function can work properly .
            3. It will do full firmware update.(Config will be clear.)
	   

[LINUX]
1. Update BMC firmware.

    a. Boot to Linux.
    b. Enter BMC firmware directory [xxxxxyzz] ; 
        xxxxx:project name ; 
        y:C for official release, B for beta release ;
        zz:firmware version ;  .
    c. Execute a.sh shell script to update BMC firmware.
        Example:
            Linux x64
                #cd GB101C10/Linux
                Linux#./a.sh
            Linux x86
                #cd GB101C10/Linux32
                Linux32#./a.sh
            ps: This is just a example, "GB101C10" is BMC firmware file name. 
            Please instead "GB101C10" to your BMC firmware directory name.
    d. If you don’t want to save config and want to use ”YafuFlash” to update,  you can use “a.sh noconfig”
    e. If you don’t want to save config, you can use “a.sh soc” to update.
    f. If BMC is not responding, you can use “a.sh fix” to update.
        P.S.: config will be clear.
        
2. After update BMC firmware, please power off and then power on system.

Note:
            1. Please change your account to root, or you will get a exception fail.
            2. In some critical condition, after update BMC firmware, you might need 
                to unplug AC power cord 5 seconds and then plug in AC power cord to reset BMC, 
                and then updated new function can work properly. 
 		    3. Fedora 12 x86, Fedora 17 x64 and Redhat 6.2 x64 are workable.
            4. Full firmware update please execute “a.sh soc”.


[SOC Flash update]
When YafuFlash can’t work or have some problem, user can use SOCFlash force update firmware. 
If user want to Full firmware update please execute SOCFlash.

	Step1: Change directory to firmware directory and execute “A.bat soc”.
		Example:
			A:>cd GB101C10
		Dos
			A:\GB101C10> A.bat soc

		If use Linux
		Linux x64
			#cd GB101C10/Linux
			Linux#./a.sh soc
		Linux x86
			#cd GB101C10/Linux32
			Linux32#./a.sh soc

	Step4: After update BMC firmware, please restart system.

