Instructions for use This script is suitable for Yafuflash upgrade, adding "" to the parameter 1. In band (if using the kcs channel, replace - cd with - kcs) (1) BMC non PFR synchronous refresh retention configuration ./Yafuflash.sh "-cd bmc_image.hpm -sync" (2) BMC non PFR asynchronous refresh retention configuration ./Yafuflash.sh "-cd bmc_image.hpm" (3) BMC non PFR synchronous refresh without retaining configuration ./Yafuflash.sh "-cd bmc_image.hpm -pc" (4)BIOS non-PFR flash-1 Reserved configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-1" Do not keep configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-1 -pc" (5)BIOS non-PFR flash-2 Reserved configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-2" Do not keep configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-2 -pc" (6)BIOS non-PFR flash-both Reserved configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-both" Do not keep configuration: ./Yafuflash.sh "-cd bios_image.hpm -image-both -pc" (7) non-PFR MB CPLD/ HDD CPLD/SCM CPLD/PSU/MP CPLD 等 ./Yafuflash.sh "-cd cpld_image.hpm" (8) PFR BMC/BIOS/CPLD Active Refresh Do not preserve dynamic areas (do not preserve configuration) ./Yafuflash.sh "-cd pfr_image.hpm -img-pfr 1" Preserve Dynamic Areas (Preserve Configuration) ./Yafuflash.sh "-cd pfr_image.hpm -img-pfr 1 -keep-dynamic" (9) PFR BMC/BIOS/CPLD Recovery refresh Recovery refresh can only preserve dynamic areas (without preserving configuration) ./Yafuflash.sh "-cd pfr_image.hpm -img-pfr 3" 2. Out of band (1) BMC non PFR synchronous refresh retention configuration ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bmc_image.hpm -sync" (2)BMC non PFR asynchronous refresh retention configuration ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bmc_image.hpm" (3)BMC non PFR synchronous refresh without retaining configuration ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bmc_image.hpm -pc" (4)BIOS non PFR flash-1 Reserved configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-1" Do not keep configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-1 -pc" (5)BIOS non-PFR flash-2 Reserved configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-2" Do not keep configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-2 -pc" (6)BIOS non-PFR flash-both Reserved configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-both" Do not keep configuration: ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip bios_image.hpm -image-both -pc" (7)non-PFR MB CPLD/ HDD CPLD/SCM CPLD/PSU/MP CPLD class ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip cpld_image.hpm" (8)PFR BMC/BIOS/CPLD Active Refresh Do not preserve dynamic areas (do not preserve configuration) ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip pfr_image.hpm -img-pfr 1" Preserve Dynamic Areas (Preserve Configuration) ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip pfr_image.hpm -img-pfr 1 -keep-dynamic" (9)PFR BMC/BIOS/CPLD Recovery refresh Recovery refresh can only preserve dynamic areas (without preserving configuration) ./Yafuflash.sh "-nw -u bmc_user -p bmc_passwd -ip bmc_ip pfr_image.hpm -img-pfr 3"