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