Firmware code, 1 structure and functionality, 2 firmware / module identification – Kontron AM4120 IPMI Firmware User Manual
Page 32: Functional description am4120 ipmi firmware

Functional Description
AM4120 IPMI Firmware
Page 26
ID 1045-9586, Rev. 1.0
5.
Firmware Code
5.1
Structure and Functionality
MMC firmware code is organized into boot code and operational code (IPMI firmware). Both
are stored in the internal flash of the micro-controller.
An additional external SPI NOR flash device is used for holding two copies of the 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 AM4120 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 14: OEM Event/Reading Types (Continued)
OEM
SENSOR
TYPE (CODE)
OEM
EVENT/READING
TYPE (CODE)
DESCRIPTION