-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ash_history
594 lines (594 loc) · 9.93 KB
/
.ash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
cp /sda/can-utils/ .
cp -r /sda/can-utils/ .
ls
cd can-utils/
ls
./configure
./autogen.sh
cat README.md
./autogen.sh
ls
ls -l
./autogen.sh
nano autogen.sh
autoreconf
tce-load -w autoreconf
tce-load -il autoconf
autoreconf
./autogen.sh
nano ./autogen.sh
./autogen.sh
nano ./autogen.sh
ls /bin
nano ./autogen.sh
./autogen.sh
tce-load -il automake
automake
./autogen.sh
autoreconf --force --install -Wall || exit $?
autoreconf --force --install -Wall
libtool
tce-load -il libtool
tce-load -il libtools
autoreconf --force --install -Wall
./configure
dos2unix *
ls
dos2unix *
dos2unix --help
dos2unix
dos2unix Android.mk
dos2unix GNUmakefile.
dos2unix GNUmakefile.am
dos2unix GNUmakefile.in
dos2unix Makefile
dos2unix aclocal.m4
dos2unix asc2log.c
dos2unix autogen.sh
dos2unix autogen.sh bcmserver.c
dos2unix autogen.sh can*
dos2unix autogen.sh config.log
dos2unix can*
dos2unix bcmserver.c
dos2unix config.log
dos2unix config.status
dos2unix configure
dos2unix configure.ac
dos2unix i*
ls
rm autom4te.cache1nGusU
rm autom4te.cacherRDvpT
rm includeCNMyxJ
dos2unix iso*
dos2unix j*
dos2unix l*
dos2unix p*
dos2unix s*
dos2unix t*
dos2unix README.md
./configure
make
ls
./cantest
sudo poweroff
./startcan.sh
cd dev/can-utils/
./candump
./candump can0
fg
./candump can0
cansend
./cansend
./cansend can0 aa
./cansend can0 322#aaaaaaaa
fg
cd dev
cd can-utils/
./candump can0\
~/startcan.sh
./candump can0\
cd dev/
cd can-utils/
~/startcan.sh
./cansend
./cansend can0 123#12345678
fg
./cansend can0 123#12345678
./candump can0
./startcan.sh
cd dev
cd can
cd can-utils/
./candump
./candump can0\
./candump can0
~/eurobeat
./startcan.sh
cd dev/can-utils/
ls
./cangen
./cangen can0
./mountp1.sh
./loadnano.sh
nano /p1/config.txt
nano startcan.sh
sudo find / -name can
sudo find ~ -name can
sudo find ~ -name can*
ls /
sudo find /usr -name can*
sudo find /usr -name spi*
sudo find /usr -name mcp*
ls /p1
lsmod
sudo find / -name *.dts
sudo mount /dev/sda1 /sda
sudo mkdir /sda
sudo mount /dev/sda1 /sda
lsmod > /sda/lsmod.txt
sudo lsmod > /sda/lsmod.txt
lsmod > lsmod.txt
ls /dev/*spi*
ls /dev/*can*
ls /dev/
sudo mv lsmod.txt /sda/
sudo mv -f lsmod.txt /sda/
ls /sda
sudo cp lsmod.txt /sda/
ls
sudo umount /sda
./mountp1.sh
./loadnano.sh
fg
cd /p1
nano cmdline
nano cmdline.txt
sudo nano cmdline.txt
sudo poweroff
./loadnano.sh
sudo nano /mnt/mmcblk0p2/tce/onboot.lst
fg
ls /dev
./loadnano.sh
./mountp1.sh
sudo nano /p1/config.txt
sudo reboot
fg
ls /dev
lsmod
modprobe can
ls /dev
./startcan.sh
ls
ls /dev
sudo find / -name *can0*
./startcan.sh
sudo candump can0
cd dev
cd can-utils/
sudo ./candump can0
strace
tce-load -w strace
sudo find / -name strace
sudo mount /dev/sda1 /sda
sudo mkdir /sda
sudo mount /dev/sda1 /sda
cd ..
cp /sda/strace-4.22.tar.xz .
rm -rf /sda/strace-4.22
sudo rm -rf /sda/strace-4.22
tce-load
tce-load -w xz-utils
tar\
tar -xvf strace-4.22.tar.xz
ls
cd strace-4.22/
ls
~/loaddev.sh
tce-load -il autoconf autobuild
tce-load -il automake
./bootstrap
ls
./configure
sudo date -s "201804142342.15"
./configure
ls
./missing
./missing --help
ls
./compile
./compile --help
nano INSTALL
make
ls
ls | more
ls -d
ls --help
ls -d
ls */
ls | grep */
cd linux/
ls
cd arm
ls
cd ../..
cd m4
ls
cd ..
ls | grep */
cd xlat/
ls
cd ..
nano Makefile
ls
make install
sudo make install
strace
cd ..
strace eurobeat
strace ./eurobeat
strace ./eurobeat > strace.log
kill 15678
strace ./eurobeat &> strace.log
tail strace.log
nano strace.log
strace sudo ./eurobeat &> strace.log
tail strace.log
sudo strace ./eurobeat &> strace.log
tail strace.log
sudo strace sudo ./eurobeat &> strace.log
tail strace.log
sudo strace sudo can-utils/candump can0
sudo strace sudo can-utils/candump can0 > strace.log
sudo strace sudo can-utils/candump can0 &> strace.log
tail strace.log
./mountp1.sh
./loadnano.sh
sudo nano /p1/config.txt
sudo reboot
cd dev
cd can-utils/
~/startcan.sh
./candump can0
nano ../eurobeat.cpp
~/loadnano.sh
nano ../eurobeat.cpp
nano ../canutil.h
fg
cd ..
./eurobeat
fg
./eurobeat
sudo poweroff
fg
cd dev
~/loaddev.sh
ls
mv socketcan-bcm-demo.cpp
mkdir reference
mv socketcan-bcm-demo.cpp reference
ls
rm eurobeat.zip
rm strace.log
sudo mkdir /sda
sudo mount /dev/sda1 /sda
cp /sda/eurobeat.cpp .
cp /sda/Makefile* .
ls
make
nano Makefile
make
sudo umount /sda
sudo mount /dev/sda1 /sda
cp /sda/*.cpp .
cp /sda/*.h .
make
./eurobeat
fg
./eurobeat
tce-load -il iputils
tce-load -il iputil
nano ~/startcan.sh
tce-load -il iproute2
ifconfig
ifconfig can0
./eurobeat &
ifconfig can0
~/startcan.sh
ifconfig can0
./eurobeat
gdb eurobeat
make debug
rm eurobeat
make debug
gdb eurobeat
ls
make clean debug
sudo umount /sda
sudo mount /dev/sda1 /sda
cp /sda/*.cpp .
cp /sda/*.h .
make debug
./eurobeat
gdb eurobeat
fg
nano eurobeat.cpp
make debug
nano eurobeat.cpp
nano canutil.cpp
make debug
nano canutil.cpp
make debug
nano canutil.cpp
make debug
nano canutil.cpp
make debug
./eurobeat
gdb eurobeat
nano canutil.cpp
nano canutil.h
nano eurobeat.cpp
make debug
nano canutil.h
make debug
./eurobeat
sudo umount /sda
sudo mount /dev/sda1 /sda
cp /sda/canutil.cpp .
make debug
./eurobeat
can-utils/candump can0
ifconfig can0
can-utils/candump can0
can-utils/cangen can0
can-utils/cangen
can-utils/cangen can0
ifconfig can0
ip -details link show can0
sudo ifconfig can0 down
sudo ifconfig can0 up
ip -details link show can0
ip link set can0 type can restart
sudo ip link set can0 type can restart
nano ~/startcan.sh
sudo ip link set
sudo ip link set can0
sudo ip link set can0 down
sudo ip link set can0 up type can bitrate 500000
ip -details link show can0
sudo ip link set can0 up type can bitrate 500000 clock 16000000
sudo reboot
fg
cd dev
./eurobeat
ip -details link show can0
tce-load -il iproute2
ip -details link show can0
./eurobeat &
ip -details link show can0
sudo ifconfig can0 up
sudo ip link set can0 up type can bitrate 500000
cansend can0 a#a
./can-utils/cansend can0 a#a
./can-utils/cansend can0 aaa#a
./can-utils/cansend can0 aaa#01234567
fg
./startcan.sh
./can-utils/cansend can0 aaa#01234567
cd dev
ip -details link show can0
./can-utils/cansend can0 aaa#01234567
./startcan.sh
cd dev
./can-utils/cansend can0 aaa#12345678
./startcan.sh
cd dev
./can-utils/candump can0
tail /tmp/eurobeat.log
fg
./eurobeat
cp eurobeat ..
sudo reboot
tce-load -il iproute2
ls
cd dev
ls
cd strace-4.22/
ls
strace
./strace
sudo ./strace sudo ip
cat ~/startcan.sh
sudo ./strace sudo ip link set can0 up type can bitrate 500000 &> ~/strace.log
nano ~/strace.log
~/loadnano.sh
;
nano ~/strace.log
cd ..
sudo mount /dev/sda1 /sda
sudo mkdir /sda
sudo mount /dev/sda1 /sda
cp /sda/*.cpp .
cp /sda/*.h .
make
~/loaddev.sh
fg
make debug
make clean
make debug
sudo mount /dev/sdb1 /sda
cp /sda/canutil.cpp .
rm canutil.o
ls
make debug
cp eurobeat ~
sudo reboot
tail /tmp/eurobeat.log
$?
./eurobeat
$?
tail /tmp/eurobeat.log
cp mountp1.sh sda.sh
./loadnano.sh
nano sda.sh
cp unmountp1.sh usda.sh
nano usda.sh
./sda.sh
cp /sda/canutil.cpp dev
cd dev
make debug
~/loaddev.sh
make debug
./eurobeat
$?
~/usda.sh
~/sda.sh
cp /sda/canutil.cpp .
make debug
./eurobeat
sudo ./eurobeat
~/usda.sh
~/sda.sh
cp /sda/canutil.cpp .
make debug
./eurobeat
sudo ./eurobeat
~/usda.sh
~/sda.sh
cp /sda/canutil.cpp .
make debug
nano canutil.cpp
make debug
sudo ./eurobeat
~/startcan.sh
sudo ./eurobeat
ip link down can0
ip link help
ip link set can0 down
sudo ip link set can0 down
sudo ./eurobeat
sudo reboot
tce-load -il iproute2
cd dev
~/loaddev.sh
sudo ./eurobeat
cat ~/startcan.sh
sudo strace sudo ip link set can0 type can
tce-load -il strace
ls
sudo strace-4.22/strace sudo ip link set can0 type can &> stracetypecan.log
nano stracetypecan.log
asudo strace-4.22/strace sudo ip link set can0 type can &> stracebitrate5k.log
ls
rm stracebitrate5k.log
./eurobeat
sudo ./eurobeat
sudo strace-4.22/strace sudo ip link set can0 bitrate 500000 &> stracebitrate500k.log
sudo ./eurobeat
sudo strace-4.22/strace sudo ip link set can0 up &> straceup.log
sudo ./eurobeat
sudo strace-4.22/strace sudo ip link set can0 bitrate 500000 &> stracebitrate500k.log
sudo ./eurobeat
asudo strace-4.22/strace sudo ip link set can0 type can &> stracebitrate5k.log
sudo strace-4.22/strace sudo ip link set can0 type can &> stracetypecan.log
cat stracebitrate5k.log
rm stracebitrate5k.log
sudo ./eurobeat
sudo strace-4.22/strace sudo ip link set can0 up type can bitrate 500000 &> strace.log
sudo ./eurobeat
sudo reboot
tce-load -il iproute2
~/loaddev.sh
ipconfig
nano strace.log
cd dev
ls
nano strace.log
uname -r
ip --version
ip --help
ip -V
iproute
iproute2\
~/sda.sh
cp /sda/canutil.cpp .
cp -r /sda/iproute2-4.9.0/ .
ls .
cd iproute2-4.9.0/
ls
tce-load -il automake autobuild
tce-load -il automake autoconf
./configure
tce-load -w libmnl
tce-load -il libmnl
./configure
ls
make
ls
cd ip
ls
./ip link set can0 down
sudo ./ip link set can0 down
cd ..
make
./eurobeat
sudo reboot
tail /tmp/eurobeat.log
cd dev
cd iproute2-4.9.0/
cd ip
ls
sudo ./ip link set can0 up type can bitrate 500000
~/dev/eurobeat
cp ip ~
cp ~/dev/eurobeat ~
nano ~/.profile
~/loadnano.sh
cd ~
sudo ./ip link set can0 up type can bitrate 500000
sudo ./ip link set can0 down
sudo ./ip link set can0 up type can bitrate 500000
nano .profile
sudo ./ip link set can0 down
sudo ./ip link set can0 up type can bitrate 500000 triple-sampling on
sudo reboot
fg
cat /tmp/eurobeat.log
./loadnano.sh
tail /tmp/eurobeat.log
jobs
nano .profile
ifconfig
cd dev
cd can-utils/
./candump can0
fg
ifconfig
cd dev
cd can-utils/
~/loadnano.sh
./candump can0
nano .pro
nano ~/.profile
~/ip link set can0 up type can bitrate 500000
sudo ~/ip link set can0 up type can bitrate 500000
sudo ~/ip link set can0 down
sudo ~/ip link set can0 up type can bitrate 500000
~/eurobeat
./candump can0
ifconfig
./candump can0
sudo ~/ip link set can0 down
sudo ~/ip link set can0 up type can bitrate 50000
./candump can0
ifconfig
sudo ~/ip link set can0 down
sudo ~/ip link set can0 up type can bitrate 250000
ifconfig
./candump can0
sudo ~/ip link set can0 down
sudo ~/ip link set can0 up type can bitrate 1000000
./candump can0
nano ~/.profile
~/eurobeat
~/eurobeat &> /dev/null