Sun Logo


Netra CP2000 and CP2100 Series cPCI Boards Programming Guide

for Solaris Operating Environment

816-2485-13



Contents

Preface

1. Watchdog Timer

Watchdog Timers

Watchdog Timer Driver

Operations on the Watchdog Timers

Parameters Transfer Structure

Input/Output Controls

Errors

Example

Configuration

OpenBoot PROM Interface

Data Structure

Watchdog Operation

Commands at OpenBoot PROM Prompt

Corner Cases

Setting the Watchdog Timer at OpenBoot PROM

2. User Flash

User Flash Usage and Implementation

User Flash Address Range

System Compatibility

User Flash Driver

Switch Settings

OpenBoot PROM Device Tree and Properties

User Flash Packages

User Flash Device Files

Interface (Header) File

Application Programming Interface

Structures to Use in IOCTL Arguments

Errors

Example Programs

Sample User Flash Application Program

3. Advanced System Management

ASM Component Compatibility

Typical ASM System Application

Typical Cycle From Power Up to Shutdown

ASM Protection at the OpenBoot PROM

ASM Protection at the Operating Environment Level

Post Shutdown Recovery

Hardware ASM Functions

CPU-Vicinity Temperature Monitoring

Inlet/Exhaust Temperature Monitoring

CPU Diode Temperature Monitoring

Adjusting the ASM Warning and Shutdown Parameter Settings on the Board

OpenBoot PROM Environmental Parameters

OpenBoot PROM/ASM Monitoring

CPU Diode Monitoring

show-sensors Command at OpenBoot PROM

IPMI Command Examples at OpenBoot PROM

ASM Application Programming

Specifying the ASM Polling Rate

Monitoring the Temperature

Solaris Driver Interface

Sample Application Program

Temperature Table Data

System Configuration and Test Equipment

Thermocouple Locations

4. Programming the User LED

Files and Packages Required to Support the Alarm/User LED

Applications

Application Programming Interface (API)

Compile

Link

5. Programming Netra CP2100 Series Board Controlled Devices

Overview of Hot-Swap Device States

Retrieving Device Type Information

Using cphsc to Collect Information

HSIOC_GET_INFO ioctl()

Using Library Interfaces to Collect Information

High Availability Signal Support

Setting OpenBoot PROM Configuration Variables

Controlling and Monitoring High Availability Signals

Bringing a Slot Online

Using the HSIOC_SETHASIG ioctl()

Creating a Header File for the CP2100 Series Software

6. Reconfiguration Coordination Manager

Reconfiguration Coordination Manager (RCM) Overview

Using RCM with the Netra CP2100 Series CompactPCI Board

Using RCM to Work With the Intel 21554 Bridge Chip

RCM Script Example

Testing the RCM Script Example

Avoiding Error Messages When Extracting Devices in Basic Hot-Swap Mode

Index