15IPMI Module Management LED Functions .................................................. 34
ID 1045-9586, Rev. 1.0Page v
Page 6
PrefaceAM4120 IPMI Firmware
This page has been intentionally left blank.
Page viID 1045-9586, Rev. 1.0
Page 7
AM4120 IPMI FirmwareFunctional Description
1.Introduction
1.1Terminology and Acronym Definitions
The following table provides descriptions for terms and acronyms used in this guide. The descriptions are derived primarily from the IPMI specifications.
Table 1:Terminology and Acronym Definitions
TERM/ ACRONYMDESCRIPTION
AMCAdvanced Mezzanine Card
BMCBaseboard Management Controller
BSPBoard Support Package
FRUField Replaceable Unit
FWHFirmware Hub
2
I
C
IPMBIntelligent Platform Management Bus
IPMB-0AdvancedTCA shelf-level IPMB
IPMB-LLocal, on-carrier IPMB that links the carrier IPMC with the MMCs of installed modules
IPMCIntelligent Platform Management Controller located on the AMC carrier
IPMIIntelligent Platform Management Interface
IOLIPMI over LAN. An MMC is accessed via LAN, not IPMB.
KCSKeyboard Controller Style
MMCModule Management Controller – an IPMI controller located on the AMC module
MPManagement Power
PICMGPCI Industrial Computer Manufacturer Group
PWRPayload Power
SDRSensor Data Record
SDRRSensor Data Record Repository
Inter-Integrated Circuit
SELSystem Event Log
SMBIOSSystem Management BIOS
SMSSystem Management Software (designed to run under the OS)
SOLSerial over LAN. A serial interface is redirected by LAN using the RMCP+ protocol.
ID 1045-9586, Rev. 1.0Page 1
Page 8
Functional DescriptionAM4120 IPMI Firmware
1.2Related Publications
The following publications contain information relating to this product.
Table 2:Related Publications
PRODUCTPUBLICATION
IPMIIPMI Specification V2.0
IPMIIPMI - Platform Management FRU Information Storage Definition v1.0,
As a hot-swappable field-replaceable unit (FRU), the AM4120 follows the stringent carrier
grade RASM feature set, namely - Reliability, Availability, Serviceability, Maintainability.
Built in accordance with the AMC.0 specification, the AM4120 is also compliant with the AMC.1,
AMC.2 and AMC.4 specifications and is easily managed via its management features.
As with every Advanced Mezzanine Card (AMC), the AM4120 is equipped with a Module Management Controller (MMC).
1.3IPMI in AdvancedMC / AdvancedTCA Environment
The Module Management Controller is a crucial component of any AMC module. Besides acting 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 implemented interfaces (E-Keying). Further, it plays an active role in the module hot swap state management. 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 criteria must be satisfied by both the carrier and the module, including power requirements and capabilities, matching interfaces, current module hot swap state, and any other special conditions
as specified by the Shelf Manager policy.
1.4Module Management Controller Hardware
On the AM4120 processor AMC module, the MMC is implemented using an NXP® ARM7
microcontroller with 512 kB of internal flash and 56 kB of RAM.
Page 2ID 1045-9586, Rev. 1.0
Page 9
AM4120 IPMI FirmwareFunctional Description
An external 64 kB serial EEPROM chip is used for firmware private data and for FRU inventory
storage. Furthermore, an external 4 MB serial SPI flash is used for additional firmware image
storage.
The MMC implements one local Keyboard Controller Style (KCS) interface with interrupt support for communication with the system side management software and the U-Boot bootloader.
The IPMB-L bus is used for interconnection with the IPMC.
The MMC provides access to various sensors which permit the monitoring of:
•System power voltages: +12V (PWR), +5V, +3.3V, +3.3V (MP)
•Temperatures: board and airflow near AMC edge-connector
•Power Good, LAN links, board reset, IPMB-L state, Health error, IPMI watchdog, Firmware update/rollback, etc.
2.MMC Firmware
2.1Key Features
The following are key features of the AM4120 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 be done by the open tool “ipmitool” (functions “hpm”
or “fwum”)
•Downloading new firmware image does not break currently running firmware activities
•Manual and automatic firmware image roll-back in case of upgrade failure
•Interoperable with other AMC, ATCA, or IPMI solutions
•U-Boot fail-over control for automatic U-Boot firmware bank switching after having
detected a non-working U-Boot
•OEM commands for U-Boot firmware bank selection
•Graceful shutdown support
•The “Health” LED shows MMC's heartbeat and pulses on KCS interface traffic
ID 1045-9586, Rev. 1.0Page 3
Page 10
Functional DescriptionAM4120 IPMI Firmware
2.2Supported IPMI and ATCA Commands
2.2.1Standard 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 AM4120 MMC.
M = mandatory, O = optional
Table 3:Standard IPMI Commands
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
IPM DEVICE “GLOBAL” COMMANDSM
Get Device ID20.1App01h
Cold Reset20.2App02h
Warm Reset20.3App03hO / No
Get Self Test Results20.4App04h
Manufacturing Test On20.5App05hO / No
Set ACPI Power State20.6App06hO / No
Get ACPI Power State20.7App07hO / No
Get Device GUID20.8App08hO / No
Broadcast “Get Device ID”20.9App01h
BMC WATCHDOG TIMER COMMANDS
KONTRON
SUPPORT
ON MMC
M / Yes
O / Yes
O / Yes
M / Yes
O
Reset Watchdog Timer27.5App22h
Set Watchdog Timer27.6App24h
Get Watchdog Timer27.7App25h
BMC DEVICE AND MESSAGING COMMANDSO
Set BMC Global Enables22.1App2Eh
Get BMC Global Enables22.2App2Fh
Clear Message Flags22.3App30h
Get Message Flags22.4App31h
Enable Message Channel Receive22.5App32h
Page 4ID 1045-9586, Rev. 1.0
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
Page 11
AM4120 IPMI FirmwareFunctional Description
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
Get Message22.6App33h
Send Message22.7App34h
Read Event Message Buffer22.8App35h
Get BT Interface Capabilities22.9App36hO / No
Get System GUID22.14App37hO / No
Get Channel Authentication Capabilities22.13App38hO / No
Get Session Challenge22.15App39hO / No
Activate Session22.17App3AhO / No
Set Session Privilege Level22.18App3BhO / No
Close Session22.19App3ChO / No
Get Session Info22.20App3DhO / No
KONTRON
SUPPORT
ON MMC
O / Yes
O / Yes
O / Yes
Get AuthCode22.21App3FhO / No
Set Channel Access22.22App40hO / No
Get Channel Access22.23App41hO / No
Get Channel Info22.24App42hO / No
Set User Access22.26App43hO / No
Get User Access22.27App44hO / No
Set User Name22.28App45hO / No
Get User Name22.29App46hO / No
Set User Password22.30App47hO / No
Activate Payload24.1App48hO / No
Deactivate Payload24.2App49hO / No
Get Payload Activation Status24.4App4AhO / No
Get Payload Instance Info24.5App4BhO / No
Set User Payload Access24.6App4ChO / No
Get User Payload Access24.7App4DhO / No
ID 1045-9586, Rev. 1.0Page 5
Page 12
Functional DescriptionAM4120 IPMI Firmware
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
Get Channel Payload Support24.8App4EhO / No
Get Channel Payload Version24.9App4FhO / No
Get Channel OEM Payload Info24.10App50hO / No
Master Write-Read22.11App52h O / No
Get Channel Cipher Suits22.15App54hO / No
Suspend/Resume Payload Encryption24.3App55hO / No
Set Channel Security Keys22.25App56hO / No
Get System Interface Capabilities22.9App57hO / No
CHASSIS DEVICE COMMANDSO
Get Chassis Capabilities28.1Chassis00h
Get Chassis Status28.2Chassis01h
KONTRON
SUPPORT
ON MMC
O / Yes
O / Yes
Chassis Control28.3Chassis02h
Chassis Reset28.4Chassis03hO / No
Chassis Identify28.5Chassis04hO / No
Set Chassis Capabilities28.7Chassis05hO / No
Set Power Restore Policy28.8Chassis06hO / No
Get System Restart Cause28.11Chassis07hO / No
Set System Boot Options28.12Chassis08hO / No
Get System Boot Options28.13Chassis09hO / No
Get POH Counter28.14Chassis0Fh
EVENT COMMANDSM
Set Event Receiver29.1S/E00h
Get Event Receiver29.2S/E01h
Platform Event (a.k.a. “Event Message”)29.3S/E02h
O / Yes
O / Yes
M / Yes
M / Yes
M / Yes
Page 6ID 1045-9586, Rev. 1.0
Page 13
AM4120 IPMI FirmwareFunctional Description
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
PEF AND ALERTING COMMANDSO
Get PEF Capabilities30.1S/E10hO / No
Arm PEF Postpone Timer30.2S/E11hO / No
Set PEF Configuration Parameters30.3S/E12hO / No
Get PEF Configuration Parameters30.4S/E13hO / No
Set Last Processed Event ID30.5S/E14hO / No
Get Last Processed Event ID30.6S/E15hO / No
Alert Immediate30.7S/E16hO / No
PET Acknowledge30.8S/E17hO / No
SENSOR DEVICE COMMANDSM
Get Device SDR Info35.2S/E20h
KONTRON
SUPPORT
ON MMC
M / Yes
Get Device SDR35.3S/E21h
Reserve Device SDR Repository35.4S/E22h
Get Sensor Reading Factors35.5S/E23hO / No
Set Sensor Hysteresis35.6S/E24h
Get Sensor Hysteresis35.7S/E25h
Set Sensor Threshold35.8S/E26h
Get Sensor Threshold35.9S/E27h
Set Sensor Event Enable35.10S/E28h
Get Sensor Event Enable35.11S/E29h
Re-arm Sensor Events35.12S/E2AhO / No
Get Sensor Event Status35.13S/E2BhO / No
Get Sensor Reading35.14S/E2Dh
Set Sensor Type35.15S/E2EhO / No
Get Sensor Type35.16S/E2FhO / No
M / Yes
M / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
O / Yes
M / Yes
ID 1045-9586, Rev. 1.0Page 7
Page 14
Functional DescriptionAM4120 IPMI Firmware
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
FRU DEVICE COMMANDSM
Get FRU Inventory Area Info34.1Storage10h
Read FRU Data34.2Storage11h
Write FRU Data 34.3Storage12h
SDR DEVICE COMMANDSO
Get SDR Repository Info33.9Storage20hO / No
Get SDR Repository Allocation Info33.10Storage21hO / No
Reserve SDR Repository33.11Storage22hO / No
Get SDR33.12Storage23hO / No
Add SDR33.13Storage24hO / No
Partial Add SDR33.14Storage25hO / No
KONTRON
SUPPORT
ON MMC
M / Yes
M / Yes
M / Yes
Delete SDR33.15Storage26hO / No
Clear SDR Repository33.16Storage27hO / No
Get SDR Repository Time33.17Storage28hO / No
Set SDR Repository Time33.18Storage29hO / No
Enter SDR Repository Update Mode33.19Storage2AhO / No
Exit SDR Repository Update Mode33.20Storage2BhO / No
Run Initialization Agent33.21Storage2ChO / No
SEL DEVICE COMMANDS O
Get SEL Info40.2Storage40hO / No
Get SEL Allocation Info40.3Storage41hO / No
Reserve SEL40.4Storage42hO / No
Get SEL Entry40.5Storage43hO / No
Add SEL Entry40.6Storage44hO / No
Partial Add SEL Entry40.7Storage45hO / No
Page 8ID 1045-9586, Rev. 1.0
Page 15
AM4120 IPMI FirmwareFunctional Description
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
Delete SEL Entry40.8Storage46hO / No
Clear SEL40.9Storage47hO / No
Get SEL Time40.10Storage48hO / No
Set SEL Time40.11Storage49hO / No
Get Auxiliary Log Status40.12Storage5AhO / No
Set Auxiliary Log Status40.13Storage5BhO / No
LAN DEVICE COMMANDS
Set LAN Configuration Parameters23.1Transport01hO / No
Get LAN Configuration Parameters23.2Transport02hO / No
Suspend BMC ARPs23.3Transport03hO / No
Get IP/UDP/RMCP Statistics23.4Transport04hO / No
KONTRON
SUPPORT
ON MMC
O
SERIAL/MODEM DEVICE COMMANDSO
Set Serial/Modem Configuration25.1Transport10hO / No
Get Serial/Modem Configuration25.2Transport11hO / No
Set Serial/Modem Mux25.3Transport12hO / No
Get TAP Response Codes25.4Transport13hO / No
Set PPP UDP Proxy Transmit Data25.5Transport14hO / No
Get PPP UDP Proxy Transmit Data25.6Transport15hO / No
Send PPP UDP Proxy Packet25.7Transport16hO / No
Get PPP UDP Proxy Receive Data25.8Transport17hO / No
Serial/Modem Connection Active25.9Transport18hO / No
Callback25.10Transport19hO / No
Set User Callback Options25.11Transport1AhO / No
Get User Callback Options25.12Transport1BhO / No
SOL Activating26.1Transport20hO / No
ID 1045-9586, Rev. 1.0Page 9
Page 16
Functional DescriptionAM4120 IPMI Firmware
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
Get SOL Configuration Parameters26.2Transport21hO / No
Set SOL Configuration Parameters26.3Transport22hO / No
BRIDGE MANAGEMENT COMMANDS (ICMB)O
Get Bridge State[ICMB]Bridge00hO / No
Set Bridge State[ICMB]Bridge01hO / No
Get ICMB Address[ICMB]Bridge02hO / No
Set ICMB Address[ICMB]Bridge03hO / No
Set Bridge Proxy Address[ICMB]Bridge04hO / No
Get Bridge Statistics[ICMB]Bridge05hO / No
Get ICMB Capabilities[ICMB]Bridge06hO / No
Clear Bridge Statistics[ICMB]Bridge08hO / No
KONTRON
SUPPORT
ON MMC
Get Bridge Proxy Address[ICMB]Bridge09hO / No
Get ICMB Connector Info[ICMB]Bridge0AhO / No
Get ICMB Connection ID[ICMB]Bridge0BhO / No
Send ICMB Connection ID[ICMB]Bridge0ChO / No
DISCOVERY COMMANDS (ICMB)O
Prepare For Discovery[ICMB]Bridge10hO / No
Get Addresses[ICMB]Bridge11hO / No
Set Discovered[ICMB]Bridge12hO / No
Get Chassis Device ID[ICMB]Bridge13hO / No
Set Chassis Device ID[ICMB]Bridge14hO / No
BRIDGING COMMANDS (ICMB)O
Bridge Request[ICMB]Bridge20hO / No
Bridge Message[ICMB]Bridge21hO / No
Page 10ID 1045-9586, Rev. 1.0
Page 17
AM4120 IPMI FirmwareFunctional Description
Table 3:Standard IPMI Commands (Continued)
IPMI 2.0
COMMAND
SPEC.
NETFNCMD
SECTION
EVENT COMMANDS (ICMB)O
Get Event Count[ICMB]Bridge30hO / No
Set Event Destination[ICMB]Bridge31hO / No
Set Event Reception State[ICMB]Bridge32hO / No
Send ICMB Event Message[ICMB]Bridge33hO / No
Get Event Destination[ICMB]Bridge34hO / No
Get Event Reception State[ICMB]Bridge35hO / No
OEM COMMANDS FOR BRIDGE NETFNO
OEM Commands[ICMB]BridgeC0h-FEhO / No
OTHER BRIDGE COMMANDSO
KONTRON
SUPPORT
ON MMC
Error Report[ICMB]BridgeFFhO / No
ID 1045-9586, Rev. 1.0Page 11
Page 18
Functional DescriptionAM4120 IPMI Firmware
2.2.2AdvancedTCA and AMC Commands
The following table shows an excerpt from the command lists specified in the PICMG 3.0 R 2.0
AdvancedTCA Base Specification and the PICMG AMC.0 Advanced Mezzanine Card Specification, R 1.0. The shaded table cells indicate commands supported by the AM4120 MMC.
M = mandatory, O = optional
Table 4:AdvancedTCA and AMC Commands
PICMG 3.0
COMMAND
SPEC.
NETFNCMD
TABLE
AdvancedTCAM
Get PICMG Properties3-9PICMG00h
Get Address Info3-8PICMG01hN/A
Get Shelf Address Info3-13PICMG02hN/A
Set Shelf Address Info3-14PICMG03h[1]N/A
FRU Control3-22PICMG04h
Get FRU LED Properties3-24PICMG05h
Get LED Color Capabilities3-25PICMG06h
Set FRU LED State3-26PICMG07h
Get FRU LED State3-27PICMG08h
Set IPMB State3-51PICMG09hN/A
KONTRON
SUPPORT
ON MMC
M / Yes
M / Yes [1]
M / Yes
M / Yes
M / Yes
M / Yes
Set FRU Activation Policy3-17PICMG0AhN/A
Get FRU Activation Policy3-18PICMG0BhN/A
Set FRU Activation3-16PICMG0ChN/A
Get Device Locator Record ID3-29PICMG0Dh
Set Port State3-41PICMG0EhN/A
Get Port State3-42PICMG0FhN/A
Compute Power Properties3-60PICMG10hN/A
Set Power Level3-62PICMG11hN/A
Get Power Level3-61PICMG12hN/A
Renegotiate Power3-66PICMG13hN/A
Get Fan Speed Properties3-63PICMG14hN/A
M / Yes
Page 12ID 1045-9586, Rev. 1.0
Page 19
AM4120 IPMI FirmwareFunctional Description
Table 4:AdvancedTCA and AMC Commands (Continued)
PICMG 3.0
COMMAND
SPEC.
NETFNCMD
TABLE
Set Fan Level3-65PICMG15hN/A
Get Fan Level3-64PICMG16hN/A
Bused Resource3-44PICMG17hN/A
Get IPMB Link Info3-49PICMG18hN/A
AMC
AMC.0
KONTRON
SUPPORT
ON MMC
TABLE
Set AMC Port State3-27PICMG19hO / Yes
Get AMC Port State3-28PICMG20h
Set Clock State3-44PICMG2Ch
Get Clock State3-45PICMG2Dh
O / Yes
O / Yes
O / Yes
[1] Only “FRU Control - Cold Reset” and “FRU Control - Quiesce” are supported.
ID 1045-9586, Rev. 1.0Page 13
Page 20
Functional DescriptionAM4120 IPMI Firmware
3.OEM Commands and Command Extensions
3.1Get Device ID Command with OEM Extensions
The IPMI specification defines four optional bytes in the response to Get Device ID. The
response bytes [13:16] hold the 'Auxiliary Firmware Revision Information'.
Table 5:Get Device ID Command with OEM Extensions
COMMANDLUNNetFnCMD
Get Device ID command with OEM extensions00hApp = 06h01h
REQUEST DATA
ByteData Field
--
RESPONSE DATA
ByteData Field
1Completion Code
2 - 12Regular Get Device ID command response fields
13Release number of the MMC firmware:
10h for R10,
11h for R11,
…
14Module geographical address (site number):
1 … 8=Module in AMC bay A1, A2, A3, A4, B1, B2, B3, B4
or in µTCA slot 1 … 8 with bus addresses
72h, 74h, 76h, 78h, 7ah, 7ch, 7eh, 80h
9 …12 = Module in µTCA slot 9 … 12 = Bay C1, C2, C3, C4
with bus addresses 82h, 84h, 86h, 88h
0, > 12 = Module position is not in range. The IPMB-L bus is
switched off
15 - 16Reserved
Page 14ID 1045-9586, Rev. 1.0
Page 21
AM4120 IPMI FirmwareFunctional Description
3.2Set Control State (Firmware Hub, Boot Order)
Table 6:Set Control State
COMMANDLUNNetFnCMD
Set Control State (Firmware Hub, Boot Order)00hOEM = 3Eh20h
REQUEST DATA
ByteData Field
1Control ID:
00h = Firmware Hub (SPI Flash) Selection
9Dh = Boot Order Configuration
2Control State for SPI Flash selection:
(These settings are stored in EEPROM and applied (to logic) each time the IPMI controller
detects power-on)
00h = Standard SPI boot flash is selected (default)
01h = Recovery SPI boot flash is selected
Please note that this selection may be forcibly overridden either by DIP-Switch (SW3 switch 2,
refer to the AM4120 User Guide, Table 4-2) or during a bootloader firmware update process.
In case of a failed boot process from the standard SPI NOR flash, the IPMI controller will
select the recovery SPI NOR flash and boot the board again. In case of a boot failure from the
recovery SPI NOR flash, the board locks up. Refer to chapter 8. U-Boot Failover Control.
Control State for Boot Order Configuration:
(These settings are stored in EEPROM and applied (to logic) each time the IPMI controller
detects power-on)
00h = No override, boot as usual (for all other values, refer to the U-Boot User Guide)
ByteData Field
1Completion Code
RESPONSE DATA
ID 1045-9586, Rev. 1.0Page 15
Page 22
Functional DescriptionAM4120 IPMI Firmware
3.3Get Control State (Firmware Hub, Boot Order)
Table 7:Get Control State
COMMANDLUNNetFnCMD
Get Control State (Firmware Hub, Boot Order)00hOEM = 3Eh21h
REQUEST DATA
ByteData Field
1Control ID:
00h = Firmware Hub (SPI Flash) Selection
9Dh = Boot Order Configuration
RESPONSE DATA
ByteData Field
1Completion Code
4Control State (refer to Chapter 3.2, Set Control State)
00h .. 01h for control ID = Firmware Hub SPI Flash Select
00h .. FFh for control ID = Boot Order Configuration
Page 16ID 1045-9586, Rev. 1.0
Page 23
AM4120 IPMI FirmwareFunctional Description
3.4OEM Module Quiescence Feedback
This command is used to control a graceful shutdown of the AM4120 and is a prerequisite for
the hot swap feature. For further information on hot swap, refer to Chapter 9, Hot Swap.
A shutdown daemon should be used to shut down the system in an orderly manner. For this
purpose, Kontron’s BSPs include a Graceful Reboot and Shutdown Daemon, “grnsd”.
This command can also be used to set a timeout time for the case that the graceful shutdown
daemon is unable to shut down the system in time. As a default value at system start this time
is set to 20 seconds to ensure that the system can be shut down properly in any case (e.g.
U-boot running or OS without graceful shutdown daemon 'grnsd'). OS's with the graceful shutdown daemon 'grnsd' can modify the quiescent wait time as required.
This is the maximum time from the moment on that the MMC receives FRU Control
(Quiesce) request until it sends back the appropriate Module Hot Swap event message.
b) No OS daemon is present (refer to bits above):
This is the maximum time from the moment on that the MMC receives FRU Control
(Quiesce) request until it sends back the appropriate Module Hot Swap event message. If
sleep state is recognized before timeout, the Module Hot Swap event message will be sent
immediately. If the time is set to 0 (endless wait), the Module Hot Swap event message will
only be sent after recognition of sleep state (signal).
4Quiesce wait timeout (valid only if OS daemon present = 1)
ID 1045-9586, Rev. 1.0Page 17
Page 24
Functional DescriptionAM4120 IPMI Firmware
3.4.1Usage if a Shutdown Daemon is Announced as Present
If a timeout time has to be set to avoid an endless waiting for the sleep state, the daemon calls
this command after system start with the “set quiesce wait timeout” bit set and the “Quiesce
wait timeout” time <> 0. Afterwards, the daemon calls this command cyclically with the “OS
daemon present” bit set. When the MMC gets a FRU Control (Quiesce) request from the carrier
(e.g. during a hot swap sequence), it sets the “quiesce request (FRU Control)” bit in its command response. After the daemon sees this bit set in the response, it should shut down the
system. After having set the “quiesce request (FRU Control)” bit, the MMC starts the timeout
timer (if a timeout time was defined) and monitors the sleep signal line to recognize the sleep
state which should be caused by the shutdown. When the MMC detects the sleep state (signal)
or it receives a command with the “quiescence acknowledge” bit set or the timeout timer has
expired, the MMC sends a “Module Hot Swap Event” message to the carrier, and in the following the payload power will be switched off.
3.4.2Usage if no Shutdown Daemon is Announced as Present
If no command call announces that a daemon is present, the MMC automatically uses the default timeout time 0 (endless wait) during the hot swap process. But if the timeout time was set
to a value 1…255, this time will be used in any case while waiting for the sleep state (signal).
Settings changed with this command are volatile (in particular quiesce timeout and OS daemon
present). Bits [6:5] are always settable, but once the quiesce request comes, they cannot be
cleared until quiescence state is entered and exited.
Page 18ID 1045-9586, Rev. 1.0
Page 25
AM4120 IPMI FirmwareFunctional Description
4.Sensors Implemented on the AM4120
The MMC includes various sensors for voltage or temperature monitoring and various others
for pass/fail type signal monitoring.
Each sensor is associated with a Sensor Data Record (SDR). Sensor Data Records contain
information about the sensor’s identification such as sensor type, sensor name, sensor unit.
SDRs also contain the configuration of a specific sensor such as threshold, hysteresis or event
generation capabilities that specify each sensor's behavior. Some fields of the sensor SDR are
configurable using IPMI commands others are always set to built-in default values.
Finally, one field, which is the sensor owner, must reflect the module’s address that enables the
AMC carrier to identify the owner of the sensor when it is scanned and merged into the AMC
Carrier's SDR repository.
From the IPMI perspective, the MMC is set up as a satellite management controller (SMC). The
MMC supports sensor device IPMI commands and uses the static sensor population feature of
IPMI. All Sensor Data Records can be queried using Device SDR commands.
Each sensor has a name field in its SDR. The sensor name has a prefix, which is automatically
adapted, dependent on the physical position of the module in a carrier or in a µTCA chassis.
The following prefixes are used for all sensors of an AMC module:
Table 9:Sensor Name Prefix
AMC Bay
μTCA slot
Sensor Name
12345678- - - -
123456789101112
A1:A2:A3:A4:B1:B2:B3:B4:C1:C2:C3:C4:
Prefix
Module sensors that have been implemented are listed in the sensor list below.
ID 1045-9586, Rev. 1.0Page 19
Page 26
Functional DescriptionAM4120 IPMI Firmware
4.1Sensor List
The following table indicates all sensors available on the AM4120. For further information on
Kontron’s OEM specific sensor types and sensor event type codes presented in the following
table, please refer to Chapter 4.3, OEM Event/Reading Types.
Table 10:Sensor List
Sensor Number /
Name
00h /
A1:IPMI Info-1
01h /
A1:IPMI Info-2
02h /
A1:IPMI Watchdog
03h /
A1:FRU Agent
04h /
A1:Health Error
05h /
A1:MMC Reboot
06h /
A1:ModuleHotSwap
07h /
A1:IPMBL State
Sensor Type (Code) /
Event/Reading Type
(Code)
OEM Firmware Info 1 (C0h) /
OEM (70h)
OEM Firmware Info 2 (C0h) /
OEM (71h)
Watchdog (23h) /
Sensor-specific (6Fh)
OEM (C5h) /
Discrete (0Ah)
Platform Alert (24h) /
Digital discrete (03h)
Platform Alert (24h) /
Digital discrete (03h)
OEM (F2h) /
Sensor-specific (6Fh)
OEM (C3h) /
Sensor-specific (6Fh)
Ass. Mask /
Deass. Mask /
Reading Mask
0003h / 0000h /
7FFFh
0003h / 0000h /
7FFFh
010Fh / 0000h /
010Fh
0140h / 0000h /
0147h
0000h / 0000h /
0003h
0002h / 0000h /
0003h
001Fh / 0000h /
001Fh
0007h / 0000h /
000Fh
Health
Description
LED Red
on Error
For internal use onlyN
For internal use onlyN
Watchdog 2Y
FRU agentN
Aggregate states (power,
temperature, etc.). Visualization by the Health LED.
MMC reboot active state. Is
asserted during boot time.
Hot swap sensorN
State of IPMB-L busN
Y
N
08h /
A1:MMC Stor Err
0Ah /
A1: MMC FwUp
0Dh /
A1:Board Reset
0Eh /
A1:Temp Board
0Fh /
A1:Temp AMC In
13h /
A1:Board 3.3vIPM
14h /
A1:Board 12.0v
15h /
A1:Board 5.0V
Mgmt. Subsyst. Health (28h) /
Sensor-specific
Firmware Upgrade Manager
(C7h) / Sensor specific (6Fh)
OEM (C4h) /
Sensor-specific (6Fh)
Temperature (01h) /
Threshold (01h)
Temperature (01h) /
Threshold (01h)
Voltage (02h) /
Threshold (01h)
Voltage (02h) /
Threshold (01h)
Voltage (02h) /
Threshold (01h)
0002h / 0000h /
0003h
010Fh / 0000h /
010Fh
04DEh / 0000h /
04DEh
7A95h / 7A95h /
3F3Fh
7A95h / 7A95h /
3F3Fh
2204h / 2204h /
1212h
2204h / 2204h /
1212h
2204h / 2204h /
1212h
Storage errorN
Status of Firmware Upgrade
Manager
Board reset eventY
Board temperatureY
Air temperature near AMC
edge-connector
AMC Management Power
(MP) 3.3V
AMC Payload Power (PWR)
12V
Board 5V supplyY
N
Y
Y
Y
Page 20ID 1045-9586, Rev. 1.0
Page 27
AM4120 IPMI FirmwareFunctional Description
Table 10:Sensor List
Sensor Number /
Name
16h /
A1:Board 3.3V
17h /
A1:Pwr Good
18h /
A1:Pwr Good Evt
1Ah /
A1:FWH0 Boot Err
1Bh /
A1:FWH1 Boot Err
1Dh /
A1:Lan AMC0 Link
* 1Eh /
A1:Lan AMC1 Link
* 1Fh /
A1:Lan FrontA Lk
Sensor Type (Code) /
Event/Reading Type
(Code)
Voltage (02h) /
Threshold (01h)
Power supply (08h) /
OEM (77h)
Power supply (08h) /
OEM (77h)
Boot Error (1Eh) /
Sensor-specific (6Fh)
Boot Error (1Eh) /
Sensor-specific (6Fh)
LAN (27h) /
Sensor-specific (6Fh)
LAN (27h) /
Sensor-specific (6Fh)
LAN (27h) /
Sensor-specific (6Fh)
Ass. Mask /
Deass. Mask /
Reading Mask
2204h / 2204h /
1212h
0000h / 0000h /
0887h
0000h / 0887h /
0887h
0008h / 0008h /
0008h
0008h / 0008h /
0008h
0000h / 0000h /
0003h
0000h / 0000h /
0003h
0000h / 0000h /
0003h
Health
Description
LED Red
on Error
Board 3.3V supplyY
States of all power linesN
Power fail events for all
power lines
Firmware Hub 0 boot errorY
Firmware Hub 1 boot errorY
LAN link status –
AMC port 0
LAN link status –
AMC port 1
LAN link status –
Front port A
Y
N
N
N
20h /
A1:Lan FrontB Lk
LAN (27h) /
Sensor-specific (6Fh)
0000h / 0000h /
0003h
LAN link status –
Front port B
N
*Either “Lan AMC1 Link” or “Lan FrontA Lk” sensor is valid. Which one is valid and readable,
depends on the board's configuration (SW2 switch 2, refer to AM4120 User Guide, Table
4-1).
ID 1045-9586, Rev. 1.0Page 21
Page 28
Functional DescriptionAM4120 IPMI Firmware
4.2Sensor Thresholds
The AM4120 CPU module is available for two different operating temperature ranges. For each
operating temperature range, a set of temperature thresholds for the sensors is defined. The
standard temperature range uses thresholds defined by Table 11, and the extended temperature range uses thresholds defined by Table 12. Table 13 provides voltage sensor thresholds.
Table 11:Thresholds - Standard Temperature Range
Sensor Number /
ID String
Upper non-recoverable
Upper critical
Upper non-critical
Normal max.
Nominal
Normal min.
Lower non-critical
Lower critical
Lower non-recoverable
0Eh /
A1:Temp
Board
75 °C75 °C
70 °C70 °C
65 °C65 °C
60 °C60 °C
55 °C55 °C
0 °C0 °C
-5 °C-5 °C
-7 °C-7 °C
-10 °C-10 °C
0Fh /
A1:Temp
AMC In
Table 12:Thresholds - Extended Temperature Range
Sensor Number /
ID String
0Eh /
A1:Temp
Board
0Fh /
A1:Temp
AMC In
Upper non-recoverable
Upper critical
Upper non-critical
Normal max.
Nominal
Normal min.
Lower non-critical
Lower critical
Lower non-recoverable
Page 22ID 1045-9586, Rev. 1.0
90 °C90 °C
85 °C85 °C
80 °C80 °C
75 °C75 °C
70 °C70 °C
0 °C0 °C
-40 °C-40 °C
-42 °C-42 °C
-45 °C-45 °C
Page 29
AM4120 IPMI FirmwareFunctional Description
Table 13:Voltage Sensor Thresholds
Sensor Number /
ID String
Upper non-recoverable
Upper critical
Upper non-critical
Normal max.
Nominal
Normal min.
Lower non-critical
Lower critical
Lower non-recoverable
17h /
A1:Board
3.3vIPM
n.a.n.a.n.a.n.a.
3.50 V13.4 V5.36 V3.50 V
n.a.n.a.n.a.n.a.
3.46 V13.2 V5.31 V3.46 V
3.30 V12.0 V5.00 V3.30 V
3.13 V10.8 V4.70 V3.13 V
n.a.n.a.n.a.n.a.
3.11 V10.7 V4.67 V3.11 V
n.a.n.a.n.a.n.a.
18h /
A1:Board 12.0v
19h /
A1:Board 5.0V
A1:Board 3.3V
1Ah /
ID 1045-9586, Rev. 1.0Page 23
Page 30
Functional DescriptionAM4120 IPMI Firmware
4.3OEM Event/Reading Types
Kontron’s OEM specific sensor types and sensor event type codes are presented in the following table.
Table 14:OEM Event/Reading Types
OEM
SENSOR
TYPE (CODE)
Firmware Info 1 (C0h)70hInternal Diagnostic Data
Firmware Info 2 (C0h)71hInternal Diagnostic Data
Board Reset (C4h)6Fh
(sensor type specific)
OEM
EVENT/READING
TYPE (CODE)
DESCRIPTION
Sensor-specific
Offset
00hReserved
01hHwPowerReset
02hPCIReset
03hHwWatchDogReset
04hSoftReset
05hReserved
06hColdReset
07hIPMICommand
08hReserved
09hReserved
Event
IPMBL State (C3h)6Fh
(sensor type specific)
0AhBMCWatchdog
Sensor discrete
State
08hIPMB-L running
othersIPMB-L not running
Meaning
Page 24ID 1045-9586, Rev. 1.0
Page 31
AM4120 IPMI FirmwareFunctional Description
Table 14:OEM Event/Reading Types (Continued)
OEM
SENSOR
TYPE (CODE)
Firmware Upgrade Manager
(C7h)
Power Supply (08h) i.e. for
Power Good /
Power Good Event
OEM
EVENT/READING
TYPE (CODE)
6Fh
(sensor type specific)
77h
(OEM)
DESCRIPTION
Sensor-specific
Offset
0hFirst Boot after upgrade
1hFirst Boot after rollback (error)
2hFirst Boot after errors (watchdog)
3hFirst Boot after manual rollback
4hReserved
5hReserved
6hReserved
7hReserved
8hFirmware Watchdog Bite, reset
Sensor-specific
Offset
0h12V good (PWR)
Event
occurred
Event
1h5V good
2h3V3 good
3hReserved
4hReserved
5hReserved
6hReserved
7hvccCore good
8hReserved
9hReserved
AhReserved
Bh3V3IPMI good (MP)
ChReserved
ID 1045-9586, Rev. 1.0Page 25
Page 32
Functional DescriptionAM4120 IPMI Firmware
Table 14:OEM Event/Reading Types (Continued)
OEM
SENSOR
TYPE (CODE)
Hot Swap Sensor (F2h)6Fh
(sensor type specific)
OEM
EVENT/READING
TYPE (CODE)
DESCRIPTION
Sensor-specific
Offset
00hHandle close
01hHandle open
02hQuiesced
03hBackend Power Failure
04hBackend Power Shutdown
Event
5.Firmware Code
5.1Structure 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 successful verification of the operational code checksum, the firmware will execute the operational
code. The operational code is upgradable in the field.
5.2Firmware / 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)
Page 26ID 1045-9586, Rev. 1.0
Page 33
AM4120 IPMI FirmwareFunctional Description
•Firmware revision (byte 4:5) reflects the core version of the running firmware, which will
change only after major functional 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 AM4120 MMC. Additionally, some run-time information such as AMC slot and slot-dependent IPMB address is available in this record.
For example, when using the Linux “ipmitool” on a AM4120 placed in the first AMC slot of a
µTCA system, by calling:
ipmitool sdr list mcloc
the following information is displayed:
A1:AM4120 | … @72h | ok
5.3Firmware Upgrade
The standard way to upgrade the MMC's operational code is to use the open tool “ipmitool” (see
Table 2, Related Publications). This tool allows download and activation of new operational
code and also a rollback to the “last known good” operational code. Additionally, the status and
the firmware version of the firmware copies can be checked.
For local or remote firmware upgrade, the following IPMI interfaces are available:
•KCS interface (local, requires active payload, but fast)
•IPMB (remote, independent of the payload state)
During the download process, the currently running operational code operates as usual until
the activation command is issued. During the activation process, the MMC is off-line for about
20 seconds while the boot code is re-organizing the firmware storage. Afterwards, it starts the
new operational code. If this doesn't succeed, after a timeout the boot code performs an automatic rollback to the “last known good” operational code.
5.3.1Firmware File Formats
Firmware images for upgrade are provided in two formats:
•Firmware in binary format, e.g. FW_IPMI_<BOARD>_<REL>_FWUM.bin,
for usage with “ipmitool fwum ..” commands
•Firmware images in the PICMG defined HPM.1 file format,
e.g. FW_IPMI_<BOARD>_<REL>_FWUM.hpm,
for usage with “ipmitool hpm ..” commands
where:
<BOARD> indicates board family of the MMC’s firmware
<REL> indicates release (version) of MMC’s firmware
ID 1045-9586, Rev. 1.0Page 27
Page 34
Functional DescriptionAM4120 IPMI Firmware
5.3.2Firmware Upgrade - “ipmitool hpm”
Firmware upgrade using a HPM.1 file requires at least “ipmitool” version 1.8.10.
The firmware upgrade procedure starts with downloading the HPM.1 file using, for example,
the following command:
ipmitool hpm upgrade <HPM.1_FWFile>.hpm all
The next step is the activation of the newly downloaded MMC firmware. This is done using:
ipmitool hpm activate
Detailed information about the active firmware image or the inactive image can be obtained
using the commands mentioned below.
To obtain detailed version information of the active MMC firmware, use the following command:
ipmitool hpm compprop 1 1
To obtain the version information of the rollback image (only valid if a newly downloaded firmware is already activated), use the following command:
ipmitool hpm compprop 1 3
To obtain the version information of the newly downloaded MMC firmware (only valid after
download and before activation), use the following command:
ipmitool hpm compprop 1 4
To obtain detailed information about the MMC’s HPM.1 upgrade capabilities, use the following
command:
ipmitool hpm targetcap
To perform a manual rollback to the previously good firmware image, use the following command:
ipmitool hpm rollback
Page 28ID 1045-9586, Rev. 1.0
Page 35
AM4120 IPMI FirmwareFunctional Description
5.3.3Firmware Upgrade - “ipmitool fwum”
“ipmitool” version 1.8.9 doesn’t support HPM.1 correctly. Tool versions prior to this do not support HPM.1 at all.
The firmware upgrade procedure starts with the download of the binary firmware file using, for
example, the following command:
ipmitool fwum download <Binary_FWFile>.bin
The next step is the activation of the newly downloaded MMC firmware. This is done using
:
ipmitool fwum upgrade
Detailed information about the active and inactive firmware images can be obtained using the
following command:
ipmitool fwum status
To perform a manual rollback to the previously good firmware image, use the following command:
ipmitool fwum rollback
6.FRU Information
The MMC provides 4 kB of non-volatile storage space for FRU information. Some of the data
stored there, such as the Module Current Requirements record or E-Keying information (refer
to AMC.0 specification for details), are mandatory for module functionality in an ATCA/AMC environment.
Please note that missing FRU information possibly will prevent the AMC module from being accepted by the carrier controller during the hot swap process, and the module will possibly not
receive payload power.
Full low-level access to read or write a module's FRU information is provided by regular IPMI
FRU Device commands. Please be careful when writing FRU information directly using standard IPMI commands. Damaging the FRU information may lead to a non-working payload.
6.1FRU Version Identification
The FRU data fields, as defined in the IPMI - Platform Management FRU Information Storage
Definition v1.0, Rev 1.1, are used to record the version of the FRU installed. The revision number is incremented for each new release of FRU data.
Example of board FRU ID: “STD_R01”
Example of product FRU ID: “STD_R01”
ID 1045-9586, Rev. 1.0Page 29
Page 36
Functional DescriptionAM4120 IPMI Firmware
6.2FRU Data Update
Update of the FRU data can be done via regular IPMI FRU device commands. The correct FRU
data must be prepared at the factory.
7.E-Keying
E-Keying has been defined in the AMC.0 R2.0 Specification to prevent module damage, prevent malfunctions, and verify bay connection compatibility. Therefore, the FRU data of an AMC
module contains PICMG-defined records which describe the module’s AMC interoperability:
•Module Current Requirements Record
•Clock Configuration Record, for the PCI Express reference clock
•AMC Point-to-point Record, describing module’s AMC port capabilities
The IPMI commands Set AMC Port State and Get AMC Port State defined by the
AMC.0 specification are used by the carrier or MCH for either granting or rejecting the E-Keys
(i.e. enabling or disabling of AMC ports during E-Keying).
Which AMC port connections are activated is decided during E-Keying. The information which
AMC port is enabled or not, can be directly read from the board’s E-Keying configuration registers (IAKEY0, IAKEY1 and IAKEY2) at addresses 0x298 / 0x299 / 0x29Ah.
7.1Board Configuration for E-Keying
The AM4120 supports either a Serial RapidIO interface (default) or a PCI Express interface in
the AMC port Fat Pipes region.
The required interface settings must be configured via DIP Switch SW2.
For further information, refer to the AM4120 User Guide, Chapter 4.1 DIP Switch Configuration.
7.2PCI Express Reference Clock - FCLKA
Both sides (Root Complex and Endpoint) of a PCI Express connection should be driven by a
common reference clock. The PCI Express reference clock may be generated locally by the
module or acquired from the AMC connector.
When the AM4120 is configured as PCI Express Root Complex, it may act either as clock receiver or as clock source. If configured as PCI express Endpoint, the AM4120 is acting as clock
receiver only. Both are described by the Clock Configuration Record (for the PCI Express reference clock) and defined by the “AMC.1 R2.0, PCI Express on AMC” specification.
The DIP Switch SW3 can be used to overwrite the clock configuration (clock receiver, clock
source, etc.) regardless of the E-Keying results. Please refer to the AM4120 User Guide for details.
Clock Receiver:
The PCI Express reference clock provided by the carrier may be slightly modulated (SSC Spread Spectrum Clock). The FRU E-Keying data for the AM4120 contains two AMC link descriptors for each PCI Express channel, one with SSC (priority 1) or with non-SSC (priority 2).
The carrier’s IPMC selects the “matching” link descriptor (SSC or non-SSC) during E-Keying
using the Set AMC Port State command.
Page 30ID 1045-9586, Rev. 1.0
Page 37
AM4120 IPMI FirmwareFunctional Description
Clock Source:
When the AM4120 acts as clock source for the PCI Express reference clock, the clock signal
must be routed also to the PCI Express Endpoint. The backplane, the carrier’s IPMC or the
MCH must be capable of doing this (Clock E-Keying according to AMC.1 R2.0).
The information whether the AMC clock or the local clock is used as PCI Express reference
clock can be directly read from the board’s E-Keying clock configuration register (ICKEY0) at
address 0x297.
The DIP Switch SW3 can be used to forcibly configure the PCI Express reference clock. Please
refer to the AM4120 User Guide for details.
8.U-Boot Failover Control - Automatic Flash
Selection
For normal operation, the MMC specifies the standard SPI NOR flash to be used for booting
and starts the payload. Then it waits for a message from the U-Boot bootloader. This message
contains a checksum report, i.e. it reports whether the boot flash's checksum is valid.
If either the checksum is invalid or the message is not received within a given time, the currently
used SPI NOR flash is assumed to contain a corrupted image. In this case, the MMC generates
a "Boot Error - Invalid boot sector" event for the related sensor. The sensor "FWH0 Boot Err"
indicates the boot error and generates the event for the standard SPI NOR flash. When booting
from the standard SPI NOR flash fails, the MMC selects the recovery SPI NOR flash, then the
board processor is reset and the MMC waits for the checksum report message from U-Boot
again.
In the event the recovery SPI NOR flash boot is successful, payload control is turned over to
U-Boot.
If again the checksum is invalid or the message is not received within a given time, the MMC
indicates the boot error with sensor "FWH1 Boot Err" and generates the event. The MMC remains operable, however, now some form of intervention (human) on the part of the IPMI management system is required to resolve the failure of the module to properly boot.
9.Hot Swap
9.1General
As a hot-swappable field replaceable unit (FRU), the AM4120 also follows the same stringent
carrier grade RASM feature set, namely - Reliability, Availability, Serviceability, Maintainability.
When offered in combination with AdvancedTCA platforms, TEM (Telecom Equipment Manufacturers) clients literally conserve valuable system AdvancedTCA system slots. The AM4120
supports full hot swap capability as per PICMG 3.0. It can be removed from or installed in a
running system without powering-down the system. Please refer to the PICMG 3.0 specification for additional details.
During hot swap of a working module, the payload side has to be shut down automatically on
command of the MMC and the end of shutdown has to be signalled back to the MMC.
ID 1045-9586, Rev. 1.0Page 31
Page 38
Functional DescriptionAM4120 IPMI Firmware
9.2OS Requirements for Graceful Shutdown
Requirements:
•At system start on the payload side, the Kontron shutdown daemon “grnsd” must be started. It is included in the Linux board support packages for the AM4120. This daemon communicates cyclically with the MMC for the exchange of states, commands and
acknowledges. For this, it uses the OEM Module Quiescence Feedback command.
Refer to Chapter 3.4.
Hot swap operation sequence processed by MMC and OS:
•On command of the carrier controller the MMC sets a “shut down request” flag.
•The “grnsd” daemon recognizes this request in the response to its cyclical OEM ModuleQuiescence Feedback command and initiates the shutdown of the payload software
system.
•At the end of the shutdown process, the “grnsd” daemon informs the MMC by setting the
appropriate flag when calling the OEM Module Quiescence Feedback command.
•The MMC reports this to the carrier controller so that the hot swap processing can be continued and finished.
By default the MMC waits endlessly for this information. If an endless wait is to be avoided, it
is possible to set a timeout time after which the system will be switched off unconditionally. For
the setting of the timeout refer to Chapter 3.4, OEM Module Quiescence Feedback.
10.OS Support / Tools
10.1Linux Tools
OpenIPMI - KCS driver
Normally all drivers and kernel modules needed for communication between the payload
software and the MMC firmware via the KCS interface come with the distribution. The
OpenIPMI library package includes some applications and the required libraries.
“ipmitool”
Another very useful all-in-one tool is the “ipmitool” (http://ipmitool.sourceforge.net). It provides
a user-friendly interface to many IPMI features and extensions, for example, to get sensor
readings, change sensor thresholds or access other Management Controllers via IPMB. Before
“ipmitool” can be used, the OpenIPMI driver mentioned above must be loaded too.
10.2OS Support - Board Support Packages
To see which Operating Systems are supported refer to the board's data sheet. Please visit
http://www.kontron.com to get the data sheet. Please also have a look in the download section
for latest versions of Board Support Packages or Firmware Updates.
For further information concerning IPMI, refer to the BSP documentation for the respective OS.
Page 32ID 1045-9586, Rev. 1.0
Page 39
AM4120 IPMI FirmwareFunctional Description
0
1
2
3
AM4120
B
A
LED1 (Out-of-Service LED)
LED2 (Health LED)
HS LED (Hot Swap LED)
IPMI Module Management LEDs
11.IPMI Module Management LEDs
There are three IPMI Module Management LEDs on the front panel of the AM4120. The following figure illustrates an AM4120 module and the location of the LEDs.
ID 1045-9586, Rev. 1.0Page 33
Page 40
Functional DescriptionAM4120 IPMI Firmware
The following table describes the functions of the IPMI Module Management LEDs.
Table 15:IPMI Module Management LED Functions
OVERRIDE MODE
selectable by user or
LEDCOLORSTATENORMAL MODE
carrier, depending on
PICMG LED
command
LED1
(Out-ofService
LED)
LED2
(Health
LED)
HS LED
(Hot Swap
LED)
redoffDefaultBy user:
onMMC out of service or in reset state
blinkingMMC firmware upgrade
green/
red+amber
blueona) Module ready for hot swap
green: blinkingMMC running showing its heartbeat By user:
green: blinking and pulsing MMC heart beat and KCS traffic
red: on +
amber: blinking
red: on +
amber: blinking and pulsing
blinkingModule hot swap in progress;
offModule is in normal operation
Health error detected +
MMC heart beat
Health error detected +
MMC heart beat and KCS traffic
extraction, or
b) Module has just been inserted in
a powered system
module not ready for extraction
• Only lamp test
• Only lamp test
By carrier:
• On
• Off
• Slow/ Fast Blinking
By user:
• Only lamp test
Page 34ID 1045-9586, Rev. 1.0
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.