Sun Logo


Netra CP2300 cPSB Board Programming Guide

for Solaris Operating Environment

817-1331-10



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

System Compatibility

User Flash Driver

Switch Settings

OpenBoot PROM Device Tree and Properties

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

Power On/Off Switching

Inlet, Exhaust, and CPU Temperature Monitoring

Adjusting the ASM Warning, Critical, and Shutdown Parameter Settings on the Board

OpenBoot PROM Environmental Parameters

OpenBoot PROM/ASM Monitoring

CPU 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

4. Programming the User LED

Files and Packages Required to Support the Alarm/User LED

Applications

Application Programming Interface (API)

Compile

Link

Sample Application Program

Index