Getting Started
Page 26
2.7
Using the G25A under Linux
This chapter describes how to use Linux software together with the G25A. A detailed
step-by-step description is given where needed.
2.7.1
Accessing Board Management Functions
There are two ways to access board management functions, e.g., the board
management controller (BMC), under Linux:
Using MEN software tools for Linux.
Using standard Linux I2C tools.
2.7.1.1
MEN Tools
MEN provides a number of MDIS software tools for accessing G25A functions via the
SMBus, which are included in the MDIS5 System Package for Linux,13MD05-90:
xm01bc_ctrl
is the tool for accessing the BMC
smb2_eetemp
is the tool for accessing the temperature sensor
In the following you can find an exemplary description of how to access the BMC:
»
Install the MDIS5 System Package for Linux.
»
Load the driver for the BMC using the following commands
:
More information on supported functions and hardware implementation
See
Chapter 3.3 Supervision and Management on page 33
See
Chapter 5.4 BMC API (Application Programming Interface) on page 62
for a
detailed description of the BMC API.
See
Chapter 5.2 SMBus/I2C Devices on page 59
.
for details on the MEN Driver Interface
System, and all available software packages.
MDIS5 System Package for Linux
documentation for a
detailed description of the configuration of SMBus devices.
We recommend that you read the MDIS5 under Linux User Manual,
especially Chapter A 10.1.6 Adding SMB Devices, before continuing.
$
sudo modprobe men_mdis_kernel
$
sudo modprobe men_ll_xm01bc