Firmware code, 1 structure and functionality, 2 mmc firmware configuration – Kontron AM5020 IPMI Firmware User Manual

Page 35: 1 kcs interface interrupt, Structure and functionality, Mmc firmware configuration, Kcs interface interrupt, Am5020 ipmi firmware

Advertising
background image

AM5020

IPMI Firmware

ID 1045-0205, Rev. 1.0

Page 27

P R E L I M I N A R Y

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 flash device is used for holding redundant copies of the operational
code. This additional flash device is organized to have two banks. One of them will always hold
a copy of the active operational code. The other firmware bank holds either a newly download-
ed firmware or the 'previous 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 banks and calculate a checksum of the operational code. Upon
successful verification of the operational code checksum, the firmware will execute the opera-
tional code. The operational code is upgradable in the field.

5.2

MMC Firmware Configuration

For initial setup and to get some basic information on the AM5020 MMC, use the AM5020
uEFI Shell or external IPMI access. For further information refer to the AM5020 uEFI BIOS
User Guide, Chapter 6, uEFI Shell.
Beside the built-in uEFI Shell commands, the Kontron uEFI implementation provides a
number of additional commands related to the specific hardware features of the system.
The Kontron uEFI Shell command for configuration of the system management is the kipmi
command. The kipmi command provides a set of parameters to support various IPMI
management controllers. Note that not all parameters have an impact on the AM5020 MMC.
For a complete list of the kipmi parameters, refer to the AM5020 uEFI BIOS User Guide,
Chapter 6, uEFI Shell.

5.2.1

KCS Interface Interrupt

The default factory setting of a AM5020 for its KCS interface is “no IRQ”. When changing the
configuration, the uEFI BIOS creates/updates an entry in the SMBIOS table. This record
contains the following information (among others):

• type of the supported interface (KCS style)

• selected interrupt (10, 11 or none)

This interrupt configuration is needed by the operating system’s KCS interface kernel driver
when it is loaded.

Changing the KCS interrupt number using the kipmi irq uEFI Shell command requires a restart
of the uEFI BIOS. To restart the AM5020, issue the reset uEFI Shell command.

Advertising