Download Print this page
Kontron CP6004-SA User Manual

Kontron CP6004-SA User Manual

Ipmi firmware
Hide thumbs Also See for CP6004-SA:

Advertisement

Quick Links

» User Guide «
CP6004-SA
CP6004-RA
CP6004-RC
CP6004X-SA
IPMI Firmware
Doc. ID: 1053-0139, Rev. 3.0
August 13, 2013
If it's embedded, it's Kontron.

Advertisement

loading
Need help?

Need help?

Do you have a question about the CP6004-SA and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Kontron CP6004-SA

  • Page 1 » User Guide « CP6004-SA CP6004-RA CP6004-RC CP6004X-SA IPMI Firmware Doc. ID: 1053-0139, Rev. 3.0 August 13, 2013 If it’s embedded, it’s Kontron.
  • Page 2: Revision History

    Disclaimer Copyright © 2013 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.
  • Page 3: Table Of Contents

    1.2 Related Publications ...................11 1.3 IPMI Overview .....................11 IPMI Setup ..................12 2.1 IPMI in a CompactPCI Chassis ..............12 2.2 IPMI Setup for the CP6004-SA/-RA/-RC/CP6004X-SA ......12 2.3 IPMI Setup for the Rack ................13 IPMI Controller Hardware ............13 IPMI Firmware ................14 4.1 Key Features ....................
  • Page 4 Preface CP6004-SA/-RA/-RC/CP6004X-SA 6.4 Get Control State (SPI Boot Flash, Boot Order) .........24 Sensors Implemented on the Board ......... 24 7.1 Sensor List ....................25 7.2 Sensor Thresholds ..................28 7.3 OEM Event/Reading Types ................29 IPMI Firmware Code ..............31 8.1 Structure and Functionality .................31 8.2 uEFI BIOS/IPMI Controller Interaction ............31...
  • Page 5 CP6004-SA/-RA/-RC/CP6004X-SA Preface 13. Hot Swap and Shutdown ............38 13.1 Hot Swap Handle and Hot Swap LED ............38 13.2 The Hot Swap and Shutdown Processes ........... 39 14. LAN Functions ................40 14.1 Overview ....................40 14.2 Setting Up the Ethernet Channel ............... 41 14.3 Basic Setup from uEFI Shell ..............
  • Page 6 Preface CP6004-SA/-RA/-RC/CP6004X-SA This page has been intentionally left blank. Page 6 ID 1053-0139, Rev. 3.0...
  • Page 7: List Of Tables

    Thresholds - Standard and Extended Temperature Range ......28 Voltage Sensor Thresholds ................28 OEM Event/Reading Types ................29 IOL/SOL Channel Assignment for the CP6004-SA/CP6004X-SA ....40 IOL/SOL Channel Assignment for the CP6004-RA/CP6004-RC ....40 IPMI and Hot Swap LEDs Function ............. 46 ID 1053-0139, Rev.
  • Page 8 Preface CP6004-SA/-RA/-RC/CP6004X-SA This page has been intentionally left blank. Page 8 ID 1053-0139, Rev. 3.0...
  • Page 9: Introduction

    SEL and the SDRR for the complete system. The BMC is connected to the other boards in the shelf via a dedicated bus (IPMB-0). The CP6004-SA/-RA/- RC/CP6004X-SA’s IPMI controller can be configured to operate in SMC mode or in BMC mode via an IPMI OEM command or an uEFI Shell command.
  • Page 10 In a CompactPCI chassis, there can be several SMCs. The SMC administrates the sensor and FRU data of the CP6004-SA/-RA/-RC/CP6004X-SA and makes it avail- able to the BMC. Each SMC can be connected to the BMC via a dedicated bus (IPMB- 0).
  • Page 11: Related Publications

    While the CP6004-SA/-RA/-RC/CP6004X-SA IPMI implementation is fully compliant with IPMI v2.0 and has been designed to operate with any system management software (SMS) that re- spects this specification, can be easily integrated with the Service Availability Forum-Hardware Platform Interface (SAF-HPI) specification.
  • Page 12: Ipmi Setup

    SA, or on an external system management card, or in a shelf management controller (ShMC). The specification allows all of these variants. As a BMC in the system slot, the CP6004-SA/- RA/-RC/CP6004X-SA supports dual-ported IPMB (IPMB-0 to the SMCs and IPMB-1 to the ex- ternal segments via the CompactPCI backplane connector in accordance with PICMG 2.9).
  • Page 13: Ipmi Setup For The Rack

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware For further information on the kipmi uEFI Shell command, refer to the CP6004-SA/CP6004- RA/CP6004-RC/CP6004X-SA uEFI BIOS User Guide. When uEFI BIOS stores the configura- tion, it creates an “IPMI Device Information Record” entry in the SMBIOS table. This record contains information, among others, about: •...
  • Page 14: Ipmi Firmware

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware Key Features The following are key features of the CP6004-SA/-RA/-RC/CP6004X-SA’s IPMI firmware: • Compliant with the IPMI specification 2.0 • Compliant with the PICMG 2.9 specification • Firmware designed and specially made for CompactPCI implementation and easy integration with SAF-HPI •...
  • Page 15: Supported Ipmi And Atca Commands

    Supported IPMI and ATCA Commands 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 CP6004-SA/-RA/-RC/ CP6004X-SA IPMI firmware. M = mandatory, O = optional...
  • Page 16 IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Table 3: Standard IPMI Commands (Continued) KONTRON IPMI 2.0 SUPPORT COMMAND SPEC. NETFN ON IPMI SECTION CONTROLLER Get System GUID 22.14 O / No Get Channel Authentication Capabilities 22.13 O / Yes Get Session Challenge 22.15 O / Yes Activate Session 22.17...
  • Page 17 CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware Table 3: Standard IPMI Commands (Continued) KONTRON IPMI 2.0 SUPPORT COMMAND SPEC. NETFN ON IPMI SECTION CONTROLLER Get Chassis Status 28.2 Chassis O / Yes Chassis Control 28.3 Chassis O / Yes Chassis Reset 28.4 Chassis O / No Chassis Identify 28.5...
  • Page 18 IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Table 3: Standard IPMI Commands (Continued) KONTRON IPMI 2.0 SUPPORT COMMAND SPEC. NETFN ON IPMI SECTION CONTROLLER Set Sensor Event Enable 35.10 O / Yes Get Sensor Event Enable 35.11 O / Yes Re-arm Sensor Events 35.12...
  • Page 19 CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware Table 3: Standard IPMI Commands (Continued) KONTRON IPMI 2.0 SUPPORT COMMAND SPEC. NETFN ON IPMI SECTION CONTROLLER Partial Add SEL Entry 40.7 Storage O / No Delete SEL Entry 40.8 Storage O / Yes Clear SEL 40.9...
  • Page 20: Advancedtca And Amc Commands

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA AdvancedTCA and AMC Commands The following table shows an excerpt from the command list specified in the PICMG 3.0 R 2.0 AdvancedTCA Base Specification and the PICMG AMC.0 Advanced Mezzanine Card Specifi- cation, R 1.0. The shaded table cells indicate commands supported by the IPMI firmware.
  • Page 21: Oem Commands And Command Extensions

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware OEM Commands and Command Extensions Get 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:...
  • Page 22: Set Firmware Parameters

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Set Firmware Parameters This command permits the selection of interrupts to be used during KCS communication. Table 6: Set Firmware Parameters COMMAND NetFn Set Firmware Parameters OEM = 3Eh REQUEST DATA Byte Data Field Reserved Reserved Reserved...
  • Page 23: Set Control State (Spi Boot Flash, Boot Order)

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware Set Control State (SPI Boot Flash, Boot Order) Table 7: Set Control State COMMAND NetFn Set Control State (SPI Boot Flash, Boot Order) OEM = 3Eh REQUEST DATA Byte Data Field Control ID: 00h: SPI boot flash selection...
  • Page 24: Get Control State (Spi Boot Flash, Boot Order)

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Get Control State (SPI Boot Flash, Boot Order) Table 8: Get Control State COMMAND NetFn Get Control State (SPI Boot Flash, Boot Order) OEM = 3Eh REQUEST DATA Byte Data Field Control ID: 00h = SPI boot flash selection...
  • Page 25: Sensor List

    Sensor List The following table indicates all sensors available on the CP6004-SA/-RA/-RC/CP6004X-SA. For further information on Kontron’s OEM-specific sensor types and sensor event type codes presented in the following table, please refer to Chapter 7.3, OEM Event/Reading Types. Table 9:...
  • Page 26: Sensor List

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Table 9: Sensor List (Continued) LED I1on SENSOR SENSOR TYPE (CODE) / Ass. Mask / error / NUMBER / ID EVENT/READING TYPE Deass. Mask / DESCRIPTION Reading STRING (CODE) Reading Mask Mask 10h / Entity presence (25h) /...
  • Page 27: Gigabit Ethernet Link Sensor Assignment

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware Table 9: Sensor List (Continued) LED I1on SENSOR SENSOR TYPE (CODE) / Ass. Mask / error / NUMBER / ID EVENT/READING TYPE Deass. Mask / DESCRIPTION Reading STRING (CODE) Reading Mask Mask 21h / Firmware version changed...
  • Page 28: Sensor Thresholds

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Sensor Thresholds Table 12: Thresholds - Standard and Extended Temperature Range 01h / 02h / 03h / 03h / Sensor Number / NNN:Temp NNN:Temp NNN:Temp Board NNN:Temp Board ID String (0°C to +60°C) (-40°C to +70°C) Upper non-recoverable 115 °C...
  • Page 29: Oem Event/Reading Types

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware OEM Event/Reading Types OEM (Kontron) specific sensor types and codes are presented in the following table. Table 14: OEM Event/Reading Types SENSOR EVENT/READING DESCRIPTION TYPE (CODE) TYPE (CODE) Firmware Info 1 (C0h) Internal Diagnostic Data Firmware Info 2 (C0h)
  • Page 30 IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Table 14: OEM Event/Reading Types (Continued) SENSOR EVENT/READING DESCRIPTION TYPE (CODE) TYPE (CODE) e.g. for Sensor-specific Event Offset Power Good / Power Good Event HS fault# HS early fault# DEG# FAL# BDSELState n.a. n.a. vccMainGood n.a. n.a.
  • Page 31: Ipmi Firmware Code

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware IPMI Firmware Code Structure and Functionality The IPMI firmware code is organized into a boot code and an operational code, both of which are stored in a flash device. Upon an IPMI controller reset, the IPMI controller first executes the boot code which does: •...
  • Page 32: Firmware Identification

    Invoking the IPMI command Get Device ID returns among other information the following data: • Manufacturer ID = 3A98h (Kontron IANA ID) • Product ID = B3C0h, identifies the board family of the IPMI firmware • Firmware revision (byte 4:5) reflects the version of the running firmware, which will change after firmware update.
  • Page 33: Firmware Upgrade - "Ipmitool Hpm

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware 8.5.2 Firmware 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 IPMI firmware.
  • Page 34: Firmware Upgrade - "Ipmitool Fwum

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA 8.5.3 Firmware 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 downloading the binary firmware file using, for example, the following command: ipmitool fwum download <Binary_FWFile>.bin...
  • Page 35: Ipmi Firmware Write Protection

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware IPMI Firmware Write Protection If the board is plugged in a write-protected CompactPCI slot, the system write protection bit SWP in the Device Protection Register (0x284) is set to “1”. In this case, the IPMI firmware can- not be updated or reprogrammed neither through KCS, nor through IPMB nor through LAN.
  • Page 36: Board-Specific Fru Data

    If an update of the FRU data is required, it can be done via regular IPMI FRU device commands. The correct FRU data must be prepared at the factory. Please contact Kontron for further assistance. FRU Data Write Protection If the write protection mode of the IPMI firmware is active, the FRU data cannot be updated, reprogrammed or modified.
  • Page 37: Xmc Card Support

    CP6004-SA/-RA/-RC/CP6004X-SA IPMI Firmware XMC Card Support The presence or absence of an XMC card is reported by the “XMC present” sensor (refer to Chapter 7.1, Sensor List). If an XMC card is present, the card's FRU data EEPROM is readable/writable. The size of the EEPROM must be smaller or equal to 256 bytes because of 8-bit EEPROM addressing.
  • Page 38: Hot Swap And Shutdown

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Hot Swap and Shutdown 13.1 Hot Swap Handle and Hot Swap LED To perform the actions required for hot swapping of the board, a hot swap state machine with the following M-states generated by the IPMI controller is used: •...
  • Page 39: The Hot Swap And Shutdown Processes

    This is nec- essary to preclude improper system operation and possible loss of data. The CP6004-SA/-RA/ -RC/CP6004X-SA has all the necessary features including hardware and IPMI software to sup- port hot swapping.
  • Page 40: Lan Functions

    Please note that IOL and SOL need the Ethernet device to be powered. Therefore, the board (payload) must be fully powered. The following tables indicates the assignment of the IOL/SOL channels for the CP6004-SA/ CP6004X-SA and the CP6004-RA/CP6004-RC. Table 15: IOL/SOL Channel Assignment for the CP6004-SA/CP6004X-SA...
  • Page 41: Setting Up The Ethernet Channel

    1 through 4. An overview can be obtained by issuing: ipmitool user The predefined user accounts for a channel can be listed using the following command: ipmitool user list <channel = 2, 3, 4, 5> For every channel, the CP6004-SA/-RA/-RC/CP6004X-SA has these predefinitions in non-volatile memory: Name Callin...
  • Page 42: Ipmi Over Lan

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA Changed accounts and passwords stay valid after payload power-off. The accounts must be activated using the following command: ipmitool user enable <user number> 14.6 IPMI Over LAN IPMI over LAN (IOL) is used to allow the IPMI controller to communicate with the IPMI controller via LAN using the RMCP or the RMCP+ protocol.
  • Page 43: Serial Over Lan

    Ethernet channels. It serves as an encoder and a decoder for the RMCP+ protocol used and controls the data stream. Outside the CP6004-SA/-RA/-RC/CP6004X-SA, for example, the open-source tool “ipmitool” can be used to drive the SOL session, i.e. it offers a console func- tion to communicate via Ethernet with the board’s serial interface.
  • Page 44: Os Support / Tools

    OS Support - Board Support Packages For information on the operating systems supported with the CP6004-SA/-RA/-RC/CP6004X- SA, please refer to the board’s datasheet. Please visit “http://www.kontron.com” to download the datasheet. Please also have a look at the download section for the latest versions of Board Support Packages or Firmware Updates.
  • Page 45: Ipmi And Hot Swap Leds

    IPMI Firmware IPMI and Hot Swap LEDs On the CP6004-SA/CP6004-RA/CP6004X-SA, there are three LEDs controlled by the IPMI con- troller, two IPMI Status LEDs and a Hot Swap LED. All three LEDs are located on the front panel of the CP6004-SA/CP6004-RA/CP6004X-SA.
  • Page 46: Ipmi And Hot Swap Leds Function

    IPMI Firmware CP6004-SA/-RA/-RC/CP6004X-SA The following table describes the functions of the IPMI LEDs and the Hot Swap LED. Table 17: IPMI and Hot Swap LEDs Function COLOR NORMAL MODE OVERRIDE MODE I0 (right) IPMI controller running Selectable by user Only lamp test IPMI controller out of service or in reset state •...

This manual is also suitable for:

Cp6004-raCp6004-rcCp6004x-sa