Firmware code, 1 structure and functionality, 2 firmware / module identification – Kontron AM4150 IPMI Firmware User Manual

Page 29: Structure and functionality, Firmware / module identification, Am4150 ipmi firmware

Advertising
background image

AM4150

IPMI Firmware

ID 1052-5679, Rev. 1.0

Page 29

P R E L I M I N A R Y

5.

Firmware Code

5.1

Structure and Functionality

The MMC firmware code is organized into a boot code and an operational code (IPMI firm-
ware). Both codes are stored in the internal flash of the micro-controller.

An additional external flash device is used for holding two copies of the MMC’s operational
code. One copy will always be the active operational code. The other firmware copy will either
be a newly downloaded firmware or the “previously good” operational code for rollback.

Upon an MMC start or reset, the controller first executes the boot code. The boot code will
check the status of the firmware and calculate a checksum of the operational code. Upon suc-
cessful verification of the operational code checksum, the firmware will execute the operational
code. The operational code is upgradable in the field.

5.2

Firmware / Module Identification

IPMI provides two methods to identify the AM4150 MMC firmware:

Issuing the IPMI Command Get Device ID

Reading the Device Locator Record (SDR Type 12h)

A full description of the IPMI command Get Device ID and the Device Locator Record
(SDR Type 12h) can be found in the IPMI specification. For further information refer to Table
2, Related Publications.

IPMI Command: Get Device ID

The response on the IPMI command Get Device ID offers the following information (among
others):

Manufacturer ID = 3A98h / 15000d (Kontron IANA ID)

Device ID = 20h (NXP ARM7 microcontroller)

Product ID = identifies the firmware (its board family firmware)

Firmware revision (byte 4:5) reflects the version of the running firmware, which will
change after firmware update.

SDR revision (byte 13, OEM extension) will be incremented with each firmware update

For a description of the OEM extensions refer to Chapter 3.1, “Get Device ID Command with
OEM Extensions”.

Device Locator Record

The Device Locator Record (SDR Type 12h) contains a Device ID String which identifies the
MMC as AM4150 MMC. Additionally, some run-time information such as AMC slot and slot-de-
pendent IPMB address is available in this record.

For example, when using the Linux “ipmitool” on a AM4150 placed in the first AMC slot of a
µTCA system, by calling:

the following information is displayed:

ipmitool sdr list mcloc

A1:AM4150 | … @72h | ok

Advertising