3u compactpci processor board based on the intel core duo processor and the intel core 2 duo processor with the intel 945gm express chipset (140 pages)
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...
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...
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).
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.
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).
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: •...
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 •...
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...
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.
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:...
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...
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...
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...
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:...
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...
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.
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: •...
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.
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.
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...
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.
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.
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.
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: •...
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.
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...
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...
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.
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.
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.
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.
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 •...
Need help?
Do you have a question about the CP6004-SA and is the answer not in the manual?
Questions and answers