项目

一般

简介

DIO test.txt

张 群瑞, 2021-11-01 09:43

 
1

    
2
Freescale i.MX Release Distro 4.1.15-2.0.1 OM-A6-HWTEST /dev/ttymxc0
3

    
4
OM-A6-HWTEST login:
5
Freescale i.MX Release Distro 4.1.15-2.0.1 OM-A6-HWTEST /dev/ttymxc0
6

    
7
OM-A6-HWTEST login: roo
8
Password:
9
Login incorrect
10

    
11
OM-A6-HWTEST login: root
12
Password:
13
[root@OM-A6-HWTEST:~]# cd /sys/class/leds/
14
[root@OM-A6-HWTEST:leds]# ls
15
beep@   cpu@    mmc0::@ user@
16
[root@OM-A6-HWTEST:leds]# cd beep
17
[root@OM-A6-HWTEST:beep]# ls
18
brightness      max_brightness  subsystem@      uevent
19
device@         power/          trigger
20
[root@OM-A6-HWTEST:beep]# cat trigger
21
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
22
[root@OM-A6-HWTEST:beep]# cd -
23
/sys/class/leds
24
[root@OM-A6-HWTEST:leds]# ls
25
beep@   cpu@    mmc0::@ user@
26
[root@OM-A6-HWTEST:leds]# cd cpu
27
[root@OM-A6-HWTEST:cpu]# ls
28
brightness      max_brightness  subsystem@      uevent
29
device@         power/          trigger
30
[root@OM-A6-HWTEST:cpu]# cat trigger
31
none rc-feedback nand-disk mmc0 timer oneshot [heartbeat] backlight gpio
32
[root@OM-A6-HWTEST:cpu]# cd -
33
/sys/class/leds
34
[root@OM-A6-HWTEST:leds]# ls
35
beep@   cpu@    mmc0::@ user@
36
[root@OM-A6-HWTEST:leds]# cd mmc0\:\:
37
[root@OM-A6-HWTEST:mmc0::]# ls
38
brightness      max_brightness  subsystem@      uevent
39
device@         power/          trigger
40
[root@OM-A6-HWTEST:mmc0::]# cat trigger
41
none rc-feedback nand-disk [mmc0] timer oneshot heartbeat backlight gpio
42
[root@OM-A6-HWTEST:mmc0::]# cd -
43
/sys/class/leds
44
[root@OM-A6-HWTEST:leds]# ls
45
beep@   cpu@    mmc0::@ user@
46
[root@OM-A6-HWTEST:leds]# cd user
47
[root@OM-A6-HWTEST:user]# ls
48
brightness      max_brightness  subsystem@      uevent
49
device@         power/          trigger
50
[root@OM-A6-HWTEST:user]# cat trigger
51
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
52
[root@OM-A6-HWTEST:user]# cd -
53
/sys/class/leds
54
[root@OM-A6-HWTEST:leds]# ls
55
beep@   cpu@    mmc0::@ user@
56
[root@OM-A6-HWTEST:leds]# cd cpu/
57
[root@OM-A6-HWTEST:cpu]# ls
58
brightness      max_brightness  subsystem@      uevent
59
device@         power/          trigger
60
[root@OM-A6-HWTEST:cpu]# cat trigger
61
none rc-feedback nand-disk mmc0 timer oneshot [heartbeat] backlight gpio
62
[root@OM-A6-HWTEST:cpu]# echo none > trigger
63
[root@OM-A6-HWTEST:cpu]# cat trigger
64
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
65
[root@OM-A6-HWTEST:cpu]# cd -
66
/sys/class/leds
67
[root@OM-A6-HWTEST:leds]# ls
68
beep@   cpu@    mmc0::@ user@
69
[root@OM-A6-HWTEST:leds]# echo 1 > cpu
70
-sh: cpu: Is a directory
71
[root@OM-A6-HWTEST:leds]# cd -
72
/sys/class/leds/cpu
73
[root@OM-A6-HWTEST:cpu]# ls
74
brightness      max_brightness  subsystem@      uevent
75
device@         power/          trigger
76
[root@OM-A6-HWTEST:cpu]# echo 1 > brightness
77
[root@OM-A6-HWTEST:cpu]# echo 0 > brightness
78
[root@OM-A6-HWTEST:cpu]# clean
79
-sh: clean: command not found
80
[root@OM-A6-HWTEST:cpu]# clear
81
[root@OM-A6-HWTEST:cpu]# lsmod
82
Module                  Size  Used by
83
omara_dio               8158  20
84
[root@OM-A6-HWTEST:cpu]# cat /etc/omdio.conf
85
om_di=121,123,22,23,26,135,68,87,112,64,88,67,116,133
86
om_do=124,122,27,18,136,115,120,91,65,110,66,132,119,131
87
sys=135,136,128,129,130,18
88
[root@OM-A6-HWTEST:cpu]# vi /etc/omdio.conf
89
[root@OM-A6-HWTEST:cpu]# cat /etc/omdio.conf
90
om_di=22,23,26,115,68,87,112,64,88,132,116
91
om_do=27,18,120,91,65,110,66,67,119
92
sys=135,136,128,129,130,18
93
[root@OM-A6-HWTEST:cpu]# ^C
94
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
95
06 -------- 001000--
96
14 11000000 000000-- --------
97
14 10000100 000101-- --------
98
[root@OM-A6-HWTEST:cpu]#
99

    
100
U-Boot 2016.03-g28cc50d-dirty (Dec 22 2020 - 17:29:28 +0800)
101

    
102
CPU:   Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
103
CPU:   Industrial temperature grade (-40C to 115C) at 32C
104
Reset cause: POR
105
Board: MYD-Y6ULL 14x14
106
DRAM:  256 MiB
107
NAND:  256 MiB
108
MMC:   FSL_SDHC: 0
109
*** Warning - bad CRC, using default environment
110

    
111
In:    serial
112
Out:   serial
113
Err:   serial
114
Net:   FEC0
115
Error: FEC0 address not set.
116

    
117
Normal Boot
118
Hit any key to stop autoboot:  0
119

    
120
NAND read: device 0 offset 0x600000, size 0xa00000
121
 10485760 bytes read: OK
122

    
123
NAND read: device 0 offset 0x1000000, size 0x100000
124
 1048576 bytes read: OK
125
Kernel image @ 0x80800000 [ 0x000000 - 0x5f0958 ]
126
## Flattened Device Tree blob at 83000000
127
   Booting using the fdt blob at 0x83000000
128
   Using Device Tree in place at 83000000, end 8300c149
129

    
130
Starting kernel ...
131

    
132
Booting Linux on physical CPU 0x0
133
Linux version 4.1.15+ (root@localhost) (gcc version 4.9.2 20140904 (prerelease)                                                                                                                                                              (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #5 SMP PREEM                                                                                                                                                             PT Tue Dec 22 17:43:28 CST 2020
134
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
135
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
136
Machine model: Freescale i.MX6 ULL 14x14 EVK Board
137
Reserved memory: failed to allocate memory for node 'linux,cma'
138
Memory policy: Data cache writealloc
139
PERCPU: Embedded 12 pages/cpu @8fdd3000 s16960 r8192 d24000 u49152
140
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
141
Kernel command line: console=ttymxc0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstyp                                                                                                                                                             e=ubifs mtdparts=gpmi-nand:5m(boot),1m(env),10m(kernel),1m(dtb),-(rootfs)
142
PID hash table entries: 1024 (order: 0, 4096 bytes)
143
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
144
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
145
Memory: 247964K/262144K available (7794K kernel code, 417K rwdata, 2724K rodata,                                                                                                                                                              320K init, 434K bss, 14180K reserved, 0K cma-reserved, 0K highmem)
146
Virtual kernel memory layout:
147
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
148
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
149
    vmalloc : 0x90800000 - 0xff000000   (1768 MB)
150
    lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
151
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
152
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
153
      .text : 0x80008000 - 0x80a4dad0   (10519 kB)
154
      .init : 0x80a4e000 - 0x80a9e000   ( 320 kB)
155
      .data : 0x80a9e000 - 0x80b066a0   ( 418 kB)
156
       .bss : 0x80b09000 - 0x80b75954   ( 435 kB)
157
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
158
Preemptible hierarchical RCU implementation.
159
        Additional per-CPU info printed with stalls.
160
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
161
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
162
NR_IRQS:16 nr_irqs:16 16
163
mxc_clocksource_init 24000000
164
Switching to timer-based delay loop, resolution 41ns
165
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
166
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79                                                                                                                                                             635851949 ns
167
Console: colour dummy device 80x30
168
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00                                                                                                                                                              BogoMIPS (lpj=240000)
169
pid_max: default: 32768 minimum: 301
170
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
171
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
172
CPU: Testing write buffer coherency: ok
173
/cpus/cpu@0 missing clock-frequency property
174
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
175
Setting up static identity map for 0x80008280 - 0x800082d8
176
Brought up 1 CPUs
177
SMP: Total of 1 processors activated (48.00 BogoMIPS).
178
CPU: All CPU(s) started in SVC mode.
179
devtmpfs: initialized
180
device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
181
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
182
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112                                                                                                                                                             604462750000 ns
183
pinctrl core: initialized pinctrl subsystem
184
NET: Registered protocol family 16
185
DMA: preallocated 256 KiB pool for atomic coherent allocations
186
cpuidle: using governor ladder
187
cpuidle: using governor menu
188
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
189
hw-breakpoint: maximum watchpoint size is 8 bytes.
190
imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
191
imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
192
mxs-dma 1804000.dma-apbh: initialized
193
SCSI subsystem initialized
194
usbcore: registered new interface driver usbfs
195
usbcore: registered new interface driver hub
196
usbcore: registered new device driver usb
197
i2c i2c-1: IMX I2C adapter registered
198
i2c i2c-1: can't use DMA
199
media: Linux media interface: v0.10
200
Linux video capture interface: v2.00
201
pps_core: LinuxPPS API ver. 1 registered
202
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l                                                                                                                                                             inux.it>
203
PTP clock support registered
204
MIPI CSI2 driver module loaded
205
Advanced Linux Sound Architecture Driver Initialized.
206
Switched to clocksource mxc_timer1
207
NET: Registered protocol family 2
208
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
209
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
210
TCP: Hash tables configured (established 2048 bind 2048)
211
UDP hash table entries: 256 (order: 1, 8192 bytes)
212
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
213
NET: Registered protocol family 1
214
RPC: Registered named UNIX socket transport module.
215
RPC: Registered udp transport module.
216
RPC: Registered tcp transport module.
217
RPC: Registered tcp NFSv4.1 backchannel transport module.
218
Bus freq driver module loaded
219
futex hash table entries: 256 (order: 2, 16384 bytes)
220
VFS: Disk quotas dquot_6.6.0
221
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
222
NFS: Registering the id_resolver key type
223
Key type id_resolver registered
224
Key type id_legacy registered
225
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
226
fuse init (API version 7.23)
227
io scheduler noop registered
228
io scheduler deadline registered
229
io scheduler cfq registered (default)
230
imx-weim 21b8000.weim: Driver registered.
231
MIPI DSI driver module loaded
232
MIPI DSI driver module loaded
233
imx-sdma 20ec000.sdma: no event needs to be remapped
234
imx-sdma 20ec000.sdma: loaded firmware 3.3
235
imx-sdma 20ec000.sdma: initialized
236
2018000.serial: ttymxc6 at MMIO 0x2018000 (irq = 20, base_baud = 5000000) is a I                                                                                                                                                             MX
237
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a I                                                                                                                                                             MX
238
console [ttymxc0] enabled
239
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 224, base_baud = 5000000) is a                                                                                                                                                              IMX
240
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 225, base_baud = 5000000) is a                                                                                                                                                              IMX
241
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 226, base_baud = 5000000) is a                                                                                                                                                              IMX
242
21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 227, base_baud = 5000000) is a                                                                                                                                                              IMX
243
21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 228, base_baud = 5000000) is a                                                                                                                                                              IMX
244
2288000.serial: ttymxc7 at MMIO 0x2288000 (irq = 233, base_baud = 5000000) is a                                                                                                                                                              IMX
245
[drm] Initialized drm 1.1.0 20060810
246
[drm] Initialized vivante 1.0.0 20120216 on minor 0
247
brd: module loaded
248
loop: module loaded
249
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
250
nand: Micron MT29F2G08ABAEAWP
251
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
252
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
253
Bad block table found at page 131008, version 0x01
254
Bad block table found at page 130944, version 0x01
255
5 cmdlinepart partitions found on MTD device gpmi-nand
256
Creating 5 MTD partitions on "gpmi-nand":
257
0x000000000000-0x000000500000 : "boot"
258
0x000000500000-0x000000600000 : "env"
259
0x000000600000-0x000001000000 : "kernel"
260
0x000001000000-0x000001100000 : "dtb"
261
0x000001100000-0x000010000000 : "rootfs"
262
gpmi-nand 1806000.gpmi-nand: driver registered.
263
spidev spi0.0: buggy DT: spidev listed directly in DT
264
------------[ cut here ]------------
265
WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:731 spidev_probe+0x1a0/0x1bc()
266
Modules linked in:
267
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.15+ #5
268
Hardware name: Freescale i.MX6 Ultralite (Device Tree)
269
[<80015b60>] (unwind_backtrace) from [<80012720>] (show_stack+0x10/0x14)
270
[<80012720>] (show_stack) from [<8076b8a4>] (dump_stack+0x84/0xc4)
271
[<8076b8a4>] (dump_stack) from [<8002ca38>] (warn_slowpath_common+0x80/0xb0)
272
[<8002ca38>] (warn_slowpath_common) from [<8002cb04>] (warn_slowpath_null+0x1c/0                                                                                                                                                             x24)
273
[<8002cb04>] (warn_slowpath_null) from [<8041d5f0>] (spidev_probe+0x1a0/0x1bc)
274
[<8041d5f0>] (spidev_probe) from [<8041b2c0>] (spi_drv_probe+0x50/0x74)
275
[<8041b2c0>] (spi_drv_probe) from [<803791a8>] (driver_probe_device+0x174/0x2b4)
276
[<803791a8>] (driver_probe_device) from [<803777ac>] (bus_for_each_drv+0x60/0x94                                                                                                                                                             )
277
[<803777ac>] (bus_for_each_drv) from [<80379004>] (device_attach+0x74/0x88)
278
[<80379004>] (device_attach) from [<803786d4>] (bus_probe_device+0x84/0xa8)
279
[<803786d4>] (bus_probe_device) from [<80376ab8>] (device_add+0x3e8/0x570)
280
[<80376ab8>] (device_add) from [<8041bae8>] (spi_add_device+0x98/0x130)
281
[<8041bae8>] (spi_add_device) from [<8041ced4>] (spi_register_master+0x4a4/0x714                                                                                                                                                             )
282
[<8041ced4>] (spi_register_master) from [<8041e700>] (spi_bitbang_start+0x9c/0x1                                                                                                                                                             08)
283
[<8041e700>] (spi_bitbang_start) from [<80420b54>] (spi_imx_probe+0x410/0x670)
284
[<80420b54>] (spi_imx_probe) from [<8037a8e8>] (platform_drv_probe+0x44/0xa4)
285
[<8037a8e8>] (platform_drv_probe) from [<803791a8>] (driver_probe_device+0x174/0                                                                                                                                                             x2b4)
286
[<803791a8>] (driver_probe_device) from [<803793b8>] (__driver_attach+0x8c/0x90)
287
[<803793b8>] (__driver_attach) from [<80377704>] (bus_for_each_dev+0x68/0x9c)
288
[<80377704>] (bus_for_each_dev) from [<80378944>] (bus_add_driver+0x148/0x1f0)
289
[<80378944>] (bus_add_driver) from [<803799b4>] (driver_register+0x78/0xf8)
290
[<803799b4>] (driver_register) from [<80009690>] (do_one_initcall+0x8c/0x1d4)
291
[<80009690>] (do_one_initcall) from [<80a4edac>] (kernel_init_freeable+0x144/0x1                                                                                                                                                             e4)
292
[<80a4edac>] (kernel_init_freeable) from [<807679d8>] (kernel_init+0xc/0xe8)
293
[<807679d8>] (kernel_init) from [<8000f528>] (ret_from_fork+0x14/0x2c)
294
---[ end trace 69c957d7d78d5cbd ]---
295
spi_imx 2008000.ecspi: probed
296
CAN device driver interface
297
20b4000.ethernet supply phy not found, using dummy regulator
298
pps pps0: new PPS source ptp0
299
libphy: fec_enet_mii_bus: probed
300
fec 20b4000.ethernet eth0: registered PHC device 0
301
2188000.ethernet supply phy not found, using dummy regulator
302
pps pps1: new PPS source ptp1
303
fec 2188000.ethernet eth1: registered PHC device 1
304
PPP generic driver version 2.4.2
305
PPP BSD Compression module registered
306
PPP Deflate Compression module registered
307
PPP MPPE Compression module registered
308
NET: Registered protocol family 24
309
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsula                                                                                                                                                             tion enabled).
310
CSLIP: code copyright 1989 Regents of the University of California.
311
SLIP linefill/keepalive option.
312
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
313
ehci-mxc: Freescale On-Chip EHCI Host driver
314
usbcore: registered new interface driver usb-storage
315
usbcore: registered new interface driver usbserial
316
usbcore: registered new interface driver usbserial_generic
317
usbserial: USB Serial support registered for generic
318
usbcore: registered new interface driver cdc_xr_usb_serial
319
xr_usb_serial_common: Exar USB UART (serial port) driver
320
usbcore: registered new interface driver option
321
usbserial: USB Serial support registered for GSM modem (1-port)
322
usbcore: registered new interface driver usb_ehset_test
323
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
324
2184000.usb supply vbus not found, using dummy regulator
325
ci_hdrc ci_hdrc.0: EHCI Host Controller
326
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
327
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
328
hub 1-0:1.0: USB hub found
329
hub 1-0:1.0: 1 port detected
330
2184200.usb supply vbus not found, using dummy regulator
331
ci_hdrc ci_hdrc.1: EHCI Host Controller
332
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
333
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
334
hub 2-0:1.0: USB hub found
335
hub 2-0:1.0: 1 port detected
336
mousedev: PS/2 mouse device common for all mice
337
input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc                                                                                                                                                             000.snvs/20cc000.snvs:snvs-powerkey/input/input0
338
ft5x0x_ts_init successful
339
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
340
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
341
i2c /dev entries driver
342
IR NEC protocol handler initialized
343
IR RC5(x/sz) protocol handler initialized
344
IR RC6 protocol handler initialized
345
IR JVC protocol handler initialized
346
IR Sony protocol handler initialized
347
IR SANYO protocol handler initialized
348
IR Sharp protocol handler initialized
349
IR MCE Keyboard/mouse protocol handler initialized
350
IR XMP protocol handler initialized
351
pxp-v4l2 pxp_v4l2: initialized
352
usbcore: registered new interface driver uvcvideo
353
USB Video Class driver (1.1.1)
354
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
355
sdhci: Secure Digital Host Controller Interface driver
356
sdhci: Copyright(c) Pierre Ossman
357
sdhci-pltfm: SDHCI platform and OF driver helper
358
/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
359
sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on nor                                                                                                                                                             mal mode
360
sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
361
sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found
362
sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
363
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
364
usbcore: registered new interface driver usbhid
365
usbhid: USB HID core driver
366
2198000.adc supply vref not found, using dummy regulator
367
usbcore: registered new interface driver snd-usb-audio
368
fsl-asrc 2034000.asrc: driver registered
369
NET: Registered protocol family 26
370
NET: Registered protocol family 10
371
sit: IPv6 over IPv4 tunneling driver
372
NET: Registered protocol family 17
373
can: controller area network core (rev 20120528 abi 9)
374
NET: Registered protocol family 29
375
can: raw protocol (rev 20120528)
376
can: broadcast manager protocol (rev 20120528 t)
377
can: netlink gateway (rev 20130117) max_hops=1
378
8021q: 802.1Q VLAN Support v1.8
379
Key type dns_resolver registered
380
ubi0: attaching mtd4
381
random: nonblocking pool is initialized
382
ubi0: scanning is finished
383
ubi0: attached mtd4 (name "rootfs", size 239 MiB)
384
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
385
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
386
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
387
ubi0: good PEBs: 1908, bad PEBs: 4, corrupted PEBs: 0
388
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
389
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 35                                                                                                                                                             5188016
390
ubi0: available PEBs: 0, total reserved PEBs: 1908, PEBs reserved for bad PEB ha                                                                                                                                                             ndling: 36
391
ubi0: background thread "ubi_bgt0d" started, PID 80
392
rtc-pcf8563 1-0051: setting system clock to 2021-10-21 08:39:21 UTC (1634805561)
393
can-3v3: disabling
394
ALSA device list:
395
  No soundcards found.
396
UBIFS (ubi0:0): recovery needed
397
UBIFS (ubi0:0): recovery deferred
398
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
399
UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048                                                                                                                                                              bytes/2048 bytes
400
UBIFS (ubi0:0): FS size: 235667456 bytes (224 MiB, 1856 LEBs), journal size 1180                                                                                                                                                             8768 bytes (11 MiB, 93 LEBs)
401
UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
402
UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID F2AB2663-ADB2-4B87-9                                                                                                                                                             35E-AA89881B0390, small LPT model
403
VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
404
devtmpfs: mounted
405
Freeing unused kernel memory: 320K (80a4e000 - 80a9e000)
406
INIT: version 2.88 booting
407
Error opening /dev/fb0: No such file or directory
408
Starting udev
409
udevd[116]: starting version 3.1.5
410
UBIFS (ubi0:0): completing deferred recovery
411
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 141
412
UBIFS (ubi0:0): deferred recovery completed
413
bootlogd: cannot allocate pseudo tty: No such file or directory
414
ALSA: Restoring mixer settings...
415
INIT: Entering runlevel: 5
416
/usr/sbin/alsactl: load_state:1735: No soundcards found...
417
Configuring network interfaces... Try to bring eth0 interface up......
418
SIOCSIFHWADDR: Cannot assign requested address
419
fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_a                                                                                                                                                             ddr=20b4000.ethernet:01, irq=-1)
420
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
421
Set eth0 Done
422
Try to bring eth0 interface up......
423
Usage:
424
  ifconfig [-a] [-v] [-s] <interface> [[<AF>] <address>]
425
  [add <address>[/<prefixlen>]]
426
  [del <address>[/<prefixlen>]]
427
  [[-]broadcast [<address>]]  [[-]pointopoint [<address>]]
428
  [netmask <address>]  [dstaddr <address>]  [tunnel <address>]
429
  [outfill <NN>] [keepalive <NN>]
430
  [hw <HW> <address>]  [metric <NN>]  [mtu <NN>]
431
  [[-]trailers]  [[-]arp]  [[-]allmulti]
432
  [multicast]  [[-]promisc]
433
  [mem_start <NN>]  [io_addr <NN>]  [irq <NN>]  [media <type>]
434
  [txqueuelen <NN>]
435
  [[-]dynamic]
436
  [up|down] ...
437

    
438
  <HW>=Hardware Type.
439
  List of possible hardware types:
440
    loop (Local Loopback) slip (Serial Line IP) cslip (VJ Serial Line IP)
441
    slip6 (6-bit Serial Line IP) cslip6 (VJ 6-bit Serial Line IP) adaptive (Adap                                                                                                                                                             tive Serial Line IP)
442
    ether (Ethernet) netrom (AMPR NET/ROM) tunnel (IPIP Tunnel)
443
    ppp (Point-to-Point Protocol) arcnet (ARCnet) dlci (Frame Relay DLCI)
444
    frad (Frame Relay Access Device) irda (IrLAP)
445
  <AF>=Address family. Default: inet
446
  List of possible address families:
447
    unix (UNIX Domain) inet (DARPA Internet) inet6 (IPv6)
448
    netrom (AMPR NET/ROM)
449
fec 2188000.ethernet eth1: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_a                                                                                                                                                             ddr=20b4000.ethernet:00, irq=-1)
450
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
451
Set eth0 Done
452
done.
453
Starting system message bus: dbus.
454
/sys/class/gpio/gpio136 is not exist
455
Starting OpenBSD Secure Shell server: sshd
456
done.
457
Starting rpcbind daemon...done.
458
Starting advanced power management daemon: No APM support in kernel
459
(failed.)
460
Starting syslogd/klogd: done
461
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
462
   ...done.
463
Starting Telephony daemon
464
Starting cron: sleep: invalid number '0.5'
465
OK
466
Starting Linux NFC daemon
467
/opt/NandFlash/www/wwwpub/images
468
/opt/NandFlash/www/wwwpub/images
469
om-di[11]:  22 23 26 115 68 87 112 64 88 132 116
470
om-do[9]:  27 18 120 91 65 110 66 67 119
471
om-sys[6]:  135 !136 !128 !129 !130 !18
472
Starting omAppSU: OK
473
AlmMngr init...
474
AlmManager LoadChkItem: 45
475
AlmManager LoadAlmTime: 5
476
AlmManager LoadAlmRecv: 2
477
AlmManager LoadAlmDef: 14
478
AlmManager LoadAlmDev...
479
AlmManager LoadAlmDev ▒▒▒1 GetSM type=2562
480
AlmManager LoadAlmDev GetSer OMI1: 0x800000
481
AlmManager LoadAlmDev GetSer ok
482
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
483
AlmManager LoadAlmDev ▒▒▒2 GetSM type=2562
484
AlmManager LoadAlmDev GetSer OMI1: 0x800000
485
AlmManager LoadAlmDev GetSer ok
486
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
487
AlmManager LoadAlmDev ▒▒▒3 GetSM type=2562
488
AlmManager LoadAlmDev GetSer OMI1: 0x800000
489
AlmManager LoadAlmDev GetSer ok
490
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
491
AlmManager LoadAlmDev ▒▒▒4 GetSM type=2562
492
AlmManager LoadAlmDev GetSer OMI1: 0x800000
493
AlmManager LoadAlmDev GetSer ok
494
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
495
AlmManager LoadAlmDev ▒▒▒5 GetSM type=2562
496
AlmManager LoadAlmDev GetSer OMI1: 0x800000
497
AlmManager LoadAlmDev GetSer ok
498
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
499
AlmManager LoadAlmDev ▒▒▒6 GetSM type=2562
500
AlmManager LoadAlmDev GetSer OMI1: 0x800000
501
AlmManager LoadAlmDev GetSer ok
502
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
503
AlmManager LoadAlmDev ▒▒▒7 GetSM type=2562
504
AlmManager LoadAlmDev GetSer OMI1: 0x800000
505
AlmManager LoadAlmDev GetSer ok
506
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
507
AlmManager LoadAlmDev ▒▒▒8 GetSM type=2562
508
AlmManager LoadAlmDev GetSer OMI1: 0x800000
509
AlmManager LoadAlmDev GetSer ok
510
AlmManager LoadAlmDev ser:OMI1: 800000 open:1
511
AlmManager LoadAlmDev: 8
512
smtp: svr= acc= sub=▒▒▒▒
513
AlmMngr init end
514

    
515
RESULT=
516
Starting goahead: OK
517

    
518

    
519
Starting omTray: OK
520
Running local boot scripts (/etc/rc.local).
521

    
522
Freescale i.MX Release Distro 4.1.15-2.0.1 OM-A6-HWTEST /dev/ttymxc0
523

    
524
OM-A6-HWTEST login: root
525
Password:
526
[root@OM-A6-HWTEST:~]# cd /sys/class/leds/
527
[root@OM-A6-HWTEST:leds]# ls
528
beep@   cpu@    mmc0::@ user@
529
[root@OM-A6-HWTEST:leds]# cd cpu/
530
[root@OM-A6-HWTEST:cpu]# ls
531
brightness      max_brightness  subsystem@      uevent
532
device@         power/          trigger
533
[root@OM-A6-HWTEST:cpu]# cat trigger
534
none rc-feedback nand-disk mmc0 timer oneshot [heartbeat] backlight gpio
535
[root@OM-A6-HWTEST:cpu]# lsmod
536
Module                  Size  Used by
537
omara_dio               8158  20
538
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
539
06 -------- 001000--
540
11 00000000 000----- --------
541
09 00000000 0------- --------
542
[root@OM-A6-HWTEST:cpu]# echo SON=4,5 > /dev/omdio
543
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
544
06 -------- 101010--
545
11 00010000 000----- --------
546
09 00000000 0------- --------
547
[root@OM-A6-HWTEST:cpu]# cat trigger
548
none rc-feedback nand-disk mmc0 timer oneshot [heartbeat] backlight gpio
549
[root@OM-A6-HWTEST:cpu]# echo none > trigger
550
[root@OM-A6-HWTEST:cpu]# cat trigger
551
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
552
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
553
06 -------- 001010--
554
11 00000000 000----- --------
555
09 00000000 0------- --------
556
[root@OM-A6-HWTEST:cpu]# echo SON=4,5 > /dev/omdio
557
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
558
06 -------- 001110--
559
11 00000000 000----- --------
560
09 00000000 0------- --------
561
[root@OM-A6-HWTEST:cpu]# echo SOFF=4,5 > /dev/omdio
562
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
563
06 -------- 101000--
564
11 00010000 000----- --------
565
09 00000000 0------- --------
566
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
567
06 -------- 001000--
568
11 00000000 000----- --------
569
09 00000000 0------- --------
570
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
571
06 -------- 101000--
572
11 00010000 000----- --------
573
09 00000000 0------- --------
574
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
575
06 -------- 101000--
576
11 00010000 000----- --------
577
09 00000000 0------- --------
578
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
579
06 -------- 001000--
580
11 00000000 000----- --------
581
09 00000000 0------- --------
582
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
583
06 -------- 101000--
584
11 00010000 000----- --------
585
09 00000000 0------- --------
586
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
587
06 -------- 101000--
588
11 00010000 000----- --------
589
09 00000000 0------- --------
590
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
591
06 -------- 101000--
592
11 00010000 000----- --------
593
09 00000000 0------- --------
594
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
595
06 -------- 001000--
596
11 00000000 000----- --------
597
09 00000000 0------- --------
598
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
599
06 -------- 001000--
600
11 00000000 000----- --------
601
09 00000000 0------- --------
602
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
603
06 -------- 001000--
604
11 00000000 000----- --------
605
09 00000000 0------- --------
606
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
607
06 -------- 101000--
608
11 00010000 000----- --------
609
09 00000000 0------- --------
610
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
611
06 -------- 101000--
612
11 00010000 000----- --------
613
09 00000000 0------- --------
614
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
615
06 -------- 101000--
616
11 00010000 000----- --------
617
09 00000000 0------- --------
618
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
619
06 -------- 001000--
620
11 00000000 000----- --------
621
09 00000000 0------- --------
622
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
623
06 -------- 101000--
624
11 00010000 000----- --------
625
09 00000000 0------- --------
626
[root@OM-A6-HWTEST:cpu]# echo SON=4,5 > /dev/omdio
627
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
628
06 -------- 101110--
629
11 00010000 000----- --------
630
09 00000000 0------- --------
631
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
632
06 -------- 001110--
633
11 00000000 000----- --------
634
09 00000000 0------- --------
635
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
636
06 -------- 101110--
637
11 00010000 000----- --------
638
09 00000000 0------- --------
639
[root@OM-A6-HWTEST:cpu]# cat /etc/omdio.conf
640
om_di=22,23,26,115,68,87,112,64,88,132,116
641
om_do=27,18,120,91,65,110,66,67,119
642
sys=135,136,128,129,130,18
643
[root@OM-A6-HWTEST:cpu]# echo SON=1,2 > /dev/omdio
644
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
645
06 -------- 111110--
646
11 00110000 000----- --------
647
09 00000000 0------- --------
648
[root@OM-A6-HWTEST:cpu]# echo SON=3,4 > /dev/omdio
649
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
650
06 -------- 011110--
651
11 00100000 000----- --------
652
09 00000000 0------- --------
653
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
654
06 -------- 011110--
655
11 00100000 000----- --------
656
09 00000000 0------- --------
657
[root@OM-A6-HWTEST:cpu]# echo SON=1,2 > /dev/omdio
658
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
659
06 -------- 011110--
660
11 00100000 000----- --------
661
09 00000000 0------- --------
662
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
663
06 -------- 111110--
664
11 00110000 000----- --------
665
09 00000000 0------- --------
666
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
667
06 -------- 111110--
668
11 00110000 000----- --------
669
09 00000000 0------- --------
670
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
671
06 -------- 011110--
672
11 00100000 000----- --------
673
09 00000000 0------- --------
674
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
675
06 -------- 011110--
676
11 00100000 000----- --------
677
09 00000000 0------- --------
678
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
679
06 -------- 111110--
680
11 00110000 000----- --------
681
09 00000000 0------- --------
682
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
683
06 -------- 111110--
684
11 00110000 000----- --------
685
09 00000000 0------- --------
686
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
687
06 -------- 011110--
688
11 00100000 000----- --------
689
09 00000000 0------- --------
690
[root@OM-A6-HWTEST:cpu]# echo SOFF=1,2 > /dev/omdio
691
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
692
06 -------- 001110--
693
11 00000000 000----- --------
694
09 00000000 0------- --------
695
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
696
06 -------- 001110--
697
11 00000000 000----- --------
698
09 00000000 0------- --------
699
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
700
06 -------- 101110--
701
11 00010000 000----- --------
702
09 00000000 0------- --------
703
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
704
06 -------- 001110--
705
11 00000000 000----- --------
706
09 00000000 0------- --------
707
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
708
06 -------- 101110--
709
11 00010000 000----- --------
710
09 00000000 0------- --------
711
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
712
06 -------- 001110--
713
11 00000000 000----- --------
714
09 00000000 0------- --------
715
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
716
06 -------- 101110--
717
11 00010000 000----- --------
718
09 00000000 0------- --------
719
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
720
06 -------- 101110--
721
11 00010000 000----- --------
722
09 00000000 0------- --------
723
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
724
06 -------- 101110--
725
11 00010000 000----- --------
726
09 00000000 0------- --------
727
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
728
06 -------- 101110--
729
11 00010000 000----- --------
730
09 00000000 0------- --------
731
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
732
06 -------- 101110--
733
11 00010000 000----- --------
734
09 00000000 0------- --------
735
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
736
06 -------- 101110--
737
11 00010000 000----- --------
738
09 00000000 0------- --------
739
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
740
06 -------- 001110--
741
11 00000000 000----- --------
742
09 00000000 0------- --------
743
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
744
06 -------- 001110--
745
11 00000000 000----- --------
746
09 00000000 0------- --------
747
[root@OM-A6-HWTEST:cpu]# echo SOFF=4,5 > /dev/omdio
748
[root@OM-A6-HWTEST:cpu]# echo SON=4,5 > /dev/omdio
749
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
750
06 -------- 101110--
751
11 00010000 000----- --------
752
09 00000000 0------- --------
753
[root@OM-A6-HWTEST:cpu]# echo SOFF=4,5 > /dev/omdio
754
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
755
06 -------- 001000--
756
11 00000000 000----- --------
757
09 00000000 0------- --------
758
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
759
06 -------- 001000--
760
11 00000000 000----- --------
761
09 00000000 0------- --------
762
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
763
06 -------- 001000--
764
11 00000000 000----- --------
765
09 00000000 0------- --------
766
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
767
06 -------- 001000--
768
11 00000000 000----- --------
769
09 00000000 0------- --------
770
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
771
06 -------- 001000--
772
11 00000000 000----- --------
773
09 00000000 0------- --------
774
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
775
06 -------- 001000--
776
11 00000000 000----- --------
777
09 00000000 0------- --------
778
[root@OM-A6-HWTEST:cpu]# cat /dev/omdio
779
06 -------- 101000--
780
11 00010000 000----- --------
781
09 00000000 0------- --------
782
[root@OM-A6-HWTEST:cpu]# ls
783
brightness      max_brightness  subsystem@      uevent
784
device@         power/          trigger
785
[root@OM-A6-HWTEST:cpu]# cd -
786
/sys/class/leds
787
[root@OM-A6-HWTEST:leds]# ls
788
beep@   cpu@    mmc0::@ user@
789
[root@OM-A6-HWTEST:leds]# cd mmc0\:\:
790
[root@OM-A6-HWTEST:mmc0::]# ls
791
brightness      max_brightness  subsystem@      uevent
792
device@         power/          trigger
793
[root@OM-A6-HWTEST:mmc0::]# cat trigger
794
none rc-feedback nand-disk [mmc0] timer oneshot heartbeat backlight gpio
795
[root@OM-A6-HWTEST:mmc0::]# echo none > trigger
796
[root@OM-A6-HWTEST:mmc0::]# cat trigger
797
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
798
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
799
06 -------- 101000--
800
11 00010000 000----- --------
801
09 00000000 0------- --------
802
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
803
06 -------- 101000--
804
11 00010000 000----- --------
805
09 00000000 0------- --------
806
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
807
06 -------- 101000--
808
11 00010000 000----- --------
809
09 00000000 0------- --------
810
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
811
06 -------- 001000--
812
11 00000000 000----- --------
813
09 00000000 0------- --------
814
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
815
06 -------- 001000--
816
11 00000000 000----- --------
817
09 00000000 0------- --------
818
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
819
06 -------- 001000--
820
11 00000000 000----- --------
821
09 00000000 0------- --------
822
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
823
06 -------- 001000--
824
11 00000000 000----- --------
825
09 00000000 0------- --------
826
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
827
06 -------- 101000--
828
11 00010000 000----- --------
829
09 00000000 0------- --------
830
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
831
06 -------- 001000--
832
11 00000000 000----- --------
833
09 00000000 0------- --------
834
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
835
06 -------- 101000--
836
11 00010000 000----- --------
837
09 00000000 0------- --------
838
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
839
06 -------- 101000--
840
11 00010000 000----- --------
841
09 00000000 0------- --------
842
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
843
06 -------- 101000--
844
11 00010000 000----- --------
845
09 00000000 0------- --------
846
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
847
06 -------- 001000--
848
11 00000000 000----- --------
849
09 00000000 0------- --------
850
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
851
06 -------- 001000--
852
11 00000000 000----- --------
853
09 00000000 0------- --------
854
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
855
06 -------- 101000--
856
11 00010000 000----- --------
857
09 00000000 0------- --------
858
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
859
06 -------- 101000--
860
11 00010000 000----- --------
861
09 00000000 0------- --------
862
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
863
06 -------- 101000--
864
11 00010000 000----- --------
865
09 00000000 0------- --------
866
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
867
06 -------- 001000--
868
11 00000000 000----- --------
869
09 00000000 0------- --------
870
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
871
06 -------- 001000--
872
11 00000000 000----- --------
873
09 00000000 0------- --------
874
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
875
06 -------- 101000--
876
11 00010000 000----- --------
877
09 00000000 0------- --------
878
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
879
06 -------- 001000--
880
11 00000000 000----- --------
881
09 00000000 0------- --------
882
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
883
06 -------- 101000--
884
11 00010000 000----- --------
885
09 00000000 0------- --------
886
[root@OM-A6-HWTEST:mmc0::]# echo SON=4,5 > /dev/omdio
887
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
888
06 -------- 101110--
889
11 00010000 000----- --------
890
09 00000000 0------- --------
891
[root@OM-A6-HWTEST:mmc0::]# echo SON=1,2 > /dev/omdio
892
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
893
06 -------- 111110--
894
11 00110000 000----- --------
895
09 00000000 0------- --------
896
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
897
06 -------- 111110--
898
11 00110000 000----- --------
899
09 00000000 0------- --------
900
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
901
06 -------- 111110--
902
11 00110000 000----- --------
903
09 00000000 0------- --------
904
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
905
06 -------- 011110--
906
11 00100000 000----- --------
907
09 00000000 0------- --------
908
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
909
06 -------- 111110--
910
11 00110000 000----- --------
911
09 00000000 0------- --------
912
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
913
06 -------- 111110--
914
11 00110000 000----- --------
915
09 00000000 0------- --------
916
[root@OM-A6-HWTEST:mmc0::]# cat /dev/omdio
917
06 -------- 011110--
918
11 00100000 000----- --------
919
09 00000000 0------- --------
920
[root@OM-A6-HWTEST:mmc0::]# ls
921
brightness      max_brightness  subsystem@      uevent
922
device@         power/          trigger
923
[root@OM-A6-HWTEST:mmc0::]# cat trigger
924
[none] rc-feedback nand-disk mmc0 timer oneshot heartbeat backlight gpio
925
[root@OM-A6-HWTEST:mmc0::]# cd -
926
/sys/class/leds
927
[root@OM-A6-HWTEST:leds]# ls
928
beep@   cpu@    mmc0::@ user@
929
[root@OM-A6-HWTEST:leds]# cd ../
930
ata_device/    graphics/      mmc_host/      rc/            tty/
931
ata_link/      hwmon/         mtd/           regulator/     ubi/
932
ata_port/      i2c-dev/       net/           rtc/           udc/
933
backlight/     ieee80211/     omdio_class/   scsi_device/   vc/
934
bdi/           input/         pcmcia_socket/ scsi_disk/     video4linux/
935
block/         lcd/           power_supply/  scsi_host/     vtconsole/
936
dma/           leds/          ppp/           sound/         watchdog/
937
drm/           mdio_bus/      pps/           spi_master/
938
firmware/      mem/           ptp/           spidev/
939
gpio/          misc/          pwm/           thermal/
940
[root@OM-A6-HWTEST:leds]# cd ../^C
941
[root@OM-A6-HWTEST:leds]# ls /dev
942
RS232-1@            mtd4                tty                 tty48
943
RS232-2@            mtd4ro              tty0                tty49
944
RS232-3@            mtdblock0           tty1                tty5
945
RS232-4@            mtdblock1           tty10               tty50
946
RS232-5@            mtdblock2           tty11               tty51
947
RS232-6@            mtdblock3           tty12               tty52
948
RS232-7@            mtdblock4           tty13               tty53
949
autofs              mxc_asrc            tty14               tty54
950
block/              network_latency     tty15               tty55
951
bus/                network_throughput  tty16               tty56
952
char/               null                tty17               tty57
953
console             omdio               tty18               tty58
954
cpu_dma_latency     ppp                 tty19               tty59
955
dri/                pps0                tty2                tty6
956
fd@                 pps1                tty20               tty60
957
full                ptmx                tty21               tty61
958
fuse                ptp0                tty22               tty62
959
hwrng               ptp1                tty23               tty63
960
i2c-1               pts/                tty24               tty7
961
iio:device0         ram0                tty25               tty8
962
initctl|            ram1                tty26               tty9
963
input/              ram10               tty27               ttymxc0
964
kmsg                ram11               tty28               ttymxc1
965
log=                ram12               tty29               ttymxc2
966
loop-control        ram13               tty3                ttymxc3
967
loop0               ram14               tty30               ttymxc4
968
loop1               ram15               tty31               ttymxc5
969
loop2               ram2                tty32               ttymxc6
970
loop3               ram3                tty33               ttymxc7
971
loop4               ram4                tty34               ubi0
972
loop5               ram5                tty35               ubi0_0
973
loop6               ram6                tty36               ubi_ctrl
974
loop7               ram7                tty37               udev_network_queue
975
mem                 ram8                tty38               urandom
976
memory_bandwidth    ram9                tty39               v4l/
977
mtab@               random              tty4                vcs
978
mtd0                rtc@                tty40               vcs1
979
mtd0ro              rtc0                tty41               vcsa
980
mtd1                shm/                tty42               vcsa1
981
mtd1ro              snd/                tty43               video0
982
mtd2                spidev0.0           tty44               watchdog
983
mtd2ro              stderr@             tty45               watchdog0
984
mtd3                stdin@              tty46               zero
985
mtd3ro              stdout@             tty47
986
[root@OM-A6-HWTEST:leds]# ^C
987
[root@OM-A6-HWTEST:leds]# ps | grep om
988
  541 root     47480 S    ./omAppSU
989
  710 root     15208 S    ./omTray
990
22561 root      2724 S    grep om
991
[root@OM-A6-HWTEST:leds]# killall omAppSU
992
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
993
06 -------- 011110--
994
11 00100000 000----- --------
995
09 00000000 0------- --------
996
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
997
06 -------- 011110--
998
11 00100000 000----- --------
999
09 00000000 0------- --------
1000
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1001
06 -------- 011110--
1002
11 00100000 000----- --------
1003
09 00000000 0------- --------
1004
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1005
06 -------- 011110--
1006
11 00100000 000----- --------
1007
09 00000000 0------- --------
1008
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1009
06 -------- 011110--
1010
11 00100000 000----- --------
1011
09 00000000 0------- --------
1012
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1013
06 -------- 011110--
1014
11 00100000 000----- --------
1015
09 00000000 0------- --------
1016
[root@OM-A6-HWTEST:leds]# echo SON=1,2 > /dev/omdio
1017
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1018
06 -------- 111110--
1019
11 00110000 000----- --------
1020
09 00000000 0------- --------
1021
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1022
06 -------- 111110--
1023
11 00110000 000----- --------
1024
09 00000000 0------- --------
1025
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1026
06 -------- 111110--
1027
11 00110000 000----- --------
1028
09 00000000 0------- --------
1029
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1030
06 -------- 111110--
1031
11 00110000 000----- --------
1032
09 00000000 0------- --------
1033
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1034
06 -------- 111110--
1035
11 00110000 000----- --------
1036
09 00000000 0------- --------
1037
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1038
06 -------- 111110--
1039
11 00110000 000----- --------
1040
09 00000000 0------- --------
1041
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1042
06 -------- 111110--
1043
11 00110000 000----- --------
1044
09 00000000 0------- --------
1045
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1046
06 -------- 111110--
1047
11 00110000 000----- --------
1048
09 00000000 0------- --------
1049
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1050
06 -------- 111110--
1051
11 00110000 000----- --------
1052
09 00000000 0------- --------
1053
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1054
06 -------- 111110--
1055
11 00110000 000----- --------
1056
09 00000000 0------- --------
1057
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1058
06 -------- 111110--
1059
11 00110000 000----- --------
1060
09 00000000 0------- --------
1061
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1062
06 -------- 111110--
1063
11 00110000 000----- --------
1064
09 00000000 0------- --------
1065
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1066
06 -------- 111110--
1067
11 00110000 000----- --------
1068
09 00000000 0------- --------
1069
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1070
06 -------- 111110--
1071
11 00110000 000----- --------
1072
09 00000000 0------- --------
1073
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1074
06 -------- 111110--
1075
11 00110000 000----- --------
1076
09 00000000 0------- --------
1077
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1078
06 -------- 111110--
1079
11 00110000 000----- --------
1080
09 00000000 0------- --------
1081
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1082
06 -------- 111110--
1083
11 00110000 000----- --------
1084
09 00000000 0------- --------
1085
[root@OM-A6-HWTEST:leds]# echo SOFF=1,2 > /dev/omdio
1086
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1087
06 -------- 001110--
1088
11 00000000 000----- --------
1089
09 00000000 0------- --------
1090
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1091
06 -------- 001110--
1092
11 00000000 000----- --------
1093
09 00000000 0------- --------
1094
[root@OM-A6-HWTEST:leds]# echo ON=1,2,3,4,5,6,7,8,9
1095
ON=1,2,3,4,5,6,7,8,9
1096
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1097
06 -------- 001110--
1098
11 00000000 000----- --------
1099
09 00000000 0------- --------
1100
[root@OM-A6-HWTEST:leds]# echo ON=1,2,3,4,5,6,7,8,9 > /dev/omdio
1101
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1102
06 -------- 001111--
1103
11 11001111 111----- --------
1104
09 11111111 1------- --------
1105
[root@OM-A6-HWTEST:leds]# echo SON=1,2 > /dev/omdio
1106
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1107
06 -------- 111111--
1108
11 11111111 111----- --------
1109
09 11111111 1------- --------
1110
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1111
06 -------- 111111--
1112
11 11111111 111----- --------
1113
09 11111111 1------- --------
1114
[root@OM-A6-HWTEST:leds]# echo SOFF=1,2 > /dev/omdio
1115
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1116
06 -------- 001111--
1117
11 11001111 111----- --------
1118
09 11111111 1------- --------
1119
[root@OM-A6-HWTEST:leds]# echo OFF=1,2,3,4,5,6,7,8,9 > /dev/omdio
1120
[root@OM-A6-HWTEST:leds]# cat /dev/omdio
1121
06 -------- 001110--
1122
11 00000000 000----- --------
1123
09 00000000 0------- --------
1124
[root@OM-A6-HWTEST:leds]#