
NPort 5000 Series User Manual
148
10.
Linux Arm Drivers
Introduction
This section is intended for programmers who are porting the NPort Real TTY driver to a specified Arm-
based platform. The following knowledge is recommended before reading the instructions in this guide.
•
Linux kernel programming
•
Arm platform compiler
•
The Yocto Project documentation
•
Moxa UC-Series Manual
•
Raspberry Pi Manual
Instructions in this section use examples of porting on the Moxa UC-Series Arm platform and Raspberry Pi.
You can apply the experience of porting Real TTY driver to other platforms.
The Real TTY driver fully supports all modern-day Linux distributions running on x86 environments, and the
driver core is also compatible with the Arm platform. This document will guide you on how to port the Real
TTY driver core.
However, some platform-dependent services, such as installer, are not available. You may refer to the
platform’s documentation to fulfill the requirements.
Porting to the Moxa UC-Series—Arm-based
Computer
Build binaries on a general Arm platform
If your platform is powerful and consists of the necessary development tools, the driver can be built on the
platform directly. You can refer to README.TXT of Real TTY Driver to understand the requirement.
The step of building this driver in an Arm environment is the same as in x86 and x64 environments.
# ./mxinst