EasyManuals Logo

Moxa Technologies NPort 5110A User Manual

Moxa Technologies NPort 5110A
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #157 background imageLoading...
Page #157 background image
NPort 5000 Series User Manual
157
6. Modify the content of the file “./realtty-kernel/files/Makefile” as follows:
obj-m := npreal2.o
SRC := $(shell pwd)
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC)
modules_install:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
clean:
rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
rm -f Module.markers Module.symvers modules.order
rm -rf .tmp_versions Modules.symvers
7. Modify the content of the file './realtty-kernel/realtty-kernel_0.1.bb' as follows:
DESCRIPTION = "Linux kernel module for NPort"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING-GPL.TXT;md5=3c34afdc3adf82d2448f12715a255122"
inherit module
SRC_URI = " \
file://Makefile \
file://npreal2.h \
file://np_ver.h \
file://npreal2.c \
file://COPYING-GPL.TXT \
"
S = "${WORKDIR}"
# The inherit of module.bbclass will automatically name module packages with the prefix"kernel-
module-" as required by the OpenEmbedded Core-build environment.
RPROVIDES_${PN} += "kernel-module-npreal2"
Create a recipe for the Real TTY utilities
Similar to creating a realtty-kernel recipe, create a recipe for facilitating the NPort management.
1. Create directory below in meta-moxa:
$ cd /home/user/poky
$ mkdir -p ./meta-moxa/recipes-utility/realtty-tools/files
2. Copy the Moxa driver which can be downloaded from the Moxa product web page directly. The driver’s
name format is npreal2_vM.N_BUILD-DATE.tgz.
$ cp /home/user/download/npreal2_vM.N_BUILD_DATE.tgz ./meta-moxa/recipes-
utility/realtty-tools/files/
3. Create a bb file ./meta-moxa/recipes-utility/realtty-tools/realtty-tools.bb, which has the following
content:
DESCRIPTION = "Service utilities for NPort"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://moxa//COPYING-GPL.TXT;md5=3c34afdc3adf82d2448f12715a255122"
# OpenSSL is required for secured mode
DEPENDS = "openssl"
# Specify the compressed driver file for SRC_URI
SRC_URI = "file://npreal2_vM.N_BUILD-DATE.tgz"
S = "${WORKDIR}"
# Specify the destination of RealTTY driver
DEST_DIR = "${D}${libdir}/npreal2/driver"
FILES_${PN} += "${libdir}/npreal2/driver/*"
# If it is required to connect the NPort with the SSL secure mode (secure mode is available in the NPort
6000 Series only), unremark the following line:
#SSL_MODE = "yes"
do_compile () {
${CC} -o mxaddsvr ${S}/moxa/mxaddsvr.c ${S}/moxa/misc.c
${CC} -o mxdelsvr ${S}/moxa/mxdelsvr.c ${S}/moxa/misc.c

Table of Contents

Other manuals for Moxa Technologies NPort 5110A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5110A and is the answer not in the manual?

Moxa Technologies NPort 5110A Specifications

General IconGeneral
Isolation1.5 kV
CertificationCE, FCC
Serial interface typeRS-232
Serial ports quantity1
Ethernet LAN data rates10, 100 Mbit/s
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, HTTP, SMTP, IGMP v1/2
Compatible operating systemsSCO Unix, OpenServer UnixWare v2.1, v7 Unix SVR 4.2 Unix QNX 4.25, QNX 6 Solaris 10 FreeBSD AIX 5.x HP-UX 11i Mac OS v10.3 Linux v2.4.x, v2.6.x
Storage temperature (T-T)-40 - 85 °C
Operating temperature (T-T)0 - 60 °C
Operating relative humidity (H-H)5 - 95 %
Input voltage12 - 48 V
SafetyUL, LVD
Weight and Dimensions IconWeight and Dimensions
Weight340 g
Dimensions (WxDxH)52 x 80 x 22 mm

Related product manuals