项目

一般

简介

#4702 X30020221115.txt

张 群瑞, 2022-11-15 15:06

 
1

    
2
M28x login: root
3
Password:
4
[root@M28x ~]# df
5
Filesystem                Size      Used Available Use% Mounted on
6
ubi0:rootfs              54.7M     35.1M     16.8M  68% /
7
tmpfs                    60.8M      8.0K     60.8M   0% /tmp
8
tmpfs                    60.8M     48.0K     60.7M   0% /var
9
tmpfs                    60.8M         0     60.8M   0% /media
10
ubi1:opt                 40.5M     18.7M     19.7M  49% /opt
11
tmpfs                    60.8M     72.0K     60.7M   0% /opt/NandFlash/tmp
12
ubi0:rootfs              54.7M     35.1M     16.8M  68% /
13
tmpfs                    60.8M      8.0K     60.8M   0% /tmp
14
tmpfs                    60.8M     48.0K     60.7M   0% /var
15
tmpfs                    60.8M         0     60.8M   0% /media
16
ubi1:opt                 40.5M     18.7M     19.7M  49% /opt
17
tmpfs                    60.8M     72.0K     60.7M   0% /opt/NandFlash/tmp
18
[root@M28x ~]# date
19
Thu Jan  1 00:02:05 UTC 1970
20
[root@M28x ~]# date
21
Thu Jan  1 00:03:14 UTC 1970
22
[root@M28x ~]#
23
[root@M28x ~]#
24
[root@M28x ~]#
25
[root@M28x ~]#
26
[root@M28x ~]#
27
[root@M28x ~]#
28
[root@M28x ~]#
29
[root@M28x ~]#
30
[root@M28x ~]# date
31
Thu Jan  1 00:09:51 UTC 1970
32
[root@M28x ~]# hwclock
33
Tue Nov 30 00:00:00 1999  0.000000 seconds
34
[root@M28x ~]# hwclock
35
Tue Nov 30 00:00:00 1999  0.000000 seconds
36
[root@M28x ~]# hwclock --utc
37
Tue Nov 30 00:00:00 1999  0.000000 seconds
38
[root@M28x ~]# hwclock -utc
39
hwclock: invalid option -- 't'
40
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
41

    
42
Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--                                                                                                                                                              utc] [-f FILE]
43

    
44
Query and set hardware clock (RTC)
45

    
46
Options:
47
        -r      Show hardware clock time
48
        -s      Set system time from hardware clock
49
        -w      Set hardware clock to system time
50
        -u      Hardware clock is in UTC
51
        -l      Hardware clock is in local time
52
        -f FILE Use specified device (e.g. /dev/rtc2)
53

    
54
[root@M28x ~]# hwclock -u
55
Tue Nov 30 00:00:00 1999  0.000000 seconds
56
[root@M28x ~]# hwclock -l
57
Tue Nov 30 00:00:00 1999  0.000000 seconds
58
[root@M28x ~]# hwclock -r
59
Tue Nov 30 00:00:00 1999  0.000000 seconds
60
[root@M28x ~]# hwclock --adjtime
61
hwclock: unrecognized option '--adjtime'
62
BusyBox v1.18.4 (2014-03-19 15:41:22 CST) multi-call binary.
63

    
64
Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--                                                                                                                                                              utc] [-f FILE]
65

    
66
Query and set hardware clock (RTC)
67

    
68
Options:
69
        -r      Show hardware clock time
70
        -s      Set system time from hardware clock
71
        -w      Set hardware clock to system time
72
        -u      Hardware clock is in UTC
73
        -l      Hardware clock is in local time
74
        -f FILE Use specified device (e.g. /dev/rtc2)
75

    
76
[root@M28x ~]# date
77
Thu Jan  1 00:17:45 UTC 1970
78
[root@M28x ~]# date
79
Tue Nov 15 14:37:51 UTC 2022
80
[root@M28x ~]# hwclock -r
81
Tue Nov 30 00:00:00 1999  0.000000 seconds
82
[root@M28x ~]# hwclock -w
83
[root@M28x ~]# hwclock -r
84
Tue Nov 30 00:00:00 1999  0.000000 seconds
85
[root@M28x ~]# date
86
Tue Nov 15 14:39:26 UTC 2022
87
[root@M28x ~]# hwclock -s
88
[root@M28x ~]# date
89
Tue Nov 30 00:00:03 UTC 1999
90
[root@M28x ~]# date
91
Tue Nov 15 14:41:07 UTC 2022
92
[root@M28x ~]# hwclock -w
93
[root@M28x ~]# hwclock -w
94
[root@M28x ~]# sync
95
[root@M28x ~]# hwclock -r
96
Tue Nov 30 00:00:00 1999  0.000000 seconds
97
[root@M28x ~]# date
98
Tue Nov 15 14:41:59 UTC 2022
99
[root@M28x ~]# demesg
100
-sh: demesg: command not found
101
[root@M28x ~]# dmesg
102
Linux version 2.6.35.3-571-gcca29a0 (root@localhost.localdomain) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #2 PREEMPT Fri Apr 14 11:43:38 CST 2017
103
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
104
CPU: VIVT data cache, VIVT instruction cache
105
Machine: Freescale MX28EVK board
106
Memory policy: ECC disabled, Data cache writeback
107
On node 0 totalpages: 32768
108
free_area_init_node: node 0, pgdat c05f7dac, node_mem_map c0644000
109
  DMA zone: 32 pages used for memmap
110
  DMA zone: 0 pages reserved
111
  DMA zone: 4064 pages, LIFO batch:0
112
  Normal zone: 224 pages used for memmap
113
  Normal zone: 28448 pages, LIFO batch:7
114
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
115
Kernel command line: gpmi=g console=ttyAM0,115200n8 ubi.mtd=5 root=ubi0:rootfs rootfstype=ubifs ro mem=128M
116
PID hash table entries: 512 (order: -1, 2048 bytes)
117
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
118
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
119
Memory: 128MB = 128MB total
120
Memory: 123532k/123532k available, 7540k reserved, 0K highmem
121
Virtual kernel memory layout:
122
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
123
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
124
    DMA     : 0xfde00000 - 0xffe00000   (  32 MB)
125
    vmalloc : 0xc8800000 - 0xf0000000   ( 632 MB)
126
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
127
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
128
      .init : 0xc0008000 - 0xc00f0000   ( 928 kB)
129
      .text : 0xc00f0000 - 0xc05be000   (4920 kB)
130
      .data : 0xc05be000 - 0xc05f8780   ( 234 kB)
131
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
132
Hierarchical RCU implementation.
133
        RCU-based detection of stalled CPUs is disabled.
134
        Verbose stalled-CPUs detection is disabled.
135
NR_IRQS:288
136
Console: colour dummy device 80x30
137
console [ttyAM0] enabled
138
Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
139
pid_max: default: 32768 minimum: 301
140
Security Framework initialized
141
SELinux:  Initializing.
142
SELinux:  Starting in permissive mode
143
Mount-cache hash table entries: 512
144
CPU: Testing write buffer coherency: ok
145
regulator: core version 0.5
146

    
147
NET: Registered protocol family 16
148
regulator: vddd: 800 <--> 1575 mV at 1500 mV fast normal
149
regulator: vdddbo: 800 <--> 1575 mV fast normal
150
regulator: vdda: 1500 <--> 2275 mV at 1800 mV fast normal
151
vddio = 3380000, val=10
152
regulator: vddio: 2880 <--> 3680 mV at 3380 mV fast normal
153
regulator: overall_current: fast normal
154
regulator: vbus5v:
155
regulator: mxs-duart-1: fast normal
156
regulator: mxs-bl-1: fast normal
157
regulator: mxs-i2c-1: fast normal
158
regulator: mmc_ssp-1: fast normal
159
regulator: mmc_ssp-2: fast normal
160
regulator: charger-1: fast normal
161
regulator: power-test-1: fast normal
162
regulator: cpufreq-1: fast normal
163
i.MX IRAM pool: 120 KB@0xc8820000
164
Initializing GPMI pins
165
add spi2
166
add spi3
167
mx28 wdt: mxs_add_device.
168
sp706s hw_wdt_probe called.
169
sp706s watchdog driver registered.
170
sp706 wdt: platform device registered.
171
add device pwm chanel 4
172
add device pwm chanel 7
173
i2c_device_init for ds2460
174
usb DR wakeup device is registered
175
IMX usb wakeup probe
176
the wakeup pdata is 0xc05c6d64
177
audit: cannot initialize inotify handle
178
bio: create slab <bio-0> at 0
179
SCSI subsystem initialized
180
i.MX GPMI NFC
181
Freescale USB OTG Driver loaded, $Revision: 1.55 $
182
usbcore: registered new interface driver usbfs
183
usbcore: registered new interface driver hub
184
usbcore: registered new device driver usb
185
Advanced Linux Sound Architecture Driver Version 1.0.23.
186
Switching to clocksource mxs clock source
187
NET: Registered protocol family 2
188
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
189
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
190
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
191
TCP: Hash tables configured (established 4096 bind 4096)
192
TCP reno registered
193
UDP hash table entries: 256 (order: 0, 4096 bytes)
194
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
195
NET: Registered protocol family 1
196
RPC: Registered udp transport module.
197
RPC: Registered tcp transport module.
198
RPC: Registered tcp NFSv4.1 backchannel transport module.
199
Bus freq driver module loaded
200
IMX usb wakeup probe
201
the wakeup pdata is 0xc05c7214
202
usb h1 wakeup device is registered
203
NFC: Version 1, 8-chip GPMI and BCH
204
Boot ROM: Version 1, Single-chip boot area, block mark swapping supported
205
Scanning for NAND Flash chips...
206
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (Spansion NAND 128MiB 3,3V 8-bit)
207
-----------------------------
208
NAND Flash Device Information
209
-----------------------------
210
Manufacturer      : Spansion (0x01)
211
Device Code       : 0xf1
212
Cell Technology   : SLC
213
Chip Size         : 128 MiB
214
Pages per Block   : 64
215
Page Geometry     : 2048+64
216
ECC Strength      : 4 bits
217
ECC Size          : 512 B
218
Data Setup Time   : 20 ns
219
Data Hold Time    : 10 ns
220
Address Setup Time: 20 ns
221
GPMI Sample Delay : 6 ns
222
tREA              : Unknown
223
tRLOH             : Unknown
224
tRHOH             : Unknown
225
Description       : S34ML01G2
226
-----------------
227
Physical Geometry
228
-----------------
229
Chip Count             : 1
230
Page Data Size in Bytes: 2048 (0x800)
231
Page OOB Size in Bytes : 64
232
Block Size in Bytes    : 131072 (0x20000)
233
Block Size in Pages    : 64 (0x40)
234
Chip Size in Bytes     : 134217728 (0x8000000)
235
Chip Size in Pages     : 65536 (0x10000)
236
Chip Size in Blocks    : 1024 (0x400)
237
Medium Size in Bytes   : 134217728 (0x8000000)
238
------------
239
NFC Geometry
240
------------
241
ECC Algorithm          : BCH
242
ECC Strength           : 8
243
Page Size in Bytes     : 2112
244
Metadata Size in Bytes : 10
245
ECC Chunk Size in Bytes: 512
246
ECC Chunk Count        : 4
247
Payload Size in Bytes  : 2048
248
Auxiliary Size in Bytes: 16
249
Auxiliary Status Offset: 12
250
Block Mark Byte Offset : 1999
251
Block Mark Bit Offset  : 0
252
-----------------
253
Boot ROM Geometry
254
-----------------
255
Boot Area Count            : 1
256
Boot Area Size in Bytes    : 20971520 (0x1400000)
257
Stride Size in Pages       : 64
258
Search Area Stride Exponent: 2
259
Bad block table found at page 65472, version 0x01
260
Bad block table found at page 65408, version 0x01
261
Boot area protection is enabled.
262
Creating 7 MTD partitions on "gpmi-nfc-main":
263
0x000000000000-0x000000c00000 : "boot     12MB"
264
0x000000c00000-0x000000c80000 : "env      512KB"
265
0x000000c80000-0x000000d00000 : "reserved 512KB"
266
0x000000d00000-0x000000f00000 : "logo     2MB"
267
0x000000f00000-0x000000f80000 : "reserved 512KB"
268
0x000000f80000-0x000004f80000 : "rootfs   64MB"
269
0x000004f80000-0x000008000000 : "opt      -"
270
cmdlinepart partition parsing not available
271
mxs_cpu_init: cpufreq init finished
272
audit: initializing netlink socket (disabled)
273
type=2000 audit(0.880:1): initialized
274
VFS: Disk quotas dquot_6.5.2
275
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
276
msgmni has been set to 241
277
alg: No test for stdrng (krng)
278
cryptodev: driver loaded.
279
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
280
io scheduler noop registered
281
io scheduler deadline registered
282
io scheduler cfq registered (default)
283
baclight_device easy283-pwm.4 register succcessed
284
init_pwm ch 4
285
baclight_device easy283-pwm.7 register succcessed
286
init_pwm ch 7
287
set dclk 9000000 Hz,real lcd clk=9000000 Hz
288
 drivers/video/logo/zhiyuan_bmp8_logo.c-95:can't find logo in mtd3
289
Console: switching to colour frame buffer device 60x34
290
set dclk 9000000 Hz,real lcd clk=9000000 Hz
291
mxs-duart.0: ttyAM0 at MMIO 0x80074000 (irq = 47) is a DebugUART
292
mxs-auart.0: ttySP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auart.0
293
Found APPUART 3.1.0
294
mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 113) is a mxs-auart.1
295
Found APPUART 3.1.0
296
mxs-auart.2: ttySP2 at MMIO 0x8006e000 (irq = 114) is a mxs-auart.2
297
Found APPUART 3.1.0
298
mxs-auart.3: ttySP3 at MMIO 0x80070000 (irq = 115) is a mxs-auart.3
299
Found APPUART 3.1.0
300
mxs-auart.4: ttySP4 at MMIO 0x80072000 (irq = 116) is a mxs-auart.4
301
Found APPUART 3.1.0
302
brd: module loaded
303
loop: module loaded
304
UBI: attaching mtd5 to ubi0
305
UBI: physical eraseblock size:   131072 bytes (128 KiB)
306
UBI: logical eraseblock size:    126976 bytes
307
UBI: smallest flash I/O unit:    2048
308
UBI: VID header offset:          2048 (aligned 2048)
309
UBI: data offset:                4096
310
UBI: attached mtd5 to ubi0
311
UBI: MTD device name:            "rootfs   64MB"
312
UBI: MTD device size:            64 MiB
313
UBI: number of good PEBs:        512
314
UBI: number of bad PEBs:         0
315
UBI: max. allowed volumes:       128
316
UBI: wear-leveling threshold:    4096
317
UBI: number of internal volumes: 1
318
UBI: number of user volumes:     1
319
UBI: available PEBs:             0
320
UBI: total number of reserved PEBs: 512
321
UBI: number of PEBs reserved for bad PEB handling: 5
322
UBI: max/mean erase counter: 3/1
323
UBI: image sequence number: 0
324
mxs_spi_probe
325
UBI: background thread "ubi_bgt0d" started, PID 1050
326
mxs-spi mxs-spi.2: Max possible speed 24000 = 24000000/2 kHz
327
mxs-spi mxs-spi.2: at 0x80014000 mapped to 0xF0014000, irq=84, bus 2, PIO ver_major 4
328
mxs_spi_probe
329
mxs-spi mxs-spi.3: Max possible speed 24000 = 24000000/2 kHz
330
mxs-spi mxs-spi.3: at 0x80016000 mapped to 0xF0016000, irq=85, bus 3, PIO ver_major 4
331
spidev_probe.
332
device_create spidevn.n
333
spidev_probe.
334
device_create spidevn.n
335
Freescale FlexCAN Driver
336
CAN device driver interface
337
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
338
fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller
339
fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1
340
fsl-ehci fsl-ehci: irq 93, io base 0x80080000
341
fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00
342
hub 1-0:1.0: USB hub found
343
hub 1-0:1.0: 1 port detected
344
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
345
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 2
346
fsl-ehci fsl-ehci.0: irq 92, io base 0x80090000
347
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
348
hub 2-0:1.0: USB hub found
349
hub 2-0:1.0: 1 port detected
350
Initializing USB Mass Storage driver...
351
usbcore: registered new interface driver usb-storage
352
USB Mass Storage support registered.
353
usbcore: registered new interface driver usbserial
354
usbserial: USB Serial Driver core
355
USB Serial support registered for Vizzini USB serial port
356
usbcore: registered new interface driver vizzini
357
USB Driver for Vizzini USB serial port: v.1.1
358
USB Serial support registered for FTDI USB Serial Device
359
usbcore: registered new interface driver ftdi_sio
360
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
361
ARC USBOTG Device Controller driver (1 August 2005)
362
input: MXS touchscreen as /class/input/input0
363
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
364
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
365
MXS RTC driver v1.0 hardware v2.3.0
366
mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc1
367
i2c /dev entries driver
368
epc_crp_init
369
mxs watchdog: initialized, heartbeat 19 sec
370
cpuidle: using governor ladder
371
cpuidle: using governor menu
372
mxs-mmc: MXS SSP Controller MMC Interface driver
373
mxs-mmc: MXS MMC Interface probe
374
__mxs_reset_block(f0010000): timeout when resetting
375
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
376
Registered led device: led-run
377
Registered led device: led-err
378
Registered led device: beep
379
dcp dcp.0: DCP crypto enabled.!
380
usbcore: registered new interface driver hiddev
381
usbcore: registered new interface driver usbhid
382
usbhid: USB HID core driver
383
ALSA device list:
384
  No soundcards found.
385
IPv4 over IPv4 tunneling driver
386
GRE over IPv4 tunneling driver
387
TCP cubic registered
388
NET: Registered protocol family 17
389
can: controller area network core (rev 20090105 abi 8)
390
NET: Registered protocol family 29
391
can: raw protocol (rev 20090105)
392
can: broadcast manager protocol (rev 20090105 t)
393
lib80211: common routines for IEEE802.11 drivers
394
lib80211_crypt: registered algorithm 'NULL'
395
FEC Ethernet Driver
396
fec_enet_mii_bus: probed
397
rtc-pcf8563 1-0051: retrieved date/time is not valid.
398
rtc-pcf8563 1-0051: hctosys: invalid date/time
399
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
400
UBIFS: mounted read-only
401
UBIFS: file system size:   62726144 bytes (61256 KiB, 59 MiB, 494 LEBs)
402
UBIFS: journal size:       3174400 bytes (3100 KiB, 3 MiB, 25 LEBs)
403
UBIFS: media format:       w4/r0 (latest is w4/r0)
404
UBIFS: default compressor: lzo
405
UBIFS: reserved for root:  2962710 bytes (2893 KiB)
406
VFS: Mounted root (ubifs filesystem) readonly on device 0:15.
407
Freeing init memory: 928K
408
ehci_fsl_bus_suspend, Host 1
409
ehci_fsl_bus_suspend, DR
410
UBI: attaching mtd6 to ubi1
411
UBI: physical eraseblock size:   131072 bytes (128 KiB)
412
UBI: logical eraseblock size:    126976 bytes
413
UBI: smallest flash I/O unit:    2048
414
UBI: VID header offset:          2048 (aligned 2048)
415
UBI: data offset:                4096
416
UBI: attached mtd6 to ubi1
417
UBI: MTD device name:            "opt      -"
418
UBI: MTD device size:            48 MiB
419
UBI: number of good PEBs:        384
420
UBI: number of bad PEBs:         4
421
UBI: max. allowed volumes:       128
422
UBI: wear-leveling threshold:    4096
423
UBI: number of internal volumes: 1
424
UBI: number of user volumes:     1
425
UBI: available PEBs:             0
426
UBI: total number of reserved PEBs: 384
427
UBI: number of PEBs reserved for bad PEB handling: 3
428
UBI: max/mean erase counter: 24/4
429
UBI: image sequence number: 0
430
UBI: background thread "ubi_bgt1d" started, PID 1190
431
UBIFS: recovery needed
432
UBIFS: recovery completed
433
UBIFS: mounted UBI device 1, volume 1, name "opt"
434
UBIFS: file system size:   46727168 bytes (45632 KiB, 44 MiB, 368 LEBs)
435
UBIFS: journal size:       2285568 bytes (2232 KiB, 2 MiB, 18 LEBs)
436
UBIFS: media format:       w4/r0 (latest is w4/r0)
437
UBIFS: default compressor: lzo
438
UBIFS: reserved for root:  2207039 bytes (2155 KiB)
439
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:05, irq=-1)
440
eth1: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
441

    
442
adc module init!
443
gpio    initialized
444
PHY: 0:05 - Link is Up - 100/Full
445
rtc-pcf8563 1-0051: retrieved date/time is not valid.
446
rtc-pcf8563 1-0051: retrieved date/time is not valid.
447
rtc-pcf8563 1-0051: retrieved date/time is not valid.
448
rtc-pcf8563 1-0051: retrieved date/time is not valid.
449
rtc-pcf8563 1-0051: retrieved date/time is not valid.
450
rtc-pcf8563 1-0051: retrieved date/time is not valid.
451
rtc-pcf8563 1-0051: retrieved date/time is not valid.
452
rtc-pcf8563 1-0051: retrieved date/time is not valid.
453
rtc-pcf8563 1-0051: retrieved date/time is not valid.
454
rtc-pcf8563 1-0051: retrieved date/time is not valid.
455
[root@M28x ~]#