Thursday, May 5, 2016

How to flash BMC firmware by Linux command line


Application requirement
a.      UH8L
b.      SOCFLASH for Linux
c.       IPMITOOL
Process
1.      Use putty to remote access Linux

2.      Type ./UH8L –d to get BMC ip address and MAC address. Record it.




3.      If you got error which similar as follows, please help to install glibc or download rpm to install it.
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Glibc installation
a.      Yum install glibc.i686
b.      Download and install two rpm file
1)      nss-softokn-3.12.9-11.el6.i686.rpm
2)      glibc-2.12-1.47.el6_2.9.i686.rpm


4.      Type ./socflash.sh bmc filename skip 2 to flash BMC firmware
5.      After SOCFLASH process finished, the BMC will reset automatic. Please wait more than 30 seconds.

6.      Type ./UH8L –d to confirm IP Address and MAC Address of BMC. If it changed, you have to reset to correct IP Address and MAC Address.


7.      If MAC Address changed, type /UH8L –m correct MAC Address to reset it.

8.      Type ./UH8L –d to check MAC Address

9.      The BMC must reset to get new configuration, so you have to manually reset BMC by IPMITOOL
Command: ipmitool –I lanplus –H ip/server name –U root –P superuser mc reset cold


10.  Wait for 30 seconds. Then BMC function restarted.

2 comments:

  1. Very informative guide! But why do you need the option "skip 2"?

    ReplyDelete
  2. Thank You and that i have a dandy offer: What Does A Full House Renovation Cost house renovation ideas

    ReplyDelete

How to use ipmi command to locate B7136 HDD LED

 Locate: Hdd0:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x01 0x01 Hdd1:  Ipmitool –...