EasyManuals Logo

Moxa Technologies NPort 5210A User Manual

Moxa Technologies NPort 5210A
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 #156 background imageLoading...
Page #156 background image
NPort 5000 Series User Manual
156
Create a recipe for the Real TTY kernel
Use the following commands to create a recipe for installing Real TTY kernel to the target platform.
1. Create a directory recipes-kernel in meta-moxa:
$ cd /home/user/poky
$ mkdir meta-moxa/recipes-kernel
2. The simplest way is to copy and modify from a hello example, which is available in the Yocto source
code:
$ cp -r ./meta-skeleton/recipes-kernel/hello-mod ./meta-
moxa/recipes-kernel
The content of meta-moxa now is listed below:
$ tree meta-moxa
meta-moxa/
├── conf
── layer.conf
├── COPYING.MIT
├── README
└── recipes-kernel
└── hello-mod
├─ files
── COPYING
── hello.c
└── Makefile
└─ hello-mod_0.1.bb
3. Delete the unnecessary files in hello-mod. Rename the hello-mod.
$ cd ./meta-moxa/recipes-kernel
$ rm ./hello-mod/files/COPYING
$ rm ./hello-mod/files/hello.c
$ mv ./hello-mod/hello-mod_0.1.bb ./hello-mod/realtty-kernel_0.1.bb
$ mv ./hello-mod realtty-kernel
4. Extract the Real TTY source code in /moxa. Copy the following files into hello-mod:
$ cp /moxa/COPYING-GPL.TXT ./realtty-kernel/files/
$ cp /moxa/npreal2.c ./realtty-kernel/files/
$ cp /moxa/npreal2.h ./realtty-kernel/files/
$ cp /moxa/np_ver.h ./realtty-kernel/files/
5. The content of the recipes-kernel now is listed below:
$ tree ./
./
└── realtty-kernel
├── files
├── COPYING-GPL.TXT
├── Makefile
├── npreal2.c
├── npreal2.h
└── np_ver.h
└── realtty-kernel_0.1.bb

Table of Contents

Other manuals for Moxa Technologies NPort 5210A

Questions and Answers:

Question and Answer IconNeed help?

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

Moxa Technologies NPort 5210A Specifications

General IconGeneral
Baud rate230.4 Kbit/s
Data bits5, 6, 7, 8
Stop bits1, 1.5, 2
CertificationCE, FCC
RS-232 signalsCTS, DCD, DSR, DTR, GND, RTS, Rx, Tx
Flow control supportYes
Serial interface typeRS-232
Serial ports quantity2
Ethernet LAN data rates10, 100 Mbit/s
Mean time between failures (MTBF)134850 h
Product colorBlack, Blue
Housing materialMetal
Input voltage12 - 48 V
Power consumption325 mA
Storage temperature (T-T)-40 - 75 °C
Maximum operating altitude2000 m
Operating temperature (T-T)0 - 55 °C
Operating relative humidity (H-H)5 - 95 %
Supported network protocolsICMP, IPv4, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP V1, HTTP, SMTP, SNTP
Weight and Dimensions IconWeight and Dimensions
Weight340 g
Dimensions (WxDxH)90 x 100.4 x 22 mm

Related product manuals