OFU Linux* Installation and Firmware Update Instructions

This procedure compliments the Intel OFU User guide and is a Quick Start for Linux* users only. 
It does not include instructions for Windows* based firmware updates. Windows* is not currently supported on this platform.


Prerequisites and notes before Installing the Intel® OFU on Linux

1. Prior to installation, read the Package Release Notes.txt document and pay close attention to the IMPORTANT NOTES and KNOWN ISSUES for this specific release.

2. The OFU firmware update package is built using the One-Boot Flash Update Utility and the S7200AP System Firmware Update Package (SFUP). Both 
packages can be downloaded from the Intel download center at https://downloadcenter.intel.com/
Together, these two packages are required to create the full Linux OS resident firmware update (OFU) package. 

3. Ensure that all development and optional packages are installed during RHEL*, CentOS* and SuSE* operating system installation.

4. Take note of the following for Red Hat* 6 or greater OSes:

A. If the utility fails with the error message
"Error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory"

Then install the 32bit versions of libstdc++-4.4.4-13.el6.i686.rpm and ncurses-libs-5.7-3.20090208.el6.i686.rpm from the OS CD itself using the following commands:
#rpm -ivh libstdc++-4.4.4-13.el6.i686.rpm
#rpm -ivh ncurses-libs-5.7-3.20090208.el6.i686.rpm 

Example:
rpm -ivh media\Packages\libstdc++-4.4.4-13.el6.i686.rpm where the CD/DVD is mounted to media directory.

Note: libstdc++ and ncurses-libs should be 32bit versions. The 64bit versions of these libraries will not work correctly when using OFU v14.0 Build14.

B. If the utility fails with error message
"Error: /lib/ld-linux.so.2: Bad ELF interpreter: No such file or directory"
This indicates the development and optional packages are not installed. Install the necessary packages accordingly.

In RHEL* 6.4 (or above), CentOS* 6.x, UEFI aware Linux or other Linux:
There might be a driver conflict between the internal driver and the kernel. You need to start up the OpenIPMI driver. If the utility fails with error message "FW interface failed" when  
updating BMC or “terminate called after throwing an instance of 'ResultStatus' Aborted (core dumped)" when updating SDR with CFG file, then start up OpenIPMI driver and ensure "/dev/ipmi0"  
device exists.

Example, you can use the below command to start up OpenIPMI driver on RHEL* 7.2
#modprobe ipmi_devintf.

After enabling OpenIPMI, if the utility still reports errors during BMC, FRU and SDR update, for example "Failed to write SDR file.", "SDR auto-update failed" and "Error : Error while  
parsing the cfg file", there might be a BMC watch dog conflict with the OpenIPMI driver. It will be necessary to disable the BMC watch dog. After the firmware update is complete, re-enable  
the BMC Watchdog timer.
 
 
Installing the Intel® OFU (Select one of the methods)
In Red Hat* Enterprise Linux or SuSE* Enterprise Server Linux

Note: In both methods below, it is necessary to unzip the System Firmware Update Package and the OFU Utility together in the same location. 
Afterwards, follow one of the below methods for installation and execution of the firmware update.

A. Regular Installation

1.Copy the OFU zip package (for RHEL or SLES) to a local folder.
2.Unzip the package to the local folder (example: ./flashupdt). Go to the flashupdt folder (cd flashupdt).
3.# chmod 755 install.sh and # chmod 755 flashupdt
4.Install the utility using the command: #./install.sh
5.# chmod 755 chaff2l.sh
6.It is not possible to run the command with options (example: # flashupdt –u ./flashupdt.cfg).

B. RPM Installation

1.Copy flashupdt rpm from Linux-RPM-package (for RHEL or SLES) to a local folder.
2.Install flashupdt utility by using rpm -Uvh flashupdtxxx.rpm. This will install the utility in /usr/bin/flashupdt/.
3.In RHEL/SLES after installing the rpm, close the terminal from which rpm was installed and then execute the utility from a new terminal (example: # flashupdt –u ./flashupdt.cfg).
For HTTP and FTP based updates, execute the utility from /usr/bin/flashupdt/ because curl and chaff2l.sh files are needed for HTTP and FTP based updates.

Uninstalling the Intel® OFU
 
Remove the flashupdt folder structure. Or uninstall the rpm using:
 rpm –e flashupdt 	

---End of procedure---



