Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [3aeab4] master next /
History



File Date Author Commit
doc 2011-03-02 Nathan Fontenot Nathan Fontenot [5aaff3] Initial librtas git tree creation.
libofdt_src 2014-02-28 Signed-off-by: Greg Kurz Signed-off-by: Greg Kurz [9c5bcc] librtas, libofdt: fix endianness issues when ac...
librtas_src 2014-06-06 Thomas Falcon Thomas Falcon [f9b806] librtas: Little endian support in syscalls
librtasevent_src 2014-03-24 Nathan Fontenot Nathan Fontenot [4c7302] librtasevent: Enable RTAS event parsing on LE s...
COPYRIGHT 2011-03-02 Nathan Fontenot Nathan Fontenot [5aaff3] Initial librtas git tree creation.
Changelog 2014-06-25 Nathan Fontenot Nathan Fontenot [3aeab4] Perparations for librtas-1.3.11
Makefile 2011-03-02 Nathan Fontenot Nathan Fontenot [5aaff3] Initial librtas git tree creation.
README 2014-06-25 Thomas Falcon Thomas Falcon [129fdb] README: documentation on handling endianness
librtas.spec.in 2014-06-25 Nathan Fontenot Nathan Fontenot [3aeab4] Perparations for librtas-1.3.11
rules.mk 2014-06-06 Maran Pakkirisamy Maran Pakkirisamy [b13d14] librtas: avoid bashism in rules.mk

Read Me

                                 librtas 
              ------------------------------------------------

Technical contacts: 
	librtas.so - John Rose <johnrose@us.ibm.com>
	librtasevent.so - Nathan Fontenot <nfont@austin.ibm.com>

Admin contacts:
	Micheal Strosaker <strosake@us.ibm.com>
	Nathan Fontenot <nfont@austin.ibm.com>
                      
May 2005

Librtas provides a set of libraries for user-space access to the
Run-Time Abstraction Services (RTAS) on the ppc64 architecture.

librtas.so
This library that allows user-space programs to make RTAS calls which 
provide support for low-level system hardware configuration and operations, 
such as getting hardware sensor (temp, fan speed, etc.) data, setting the 
operator panel LEDS, getting hardware error logs, injecting artificial 
hardware errors (for testing), getting VPD (Vital Product Data), and 
loading new firmware.

librtasevent.so
This library provides a set of definitions and useful routines for
analyzing RTAS events, such as parsing out the sections of an RTAS event
and printing the contents of a RTAS event in human-readable form (used
by many of the RAS tools on ppc64).

Building & Installing:
----------------------
To compile, do the following:

make 
su - root
make install
/sbin/ldconfig

Endian Concerns:
----------------
RTAS expects integer values to be in a 32 bit, big endian format.  This
requirement will be handled by librtas except when values are passed
to or from RTAS via a buffer.  In this case, we expect the caller to handle
the endianess of these values.  The librtas calls that employ this 
method are listed below:

rtas_cfg_connector
rtas_errinjct
rtas_get_indices
rtas_get_sysparm
rtas_get_vpd
rtas_lpar_perftools
rtas_set_sysparm
rtas_update_nodes
rtas_update_properties