项目

一般

简介

SM5421-text-1202.txt

空调调试记录 - 黄 正梁, 2021-12-02 10:15

 
1
login as: root
2
root@192.168.0.16's password:
3
[root@M28x ~]# top
4
Mem: 32380K used, 92080K free, 0K shrd, 0K buff, 17852K cached
5
CPU:  15% usr   7% sys   0% nic  76% idle   0% io   0% irq   0% sirq
6
Load average: 2.14 2.37 2.42 1/56 5115
7
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
8
 5115  5108 root     R     2268   2%  15% top
9
 1289  1287 root     S    16304  13%   0% ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpu
10
 1341     1 root     S    14464  12%   0% ./omTray
11
 5046 10297 root     S     6668   5%   0% sshd: root@pts/0
12
10297     1 root     S     4056   3%   0% /usr/sbin/sshd
13
 5108  5046 root     S     2696   2%   0% -sh
14
 1222     1 dbus     S     2336   2%   0% dbus-daemon --system
15
 1366     1 root     S     2272   2%   0% /sbin/getty -L ttyAM0 115200 vt100
16
    1     0 root     S     2268   2%   0% init
17
 1370     1 root     S     2268   2%   0% /usr/bin/tail -f /var/log/messages
18
 1368     1 root     S     2268   2%   0% /sbin/klogd -n
19
 1367     1 root     S     2268   2%   0% /sbin/syslogd -n -m 0
20
10281     1 root     S     2268   2%   0% /usr/sbin/telnetd -l /bin/login
21
 1198     1 root     S <   1764   1%   0% /sbin/udevd -d
22
 1211     1 daemon   S     1620   1%   0% portmap
23
 1287     1 root     S     1548   1%   0% wr ./goahead --log /opt/log.txt:2 /NandFlash/www/ww
24
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
25
    4     2 root     SW       0   0%   0% [events/0]
26
 1204     2 root     SW       0   0%   0% [ubi_bgt1d]
27
    5     2 root     SW       0   0%   0% [khelper]
28
  193     2 root     SW       0   0%   0% [khubd]
29
 1208     2 root     SW       0   0%   0% [ubifs_bgt1_1]
30
 1050     2 root     SW       0   0%   0% [ubi_bgt0d]
31
 1031     2 root     SW       0   0%   0% [mtdblock2]
32
    2     0 root     SW       0   0%   0% [kthreadd]
33
  201     2 root     SW       0   0%   0% [kmmcd]
34
    8     2 root     SW       0   0%   0% [async/mgr]
35
    9     2 root     SW       0   0%   0% [pm]
36
   63     2 root     DW       0   0%   0% [usb_wakeup thre]
37
  170     2 root     SW       0   0%   0% [sync_supers]
38
  172     2 root     SW       0   0%   0% [bdi-default]
39
  173     2 root     SW       0   0%   0% [kblockd/0]
40
  187     2 root     SW       0   0%   0% [otg_switch/0]
41
  196     2 root     SW       0   0%   0% [kseriod]
42
  223     2 root     SW       0   0%   0% [rpciod/0]
43
  229     2 root     DW       0   0%   0% [usb_wakeup thre]
44
  291     2 root     SW       0   0%   0% [kswapd0]
45
  339     2 root     SW       0   0%   0% [aio/0]
46
  349     2 root     SW       0   0%   0% [nfsiod]
47
  354     2 root     SW       0   0%   0% [crypto/0]
48
 1025     2 root     SW       0   0%   0% [mtdblock0]
49
 1028     2 root     SW       0   0%   0% [mtdblock1]
50
 1034     2 root     SW       0   0%   0% [mtdblock3]
51
 1037     2 root     SW       0   0%   0% [mtdblock4]
52
 1040     2 root     SW       0   0%   0% [mtdblock5]
53
[root@M28x ~]# ^C
54
[root@M28x ~]# ^C
55
[root@M28x ~]# ^C
56
[root@M28x ~]# ps
57
PID   USER     COMMAND
58
    1 root     init
59
    2 root     [kthreadd]
60
    3 root     [ksoftirqd/0]
61
    4 root     [events/0]
62
    5 root     [khelper]
63
    8 root     [async/mgr]
64
    9 root     [pm]
65
   63 root     [usb_wakeup thre]
66
  170 root     [sync_supers]
67
  172 root     [bdi-default]
68
  173 root     [kblockd/0]
69
  187 root     [otg_switch/0]
70
  193 root     [khubd]
71
  196 root     [kseriod]
72
  201 root     [kmmcd]
73
  223 root     [rpciod/0]
74
  229 root     [usb_wakeup thre]
75
  291 root     [kswapd0]
76
  339 root     [aio/0]
77
  349 root     [nfsiod]
78
  354 root     [crypto/0]
79
 1025 root     [mtdblock0]
80
 1028 root     [mtdblock1]
81
 1031 root     [mtdblock2]
82
 1034 root     [mtdblock3]
83
 1037 root     [mtdblock4]
84
 1040 root     [mtdblock5]
85
 1043 root     [mtdblock6]
86
 1050 root     [ubi_bgt0d]
87
 1051 root     [mxs-spi.2]
88
 1054 root     [mxs-spi.3]
89
 1081 root     [usb_gadget_work]
90
 1084 root     [kpsmoused]
91
 1144 root     [usbhid_resumer]
92
 1153 root     [pswitch]
93
 1198 root     /sbin/udevd -d
94
 1204 root     [ubi_bgt1d]
95
 1208 root     [ubifs_bgt1_1]
96
 1211 daemon   portmap
97
 1222 dbus     dbus-daemon --system
98
 1232 root     [ubifs_bgt0_0]
99
 1287 root     wr ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
100
 1289 root     ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
101
 1341 root     ./omTray
102
 1366 root     /sbin/getty -L ttyAM0 115200 vt100
103
 1367 root     /sbin/syslogd -n -m 0
104
 1368 root     /sbin/klogd -n
105
 1370 root     /usr/bin/tail -f /var/log/messages
106
 4970 root     [flush-ubifs_1_1]
107
 5046 root     sshd: root@pts/0
108
 5108 root     -sh
109
 5123 root     ps
110
10281 root     /usr/sbin/telnetd -l /bin/login
111
10297 root     /usr/sbin/sshd
112
[root@M28x ~]# ^C
113
[root@M28x ~]# ^C
114
[root@M28x ~]# ^C
115
[root@M28x ~]# ^C
116
[root@M28x ~]# ^C
117
[root@M28x ~]# ^C
118
[root@M28x ~]# cd /NandFlash
119
[root@M28x NandFlash]# ls
120
SM/               hwtest.ini        libomsm.so*       omAppSU.ini*      omTray.ini*
121
dbCfg.db3         libomalm.so*      libomsuw.so*      omDemo1*          sscomx*
122
dbData.db3        libomdb.so*       omApp.ini         omMonitor.ini*    tmp/
123
dbLog.db3*        libomdev.so*      omAppPost*        omOneNetPost*     www/
124
dbUpd.ini*        libomser-bak.so*  omAppPost.ini*    omOneNetPost.ini*
125
hwtest*           libomser.so*      omAppSU*          omTray*
126
[root@M28x NandFlash]# ./omDemo1 5421 1 0 0 0 ttyUSB1:9600,N,8,1
127
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
128
MemFree:           92024 kB
129
Buffers:               0 kB
130
Cached:            17852 kB
131
!!!MemVsz 0: 4196 KB
132
SIGRTMAX-1= 63
133
SerManager new: 1b3f8
134
!!!MemVsz change: 112 KB
135
!!!MemVsz change: 5316 KB
136
!!!MemVsz change: 1036 KB
137

    
138
SMxxx: Type=5421  Addr=1  Port=0  Tag1=0  Ext1=0
139

    
140
SerDef=ttyUSB1:9600,N,8,1 Type=5421
141
testSM SM=1de20
142
CSerCom InitCom: 1e040  1
143
CSerCom UpdParams: ComPort: ttyUSB1, 0, 0
144
CSerCom::Open: /dev/ttyUSB1,9600,8,N,0
145
set serial done+!
146
ttyUSB1:9600,n,8,1[120001] open ok!
147
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
148
MemFree:           91772 kB
149
Buffers:               0 kB
150
Cached:            17852 kB
151
start SMxxx->DataGet ...
152
SEND: 7E 30 30 30 31 36 30 34 46 30 30 30 30 46 44 39 46 0D
153
RECV: 7E 33 35 30 31 36 30 30 30 30 30 30 30 46 44 42 31 0D
154
SEND: 7E 33 35 30 31 36 30 34 32 30 30 30 30 46 44 41 42 0D
155
RECV:
156
rcv=0
157

    
158
SEND: 7E 33 35 30 31 36 30 34 33 30 30 30 30 46 44 41 41 0D
159
RECV: 7E 33 35 30 31 36 30 30 30 43 30 34 30 30 30 31 45 30 30 30 30 30 30 30 33 30 30 30 30 30 30 30 30 30 30 30 30 30 30 38 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 46 31 37 39 0D
160
rcv=82 ~35016000C040001E000000030000000000000080000000000000000000000000000000000000F179
161

    
162
SEND: 7E 33 35 30 31 36 30 34 34 30 30 30 30 46 44 41 39 0D
163
RECV: 7E 33 35 30 31 36 30 30 30 43 30 34 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 34 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 46 30 30 30 46 31 37 46 0D
164
rcv=82 ~35016000C040000000000000000000000014000000000000000000000000000000000000F000F17F
165

    
166
t=5421  iaddr=1  ver=35
167
43H01=30
168
43H02=0
169
43H03=3
170
43H04=0
171
43H05=0
172
43H06=0
173
43H07=128
174
43H08=0
175
43H09=0
176
43H10=0
177
43H11=0
178
43H12=0
179
43H13=0
180
43H14=0
181
43H15=0
182
43H16=0
183
44H01=0
184
44H02=0
185
44H03=0
186
44H04=0
187
44H05=0
188
44H06=20
189
44H07=0
190
44H08=0
191
44H09=0
192
44H10=0
193
44H11=0
194
44H12=0
195
44H13=0
196
44H14=0
197
44H15=0
198
44H16=61440
199
brief=▒▒▒▒▒¶▒:  ▒▒C ▒▒▒▒ʪ▒▒:  %
200
SEND: 7E 30 30 30 31 36 30 34 46 30 30 30 30 46 44 39 46 0D
201
RECV: 7E 33 35 30 31 36 30 30 30 30 30 30 30 46 44 42 31 0D
202
SEND: 7E 33 35 30 31 36 30 34 32 30 30 30 30 46 44 41 42 0D
203
RECV:
204
rcv=0
205

    
206
SEND: 7E 33 35 30 31 36 30 34 33 30 30 30 30 46 44 41 41 0D
207
RECV: 7E 33 35 30 31 36 30 30 30 43 30 34 30 30 30 31 45 30 30 30 30 30 30 30 33 30 30 30 30 30 30 30 30 30 30 30 30 30 30 38 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 46 31 37 39 0D
208
rcv=82 ~35016000C040001E000000030000000000000080000000000000000000000000000000000000F179
209

    
210
SEND: 7E 33 35 30 31 36 30 34 34 30 30 30 30 46 44 41 39 0D
211
RECV: 7E 33 35 30 31 36 30 30 30 43 30 34 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 34 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 46 30 30 30 46 31 37 46 0D
212
rcv=82 ~35016000C040000000000000000000000014000000000000000000000000000000000000F000F17F
213

    
214
t=5421  iaddr=1  ver=35
215
43H01=30
216
43H02=0
217
43H03=3
218
43H04=0
219
43H05=0
220
43H06=0
221
43H07=128
222
43H08=0
223
43H09=0
224
43H10=0
225
43H11=0
226
43H12=0
227
43H13=0
228
43H14=0
229
43H15=0
230
43H16=0
231
44H01=0
232
44H02=0
233
44H03=0
234
44H04=0
235
44H05=0
236
44H06=20
237
44H07=0
238
44H08=0
239
44H09=0
240
44H10=0
241
44H11=0
242
44H12=0
243
44H13=0
244
44H14=0
245
44H15=0
246
44H16=61440
247
brief=▒▒▒▒▒¶▒:  ▒▒C ▒▒▒▒ʪ▒▒:  %
248
SEND: 7E 30 30 30 31 36 30 34 46 30 30 30 30 46 44 39 46 0D
249
RECV: 7E 33 35 30 31 36 30 30 30 30 30 30 30 46 44 42 31 0D
250
SEND: 7E 33 35 30 31 36 30 34 32 30 30 30 30 46 44 41 42 0D
251
^C
252
[root@M28x NandFlash]#