Getting Started
Page 30
2.7.3
Configuring the UART Interfaces
MEN provides a Linux driver that allows to configure the interface mode and baud rate.It
is included in the 13MD05-90 MDIS5 system package for Linux.
The
baud_base
parameter must be set to 1843200. Use the following command:
MEN’s Linux driver supports the following values for the
mode
parameter:
Note: You can check using
dmesg
whether all
/dev/ttySx
interfaces are present.
2.7.4
Controlling SATA SGPIO Functions
There are two ways to access SGPIO functions under Linux:
Using the MEN software tool included in the MDIS5 System Package for Linux,
13MD05-90.
Using standard Linux I2C tools.
See the MEN website for the MDIS system package:
www.men.de/software/13md05-90/
#
modprobe men_lx_z25 baud_base=1843200
se
single ended (RS232)
df_fdx
differential, full duplex (RS422)
df_hdxe
differential, half duplex, with echo (RS485)
df_hdx
differential, half duplex, no echo (RS485)
Most Linux kernels only support 4 UARTs by default. If you need more
than 4 UARTs, add parameter
8250.nr_uarts=16
to your kernel boot line in
the bootloader or adjust kernel parameter
CONFIG_NR_8250_UARTS
and
recompile the kernel.
See the block diagram and the front panel drawing in
find out the interface names and numbers.
The G25A implementation does
not support
the standard Linux tools
sgpio
and
ledmon
.
More information on supported functions and hardware implementation
See
Chapter 5.3 SATA SGPIO FPGA on page 60
for a register description.
See
Chapter 2.7.1.2 Standard Linux I2C Tools on page 28
description of how to access SMBus devices using standard Linux tools.