A Flash Tools
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd
42
A.4 Flashing the BMC Firmware in the Linux
Environment
YAFUFlash is used to flash the BMC firmware in the Linux environment using network or
USB connections. To flash the BMC in Linux, follow the instructions below.
Step 1 Open the Terminal. Go to YafuFlash/Linux path.
Step 2 The file libipmi.so 1 should be accessible to a Linux system. Usually when running an
application, Linux will search for a file in dependent libraries in default locations, such as
usr/lib/lib folders.
Step 3 Copy libipmi.so.1 to /lib or /usr/lib. Run "1dconfig" or Copy libipmi.so.1 to a folder and issue
the following command:
#LD_LIBRARY_PATH=<location_of_libipmi_so>/Yafuflash
You may have to create a link to libipmi.so.1.0 (ln-sf libipmi.so.1.0 libipmi.so.1).
Step 4 Run "Yafuflash.exe" in the terminal.
Step 5 Use the settings as listed below.
Format: /Yafu flash [OPTION] [MEDIUM] [FW_IMAGE_FILE].
NOTE
Using USB as a Medium
Example 1
Yafu flash -cd -info rom.ima
Description: This command displays the details of both existing and new firmware using
a USB connection.
Example 2
Yafu flash -cd -full rom.ima
Description: This command starts flashing the new rom.ima to the fi rmware using a
USB connection.
Example 3
Yafu flash -cd -full -force-boot rom.ima
Description: This command starts flashing the new rom.ima to the fi rmware with
FORCE BootLoader Upgrade using a USB connection.
User Guide
Issue 04 (2014-09-15)
RH2488 V2 BMC