Chapter 4: System Monitoring and Alarms
70
HPM.1 Firmware Upgrade
The HPM.1 upgrade procedure is managed by a utility called the
upgrade agent
. The
ipmitool
utility is used as upgrade agent for upgrading the MMC firmware.
The upgrade agent communicates with the MMC firmware via serial interface or IPMB-L, and
uses the ATCA commands that are described in the
HPM.1 Specification
for upgrading the
firmware. Updated firmware is packed into a special image that has a format described in the
HPM.1 Specification
. That image is used by the upgrade agent to prepare and upgrade the
MMC firmware. The HPM.1 upgrade procedure includes the following steps:
1.
Preparation step
. This step erases the region in the flash memory where a component will be
written.
2.
Component upload step
. This step is designed to upload the component image via IPMB or a serial
interface, and write it into the flash memory.
3.
Component activation step
. This step is designed to activate the previously upgraded component;
for the firmware component, this step can be deferred until a later time.
The MMC firmware supports two upgradeable components: the firmware itself and the boot
loader. In case of an unsuccessful firmware upgrade it is possible to roll back to the old
firmware. This is not true for the boot loader.
Note:
Extreme caution should be exercised when upgrading the boot loader. There is no
backup copy of the boot loader and if for any reason the boot loader upgrade procedure fails,
the firmware becomes non-functional after reboot and must be reprogrammed over JTAG.
Upgrade Utilities
The firmware upgrade procedure is performed using the upgrade agent utility, implementing the
HPM.1 Upgrade Protocol and capable of programming custom firmware images into the flash
memory of the MMC over a serial interface or IPMB-L. Any HPM.1-compatible Upgrade Agent
can be used to upgrade the MMC firmware. It is recommended to use the
ipmitool
utility for
these purposes. The
ipmitool
utility is available from Performance Technologies. Contact
Performance Technologies Customer Support and Services for contact information.
The firmware image is supplied to the
ipmitool
utility in a single file called an HPM.1 upgrade
image (for information about the format of HPM.1 upgrade images refer to the HPM.1
specification).
Detailed HPM.1 Upgrade Procedure
The following images are available from Performance Technologies:
•
hpm1fw.img
- this image contains the MMC firmware
•
hpm1boot.img
- this image contains the boot loader
•
hpm1all.img
- this image contains both the firmware and the boot loader
These images can be used to upgrade corresponding components of the IPMC: the firmware,
the boot loader or both.
The following snapshot samples a command performing firmware upgrade from a Linux host
over LAN/IPMB:
Summary of Contents for AMC123
Page 4: ...4 ...
Page 10: ...Contents 10 ...
Page 12: ...Tables 12 Table 7 1 Power Consumption with 1 2 GHz Processor 94 ...
Page 14: ...Figures 14 ...
Page 18: ...Chapter 1 About This Guide 18 ...
Page 78: ...Chapter 4 System Monitoring and Alarms 78 ...
Page 88: ...Chapter 5 Connectors 88 ...
Page 92: ...Chapter 6 Reset 92 ...
Page 96: ...Chapter 7 Specifications 96 ...