Home
        AM4140 IPMI Firmware
         Contents
1.                 Module sensors that have been implemented are listed in the sensor list below     ID 1051 8188  Rev  1 0 Page 23    IPMI Firmware AM4140    m    4 1    The following table indicates all sensors available on the AM4140  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     Sensor List    Table 10  Sensor List                                                    Sensor Number   Sensor Type  Code    E SE D    oti  Name vent Reading Type  Code  Bass  Mas  e  Reading Mask   00h   OEM Firmware Info 1  COh      0003h   0000h     For internal use only   A1 IPMI Info 1 OEM  70h  7FFFh   01h   OEM Firmware Info 2  COh      0003h   0000h     For internal use only   A1 IPMI Info 2 OEM  71h  7FFFh   02h   Watchdog  23h    010Fh 0000h    Watchdog 2   A1 IPMI Watchdog Sensor specific  6Fh  010Fh   03h   OEM  C5h    0140h   0000h     FRU agent   A1 FRU Agent Discrete  0Ah  0147h   04h   Platform Alert  24h    0000h   0000h     Aggregate states  power    A1 Health Error Digital discrete  03h  0003h temperature  etc    Visual   ization by the Health LED    05h   Platform Alert  24h    0002h   0000h     MMC reboot active state  Is   A1 MMC Reboot Digital discrete  03h  0003h asserted during boot time    06h   OEM  F2h    001Fh 0000h    Hot swap sensor   A1 ModuleHotSwap   Sensor specific  6Fh  001Fh   07h   OEM  C3h    0007h   0000h     State of IPMB 
2.    aen ener 32  6  FRU Information c     32  6 7 FRU Version Identification    33  6 2  EE 33  EE BR  NN E 33  7 1 Board Configuration for E Keying                       esses 33  7 1 1 Board Configuration Options saa 33  7 1 2 Select an  sconf    Base Configuration                       esses 34  7 1 8 Gigabit Ethernet Front Rear Configuration 2    35  EE GIES GERE 35  7 1 5 Forced AMC Port Activation Deactivation ce 35  7 1 6 Forced FCLKA PCI Express Reference Clock Configuration              35  8  U Boot Failover Control   Automatic Flash Selection               36  9  dc o c                                      36  DL SIRI EE ir isan elelr fe een ad Ed der 36  9 2 OS Requirements for Graceful Shutdown ces ueueneeeeenennrnee 36  10  OS Support rp mM 37  10  1 LINUX Eege a ee M     37  10 2 OS Support   Board Support Packages                       ssssssss 37   11  IPMI Module Management LEDS  een 38         Page 4 ID 1051 8188  Rev  1 0    AM4140    1     1 1    IPMI Firmware         Introduction    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   BMC Baseboard Management Controller   BSP Board Support Package   FRU Field Replaceable Unit   FWH Firmw
3.   00h    01h for control ID   Firmware hub  SPI boot flash  selection                        Page 20 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware    3 4 OEM Module Quiescence Feedback    This command is used to control a graceful shutdown of the AM4140 and is a prerequisite for  the hot swap feature  For further information on hot swap  refer to Chapter 9  Hot Swap     A shutdown daemon compatible with the OEM Module Quiescence Feedback command  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 or the operating system is not responsive  The default timeout time is set to 20 sec   onds and is stored in the MMC  Thus  the timeout is triggered even if an operating system with   out a  grnsd  shutdown daemon is used  OSs with a graceful shutdown daemon  grnsd  can  modify the quiescent wait time as required     Table 8  OEM Module Quiescence Feedback    COMMAND   NetFn   CMD    OEM Module Quiescence Feedback   h OEM   3Eh    REQUEST DATA       Byte Data Field    1 Control bits     7    1b   set quiesce wait timeout    6    1b   quiescence acknowledge  OS ready    5    1b   OS daemon present    4 0  Reserved    2 Quiesce wait timeout  sec   a  An OS daemon is present  refer to bits above      This is the maximum time from the moment on that the MMC receives FRU Control   Quiesce
4.   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      RESPONSE DATA                Byte Data Field    1 Completion code          2 Control bits     7    Reserved    6    1b   quiescence acknowledge  OS ready     5    1b   OS daemon present    4    1b   quiesce request  FRU Control     3    Reserved    2    1b   graceful reboot request  FRU Control     1    1b   quiescence reached  MMC acknowledge    0    1b   module hot swap switch opened                4 Quiesce wait timeout  valid only if OS daemon present   1        ID 1051 8188  Rev  1 0 Page 21    IPMI Firmware AM4140    d    3 4 1 Usage 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  the OEM Module Quiescence Feedback command after system start with the  set quiesce  wait timeout  bit set and the  Quiesce wait timeout  time  lt  gt  0  Afterwards  the daemon calls this  command cyclically with the  OS daemon present  bit set  When the MMC gets an
5.  36 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware         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 Module  Quiescence Feedback command and initiates the shutdown of the payload software  system       Atthe 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 con   tinued 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 1 Linux 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 sens
6.  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  Get System Boot Options 28 13 Chassis 09h O   No  Get POH Counter 28 14 Chassis OFh  EVENT COMMANDS  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                        Page 10 ID 1051 8188  Rev  1 0    AM4140       IPMI Firmware                                                                                                         ID 1051 8188  Rev  1 0             Table 3  Standard IPMI Commands  Continued   IPMI 2 0 KONTRON  COMMAND SPEC  NETFN CMD SUPPORT  SECTION ON MMC  PEF AND ALERTING COMMANDS O  Get PEF Capabilities 30 1 S E 10h O  No  Arm PEF Postpone Timer 30 2 S E 1th 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  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 
7.  FRU Control   Quiesce  request from the carrier  e g  during a hot swap sequence   it sets the  quiesce re   quest  FRU Control   bit in its command response  After the daemon sees this bit set in the re   sponse  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 sig   nal 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 2 Usage if no Shutdown Daemon is Announced as Present    If no command call announces that a daemon is present  the MMC automatically uses the de   fault timeout time of 20 seconds during the hot swap process  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 22 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware    4  Sensors Implemented on the AM4140    The MMC includes various sensors for voltage or temperat
8.  Request  ICMB  Bridge 20h O No  Bridge Message  ICMB  Bridge 21h O   No            Page 14                ID 1051 8188  Rev  1 0                                           AM4140 IPMI Firmware  Table 3  Standard IPMI Commands  Continued   IPMI 2 0 KONTRON  COMMAND SPEC  NETFN CMD SUPPORT  SECTION ON MMC  EVENT COMMANDS  ICMB  O  Get Event Count  ICMB  Bridge 30h O  No  Set Event Destination  ICMB  Bridge 31h O   No  Set Event Reception State  ICMB  Bridge 32h O  No  Send ICMB Event Message  ICMB  Bridge 33h O   No  Get Event Destination  ICMB  Bridge 34h O   No  Get Event Reception State  ICMB  Bridge 35h O  No  OEM COMMANDS FOR BRIDGE NETFN  0   OEM Commands  ICMB  Bridge COh FEh O   No  OTHER BRIDGE COMMANDS O  Error Report  ICMB  Bridge FFh O No                         ID 1051 8188  Rev  1 0         Page 15    IPMI Firmware AM4140    m    2 2 2 AdvancedTCA 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 Specifi   cation  R 1 0  The shaded table cells indicate commands supported by the AM4140 MMC     M   mandatory  O   optional  Table 4  AdvancedTCA and AMC Commands                                                                                  PICMG 3 0 KONTRON  COMMAND SPEC  NETFN SUPPORT  TABLE ON MMC  AdvancedTCA  Get PICMG Properties 3 9 PICMG 00h  Get Address Info 3 8 PICMG 01h  Get Shelf Address Info 3 13 PICMG 02h N A  Set She
9.  but fast      PMB  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 auto   matic rollback to the  last known good  operational code     ARI Note      To upgrade the IPMI firmware and to obtain its version  the U Boot  fwum   command can be used  For further information  refer to the AM4140 U Boot  Bootloader User Guide   5 3 1 Firmware 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         Page 30 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware           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    5 3 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
10.  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 firm   ware 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 com   mand     ipmitool hpm rollback         ID 1051 8188  Rev  1 0 Page 31    IPMI Firmware AM4140    d    5 3 3 Firmware Upgrade      ipmitool fwum     The  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 gt  bin  The next step is the activation of the newly downloa
11. 02h Quiesced  03h Backend Power Failure  04h Backend Power Shutdown   5  Firmware Code   5 1 Structure and Functionality    The MMC firmware code is organized into a boot code and an operational code  IPMI firm   ware   Both codes are stored in the internal flash of the micro controller     An additional external flash device is used for holding two copies of the MMC s 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 suc   cessful verification of the operational code checksum  the firmware will execute the operational  code  The operational code is upgradable in the field     5 2 Firmware   Module Identification   IPMI provides two methods to identify the AM4140 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 
12. 04h SoftReset  05h Reserved  06h ColdReset  07h IPMICommand  08h Reserved  09h Reserved  0Ah BMCWatchdog   IPMBL State  C3h  6Fh Sensor discrete   Meaning    sensor type specific    State   08h IPMB L running  others IPMB L not running                      ID 1051 8188  Rev  1 0 Page 27    IPMI Firmware AM4140    m    Table 13  OEM Event Reading Types  Continued                                                                             OEM OEM  SENSOR EVENT READING DESCRIPTION  TYPE  CODE  TYPE  CODE    Firmware Upgrade Manager   6Fh Sensor specific   Event    C7h   sensor type specific    Offset  Oh First Boot after upgrade  th First Boot after rollback  error   2h First Boot after errors  watchdog   3h First Boot after manual rollback  4h Reserved  5h Reserved  6h Reserved  7h Reserved  8h Firmware Watchdog Bite  reset   occurred   Power Supply  08h  i e  for   77h Sensor specific   Event   Power Good    OEM  Offset   Power Good Event Oh 12V good  PWR   1h 5V good  2h 3V3 good  3h Reserved  4h Reserved  bh Reserved  6h Reserved  7h vccCore good  8h Reserved  9h Reserved  Ah Reserved  Bh 3V3IPMI good  MP   Ch Reserved                           Page 28 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware         Table 13  OEM Event Reading Types  Continued                                         OEM OEM  SENSOR EVENT READING DESCRIPTION  TYPE  CODE  TYPE  CODE   Hot Swap Sensor  F2h  6Fh Sensor specific   Event   sensor type specific    Offset   00h Handle close  01h Handle open  
13. 140 AM4140 User Guide  ID 1046 4973  Kontron s    U Boot    Bootloader User Guide  ID 1046 1856  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 AM4140 follows the stringent carrier  grade RASM feature set  namely   Reliability  Availability  Serviceability  Maintainability     Built in accordance with the AMC 0 specification  the AM4140 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 AM4140 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 the mod   ule  payload  power  However  before the IPMC enables the module payload power  various  criteria must be satisfied by both the carrier and the module  includin
14. 2 15 App 39h O   No  Activate Session 22 17 App 3Ah O   No  Set Session Privilege Level 22 18 App 3Bh O  No  Close Session 22 19 App 3Ch O  No  Get Session Info 22 20 App 3Dh O  No  Get AuthCode 22 21 App 3Fh O  No  Set Channel Access 22 22 App 40h O   No  Get Channel Access 22 23 App 41h O   No  Get Channel Info 22 24 App 42h O   No  Set User Access 22 26 App 43h O   No  Get User Access 22 27 App 44h O  No  Set User Name 22 28 App 45h O   No  Get User Name 22 29 App 46h O  No  Set User Password 22 30 App 47h O  No  Activate Payload 24 1 App 48h O   No  Deactivate Payload 24 2 App 49h O  No  Get Payload Activation Status 24 4 App 4Ah O   No  Get Payload Instance Info 24 5 App 4Bh O   No  Set User Payload Access 24 6 App 4Ch O   No  Get User Payload Access 24 7 App 4Dh O   No  Get Channel Payload Support 24 8 App 4Eh O   No                         ID 1051 8188  Rev  1 0 Page 9    IPMI Firmware AM4140    d    Table 3  Standard IPMI Commands  Continued                                                                                                           IPMI 2 0 KONTRON  COMMAND SPEC  SUPPORT  SECTION ON MMC  Get Channel Payload Version 24 9 App 4Fh O   No  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  Suspend Resume Payload Encryption 24 3 App 55h O   No  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
15. 5 S E 23h  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  Re arm Sensor Events 35 12 S E 2Ah O   No  Get Sensor Event Status 35 13 S E 2Bh O   No  Get Sensor Reading 35 14 S E 2Dh  Set Sensor Type 35 15 S E 2Eh O   No  Get Sensor Type 35 16 S E 2Fh O  No               Page 11    IPMI Firmware AM4140    d    Table 3  Standard IPMI Commands  Continued     IPMI 2 0 KONTRON    COMMAND SPEC  NETFN CMD SUPPORT  SECTION ON MMC                                                                                                  FRU DEVICE COMMANDS EN  Get FRU Inventory Area Info 34 1 Storage 10h   Read FRU Data 34 2 Storage 11h   Write FRU Data 34 3 Storage 12h   SDR DEVICE COMMANDS O  Get SDR Repository Info 33 9 Storage 20h O No  Get SDR Repository Allocation Info 33 10 Storage 21h O   No  Reserve SDR Repository 33 11 Storage 22h O   No  Get SDR 33 12 Storage 23h O   No  Add SDR 33 13 Storage 24h O   No  Partial Add SDR 33 14 Storage 25h O   No  Delete SDR 33 15 Storage 26h O   No  Clear SDR Repository 33 16 Storage 27h O   No  Get SDR Repository Time 33 17 Storage 28h O   No  Set SDR Repository Time 33 18 Storage 29h O   No  Enter SDR Repository Update Mode 33 19 Storage 2Ah O   No  Exit SDR Repository Update Mode 33 20 Storage 2Bh O  No  Run Initialization Agent 33 21 Storage 2Ch O  No  SEL DEVICE COMMANDS O  Get S
16. ATIONS                                                          U Boot FCLKA   sconf  Ports 4 7   Ports 8 11   FRONT   SYSTEM PCle  Base Conf  Ref  Clock  0 GbE GbE   SRIOQ3 125  SRIO 3 125 Yes Yes  1 GbE GbE   SRIO 3 125  GbE 4x1 Yes Yes  2 GbE GbE   SRIO 3 125 PCle Yes Yes  3 GbE  GbE  SRIO 92 5 SRIO 92 5 Yes Yes Yes  4 GbE  GbE  SRIO 92 5 XAUI Yes Yes Yes  5 GbE  GbE  SRIO 92 5 PCle Yes Yes Yes Yes  6 GbE  GbE  PCle PCle Yes Yes  7 GbE  GbE  PCle XAUI Yes Yes  7 1 2 Select an  sconf  Base Configuration    The AM4140 default board configuration is as follows      sconf  base configuration  0         SRIO system size  small  e SRIO interface mode  agent    GbE  AMC port 1   rear    The currently active  sconf  base configuration can be determined using the U Boot  sconf status   command     To change the  sconf  base configuration  the U Boot    sconf select  lt value gt     command is used   Depending on the base configuration chosen  there are additional options that can be changed  using the  sconf set   option     value    U Boot command  Configuration changes are not ap   plied immediately  In order to apply the new configuration  it must first be saved using the  sconf  save  command and then a power on reset must be made using the  sconf save reset  com   mand     When saving a new  sconf  base configuration  the FRU data is modified to reflect the  new   AMC interconnection capabilities required for E Keying  Additionally  it is required to inform the  carrier IPMC o
17. Active 25 9 Transport 18h O  No  Callback 25 10 Transport 19h O  No  Set User Callback Options 25 11 Transport 1Ah O  No  Get User Callback Options 25 12 Transport 1Bh O   No  SOL Activating 26 1 Transport 20h O  No                         ID 1051 8188  Rev  1 0    Page 13    IPMI Firmware    d    Table 3  Standard IPMI Commands  Continued     AM4140                                                                                     IPMI 2 0 KONTRON  COMMAND SPEC  NETFN SUPPORT  SECTION ON MMC  Get SOL Configuration Parameters 26 2 Transport 21h O   No  Set SOL Configuration Parameters 26 3 Transport 22h O   No  BRIDGE MANAGEMENT COMMANDS  ICMB  O  Get Bridge State  ICMB  Bridge 00h O  No  Set Bridge State  ICMB  Bridge 01h O  No  Get ICMB Address  ICMB  Bridge 02h O  No  Set ICMB Address  ICMB  Bridge 03h O  No  Set Bridge Proxy Address  ICMB  Bridge 04h O  No  Get Bridge Statistics  ICMB  Bridge 05h O   No  Get ICMB Capabilities  ICMB  Bridge 06h O  No  Clear Bridge Statistics  ICMB  Bridge 08h O  No  Get Bridge Proxy Address  ICMB  Bridge 09h O   No  Get ICMB Connector Info  ICMB  Bridge 0Ah O  No  Get ICMB Connection ID  ICMB  Bridge OBh O  No  Send ICMB Connection ID  ICMB  Bridge OCh O  No  DISCOVERY COMMANDS  ICMB  O  Prepare For Discovery  ICMB  Bridge 10h O No  Get Addresses  ICMB  Bridge 11h O  No  Set Discovered  ICMB  Bridge 12h O  No  Get Chassis Device ID  ICMB  Bridge 13h O   No  Set Chassis Device ID  ICMB  Bridge 14h O   No  BRIDGING COMMANDS  ICMB  O  Bridge
18. EL Info 40 2 Storage 40h O No  Get SEL Allocation Info 40 3 Storage 41h O   No  Reserve SEL 40 4 Storage 42h O   No  Get SEL Entry 40 5 Storage 43h O   No  Add SEL Entry 40 6 Storage 44h O   No  Partial Add SEL Entry 40 7 Storage 45h O   No                              Page 12 ID 1051 8188  Rev  1 0    AM4140    Table 3  Standard IPMI Commands  Continued        IPMI Firmware                                                                                             IPMI 2 0 KONTRON  COMMAND SPEC  SUPPORT  SECTION ON MMC   Delete SEL Entry 40 8 Storage 46h O No  Clear SEL 40 9 Storage 47h O No  Get SEL Time 40 10 Storage 48h O No  Set SEL Time 40 11 Storage 49h O No  Get Auxiliary Log Status 40 12 Storage 5Ah O No  Set Auxiliary Log Status 40 13 Storage 5Bh O No  LAN DEVICE COMMANDS O   Set LAN Configuration Parameters 23 1 Transport 01h O  No  Get LAN Configuration Parameters 23 2 Transport 02h O  No  Suspend BMC ARPs 23 3 Transport 03h O  No  Get IP UDP RMCP Statistics 23 4 Transport 04h O  No  SERIAL MODEM DEVICE COMMANDS O   Set Serial Modem Configuration 25 1 Transport 10h O No  Get Serial Modem Configuration 25 2 Transport 11h O No  Set Serial Modem Mux 25 3 Transport 12h O No  Get TAP Response Codes 25 4 Transport 13h O No  Set PPP UDP Proxy Transmit Data 25 5 Transport 14h O   No  Get PPP UDP Proxy Transmit Data 25 6 Transport 15h O  No  Send PPP UDP Proxy Packet 25 7 Transport 16h O  No  Get PPP UDP Proxy Receive Data 25 8 Transport 17h O  No  Serial Modem Connection 
19. G kontron       User Guide          AM4140  IPMI Firmware    Doc  ID  1051 8188  Rev  1 0  June 5  2012       If it s embedded  it s Kontron     Preface AM4140         Revision History    Publication Title    AM4140 IPMI Firmware User Guide       Brief Description of Changes Date of Issue    1 0 Initial issue 5 Jun 2012                                        Imprint    Kontron Modular Computers GmbH may be contacted via the following     MAILING ADDRESS TELEPHONE AND E MAIL  Kontron Modular Computers GmbH  49  0  800 SALESKONTRON  SudetenstraBe 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 O 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 1051 8188  Rev  1 0    AM4140 Preface         Table of Contents    PEE 001 1  WEE 5  1 1 Terminology and Acronym Definitions         rrrrrrrrnnnnnnnnnnnnnnnnnrnrnrnrnrnrnrnnnrnnnnnnnr 5  12 Related usse  EE 6  1 8 IPMI in AdvancedMC   AdvancedTCA Environment scenerne 6  1 4 Module Managem
20. ID     Device ID   20h  NXP ARM7 microcontroller     Product ID   identifies the firmware  its board family firmware          ID 1051 8188  Rev  1 0 Page 29    IPMI Firmware AM4140    d      Firmware revision  byte 4 5  reflects the version of the running firmware  which will  change after firmware 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 AM4140 MMC  Additionally  some run time information such as AMC slot and slot de   pendent IPMB address is available in this record     For example  when using the Linux  ipmitool  on a AM4140 placed in the first AMC slot of a  uTCA system  by calling   ipmitool sdr list mcloc    the following information is displayed     A1 AM4140      Q72h   ok    5 3 Firmware 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 the 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   e KCS interface  local  requires active payload 
21. L bus   A1 IPMBL State Sensor specific  6Fh  000Fh   08h   Mgmt  Subsyst  Health  28h     0002h   0000h     Storage error   A1 MMC Stor Err Sensor specific 0003h   0Ah   Firmware Upgrade Manager   010Fh 0000h    Status of Firmware Upgrade   A1  MMC FwUp  C7h    Sensor specific  6Fh    010Fh Manager   ODh   OEM  C4h    04DEh   0000h     Board reset event   A1 Board Reset Sensor specific  6Fh  04DEh   OFh   Temperature  01h    7A95h   7A95h    Air temperature near AMC   A1 Temp AMC In Threshold  01h  3F3Fh Card edge connector   10h   Temperature  01h    7A95h   7A95h     Board temperature top side   A1  TempBrdTop Threshold  01h  3F3Fh   11h   Temperature  01h    7A95h   7A95h     Board temperature bottom   A1  TempBrdBottom   Threshold  01h  3F3Fh side   12h   Temperature  01h    7A95h   7A95h     CPU temperature   A1  TempCPU Threshold  01h  3F3Fh   13h   Voltage  02h    2204h   2204h     AMC Management Power   A1 Board 3 3vIPM Threshold  01h  1212h  MP  3 3V                        Page 24    ID 1051 8188  Rev  1 0          AM4140    Table 10  Sensor List  Continued     IPMI Firmware                                     Sensor Number   Sensor Type  Code    Sege gege D ANT  NETUS vent Reading Type  Code  ee id ob  Reading Mask   14h   Voltage  02h    2204h   2204h     AMC Payload Power  PWR   AT Board 12 0v Threshold  01h  1212h 12V  15h   Voltage  02h    2204h  2204h     Board 5V supply  A1 Board 5 0V Threshold  01h  1212h  16h   Voltage  02h    2204h 2204h    Board 3 3V suppl
22. Rev 1 1  are used to record the version of the FRU installed  The revision num   ber is incremented for each new release of FRU data     Example of board FRU ID   STD R10   Example of product FRU ID   STD  R10     6 2 FRU 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     T  E Keying    E Keying has been defined in the AMC 0 R2 0 Specification to prevent module damage and  malfunctions and to verify the 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  indicates the maximum power consumption of  the AM4140      Clock Configuration Record  configures the PCI Express reference clock  FCLKA on  AMC Card edge connector       AMC Point to point Record  indicates the AMC port capabilities of the AM4140  i e  the  supported AMC fabric interface types of the current board configuration    The AM4140 module supports various AMC fabric interface types in several combinations con   figurable via the  sconf  base configurations  Each  sconf  base configuration is reflected in the  module s FRU data     Depending on the current board configuration  i e  the module s description in the FRU data re   cords   the carriers s IPMC  in an ATCA system  or the MCH  of a MicroTCA system  decides  during E Keying which AMC fabric interfaces are activated  Therefor
23. are Hub   2C Inter Integrated Circuit   IPMB Intelligent Plattorm 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 Plattorm Management Controller located on the AMC carrier   IPMI Intelligent Plattorm 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   SDRR Sensor Data Record Repository   SEL System Event Log   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 1051 8188  Rev  1 0         Page 5    IPMI Firmware AM4140         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 A  Serial RapidlO  Rev 1 0                      AM4
24. d  default   01h   Recovery SPI boot flash is selected    Please note that this selection may be forcibly overridden either by the DIP Switch SW2   switch 2  refer to the AM4140 User Guide  Table 4 1  or during a bootloader firmware update  process     To be able to change the SPI boot flash selection via the Set Control State command   the recovery SPI boot flash must not be previously selected  either via the DIP switch SW2   switch 2  or via the  flsw  U Boot command  In order to select the standard SPI boot flash via  the Set Control State command  the DIP switch SW2  switch 2  must be set to OFF  and the  flsw  U Boot command must use the option    s       In case of a failed boot process from the standard SPI b boot flash  the IPMI controller will  select the recovery SPI boot flash and boot the board again  In case of a boot failure from the  recovery SPI boot flash  the board locks up  Refer to Chapter 8  U Boot Failover Control for  further information              RESPONSE DATA    Data Field       1 Completion Code       ID 1051 8188  Rev  1 0 Page 19    IPMI Firmware AM4140    m    3 3 Get Control State  Firmware Hub  Boot Order     Table 7  Get Control State  COMMAND   LUN NetFn    Get Control State  Firmware Hub  Boot Order  o   OEM   3Eh    REQUEST DATA    Byte Data Field    1 Control ID   00h   Firmware hub  SPI boot flash  selection  9Dh   Reserved    RESPONSE DATA  Data Field       1 Completion code    4 Control state  refer to Chapter 3 2  Set Control State 
25. ded 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 com   mand     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 en   vironment     Please note that missing FRU information possibly will prevent the AMC module from being ac   cepted 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 stan   dard IPMI commands  Damaging the FRU information may lead to a non working payload     Note        The FRU data can be read and upgraded via the U Boot  fru  command  For  further information  refer to the AM4140 U Boot Bootloader User Guide     An    Page 32 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware    6 1 FRU Version Identification    The FRU data fields  as defined in the IPMI   Platform Management FRU Information Storage  Definition v1 0  
26. e  the IPMI commands Set  AMC Port State and Get AMC Port State defined by the AMC 0 specification are used for  either granting or rejecting the E Keys  i e  enabling or disabling of AMC ports during E Keying      7 1 Board Configuration for E Keying    The board configuration for E Keying is done via the U Boot    sconf    command  For further in   formation on the U Boot  sconf    command  refer to the AM4140 U Boot Bootloader User Guide     7 1 1 Board Configuration Options    In addition to the  sconf  base configurations  there are further board configuration options which  depend on the type of the fabric interface used or the  sconf    base configuration selected  For  example  the SRIO related board configuration is available only if SRIO interfaces are available   the FCLKA configuration is available only when PCI Express interfaces are present  For infor   mation on the AMC interconnection capabilities and the fabric interfaces supported for an  sconf   base configuration  refer to the AM4140 User Guide  Chapter 2 10  AMC Interconnection     The following table indicates the fabric interfaces available and which board configuration op   tions can be applied to the respective  sconf  base configuration     ID 1051 8188  Rev  1 0 Page 33    IPMI Firmware AM4140    m    Table 14  Overview of Board Configuration Options    FURTHER BOARD CONFIGURATION  OPTIONS DEPENDING ON THE BASE  CONFIGURATION    AMC PORT CONFIGURATION USING THE  U BOOT    sconf info    BASE CONFIGUR
27. e MMC  indicates the boot error with sensor  FWH1 Boot Err  and generates the event  The MMC re   mains operable  however  now some form of intervention  human  on the part of the IPMI man   agement system is required to resolve the failure of the module to properly boot     9  Hot Swap    9 1 General    As a hot swappable field replaceable unit  FRU   the AM4140 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 Manu   facturers  clients literally conserve valuable system AdvancedTCA system slots  The AM4140  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     9 2 OS Requirements for Graceful Shutdown    Requirements       At system start on the payload side  the Kontron shutdown daemon  grnsd    must be start   ed  It is included in the Linux board support packages for the AM4140  This daemon com   municates 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          Page
28. e 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    e Usable in UTCA 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    e U Boot fail over control for automatic U Boot firmware bank switching after having  detected a non working U Boot      OEM command for U Boot firmware bank  SPI boot flash  selection    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      ID 1051 8188  Rev  1 0 Page 7    IPMI Firmware AM4140         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 b
29. ent Controller Hardware aen 6   2  MMC Firmware ossessuvasukxEVEVE IE FEekiex EE Fleuu EE  xVaddEdEKRMERFE VE E nOFFE   FERE EEYRRME 7   ANE CUI 0 m                      7  2 2 Supported IPMI and ATCA Commangds                     sese 8   221 Standard IPMI Commands    eie redi caedes sad udo decida da Ad 8  2 2 2 AdvancedTCA and AMC Commands                            essen 16   3  OEM Commands and Command Extensions                             18  3 1 Get Device ID Command with OEM Extensions                        ssssssssseeeeeee 18  3 2 Set Control State  Firmware Hub  Boot Order                      ssssssss 19  3 8 Get Control State  Firmware Hub  Boot Order  cesser 20  3 4 OEM Module Quiescence Feedback                     sese 21   3 4 1 Usage if a Shutdown Daemon is Announced as Present          1 1 1              22  3 4 2 Usage if no Shutdown Daemon is Announced as Present            1 1        1 1  22   4  Sensors Implemented on the AM4140                                         23  41  Sensor E ERR TEE 24  4 2 Sensor ee EE 26  43  OEM Event Reading EE 27   5  Firmware e E 29  5 1 Structure and Functionality E 29  52 Firmware   Module Identification              aes denies na nens ash NEEN 29    ID 1051 8188  Rev  1 0 Page 3    Preface AM4140         5 3 lain sine                      30  5 3 1 Firmware File Formats uassesaitasiatditmaiu Masc x ed MORIS a CRURA 30  5 8 2 Firmware Upgrade    ipmitool hoM    cen rr nnnnne 31  5 8 8 Firmware Upgrade    ipmitool fwum
30. er    Health   amber  ered   Only lamp test  LED  red green Module is healthy  normal opera   tion  and all related sensors are  within the specified range  amber Payload is on and at least one  sensor is out of range  red Reserved  HS LED   blue on 8  Module ready for hot swap By carrier    Hot extraction  or   On  Swap b  Module has just been inserted   Off  LED  in a powered system   Slow Fast Blink   blinking Module hot swap in progress  Ing  module not ready for extraction By user   off Module is in normal operation   Only lamp test          ID 1051 8188  Rev  1 0         Page 39    IPMI Firmware AM4140    d    This page has been intentionally left blank     Page 40 ID 1051 8188  Rev  1 0    
31. g power requirements and  capabilities  matching interfaces  current module hot swap state  and any other special condi   tions as specified by the shelf manager policy     1 4 Module Management Controller Hardware    On the AM4140  the MMC is implemented using an NXP amp  ARM7 microcontroller with 512 kB  of internal flash and 56 kB of RAM          Page 6 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware         An external 64 kB serial EEPROM chip is used for firmware private data and for FRU inventory  storage  Furthermore  an external 4 MB MMC firmware flash is used for additional firmware  image storage     The MMC implements one local Keyboard Controller Style  KCS  interface with interrupt sup   port 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  CPU  board and airflow near AMC Card edge connector      Power Good  LAN links  board reset  IPMB L state  Health error  IPMI watchdog  firm   ware update rollback  etc     2  MMC Firmware    2 1 Key Features  The following are key features of the AM4140 MMC firmware     Compliant with the related IPMI and PICMG   specifications    Firmware designed and specially made for AdvancedMC environments  ATCA  uTCA     Support for one KCS interface with interrupt support    Support for th
32. lable only for  the base configurations which provide a PCI Express fabric interface from the processor s  SerDes Bank 1     Note        When a base configuration is selected via the U Boot  sconf select  lt value gt      command  the configuration option for the FCLKA is set to its default value   auto E Keying      ID 1051 8188  Rev  1 0 Page 35    IPMI Firmware AM4140    d    8  U Boot Failover Control   Automatic Flash  Selection    For normal operation  the MMC specifies the standard SPI boot 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 boot 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  FWHO Boot Err   indicates the boot error and generates the event for the standard SPI boot flash  When booting  from the standard SPI boot flash fails  the MMC selects the recovery SPI boot flash  then the  board processor is reset and the MMC waits for the checksum report message from U Boot  again     In the event the boot from the recovery SPI boot flash 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  th
33. lf Address Info 3 14 PICMG O3h 1  N A  FRU Control 3 22 PICMG 04h  Get FRU LED Properties 3 24 PICMG 05h  Get LED Color Capabilities 3 25 PICMG 06h  Set FRU LED State 3 26 PICMG 07h  Get FRU LED State 3 27 PICMG 08h  Set IPMB State 3 51 PICMG 09h  Set FRU Activation Policy 3 17 PICMG 0Ah N A  Get FRU Activation Policy 3 18 PICMG OBh N A  Set FRU Activation 3 16 PICMG OCh N A  Get Device Locator Record ID 3 29 PICMG ODh Mes    Set Port State 3 41 PICMG OEh N A  Get Port State 3 42 PICMG OFh N A  Compute Power Properties 3 60 PICMG 10h N A  Set Power Level 3 62 PICMG 1th N A  Get Power Level 3 61 PICMG 12h N A  Renegotiate Power 3 66 PICMG 13h N A  Get Fan Speed Properties 3 63 PICMG 14h N A                              Page 16 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware          Table 4  AdvancedTCA and AMC Commands  Continued                                            PICMG 3 0 KONTRON  COMMAND SPEC  SUPPORT  TABLE ON MMC  Set Fan Level 3 65 PICMG 15h N A  Get Fan Level 3 64 PICMG 16h N A  Bused Resource 3 44 PICMG 17h N A  Get IPMB Link Info 3 49 PICMG 18h N A  AMC AMC 0  TABLE  Set AMC Port State 3 27 PICMG 19h  Get AMC Port State 3 28 PICMG 20h  Set Clock State 3 44 PICMG 2Ch  Get Clock State 3 45 PICMG 2Dh                       1  Only  FRU Control   Cold Reset  and  FRU Control   Quiesce  are supported     ID 1051 8188  Rev  1 0 Page 17    IPMI Firmware AM4140    m    3  OEM Commands and Command Extensions    3 1 Get Device ID Command with OEM Extensions    The IPMI s
34. mber    ID String       Upper non recoverable       A1 Temp AMC In   A1 TempBrdTop   A1 TempBrdBottom   A1 Temp CPU    AM4140           Upper critical       Upper non critical                Lower non critical       Lower critical       Lower non recoverable          75  C 95  C   70  C 90  C 90  C 100  C  65   C 80   C 80   C 95   C  60   C 75   C 75   C 90  C  55   C 65   C 65   C 75  C  0  C 0  C 0  C 0  C   5  C  5  C  5  C  5  C   7  C  7  C  7  C  7  C   10  C  10  C  10  C  10  C             The following table provides the voltage sensor thresholds     Table 12  Voltage Sensor Thresholds    Sensor Number    ID String    Upper non recoverable       A1 Board 3 3vIPM   A1 Board 12 0v    A1 Board 5 0V   A1 Board 3 3V       Upper critical       Upper non critical                Lower non critical       Lower critical       Lower non recoverable                             Page 26    ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware    4 3 OEM Event Reading Types    Kontron s OEM specific sensor types and sensor event type codes are presented in the follow   ing table     Table 13  OEM Event Reading Types                                                       OEM OEM  SENSOR EVENT READING DESCRIPTION  TYPE  CODE  TYPE  CODE    Firmware Info 1  COh  70h Internal Diagnostic Data   Firmware Info 2  COh  71h Internal Diagnostic Data   Board Reset  C4h  6Fh Sensor specific   Event    sensor type specific    Offset   00h Reserved  01h HwPowerReset  02h PCIReset  03h HwWatchDogReset  
35. or thresholds or access other Management Controllers via IPMB  Before   ipmitool  can be used  the OpenIPMI driver mentioned above must be loaded too     10 2 OS Support   Board Support Packages    For information on the operating systems supported  refer to the AM4140 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     ID 1051 8188  Rev  1 0 Page 37    IPMI Firmware AM4140         11  IPMI Module Management LEDs    There are three IPMI Module Management LEDs on the front panel of the AM4140  The follow   ing figure illustrates an AM4140 module and the location of the LEDs     IPMI Module Management LEDs  LED1  Out of Service LED     ES LED2  Health LED     HS LED  Hot Swap LED        AN4140 9 PU  e         Page 38 ID 1051 8188  Rev  1 0    AM4140 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       NORMAL MODE          carrier  depending on                                        PICMG LED  command  LED1 red off Default By user    Out of  on MMC out of service or in reset   Only lamp test  Service state  LED  Se    blinking MMC firmware upgrade  LED2 green  off Payload is off  module is not pow   By us
36. pecification 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  COMMAND   LUN NetFn    Get Device ID command with OEM extensions o   App   06h    REQUEST DATA    Byte Data Field    RESPONSE DATA    Data Field       1 Completion code       2 12   Regular Get Device ID command response fields       13 Release number of the MMC firmware   10h for R10   11h for R11        14 Module geographical address  site number     1  8   Module in AMC bay A1  A2  A3  M  B1  B2  B3  B4  or in UTGA slot 1     8 with bus addresses  72h  74h  76h  78h  7ah  7ch  7eh  80h   9  12   Module in u TCA slot 9     12   Bay C1  C2  C3  C4  with bus addresses 82h  84h  86h  88h   0  gt 12   Module position is not in range  The IPMB L bus is  switched off       15 16   Reserved                     Page 18 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware          3 2 Set Control State  Firmware Hub  Boot Order     Table 6  Set Control State  COMMAND   LUN   NetFn   CMD    Set Control State  Firmware Hub  Boot Order  o   OEM   3Eh   20h      REQUEST DATA       Byte Data Field    1 Control ID   00h     Firmware hub  SPI boot flash  selection  9Dh   Reserved       2 Control State for SPI boot 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 selecte
37. r the MCH about the changed capabilities of the module  This is done either by  performing a system power cycle or by removing the module and reinserting it  In both cases   the carrier IPMC or the MCH reads out the  new  capabilities of the module          Page 34 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware          Some  sconf  base configurations allow for redirection of a Gigabit Ethernet interface  default   AMC Port 1  to a front panel connector  For information on the Gigabit Ethernet Interface As   signment  refer to the AM4140 U Boot Bootloader User Guide  Chapter 6 3 1  Interface Selec   tion     7 1 3 Gigabit Ethernet Front Rear Configuration    7 1 4 SRIO Configuration    The configuration options to change the SRIO system size  small or large  or the SRIO inter   face mode  host or agent  are available only for the  sconf  base configurations which provide  an SRIO fabric interface     7 1 5 Forced AMC Port Activation Deactivation  The configuration options to forcibly activate or deactivate an AMC port may be useful during  system setup and testing  and are available for each  sconf  base configuration    Note        When a base configuration is selected via the U Boot  sconf select  lt value gt      command  the configuration options for the AMC ports 4 7 and 8 11 are set to  their default values  auto E Keying      7 1 6 Forced FCLKA PCI Express Reference Clock Configuration    The configuration options to forcibly set the FCLKA  ignoring E Keying  are avai
38. ure 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  and 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 modules 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 UTCA chassis     The following prefixes are used for all sensors of an AMC module   Table 9  Sensor Name Prefix       AMC Bay 1 2 3 4 5 6 7 8       uTCA Slot 1 2 3 4 5 6 7 8 9 10   11 12       Sensor Name At    A2   Prefix    A3    A4  B1  B2  B3  B4    C1    C2    C3    C4                               
39. y  A1 Board 3 3V Threshold  01h  1212h  17h  Power supply  08h    0000h   0000h     States of all power lines  A1 Pwr Good OEM  77h  0887h  18h   Power supply  08h    0000h   0887h     Power fail events for all  A1 Pwr Good Evt OEM  77h  0887h power lines  1Ah   Boot Error  1Eh    0008h   0008h     Firmware Hub 0 boot error  A1 FWHO Boot Err Sensor specific  6Fh  0008h on standard SPI boot flash  1Bh   Boot Error  1Eh    0008h   0008h     Firmware Hub 1 boot error  A1 FWH1 Boot Err Sensor specific  6Fh  0008h on recovery SPI boot flash  1Dh   LAN  27h    0000h   0000h     LAN link status      At Lan AMCO Link   Sensor specific  6Fh  0003h AMC port 0  dTSEC2     1Eh   LAN  27h    0000h   0000h     LAN link status       Al Lan AMC1 Link   Sensor specific  6Fh  0003h AMC port 1  dTSEC1     1Fh  LAN  27h    0000h   0000h     LAN link status       Ai Lan FrontA Lk   Sensor specific  6Fh  0003h Front port A  dTSEC4     20h   LAN  27h    0000h   0000h     LAN link status      A1 Lan FrontB Lk Sensor specific  6Fh  0003h Front port B  dTSEC3     dTSEC1                            The presence of the  Lan AMC1 Link    Lan FrontA Lk    and  Lan FrontB Lk    sensors  depends on the board s configuration  For further information refer to Chapter 7 1  Board  Configuration for E Keying     ID 1051 8188  Rev  1 0 Page 25    IPMI Firmware    m    4 2 Sensor Thresholds    The following table provides the temperature sensor thresholds     Table 11  Temperature Sensor Thresholds        Sensor Nu
40. y the AM4140 MMC     M   mandatory  O   optional  Table 3  Standard IPMI Commands    IPMI 2 0 KONTRON    COMMAND SPEC  CMD SUPPORT  SECTION ON MMC                                                         IPM DEVICE    GLOBAL    COMMANDS NM  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  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             BMC DEVICE AND MESSAGING COMMANDS                      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                           Page 8 ID 1051 8188  Rev  1 0    AM4140 IPMI Firmware         Table 3  Standard IPMI Commands  Continued     IPMI 2 0 KONTRON  COMMAND SPEC  CMD SUPPORT    SECTION ON MMC                                                                                   Send Message   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  Get Channel Authentication Capabilities 22 13 App 38h O  No  Get Session Challenge 2
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
TRAVEL`R - Lance Camper  view user guide  Información importante Pantalla interactiva de panel plano SMART  HP BC1500 User's Manual  Tunturi ELECTRONIC J770 User's Manual  NS-B500 Manual de Instrucciones  Escondido de cielorraso  Formateur d`enseignants en langue(s).  Sony XM-475GSX Operating Instructions    Copyright © All rights reserved. 
   Failed to retrieve file