项目

一般

简介

UPS data-1218.txt

UPS 测试记录 - 李 军海, 2021-12-18 17:36

 
1
login as: root
2
root@192.168.0.16's password:
3
[root@M28x ~]# ps
4
PID   USER     COMMAND
5
    1 root     init
6
    2 root     [kthreadd]
7
    3 root     [ksoftirqd/0]
8
    4 root     [events/0]
9
    5 root     [khelper]
10
    8 root     [async/mgr]
11
    9 root     [pm]
12
   63 root     [usb_wakeup thre]
13
  170 root     [sync_supers]
14
  172 root     [bdi-default]
15
  173 root     [kblockd/0]
16
  187 root     [otg_switch/0]
17
  193 root     [khubd]
18
  196 root     [kseriod]
19
  201 root     [kmmcd]
20
  223 root     [rpciod/0]
21
  229 root     [usb_wakeup thre]
22
  291 root     [kswapd0]
23
  339 root     [aio/0]
24
  349 root     [nfsiod]
25
  354 root     [crypto/0]
26
 1025 root     [mtdblock0]
27
 1028 root     [mtdblock1]
28
 1031 root     [mtdblock2]
29
 1034 root     [mtdblock3]
30
 1037 root     [mtdblock4]
31
 1040 root     [mtdblock5]
32
 1043 root     [mtdblock6]
33
 1050 root     [ubi_bgt0d]
34
 1051 root     [mxs-spi.2]
35
 1054 root     [mxs-spi.3]
36
 1081 root     [usb_gadget_work]
37
 1084 root     [kpsmoused]
38
 1144 root     [usbhid_resumer]
39
 1153 root     [pswitch]
40
 1184 root     /sbin/udevd -d
41
 1190 root     [ubi_bgt1d]
42
 1194 root     [ubifs_bgt1_1]
43
 1197 daemon   portmap
44
 1208 dbus     dbus-daemon --system
45
 1218 root     [ubifs_bgt0_0]
46
 1273 root     wr ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
47
 1274 root     ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
48
 1328 root     ./omTray
49
 1353 root     /sbin/getty -L ttyAM0 115200 vt100
50
 1354 root     /sbin/syslogd -n -m 0
51
 1355 root     /sbin/klogd -n
52
 1357 root     /usr/bin/tail -f /var/log/messages
53
 6619 root     ./omAppSU
54
27265 root     /usr/sbin/sshd
55
27272 root     [flush-ubifs_1_1]
56
27282 root     /usr/sbin/telnetd -l /bin/login
57
27362 root     sshd: root@pts/0
58
27419 root     -sh
59
27428 root     ps
60
[root@M28x ~]# cd /NandFlash
61
[root@M28x NandFlash]# ls
62
SM/               libomalm.so*      omApp.ini         omOneNetPost.ini*
63
dbCfg.db3         libomdb.so*       omAppPost*        omTray*
64
dbData.db3        libomdev.so*      omAppPost.ini*    omTray.ini*
65
dbLog.db3*        libomser.so*      omAppSU*          sscomx*
66
dbUpd.ini*        libomserd.so*     omAppSU.ini*      tmp/
67
hwtest*           libomsm.so*       omMonitor.ini*    www/
68
hwtest.ini        libomsuw.so*      omOneNetPost*
69
[root@M28x NandFlash]# ./sscomx
70
Input the com prot: ttySP1
71
baudrate: 9600
72
Parity(n\o\e): n
73
DataBit(5\6\7\8): 8
74
StopBit(1\2): 1
75
data types:
76
   1. hex
77
   2. ascii
78
select data type: 1
79
select com prot: /dev/ttySP1, 9600, n, 8, 1 for hex
80
send: 01 03 00 00 00 01 84 0A
81
rece: 01 03 02 00 01 79 84
82
send: 01 03 00 0D 00 01 15 C9
83
rece: 01 03 02 08 70 BE 60
84
send: 01 03 00 0D 00 01 15 C9
85
rece: 01 03 02 08 70 BE 60
86
send: ^C
87
[root@M28x NandFlash]# ./sscomx
88
Input the com prot: ttySP4
89
baudrate: 9600
90
Parity(n\o\e): n
91
DataBit(5\6\7\8): 8
92
StopBit(1\2): 1
93
data types:
94
   1. hex
95
   2. ascii
96
select data type: 1
97
select com prot: /dev/ttySP4, 9600, n, 8, 1 for hex
98
send: 01 04 00 0C 00 01 F1 C9
99
no data receive!
100
send: 01 03 00 0C 00 01 44 09
101
rece: 01 03 02 00 12 38 49
102
send: 01 03 00 13 00 01 75 CF
103
no data receive!
104
send: 01 03 00 13 00 01 75 CF
105
no data receive!
106
send: 01 03 00 12 00 01 24 0F
107
no data receive!
108
send: ^C
109
[root@M28x NandFlash]# 01 03 00 0C 00 01 44 09
110
-sh: 01: command not found
111
[root@M28x NandFlash]# ./sscomx
112
Input the com prot: ttySP4
113
baudrate: 9600
114
Parity(n\o\e): n
115
DataBit(5\6\7\8): 8
116
StopBit(1\2): 1
117
data types:
118
   1. hex
119
   2. ascii
120
select data type: 1
121
select com prot: /dev/ttySP4, 9600, n, 8, 1 for hex
122
send: 01 03 00 0C 00 01 44 09
123
rece: 01 03 02 00 13 F9 89
124
send: 01 03 00 0C 00 0A 05 CE
125
rece: 01 03 14 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23 E0
126
send: ^C
127
[root@M28x NandFlash]# ./sscomx
128
Input the com prot: ttySP2
129
baudrate: 9600
130
Parity(n\o\e): n
131
8
132
DataBit(5\6\7\8): StopBit(1\2): 1
133
data types:
134
   1. hex
135
   2. ascii
136
select data type: 1
137
select com prot: /dev/ttySP2, 9600, n, 8, 1 for hex
138
send: 01 03 00 0C 00 03 C5 C8
139
no data receive!
140
send: 01 03 00 0D 00 03 94 08
141
no data receive!
142
send: 01 03 00 0D 00 01 15 C9
143
no data receive!
144
send: ^C
145
[root@M28x NandFlash]# clear
146
[root@M28x NandFlash]# ./sscomx
147
Input the com prot: ttySP1
148
baudrate: 9600
149
Parity(n\o\e): n
150
DataBit(5\6\7\8): 8
151
StopBit(1\2): 1
152
data types:
153
   1. hex
154
   2. ascii
155
select data type: 1
156
select com prot: /dev/ttySP1, 9600, n, 8, 1 for hex
157
send: 01 03 00 0D 00 0D 15 CC
158
rece: 01 03 1A 08 70 19 50 27 10 27 10 00 DC 00 32 00 DC 00 32 04 6C 80 02 00 6E 00 05 00 0A D0 8E
159
send: 01 03 00 0D 00 03 94 08
160
rece: 01 03 06 08 70 19 50 27 10 7C 87
161
send: 01 02 00 00 00 10 79 C6
162
rece: 01 02 02 00 00 B9 B8
163
send: 01 02 00 00 00 5F 38 32
164
rece: 01 02 0C 00 00 00 00 00 00 00 00 00 00 00 00 93 B1
165
send: 01 03 00 00 00 3A C5 D9
166
rece: 01 03 74 00 01 00 02 00 01 00 DC 00 32 00 10 00 09 00 E1 00 E1 00 A5 00 AF 00 64 00 0C 08 70 19 50 27 10 27 10 00 DC 00 32 00 DC 00 32 04 6C 80 02 00 6E 00 05 00 0A 0B B8 00 00 08 98 00 00 00 00 09 8B 00 00 00 00 00 00 00 00 00 00 09 9A 00 00 00 00 08 6E 00 00 00 00 00 00 00 00 00 00 00 01 00 64 00 00 00 00 41 45 30 39 47 30 31 34 4B 30 41 45 54 53 43 20 77 AE
167
send: