Upgrading HP Proliant iLO2 Firmware with Ubuntu Server

Upgrading HP Proliant iLO2 Firmware with Ubuntu Server
  • 3.00 / 5 5
2 votes, 3.00 avg. rating (70% score)

I downloaded the firmware from HP site. It was named CP019022.scexe. I tried uploading it in the iLO2 web interface, but it was rejected. Next, I copied it to the server, gave it execute permissions and ran it:

Not working. This is a fresh installation of Ubuntu Server 12.04.2 LTS x86_64. So I had to start looking closer. The file is a bash script but the hashbang is #!/bin/sh, which puts bash into old Bourne shell mode. No pushd/popd there.Second try with bash proper:

Still not working. Looking at the code, after the script comes a gzipped binary blob, which seems to be a tar archive. This is unpacked by the script before the blob. The lines to discard before binary starts are in this variable:

Let’s decompress it:

Then take a look at the contents:

There’s the “flash_ilo2″ tool and the “ilo2_215.bin” file which seems to be the actual firmware. Unpack archive:

The readme file says you could actually take the .bin file and use the web interface to upgrade using that. So that’s one possibility.

Trying the flash_ilo2 command:

Doesn’t seem to run. Examine the file a bit further:

So it is a 32-bit executable. Ubuntu server has no 32-bit ELF loader installed by default. That can be fixed with:

And:

It works! So seems like the easy fix is installing 32-bit libc. The original .scexe seems to work as well, although there are a couple of error messages.

4 thoughts on “Upgrading HP Proliant iLO2 Firmware with Ubuntu Server”

  1. Just a small update about installing Smart Array P410 firmware to be able to recognize 3TB disks. This is very similar to the description above (I used it to fix it on my server with a few changes) so I’ll make it plain without any description. Download FW update file run those commands and it’s done :)
    Thanks for the blog because it helped me with my problem.

    sudo apt-get install libc6-i386
    sudo apt-get install ia32-libs
    chmod o+w CP019316.scexe
    sudo -i
    bash CP019316.scexe

  2. Hi, also tried this with Smart Array P420i on Ubuntu14.04 LTS, but Package ia32-libs is not available?

    apt-get install libc6-i386

    tail -n +371 CP022978.scexe > CP022978.tgz
    tar -zxvf CP022978.tgz

    ./ccissflash
    ./ccissflash: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

  3. thank you,
    regarding this guide i succesfully upgraded P400 firmware on proxmox server (debian based)

Leave a Reply