Firmware code, 1 structure and functionality, 2 firmware / module identification – Kontron AM4140 IPMI Firmware User Manual
Page 29: Structure and functionality, Firmware / module identification, Am4140 ipmi firmware
AM4140
IPMI Firmware
ID 1051-8188, 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 AM4140 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)
Hot Swap Sensor (F2h)
6Fh
(sensor type specific)
Sensor-specific
Offset
Event
00h
Handle close
01h
Handle open
02h
Quiesced
03h
Backend Power Failure
04h
Backend Power Shutdown
Table 13: OEM Event/Reading Types (Continued)
OEM
SENSOR
TYPE (CODE)
OEM
EVENT/READING
TYPE (CODE)
DESCRIPTION