Sun Microsystems Netra CP3010 Instrucciones de funcionamiento

Copyright 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to technology that is described in this document. In particular, and without
limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
more additional patents or pending patent applications in the U.S. and in other countries.
This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and
decompilation. No part of the product or of this document may be reproduced in any form by any means without prior written authorization of
Sun and its licensors, if any.
Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.
Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in
the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd.
Sun, Sun Microsystems, the Sun logo, Java, AnswerBook2, docs.sun.com, Netra, OpenBoot, and Solaris are trademarks or registered
trademarks of Sun Microsystems, Inc. in the U.S. and in other countries.
All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and in other
countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.
The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges
the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun
holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun’s licensees who implement OPEN
LOOK GUIs and otherwise comply with Sun’s written license agreements.
U.S. Government Rights—Commercial use. Government users are subject to the Sun Microsystems, Inc. standard license agreement and
applicable provisions of the FAR and its supplements.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, Californie 95054, Etats-Unis. Tous droits réservés.
Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie qui est décrit dans ce document. En particulier, et sans la
limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains énumérés à http://www.sun.com/patents et
un ou les brevets plus supplémentaires ou les applications de brevet en attente dans les Etats-Unis et dans les autres pays.
Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l’utilisation, la copie, la distribution, et la
décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans
l’autorisation préalable et écrite de Sun et de ses bailleurs de licence, s’il y ena.
Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des
fournisseurs de Sun.
Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l’Université de Californie. UNIX est une marque
déposée aux Etats-Unis et dans d’autres pays et licenciée exclusivement par X/Open Company, Ltd.
Sun, Sun Microsystems, le logo Sun, Java, AnswerBook2, docs.sun.com, Netra, OpenBoot, et Solaris sont des marques de fabrique ou des
marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d’autres pays.
Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc.
aux Etats-Unis et dans d’autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun
Microsystems, Inc.
L’interface d’utilisation graphique OPEN LOOK et Sun™ a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun
reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d’utilisation visuelle ou graphique
pour l’industrie de l’informatique. Sun détient une license non exclusive de Xerox sur l’interface d’utilisation graphique Xerox, cette licence
couvrant également les licenciées de Sun qui mettent en place l’interface d ’utilisation graphique OPEN LOOK et qui en outre se conforment
aux licences écrites de Sun.
LA DOCUMENTATION EST FOURNIE "EN L’ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES
OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A
L’ABSENCE DE CONTREFAÇON.

iii
Contents
Preface ix
1. Environmental Monitoring 1
Power Requirements 2
Inlet, Exhaust, and CPU Temperatures 2
2. Flash Device Driver 5
Software Requirements 6
Storing Data and Applications 6
Switch Settings 6
OpenBoot PROM Device Tree and Properties 7
Flash Device Files 7
Interface (Header) File 8
Flash Memory 8
Accessing the Flash Device 8
Using Structures in IOCTL Arguments 9
Resolving Structure Errors 10
Developing Programs 11
Example Read Program 11
Example Write Program 13

vi Netra CP3010 Board Programming Guide •January 2006

vii
Code Examples
CODE EXAMPLE 2-1 PROM Information Structure 9
CODE EXAMPLE 2-2 Flash User Interface Structure 10
CODE EXAMPLE 2-3 Read Action on Flash Device 11
CODE EXAMPLE 2-4 Write Action on Flash Device 13
CODE EXAMPLE 2-5 Block Erase Action on Flash Device 15
CODE EXAMPLE 2-6 Flash Application Program 17

viii Netra CP3010 Board Programming Guide •January 2006

ix
Preface
The Netra™CP3010 board is a crucial building block that network equipment
providers and carriers can use when scaling and improving the availability of next-
generation, carrier-grade systems.
This Netra CP3010 Board Programming Guide is written for program developers and
users who want to program this board to design original equipment manufacturer
(OEM) systems, supply additional capability to an existing compatible system, or
work in a laboratory environment for experimental purposes.
Note – You are required to have a basic knowledge of computers and digital logic
programming to fully use the information in this document.

xNetra CP3010 Board Programming Guide •January 2006
How This Book Is Organized
Chapter 1 describes environmental monitoring of the Netra CP3010 board.
Chapter 2 describes the user flash driver device for the Netra CP3010 onboard flash
PROMs and how to use the device.
Using UNIX Commands
This document might not contain information about basic UNIX®commands and
procedures such as shutting down the system, booting the system, and configuring
devices. Refer to the following for this information:
■Software documentation that you received with your system
■Solaris™ Operating System documentation, which is at:
http://docs.sun.com
Shell Prompts
Shell Prompt
C shell machine-name%
C shell superuser machine-name#
Bourne shell and Korn shell $
Bourne shell and Korn shell superuser #
Tabla de contenidos
Otros manuales de Computadora de placa única de Sun Microsystems
Manuales populares de Computadora de placa única de otras marcas

WIN Enterprises
WIN Enterprises PL-80910 Manual de usuario

AXIOMTEK
AXIOMTEK SBC81206 Series Manual de usuario

Embest
Embest SOM-PH8800 Manual de usuario

SeaLevel
SeaLevel SBC-R9 Manual de usuario

SMART Embedded Computing
SMART Embedded Computing ATCA-8310 Manual de usuario

WinSystems
WinSystems PPM-LX800-G Manual de usuario

GIGAIPC
GIGAIPC QBiX-PPC Series Manual de usuario

OLIMEX
OLIMEX A10S-OLinuXino-MICRO Manual de usuario

Commell
Commell FS-978 Manual de usuario

GIGAIPC
GIGAIPC QBiP-8665A/ Manual de usuario

VersaLogic
VersaLogic Python EBX-11 Manual de usuario

Micro Computer Specialists
Micro Computer Specialists IRV-3702 Manual de usuario









