Kontron AM4022 User Manual

» User Guide «
AM4022
IPMI Firmware
Doc. ID: 1052-3624, Rev. 1.0
August 8, 2012
If it’s embedded, it’s Kontron.
Preface AM4022
Publication Title:
Doc. ID: 1052-3624
Rev. Brief Description of Changes Date of Issue
1.0 Initial issue 8-Aug-2012
AM4022 IPMI Firmware User Guide

Imprint

Kontron Europe GmbH may be contacted via the following:
MAILING ADDRESS TELEPHONE AND E-MAIL
Kontron Europe GmbH +49 (0) 800-SALESKONTRON
Sudetenstraße 7 sales@kontron.com
D - 87600 Kaufbeuren Germany
For further information about other Kontron products, please visit our Internet web site: www.kontron.com.

Disclaimer

Copyright © 2012 Kontron AG. All rights reserved. All data is for information purposes only and not guaranteed for legal purposes. Information has been carefully checked and is believed to be accurate; however, no responsibility is assumed for inaccuracies. Kontron and the Kontron logo and all other trademarks or registered trademarks are the property of their respective own­ers and are recognized. Specifications are subject to change without notice.
Page 2 ID 1052-3624, Rev. 1.0
AM4022 Preface

Table of Contents

Revision History ........................................................................................................ 2
Imprint ....................................................................................................................... 2
Disclaimer ................................................................................................................. 2
Table of Contents ...................................................................................................... 3
List of Tables ............................................................................................................. 7
1. Introduction ...................................................................................9
1.1 Terminology and Acronym Definitions .......................................................... 9
1.2 Related Publications .................................................................................. 10
1.3 IPMI in AdvancedMC / AdvancedTCA Environment .................................. 10
1.4 Module Management Controller Hardware .................................................11
2. MMC Firmware .............................................................................11
2.1 Key Features ...............................................................................................11
2.2 Supported IPMI and ATCA Commands ...................................................... 12
2.2.1 Standard IPMI Commands ................................................................. 12
2.2.2 AdvancedTCA and AMC Commands ................................................ 20
3. OEM Commands and Command Extensions ...........................22
3.1 Get Device ID Command with OEM Extensions ........................................ 22
3.2 Set Control State (Firmware Hub, Boot Order) .......................................... 23
3.3 Get Control State (Firmware Hub, Boot Order) .......................................... 24
3.4 OEM Module Quiescence Feedback ......................................................... 25
3.4.1 Usage if a Shutdown Daemon is Announced as Present .................. 26
3.4.2 Usage if no Shutdown Daemon is Announced as Present ................ 26
4. Sensors Implemented on the AM4022 .......................................27
4.1 Sensor List ................................................................................................. 28
4.2 Sensor Thresholds ..................................................................................... 30
4.3 OEM Event/Reading Types ........................................................................ 32
ID 1052-3624, Rev. 1.0 Page 3
Preface AM4022
5. Firmware Code ............................................................................ 35
5.1 Structure and Functionality .........................................................................35
5.2 MMC Firmware Configuration .....................................................................35
5.3 KCS Interface Interrupt ...............................................................................35
5.4 Firmware / Module Identification .................................................................36
5.5 Firmware Upgrade ......................................................................................37
5.5.1 Firmware File Formats .......................................................................37
5.5.2 Firmware Upgrade - “ipmitool hpm” ..................................................38
5.5.3 Firmware Upgrade - “ipmitool fwum” .................................................38
6. FRU Information ......................................................................... 39
6.1 FRU Version Identification ..........................................................................39
6.2 FRU Data Update .......................................................................................39
7. E-Keying ...................................................................................... 40
8. uEFI BIOS Failover Control - Automatic SPI Boot Flash
Selection ...................................................................................... 40
9. OS Boot Order Selection by OEM IPMI ..................................... 41
10. Hot Swap ..................................................................................... 41
10.1 Method 1: The Payload OS Supports ACPI ................................................41
10.2 Method 2: The Payload OS Does Not Support ACPI .................................42
11. LAN Functions ............................................................................ 42
11.1 Overview .....................................................................................................42
11.2 Setting Up the Ethernet Channel ................................................................42
11.3 Basic Setup from uEFI Shell .......................................................................43
11.4 Setup by “ipmitool” or IPMI Commands ......................................................43
Page 4 ID 1052-3624, Rev. 1.0
AM4022 Preface
11.5 Setup of User Accounts and Password ...................................................... 43
11.6 IPMI Over LAN (IOL) .................................................................................. 44
11.7 Serial Over LAN (SOL) ............................................................................... 44
12. OS Support / Tools ......................................................................45
12.1 Linux Tools ................................................................................................. 45
12.2 OS Support - Board Support Packages ..................................................... 46
13. IPMI Module Management LEDs ................................................46
ID 1052-3624, Rev. 1.0 Page 5
Preface AM4022
This page has been intentionally left blank.
Page 6 ID 1052-3624, Rev. 1.0
AM4022 Preface

List of Tables

1 Terminology and Acronym Definitions ............................................................ 9
2 Related Publications .................................................................................... 10
3 Standard IPMI Commands ........................................................................... 12
4 AdvancedTCA and AMC Commands .......................................................... 20
5 Get Device ID Command with OEM Extensions .......................................... 22
6 Set Control State .......................................................................................... 23
7 Get Control State ......................................................................................... 24
8 OEM Module Quiescence Feedback ........................................................... 25
9 Sensor Name Prefix ..................................................................................... 27
10 Sensor List ................................................................................................... 28
11 Thresholds - Standard Temperature Range ................................................. 30
12 Thresholds - Extended Temperature Range ................................................ 30
13 Voltage Sensor Thresholds .......................................................................... 31
14 OEM Event/Reading Types .......................................................................... 32
15 Module Management LED Functions ........................................................... 47
ID 1052-3624, Rev. 1.0 Page 7
Preface AM4022
This page has been intentionally left blank.
Page 8 ID 1052-3624, Rev. 1.0
AM4022 IPMI Firmware

1. Introduction

1.1 Terminology and Acronym Definitions

The following table provides descriptions for terms and acronyms used in this guide. The de­scriptions are derived primarily from the IPMI specifications.
Table 1: Terminology and Acronym Definitions
TERM/ ACRONYM DESCRIPTION
AMC Advanced Mezzanine Card
BSP Board Support Package
DMI Desktop Management Interface
FRU Field Replaceable Unit
FWH Firmware Hub
2
I
C
IPMB Intelligent Platform Management Bus
IPMB-0 AdvancedTCA shelf-level IPMB
IPMB-L Local, on-carrier IPMB that links the carrier IPMC with the MMCs of installed modules
IPMC Intelligent Platform Management Controller located on the AMC carrier
IPMI Intelligent Platform Management Interface
IOL IPMI over LAN. An MMC is accessed via LAN, not IPMB.
KCS Keyboard Controller Style
MMC Module Management Controller – an IPMI controller located on the AMC module
MP Management Power
PICMG PCI Industrial Computer Manufacturer Group
PWR Payload Power
SDR Sensor Data Record
Inter-Integrated Circuit
SDRR Sensor Data Record Repository
SEL System Event Log
SMBIOS System Management BIOS
SMS System Management Software (designed to run under the OS)
SOL Serial over LAN. A serial interface is redirected by LAN using the RMCP+ protocol.
ID 1052-3624, Rev. 1.0 Page 9
IPMI Firmware AM4022

1.2 Related Publications

The following publications contain information relating to this product.
Table 2: Related Publications
PRODUCT PUBLICATION
IPMI IPMI Specification V2.0
IPMI IPMI - Platform Management FRU Information Storage Definition v1.0,
Document Revision 1.1
MicroTCA PICMG® MTCA.0 Micro Telecommunications Computing Architecture R1.0
AMC PICMG® AMC.0, Advanced Mezzanine Card Specification R2.0
PICMG® AMC.1, PCI Express R2.0
PICMG® AMC.2, Gigabit Ethernet R1.0
PICMG® AMC.3, Storage Interfaces R1.0
AM4022 AM4022 User Guide, ID 1052-0183, Rev. 1.0
AM4022 uEFI BIOS User Guide, ID 1053-1333, Rev. 1.0
AM4022 BSP AM4022 Board Support Package
IPMI Tools ipmitool documentation: http://ipmitool.sourceforge.net
IPMI Tools OpenIPMI documentation: http://www.openipmi.sourceforge.net
As a hot-swappable field-replaceable unit (FRU), the AM4022 follows the stringent carrier grade RASM feature set, namely - Reliability, Availability, Serviceability, Maintainability.
Built in accordance with the AMC.0 specification, the AM4022 is also compliant with the AMC.1, AMC.2, and AMC.3 specifications and is easily managed via its IPMI v2.0-compliant manage­ment features.
As with every Advanced Mezzanine Card (AMC), the AM4022 is equipped with a Module Man­agement Controller (MMC).

1.3 IPMI in AdvancedMC / AdvancedTCA Environment

The Module Management Controller is a crucial component of any AMC module. Besides act­ing as a regular IPMI management controller (sensor monitoring, event logging, etc.), it also provides an interface to all necessary data related to module power requirements and imple­mented interfaces (E-Keying). Further, it plays an active role in the module hot swap state man­agement. The carrier IPMI Controller (IPMC) communicates with the MMC using the local IPMB (IPMB-L) bus. In an ATCA/AMC environment, it is the IPMC that actually turns on/off module (payload) power. However, before the IPMC enables the module payload power, various crite­ria must be satisfied by both the carrier and the module, including power requirements and ca­pabilities, matching interfaces, current module hot swap state, and any other special conditions as specified by the Shelf Manager policy.
Page 10 ID 1052-3624, Rev. 1.0
AM4022 IPMI Firmware

1.4 Module Management Controller Hardware

On the AM4022 processor AMC module, the MMC is implemented using an NXP® ARM7 mi­crocontroller with 512 kB of internal flash and 56 kB of RAM.
An external 64 kB serial EEPROM chip is used for firmware private data and for FRU inventory storage. An additional external 4 MB serial SPI flash is used for redundant firmware image stor­age.
The MMC implements one local Keyboard Controller Style (KCS) interface with interrupt sup­port for communication with the system side management software and the uEFI BIOS. The IPMB-L bus is used for interconnection with the IPMC.
IPMI over LAN (IOL) and Serial Over LAN (SOL) are supported on all four Ethernet channels of the module. SOL is only available on one Ethernet channel at a time.
The MMC provides access to various sensors which permit the monitoring of:
System power voltages: +12V (PWR), +5V, +3.3V, +3.3V (MP)
Temperatures: CPU and PCH die as well as airflow near AMC edge-connector
Power Good, LAN links, IPMB link, board reset, POST code, boot error, CPU States (pro­cessor hot, THERMTRIP, …), IPMB-L state, Health error, IPMI watchdog, etc.

2. MMC Firmware

2.1 Key Features

The following are key features of the AM4022 MMC firmware:
Compliant with the related IPMI and PICMG® specifications
Firmware designed and specially made for AdvancedMC environments (ATCA, µTCA)
Supports one KCS interface with interrupt support
Supports the local IPMB (IPMB-L) interface
Out-of-Band management and monitoring using IPMB-L interface permits access to sensors regardless of the module’s CPU state
Sensor thresholds fully configurable
Sensor names prefixed with AMC module Bay ID (A1…4, B1…4)
Usable in µTCA slots 1…12. Sensor names for slots 9…12 are prefixed with C1…C4
Complete IPMI watchdog functionality
Complete FRU functionality
Firmware can be updated in the field
Firmware image management may done by the open tool “ipmitool” (functions “hpm” or “fwum”)
Downloading new firmware image does not break currently running firmware activities
Manual firmware image roll-back in case of upgrade failure
Interoperable with other AMC, ATCA, or IPMI solutions
ID 1052-3624, Rev. 1.0 Page 11
IPMI Firmware AM4022
Fail-over control to a recovery BIOS in the event a non-working uEFI BIOS is detected
OEM commands for uEFI BIOS firmware bank selection and uEFI BIOS boot order override
IPMI over LAN (IOL) support
Serial over LAN (SOL) support
Graceful shutdown support
The “Health” LED indicates whether the module is healthy (normal operation) and all sensors are within the specified range (green) or at least one sensor is out of range (amber).

2.2 Supported IPMI and ATCA Commands

2.2.1 Standard IPMI Commands

The following table shows an excerpt from the command list specified in the IPMI specification
2.0. The shaded table cells indicate commands supported by the AM4022 MMC.
M = mandatory, O = optional
Table 3: Standard IPMI Commands
IPMI 2.0
COMMAND
SPEC.
NETFN CMD
SECTION
IPM DEVICE “GLOBAL” COMMANDS M
Get Device ID 20.1 App 01h
Cold Reset 20.2 App 02h
Warm Reset 20.3 App 03h O / No
Get Self Test Results 20.4 App 04h
Manufacturing Test On 20.5 App 05h O / No
Set ACPI Power State 20.6 App 06h O / No
Get ACPI Power State 20.7 App 07h O / No
Get Device GUID 20.8 App 08h O / No
KONTRON
SUPPORT
ON MMC
M / Yes
O / Yes
O / Yes
Broadcast “Get Device ID” 20.9 App 01h
BMC WATCHDOG TIMER COMMANDS
Reset Watchdog Timer 27.5 App 22h
Set Watchdog Timer 27.6 App 24h
Get Watchdog Timer 27.7 App 25h
Page 12 ID 1052-3624, Rev. 1.0
M / Yes
O
O / Yes
O / Yes
O / Yes
AM4022 IPMI Firmware
Table 3: Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFN CMD
SECTION
BMC DEVICE AND MESSAGING COMMANDS O
Set BMC Global Enables 22.1 App 2Eh
Get BMC Global Enables 22.2 App 2Fh
Clear Message Flags 22.3 App 30h
Get Message Flags 22.4 App 31h
Enable Message Channel Receive 22.5 App 32h
Get Message 22.6 App 33h
Send Message 22.7 App 34h
Read Event Message Buffer 22.8 App 35h
Get BT Interface Capabilities 22.9 App 36h O / No
Get System GUID 22.14 App 37h O / No
KONTRON
SUPPORT
ON MMC
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
Get Channel Authentication Capabilities 22.13 App 38h
Get Session Challenge 22.15 App 39h
Activate Session 22.17 App 3Ah
Set Session Privilege Level 22.18 App 3Bh
Close Session 22.19 App 3Ch
Get Session Info 22.20 App 3Dh
Get AuthCode 22.21 App 3Fh O / No
Set Channel Access 22.22 App 40h
Get Channel Access 22.23 App 41h
Get Channel Info 22.24 App 42h
Set User Access 22.26 App 43h
Get User Access 22.27 App 44h
Set User Name 22.28 App 45h
Get User Name 22.29 App 46h
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
Set User Password 22.30 App 47h
ID 1052-3624, Rev. 1.0 Page 13
O / Yes
IPMI Firmware AM4022
Table 3: Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFN CMD
SECTION
Activate Payload 24.1 App 48h
Deactivate Payload 24.2 App 49h
Get Payload Activation Status 24.4 App 4Ah
Get Payload Instance Info 24.5 App 4Bh
Set User Payload Access 24.6 App 4Ch
Get User Payload Access 24.7 App 4Dh
Get Channel Payload Support 24.8 App 4Eh
Get Channel Payload Version 24.9 App 4Fh
Get Channel OEM Payload Info 24.10 App 50h O / No
Master Write-Read 22.11 App 52h O / No
Get Channel Cipher Suits 22.15 App 54h O / No
KONTRON
SUPPORT
ON MMC
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
Suspend/Resume Payload Encryption 24.3 App 55h
Set Channel Security Keys 22.25 App 56h O / No
Get System Interface Capabilities 22.9 App 57h O / No
CHASSIS DEVICE COMMANDS O
Get Chassis Capabilities 28.1 Chassis 00h
Get Chassis Status 28.2 Chassis 01h
Chassis Control 28.3 Chassis 02h
Chassis Reset 28.4 Chassis 03h O / No
Chassis Identify 28.5 Chassis 04h O / No
Set Chassis Capabilities 28.7 Chassis 05h O / No
Set Power Restore Policy 28.8 Chassis 06h O / No
Get System Restart Cause 28.11 Chassis 07h O / No
Set System Boot Options 28.12 Chassis 08h O / No
O / Yes
O / Yes
O / Yes
O / Yes
Get System Boot Options 28.13 Chassis 09h O / No
Get POH Counter 28.14 Chassis 0Fh
Page 14 ID 1052-3624, Rev. 1.0
O / Yes
AM4022 IPMI Firmware
Table 3: Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFN CMD
SECTION
EVENT COMMANDS M
Set Event Receiver 29.1 S/E 00h
Get Event Receiver 29.2 S/E 01h
Platform Event (a.k.a. “Event Message”) 29.3 S/E 02h
PEF AND ALERTING COMMANDS O
Get PEF Capabilities 30.1 S/E 10h O / No
Arm PEF Postpone Timer 30.2 S/E 11h O / No
Set PEF Configuration Parameters 30.3 S/E 12h O / No
Get PEF Configuration Parameters 30.4 S/E 13h O / No
Set Last Processed Event ID 30.5 S/E 14h O / No
Get Last Processed Event ID 30.6 S/E 15h O / No
KONTRON
SUPPORT
ON MMC
M / Yes
M / Yes
M / Yes
Alert Immediate 30.7 S/E 16h O / No
PET Acknowledge 30.8 S/E 17h O / No
SENSOR DEVICE COMMANDS M
Get Device SDR Info 35.2 S/E 20h
Get Device SDR 35.3 S/E 21h
Reserve Device SDR Repository 35.4 S/E 22h
Get Sensor Reading Factors 35.5 S/E 23h O / No
Set Sensor Hysteresis 35.6 S/E 24h
Get Sensor Hysteresis 35.7 S/E 25h
Set Sensor Threshold 35.8 S/E 26h
Get Sensor Threshold 35.9 S/E 27h
Set Sensor Event Enable 35.10 S/E 28h
Get Sensor Event Enable 35.11 S/E 29h
M / Yes
M / Yes
M / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
Re-arm Sensor Events 35.12 S/E 2Ah O / No
ID 1052-3624, Rev. 1.0 Page 15
Loading...
+ 33 hidden pages