项目

一般

简介

测试记录.txt

李 军海, 2020-04-28 15:47

 
1
login as: root
2
root@192.168.0.30's password:
3
Last login: Tue Apr 28 14:23:18 2020 from 192.168.0.140
4
[root@OM-K2-S30:~]# root
5
-sh: root: command not found
6
[root@OM-K2-S30:~]# ps
7
  PID USER       VSZ STAT COMMAND
8
    1 root      1708 S    init [5]
9
    2 root         0 SW   [kthreadd]
10
    3 root         0 SW   [ksoftirqd/0]
11
    5 root         0 SW<  [kworker/0:0H]
12
    7 root         0 SW   [rcu_preempt]
13
    8 root         0 SW   [rcu_sched]
14
    9 root         0 SW   [rcu_bh]
15
   10 root         0 SW   [migration/0]
16
   11 root         0 SW<  [khelper]
17
   12 root         0 SW   [kdevtmpfs]
18
   13 root         0 SW<  [perf]
19
   14 root         0 SW<  [writeback]
20
   15 root         0 SW<  [crypto]
21
   16 root         0 SW<  [bioset]
22
   17 root         0 SW<  [kblockd]
23
   18 root         0 SW<  [ata_sff]
24
   20 root         0 SW<  [cfg80211]
25
   21 root         0 SW<  [rpciod]
26
   22 root         0 SW   [kswapd0]
27
   23 root         0 SW   [fsnotify_mark]
28
   24 root         0 SW<  [nfsiod]
29
   61 root         0 SW   [kworker/u2:1]
30
   64 root         0 SW<  [ci_otg]
31
   65 root         0 SW   [cfinteractive]
32
   66 root         0 SW   [irq/219-mmc0]
33
   67 root         0 SW   [irq/46-2190000.]
34
   68 root         0 SW   [mxs_dcp_chan/sh]
35
   69 root         0 SW   [mxs_dcp_chan/ae]
36
   74 root         0 SW<  [ipv6_addrconf]
37
   75 root         0 SW<  [deferwq]
38
   76 root         0 SW   [irq/199-imx_the]
39
   77 root         0 SW   [ubi_bgt0d]
40
  114 root      2840 S    /sbin/udevd -d
41
  140 root         0 SW   [ubifs_bgt0_0]
42
  451 messageb  2912 S    /usr/bin/dbus-daemon --system
43
  467 root      4668 S    /usr/sbin/sshd
44
  472 rpc       2196 S    /usr/sbin/rpcbind
45
  487 root      2724 S    /sbin/syslogd -n -O /var/log/messages
46
  490 root      2724 S    /sbin/klogd -n
47
  497 avahi     3588 S    avahi-daemon: running [OM-K2-S30.local]
48
  498 avahi     3460 S    avahi-daemon: chroot helper
49
  502 root      4776 S    /usr/sbin/ofonod
50
  530 root      1948 S    /usr/sbin/cron
51
  543 root      2764 S    {rmimages.sh} /bin/sh ./rmimages.sh 100
52
  597 root         0 SW   [kworker/u2:2]
53
  619 root     15656 S    ./goahead --log /opt/log.txt:2 /NandFlash/www/wwwpub
54
  663 root     15208 S    ./omTray
55
  711 root      2768 S    {start_getty} /bin/sh /bin/start_getty 115200 ttymxc
56
  712 root      2724 S    /sbin/getty 38400 tty1
57
  713 root      2724 S    /sbin/getty -L 115200 ttymxc0
58
 1180 root         0 SW   [kworker/0:1]
59
 1571 root         0 SW   [kworker/0:2]
60
 1996 root         0 SW   [kworker/0:0]
61
 2245 root      2592 S    sleep 300
62
 2306 root      4796 S    sshd: root@pts/0
63
 2318 root      3000 S    -sh
64
 2342 root      2960 R    ps
65
[root@OM-K2-S30:~]# cd /NandFlash
66
[root@OM-K2-S30:NandFlash]# ls
67
SerialPortQuickDef.ini  libomser.so*            omOneNetPost*
68
dbCfg.db3               libomserd.so*           omOneNetPost.ini
69
dbData.db3              libomsm.so*             omTray*
70
dbLog.db3               libomsuw.so*            omTray.ini
71
hwtest*                 omApp.ini               sscomx*
72
hwtest.ini              omAppPost*              tmp/
73
libomalm.so             omAppPost.ini           update_dbcfg_quick.sh
74
libomdb.so*             omAppSU*                www/
75
libomdev.so*            omAppSU.ini
76
libomser-quick.so*      omMonitor.ini
77
[root@OM-K2-S30:NandFlash]# ./sscomx
78
Input the com prot: ttymxc5
79
baudrate: 9600
80
Parity(n\o\e): n
81
DataBit(5\6\7\8): 8
82
StopBit(1\2): 1
83
data types:
84
   1. hex
85
   2. ascii
86
select data type: 1
87
select com prot: /dev/ttymxc5, 9600, n, 8, 1 for hex
88
send: 01 02 00 20 00 01 B8 00
89
rece: 01 02 01 01 60 48
90
send: 01 05 00 00 FF 00 8C 3A
91
rece: 01 05 00 00 FF 00 8C 3A
92
send: 01 05 00 00 00 00 CD CA
93
rece: 01 05 00 00 00 00 CD CA
94
send: