Spaces:

File size: 64,777 Bytes
5aefcf4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
Ticket Name: Linux/TDA2: TDA2xx/linux opencx on vision_sdk

Query Text:
Part Number: TDA2 Tool/software: Linux I cannot run the openclframecopy usecase successfully. I have done Following steps: 1. clone kernel, uboot, cmem,sgx driver and target file system; 2. run hlos/scripts/linux/setup-linux-build-env.sh and ./hlos/scripts/linux/setup_linux.sh; 3. set git config; 4. git Opencl supported package; 5. MAKECONFIG = tda2xx_evm_linux_opencx; 6. my system path is :PATH="/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/bin:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/clocl:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/bin/x86:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" 7. KERNEL_INSTALL_DIR="/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/kernel" 8. cd /vision_sdk/build run "rm -rf ../binaries/"; 9. make clean ; make liunx_clean; make -s -j dpend ; make -s -j opencx; 10. use uenv_sd.txt as uenv.txt; There is no error in the above steps . But it cannot run success on the target. Below is my running log: 7457.log13.txt at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot:  0
=> pri
arch=arm
args_fit=setenv bootargs console=${console}
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
board=dra7xx
board_name=dra7xx
board_rev=H.0
boot_fdt=try
boot_fit=0
boot_os=0
bootargs=androidboot.serialno=${serial#} console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=jacinto6evmboard
bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 0; fi;if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run envboot; run mmcboot;run emmc_android_boot;
bootdelay=2
bootdir=/boot
bootenvfile=uEnv.txt
bootfile=zImage
bootm_size=0x10000000
bootpart=0:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyO0,115200n8
cpu=armv7
dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
dfu_bufsiz=0x10000
dofastboot=0
emmc_android_boot=setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv mmcdev 1; setenv fdt_part 3; setenv boot_part 9; if test $reboot_image = recovery; then setenv boot_part 8; setenv reboot_image boot; saveenv; fi;setenv machid fe6; mmc dev $mmcdev; mmc rescan; part start mmc ${mmcdev} ${fdt_part} fdt_start; part size mmc ${mmcdev} ${fdt_part} fdt_size; part start mmc ${mmcdev} ${boot_part} boot_start; part size mmc ${mmcdev} ${boot_part} boot_size; mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; mmc read ${loadaddr} ${boot_start} ${boot_size}; echo Booting from eMMC ...; bootm $loadaddr $loadaddr $fdtaddr;
envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
ethaddr=7c:38:66:a1:e2:a6
fastboot.board_rev=H.0
fastboot.cpu=J6
fastboot.secure=GP
fastboot.userdata_size=unknown
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtcontroladdr=fdf0a598
fdtfile=undefined
findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm.dtb; fi;if test $board_name = dra71x; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = dra76x; then setenv fdtfile dra76-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am571x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;
finduuid=part uuid mmc ${bootpart} uuid
fit_bootfile=fitImage.itb
fit_loadaddr=0x88000000
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadfit=run args_fit; bootm ${loadaddr}#${fdtfile};
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
mmcboot=if mmc dev ${mmcdev}; then setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run loadfdt; echo Booting from mmc${mmcdev} ...; run args_mmc; bootz ${loadaddr} - ${fdtaddr}; fi; fi; fi;
mmcdev=0
mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
mmcrootfstype=ext4 rootwait
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
netloadfdt=tftp ${fdtaddr} ${fdtfile}
netloadimage=tftp ${loadaddr} ${bootfile}
nfsopts=nolock
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=2304K,uuid=${uuid_gpt_bootloader};name=environment,size=256K,uuid=${uuid_gpt_environment};name=misc,size=128K,uuid=${uuid_gpt_misc};name=reserved,size=384K,uuid=${uuid_gpt_reserved};name=efs,size=16M,uuid=${uuid_gpt_efs};name=crypto,size=16K,uuid=${uuid_gpt_crypto};name=recovery,size=10M,uuid=${uuid_gpt_recovery};name=boot,size=10M,uuid=${uuid_gpt_boot};name=system,size=768M,uuid=${uuid_gpt_system};name=vendor,size=256M,uuid=${uuid_gpt_vendor};name=cache,size=256M,uuid=${uuid_gpt_cache};name=ipu1,size=8M,uuid=${uuid_gpt_ipu1};name=ipu2,size=8M,uuid=${uuid_gpt_ipu2};name=dsp1,size=8M,uuid=${uuid_gpt_dsp1};name=dsp2,size=8M,uuid=${uuid_gpt_dsp2};name=userdata,size=-,uuid=${uuid_gpt_userdata}
pxefile_addr_r=0x80100000
ramdisk_addr_r=0x88080000
rdaddr=0x88080000
reboot_image=boot
rootpath=/export/rootfs
scriptaddr=0x80000000
scsidevs=0
serial#=0b0140144bb600a2
soc=omap5
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial@4806a000
stdin=serial@4806a000
stdout=serial@4806a000
update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
usbtty=cdc_acm
vendor=ti
ver=U-Boot 2016.05-00008-g1fbee98 (Jun 07 2018 - 20:31:19 +0800)
vram=16M

Environment size: 7470/131067 bytes
=> env default -fa
## Resetting to default environment
=> saveenv
Saving Environment to MMC...
Writing to redundant MMC(1)... done
=> reboot
Unknown command 'reboot' - try 'help'
=> boot
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
165 bytes read in 2 ms (80.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3552160 bytes read in 110 ms (30.8 MiB/s)
106665 bytes read in 15 ms (6.8 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3633a0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe2000, end 8ffff0a8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.84-00018-gd326d64 (hancan@hancan-virtual-machine) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Thu Jun 7 20:42:56 CST 2018
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI DRA742
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: regions without no-map are not yet supported
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 64 MiB
[    0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000be400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[    0.000000] DRA752 ES2.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @ef62b000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243264
[    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=2ca9f500-02 rw rootwait ip=none mem=1024M
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 410844K/979968K available (6619K kernel code, 319K rwdata, 2388K rodata, 340K init, 290K bss, 364324K reserved, 204800K cma-reserved, 234496K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08d402c   (9009 kB)
[    0.000000]       .init : 0xc08d5000 - 0xc092a000   ( 340 kB)
[    0.000000]       .data : 0xc092a000 - 0xc0979d60   ( 320 kB)
[    0.000000]        .bss : 0xc097b000 - 0xc09c3800   ( 290 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000016] Switching to timer-based delay loop, resolution 162ns
[    0.000329] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000337] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000772] Console: colour dummy device 80x30
[    0.000787] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000794] This ensures that you still see kernel messages. Please
[    0.000799] update your kernel commandline.
[    0.000813] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000825] pid_max: default: 32768 minimum: 301
[    0.000921] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000931] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001474] Initializing cgroup subsys io
[    0.001490] Initializing cgroup subsys memory
[    0.001514] Initializing cgroup subsys devices
[    0.001526] Initializing cgroup subsys freezer
[    0.001537] Initializing cgroup subsys perf_event
[    0.001548] Initializing cgroup subsys pids
[    0.001575] CPU: Testing write buffer coherency: ok
[    0.001777] /cpus/cpu@0 missing clock-frequency property
[    0.001792] /cpus/cpu@1 missing clock-frequency property
[    0.001802] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001834] Setting up static identity map for 0x80008380 - 0x800083e0
[    0.080058] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080128] Brought up 2 CPUs
[    0.080141] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080147] CPU: All CPU(s) started in HYP mode.
[    0.080152] CPU: Virtualization extensions available.
[    0.080531] devtmpfs: initialized
[    0.109242] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.110221] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.313080] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.313100] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.317325] pinctrl core: initialized pinctrl subsystem
[    0.318175] NET: Registered protocol family 16
[    0.319103] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340217] cpuidle: using governor ladder
[    0.370245] cpuidle: using governor menu
[    0.378708] OMAP GPIO hardware version 0.1
[    0.385082] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.401068] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.401081] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.410323] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.410334] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.410795] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.410805] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.411376] OMAP DMA hardware revision 0.0
[    0.451372] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.452531] edma 43300000.edma: memcpy is disabled
[    0.457176] edma 43300000.edma: TI EDMA DMA engine driver
[    0.461567] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.461744] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.461910] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.462064] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.462353] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.462539] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.465540] palmas 0-0058: IRQ missing: skipping irq request
[    0.480976] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
[    0.553288] pcf857x 0-0020: probed
[    0.553850] pcf857x 0-0021: probed
[    0.554000] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.554391] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.554596] media: Linux media interface: v0.10
[    0.554647] Linux video capture interface: v2.00
[    0.554690] pps_core: LinuxPPS API ver. 1 registered
[    0.554697] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.554721] PTP clock support registered
[    0.554766] EDAC MC: Ver: 3.0.0
[    0.555511] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.555809] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.556139] Advanced Linux Sound Architecture Driver Initialized.
[    0.556976] clocksource: Switched to clocksource arch_sys_counter
[    0.567594] NET: Registered protocol family 2
[    0.568088] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.568151] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.568276] TCP: Hash tables configured (established 8192 bind 8192)
[    0.568322] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.568353] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.568562] NET: Registered protocol family 1
[    0.568831] RPC: Registered named UNIX socket transport module.
[    0.568840] RPC: Registered udp transport module.
[    0.568847] RPC: Registered tcp transport module.
[    0.568853] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.569851] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.579807] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.580457] NFS: Registering the id_resolver key type
[    0.580484] Key type id_resolver registered
[    0.580492] Key type id_legacy registered
[    0.580545] ntfs: driver 2.1.32 [Flags: R/O].
[    0.581805] bounce: pool size: 64 pages
[    0.581952] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.581965] io scheduler noop registered
[    0.581977] io scheduler deadline registered
[    0.582010] io scheduler cfq registered (default)
[    0.586905] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.590173] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[    0.590186]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[    0.590219]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.590241]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.620429] dra7-pcie 51000000.pcie_rc: link is not up
[    0.620605] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[    0.620618] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.620628] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.620638] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.621042] PCI: bus0: Fast back to back transfers disabled
[    0.621160] PCI: bus1: Fast back to back transfers enabled
[    0.621242] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.621257] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.621270] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.621489] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.681968] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.685355] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    1.695337] console [ttyS0] enabled
[    1.699736] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    1.709441] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    1.719491] [drm] Initialized drm 1.1.0 20060810
[    1.725499] OMAP DSS rev 6.1
[    1.729295] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    1.745084] loop: module loaded
[    1.748626] vmemexp device MAJOR num = 246
[    1.752755] vmemexp class registered
[    1.756467] /dev/vmemexp device registered
[    1.760602] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[    1.766274] nand: No NAND device found
[    1.770064] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[    1.780008] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
[    1.785405] 7 ofpart partitions found on MTD device spi32766.0
[    1.791288] Creating 7 MTD partitions on "spi32766.0":
[    1.796451] 0x000000000000-0x000000040000 : "QSPI.SPL"
[    1.802569] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[    1.808925] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[    1.815850] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[    1.822557] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[    1.829958] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[    1.836301] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[    1.844100] libphy: Fixed MDIO Bus: probed
[    1.897007] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.903132] davinci_mdio 48485000.mdio: detected phy mask fffffff3
[    1.913632] libphy: 48485000.mdio: probed
[    1.917704] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
[    1.925746] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
[    1.934473] cpsw 48484000.ethernet: Detected MACID = 7c:38:66:a1:e2:a6
[    1.941169] cpsw 48484000.ethernet: cpts: overflow check period 800
[    1.948182] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:38:66:a1:e2:a7
[    1.956804] mousedev: PS/2 mouse device common for all mice
[    1.963036] i2c /dev entries driver
[    1.971772] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.977389] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.983773] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    1.990332] evm_3v3_sw: supplied by sysen1
[    2.070762] mmc0: MAN_BKOPS_EN bit is not set
[    2.107563] mmc0: new HS200 MMC card at address 0001
[    2.123001] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
[    2.138059] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
[    2.144243] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
[    2.151978] ledtrig-cpu: registered to indicate activity on CPUs
[    2.160720] aic_dvdd: supplied by evm_3v3_sw
[    2.166623] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
[    2.174329] NET: Registered protocol family 10
[    2.179735] sit: IPv6 over IPv4 tunneling driver
[    2.184944] NET: Registered protocol family 17
[    2.189669] Key type dns_resolver registered
[    2.194071] omap_voltage_late_init: Voltage driver support not added
[    2.200999] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.207230] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.213938] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.220191] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.228443] Power Management for TI OMAP4+ devices.
[    2.233519] Registering SWP/SWPB emulation handler
[    2.240461] dmm 4e000000.dmm: initialized all PAT entries
[    2.247819] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.254460] [drm] No driver support for vblank timestamp query.
[    2.260815] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.267669] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    2.308218] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[    2.327906] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    2.334795] hctosys: unable to open rtc device (rtc0)
[    2.348137] evm_1v8: disabling
[    2.351220] aic_dvdd: disabling
[    2.354379] vmmcwl_fixed: disabling
[    2.358073] ldousb: disabling
[    2.361473] ALSA device list:
[    2.364452]   #0: DRA7xx-EVM
[    2.367999] Waiting for root device PARTUUID=2ca9f500-02...
[    2.566831] mmc2: host does not support reading read-only switch, assuming write-enable
[    2.581884] mmc2: new ultra high speed DDR50 SDHC card at address aaaa
[    2.598785] mmcblk1: mmc2:aaaa SS08G 7.40 GiB
[    2.608384]  mmcblk1: p1 p2
[    2.700446] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
[    2.711919] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
[    3.649335] EXT4-fs (mmcblk1p2): recovery complete
[    3.655107] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.663289] VFS: Mounted root (ext4 filesystem) on device 179:50.
[    3.674130] devtmpfs: mounted
[    3.677382] Freeing unused kernel memory: 340K
[    3.681843] This architecture does not have kernel memory protection.
[    3.807209] systemd[1]: System time before build time, advancing clock.
[    3.842182] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    3.857727] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    3.873367] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    3.891880] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[    3.921000] systemd[1]: Set hostname to <dra7xx-evm>.
[    3.978497] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    3.990435] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    3.997224] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    4.025881] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 27 bits of entropy available)
[    4.042360] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 27 bits of entropy available)
[    4.120504] random: systemd: uninitialized urandom read (16 bytes read, 31 bits of entropy available)
[    4.129985] random: systemd: uninitialized urandom read (16 bytes read, 31 bits of entropy available)
[    4.139825] random: systemd: uninitialized urandom read (16 bytes read, 31 bits of entropy available)
[    4.468095] systemd[1]: sockets.target: Found ordering cycle on sockets.target/start
[    4.475884] systemd[1]: sockets.target: Found dependency on dbus.socket/start
[    4.483108] systemd[1]: sockets.target: Found dependency on sysinit.target/start
[    4.490560] systemd[1]: sockets.target: Found dependency on alignment.service/start
[    4.498293] systemd[1]: sockets.target: Found dependency on basic.target/start
[    4.505548] systemd[1]: sockets.target: Found dependency on sockets.target/start
[    4.512998] systemd[1]: sockets.target: Breaking ordering cycle by deleting job dbus.socket/start
[    4.521929] systemd[1]: dbus.socket: Job dbus.socket/start deleted to break ordering cycle starting with sockets.target/start
[ SKIP ] Ordering cycle found, skipping D-Bus System Message Bus Socket
[    4.557398] systemd[1]: sockets.target: Found ordering cycle on sockets.target/start
[    4.565184] systemd[1]: sockets.target: Found dependency on rpcbind.socket/start
[    4.572661] systemd[1]: sockets.target: Found dependency on sysinit.target/start
[    4.580130] systemd[1]: sockets.target: Found dependency on alignment.service/start
[    4.587867] systemd[1]: sockets.target: Found dependency on basic.target/start
[    4.595125] systemd[1]: sockets.target: Found dependency on sockets.target/start
[    4.602592] systemd[1]: sockets.target: Breaking ordering cycle by deleting job rpcbind.socket/start
[    4.611803] systemd[1]: rpcbind.socket: Job rpcbind.socket/start deleted to break ordering cycle starting with sockets.target/start
[ SKIP ] Ordering cycle found, skipping RPCbind Server Activation Socket
[    4.637317] systemd[1]: sockets.target: Found ordering cycle on sockets.target/start
[    4.645101] systemd[1]: sockets.target: Found dependency on avahi-daemon.socket/start
[    4.653015] systemd[1]: sockets.target: Found dependency on sysinit.target/start
[    4.660481] systemd[1]: sockets.target: Found dependency on alignment.service/start
[    4.668218] systemd[1]: sockets.target: Found dependency on basic.target/start
[    4.675475] systemd[1]: sockets.target: Found dependency on sockets.target/start
[    4.682942] systemd[1]: sockets.target: Breaking ordering cycle by deleting job avahi-daemon.socket/start
[    4.692590] systemd[1]: avahi-daemon.socket: Job avahi-daemon.socket/start deleted to break ordering cycle starting with sockets.target/start
[ SKIP ] Ordering cycle found, skipping Avah...S/DNS-SD Stack Activation Socket
[    4.727345] systemd[1]: dropbear.socket: Found ordering cycle on dropbear.socket/stop
[    4.735216] systemd[1]: dropbear.socket: Found dependency on sysinit.target/start
[    4.742781] systemd[1]: dropbear.socket: Found dependency on alignment.service/start
[    4.750598] systemd[1]: dropbear.socket: Found dependency on basic.target/start
[    4.758002] systemd[1]: dropbear.socket: Found dependency on sockets.target/start
[    4.765520] systemd[1]: dropbear.socket: Found dependency on dropbear.socket/stop
[    4.773075] systemd[1]: dropbear.socket: Breaking ordering cycle by deleting job alignment.service/start
[    4.782636] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with dropbear.socket/stop
[ SKIP ] Ordering cycle found, skipping alignment.service
[    4.820458] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    4.847295] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    4.867357] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    4.887254] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    4.907263] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    4.927225] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    4.947223] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    4.967324] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    4.997313] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.028394] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.077428] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.107907] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    5.187335] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[    5.209453] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    5.244658] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    5.269357] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    5.299520] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[    5.327844] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    5.387308] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    5.404701] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    5.410440] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    5.438622] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.457179] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    5.477182] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    5.497227] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.547349] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    5.573372] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.597238] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    5.617319] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[    5.647409] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Setup Virtual Console.
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[    6.269836] systemd-journald[117]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[    6.645296] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[    6.671979]  remoteproc0: 55020000.ipu is available
[    6.684290]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    6.705705]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    6.740884] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[    6.759524]  remoteproc1: 40800000.dsp is available
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
[    6.781929]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    6.795057]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
         Starting Create Volatile Files and Directories...
[    6.826685] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[    6.850174]  remoteproc2: 41000000.dsp is available
[    6.865408]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[    6.888574]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  OK  ] Found device /dev/ttyS0.
[    6.942505] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[    6.957989]  remoteproc0: registered virtio0 (type 7)
[    6.982793] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
[    7.068743]  remoteproc1: registered virtio1 (type 7)
[    7.084233] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
[    7.158582]  remoteproc2: registered virtio2 (type 7)
         Starting Update UTMP about System Boot/Shutdown...
[    7.262284] SCSI subsystem initialized
         Starting Network Time Synchronization...
[    7.339781] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[  OK  ] Started Network Time Synchronization.
[    7.406262] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[  OK  ] Started Update UTMP about System Boot/Shutdown.[    7.417726] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3

[    7.440443] CAN device driver interface
[    7.517218] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=358)
         Starting Synchronize System and HW clocks...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Synchronize System and HW clocks.
[    7.590342] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[    7.607359] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[    7.628143] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    7.661923] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[    7.776003] scsi host0: ahci
[    7.779739] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[    7.969023] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Starting Print notice about GPLv3 packages...
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting Save/Restore Sound Card State...
         Starting uim-sysfs.service...
         Starting TI MultiCore Tools Daemon...
[  OK  ] Started System Logging Service.
         Starting Permit User Sessions...
         Starting Network Service...
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Permit User Sessions.
[    8.157037] ata1: SATA link down (SStatus 0 SControl 300)
[FAILED] Failed to start TI MultiCore Tools Daemon.
See 'systemctl status ti-mct-daemon.service' for details.
[    8.195868] net eth1: initializing cpsw version 1.15 (0)
[  OK  ] Started Network Service.
[    8.234583] net eth0: initialized cpsw ale version 1.4
[    8.263256] net eth0: ALE Table size 1024
[    8.293195] NET: Registered protocol family 15
[    8.318197] net eth1: phy found : id is : 0x20005c7a
[    8.371771] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    8.411130] net eth0: initializing cpsw version 1.15 (0)
[    8.454059] net eth0: phy found : id is : 0x20005c7a
[    8.499265] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.594856] Initializing XFRM netlink socket
[    8.949514]  remoteproc0: powering up 55020000.ipu
[    8.969231]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 3506540
[    8.986247] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[    9.040504]  remoteproc0: remote processor 55020000.ipu is now up
[    9.058215] virtio_rpmsg_bus virtio0: rpmsg host is online
[    9.072003]  remoteproc1: powering up 40800000.dsp
[    9.082869] random: nonblocking pool is initialized
[    9.089121] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
[    9.098842]  remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 2851415
[    9.118291] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[    9.124176] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[    9.130114] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[    9.177883]  remoteproc1: remote processor 40800000.dsp is now up
[    9.192761] virtio_rpmsg_bus virtio1: rpmsg host is online
[    9.198343] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
[    9.214629]  remoteproc2: powering up 41000000.dsp
[    9.231706]  remoteproc2: Booting fw image dra7-dsp2-fw.xe66, size 2851415
[    9.253303] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[    9.259191] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[    9.265153] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target Sound Card.
[  OK  ] Reached target Network.
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Network Name Resolution...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[    9.333515]  remoteproc2: remote processor 41000000.dsp is now up
[    9.352288] virtio_rpmsg_bus virtio2: rpmsg host is online
[    9.357869] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[    9.396790] NET: Registered protocol family 41
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started uim-sysfs.service.
         Starting rc.pvr.service...
[    9.802990] usbcore: registered new interface driver usbfs
[    9.815713] usbcore: registered new interface driver hub
[    9.821311] usbcore: registered new device driver usb
[    9.875783] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
[    9.882994] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
[    9.891959] dwc3 48890000.usb: otg: can't start till gadget registers
[    9.898961] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[    9.899590] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    9.899610] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    9.919300] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[    9.928175] xhci-hcd xhci-hcd.1.auto: irq 500, io mem 0x488d0000
[    9.934831] hub 1-0:1.0: USB hub found
[    9.941470] hub 1-0:1.0: 1 port detected
[    9.945820] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    9.953060] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    9.962386] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.972707] hub 2-0:1.0: USB hub found
[    9.976564] hub 2-0:1.0: 1 port detected
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[  OK  ] Started weston.service.
         Starting telnetd.service...
         Starting tiipclad-daemon.service...
[  OK  ] Started telnetd.service.
[  OK  ] Started tiipclad-daemon.service.
         Starting thttpd.service...
[  OK  ] Started thttpd.service.
         Starting rng-tools.service...
[  OK  ] Started rng-tools.service.
         Starting gdbserverproxy.service...
[  OK  ] Started gdbserverproxy.service.
         Starting matrix-gui-2.0.service...
[  OK  ] Started matrix-gui-2.0.service.
         Starting thermal-zone-init.service...
[  OK  ] Started thermal-zone-init.service.
[   10.454575] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   10.462890] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        binutils-dev
        binutils
        bison-dev
        bison
        cpp-symlinks
        cpp
        dosfstools
        g++-symlinks
        g++
        gawk-dev
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbc6x
        gdbserver
        gstreamer1.0-libav
        libcairo-perf-utils
        libgmp10
        libidn11
        libmpc3
        libmpfr4
        m4-dev
        m4
        make
        nettle
        parted
        swig-dev
        swig

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org dra7xx-evm ttyS0

Arago 2016.12 dra7xx-evm ttyS0

dra7xx-evm login: root
root@dra7xx-evm:~# [   19.194447] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[   19.208354] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[   20.084449] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[   20.098354] omap_hwmod: mmu0_dsp2: _wait_target_disable failed

root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~# root
-sh: root: command not found
root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~#
root@dra7xx-evm:~# cd /opt/vision_sdk/
root@dra7xx-evm:/opt/vision_sdk# ls
FragShader.fsh                VipClockInversion.sh          cmemk.ko                      enableIpu2CCSConectivity.sh   load_ocl_kos.sh               opencl_env.sh                 ub964Init.sh
FragShader3Dsfm.fsh           apps.out                      debugss_kmodule.ko            gdbserverproxy.ko             memcache_load.sh              ov106x3Config.sh              vision_sdk_load.sh
VertShader.vsh                bin                           disableDssInterruptsOnA15.sh  hdmiReceiverConfig.sh         memcache_unload.sh            pvrscope                      vision_sdk_ov490_pinmux.sh
VertShader3Dsfm.vsh           car.pod                       enableImx290.sh               jeep2.bmp                     models                        tda2exEnableAVB.sh            vision_sdk_unload.sh
root@dra7xx-evm:/opt/vision_sdk# ./load_ocl_kos.sh

Opened log file: lad.txt

numProcessors = 5 id = 0 baseId = 0

Spawned daemon: /usr/bin/lad_dra7xx

[   49.788875] CMEMK module: reference Linux version 4.4.84
[   49.794888] allocated heap buffer 0x40400000 of size 0x100000
[   49.801212] cmemk initialized
root@dra7xx-evm:/opt/vision_sdk# source ./vision_sdk_load.sh
[   71.469463] DMA: Module install successful, device major num = 242
[   71.475909] DRV: Module install successful
insmod: ERROR: could not insert module ./bin/cmemk.ko: File exists
./disableDssInterruptsOnA15.sh: line 11: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 12: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 13: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 14: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 15: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 16: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 17: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 18: @0x4A002AC4:: command not found
./disableDssInterruptsOnA15.sh: line 19: @0x4A002AC4:: command not found
updated 0x4A002AC4 value is 00930000
root@dra7xx-evm:/opt/vision_sdk# ./apps.out
 [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb65af000 of size 0x00100000
 [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa6baf000 of size 0x0fa00000
 [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa6aef000 of size 0x00040000
 [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa6b2f000 of size 0x00080000
 [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
 [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
 [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
   80.228166] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
[   80.265311] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
[ HOST] [HOST  ]    143.146098 s:  SYSTEM: System A15 Init in proress !!!
 [HOST] [HOST  ]    143.146190 s:  SYSTEM: IPC: Init in progress !!!
 [HOST] [HOST  ]    143.146190 s:  SYSTEM: IPC: Notify init in progress !!!
 [HOST] [HOST  ]    143.147501 s:  SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
 [HOST] [HOST  ]    143.147532 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
 [HOST] [HOST  ]    143.147593 s:  SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
 [HOST] [HOST  ]    143.147593 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
 [HOST] [HOST  ]    143.147715 s:  SYSTEM: IPC: Notify init DONE !!!
 [HOST] [HOST  ]    143.147745 s:  SYSTEM: MSGQ: MsgQ init in progress !!!
 [HOST] [HOST  ]    143.147837 s:  SYSTEM: MSGQ: MsgQ init DONE !!!
 [HOST] [HOST  ]    143.147837 s:  SYSTEM: IPC: Init DONE !!!
 [HOST] [HOST  ]    143.147837 s:  SYSTEM: Initializing A15 Links !!!
 [HOST] [HOST  ]    143.147959 s:  IPC_OUT_0 : Init done - linkid-0x2000000
 [HOST] [HOST  ]    143.148081 s:  IPC_OUT_1 : Init done - linkid-0x2000001
 [HOST] [HOST  ]    143.148173 s:  IPC_OUT_2 : Init done - linkid-0x2000002
 [HOST] [HOST  ]    143.148264 s:  IPC_OUT_3 : Init done - linkid-0x2000003
 [HOST] [HOST  ]    143.148478 s:  IPC_OUT_4 : Init done - linkid-0x2000004
 [HOST] [HOST  ]    143.148600 s:  IPC_IN_0 : Init done - linkid-0x200000a
 [HOST] [HOST  ]    143.148722 s:  IPC_IN_1 : Init done - linkid-0x200000b
 [HOST] [HOST  ]    143.148844 s:  IPC_IN_2 : Init done - linkid-0x200000c
 [HOST] [HOST  ]    143.148935 s:  IPC_IN_3 : Init done - linkid-0x200000d
 [HOST] [HOST  ]    143.149057 s:  IPC_IN_4 : Init done - linkid-0x200000e
 [HOST] [HOST  ]    143.149149 s:  IPC_IN_5 : Init done - linkid-0x200000f
 [HOST] [HOST  ]    143.149271 s:  IPC_IN_6 : Init done - linkid-0x2000010
 [HOST] [HOST  ]    143.149362 s:  NULL_0 : Init done - linkid-0x2000014
 [HOST] [HOST  ]    143.149454 s:  NULL_1 : Init done - linkid-0x2000015
 [HOST] [HOST  ]    143.149576 s:  NULL_SRC_0 : Init done - linkid-0x2000039
 [HOST] [HOST  ]    143.149667 s:  ALGORITHM_0 : Init done - linkid-0x2000031
 [HOST] [HOST  ]    143.149789 s:  ALGORITHM_1 : Init done - linkid-0x2000032
 [HOST] [HOST  ]    143.149881 s:  ALGORITHM_2 : Init done - linkid-0x2000033
 [HOST] [HOST  ]    143.150003 s:  ALGORITHM_3 : Init done - linkid-0x2000034
 [HOST] [HOST  ]    143.150094 s:  ALGORITHM_4 : Init done - linkid-0x2000035
 [HOST] [HOST  ]    143.150186 s:  ALGORITHM_5 : Init done - linkid-0x2000036
 [HOST] [HOST  ]    143.150277 s:  ALGORITHM_6 : Init done - linkid-0x2000037
 [HOST] [HOST  ]    143.150369 s:  ALGORITHM_7 : Init done - linkid-0x2000038
 [HOST] [HOST  ]    143.150552 s:  DUP0 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.150704 s:  DUP1 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.150857 s:  DUP2 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151040 s:  DUP3 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151192 s:  DUP4 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151284 s:  SYNC_0 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151436 s:  SYNC_1 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151589 s:  SYNC_2 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151741 s:  SYNC_3 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.151924 s:  MERGE_0 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155005 s:  MERGE_1 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155127 s:  MERGE_2 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155249 s:  MERGE_3 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155523 s:  MERGE_4 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155645 s:  SELECT_0 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155767 s:  SELECT_1 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155859 s:  GATE_0 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.155950 s:  GATE_1 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.156011 s:  GATE_2 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.156103 s:  GATE_3 : Init done - linkid-0x0
 [HOST] [HOST  ]    143.157201 s:  SGXFRMCPY_0 : Init done - linkid-0x2000040
 [HOST] [HOST  ]    143.157231 s:  SYSTEM: Initializing A15 Links ... DONE !!!
 [HOST] [HOST  ]    143.157689 s:  OSA: Adjusting global time, timeH by 0 units!!!
 [HOST] [HOST  ]    143.157689 s:  SYSTEM: System A15 Init Done !!!
 [HOST] [HOST  ]    143.157841 s:  NETWORK_CTRL: Starting Server (port=5000) !!!
 [HOST] [HOST  ]    143.157902 s:  NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
 [HOST] [IPU2  ]     72.002958 s:  ***** IPU2 Firmware build time 20:58:27 Jun  7 2018
 [HOST] [IPU2  ]     72.003141 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
 [HOST] [IPU2  ]     72.006008 s:  SYSTEM: System Common Init in progress !!!
 [HOST] [IPU2  ]     72.014975 s:  SYSTEM: IPC init in progress !!!
 [HOST] [IPU2  ]     72.015097 s:  SYSTEM: Notify init done !!!
 [HOST] [IPU2  ]     72.016836 s:  SYSTEM: MsgQ init done !!!
 [HOST] [IPU2  ]     72.017781 s: RpmsgInit in progress...
 [HOST] [IPU2  ]     72.017842 s: Connection established with HLOS, calling rpmsgInit
 [HOST] [IPU2  ]     72.018513 s:  SYSTEM: IPC init DONE !!!
 [HOST] [IPU2  ]     72.023607 s:  SYSTEM: System Common Init Done !!!
 [HOST] [IPU2  ]     72.023699 s:  SYSTEM: System Init in progress !!!
 [HOST] [IPU2  ]     72.023790 s:  SYSTEM: BSP Common Init in progress !!!
 [HOST] [IPU2  ]     72.023851 s:  SYSTEM: BSP Common Init Done !!!
 [HOST] [IPU2  ]     72.023912 s:  SYSTEM: BSP Platform Init in progress !!!
 [HOST] [IPU2  ]     72.024004 s:  SYSTEM: BSP Platform Init Done !!!
 [HOST] [IPU2  ]     72.024065 s:  SYSTEM: FVID2 Init in progress !!!
 [HOST] [IPU2  ]     72.024217 s:  SYSTEM: FVID2 Init Done !!!
 [HOST] [IPU2  ]     72.024278 s:  SYSTEM: VPS Init in progress !!!
 [HOST] [IPU2  ]     72.024370 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
 [HOST] [IPU2  ]     72.027176 s: *** VPDMA Firmware Loading... ***
 [HOST] [IPU2  ]     72.027298 s: VPDMA Firmware Address = 0xa0349a80
 [HOST] [IPU2  ]     72.027450 s: VPDMA Load Address     = 0x4897d004
 [HOST] [IPU2  ]     72.027542 s: VPDMA Firmware Version = 0x4d0001b8
 [HOST] [IPU2  ]     72.027633 s: VPDMA List Busy Status = 0x00000000
 [HOST] [IPU2  ]     72.027694 s: *** VPDMA Firmware Load Success ***
 [HOST] [IPU2  ]     72.028030 s: *** VPDMA Firmware Loading... ***
 [HOST] [IPU2  ]     72.028121 s: VPDMA Firmware Address = 0xa0349a80
 [HOST] [IPU2  ]     72.028213 s: VPDMA Load Address     = 0x4899d004
 [HOST] [IPU2  ]     72.028304 s: VPDMA Firmware Version = 0x4d0001b8
 [HOST] [IPU2  ]     72.028396 s: VPDMA List Busy Status = 0x00000000
 [HOST] [IPU2  ]     72.028487 s: *** VPDMA Firmware Load Success ***
 [HOST] [IPU2  ]     72.028792 s: *** VPDMA Firmware Loading... ***
 [HOST] [IPU2  ]     72.028884 s: VPDMA Firmware Address = 0xa0349a80
 [HOST] [IPU2  ]     72.028975 s: VPDMA Load Address     = 0x489bd004
 [HOST] [IPU2  ]     72.029067 s: VPDMA Firmware Version = 0x4d0001b8
 [HOST] [IPU2  ]     72.029158 s: VPDMA List Busy Status = 0x00000000
 [HOST] [IPU2  ]     72.029219 s: *** VPDMA Firmware Load Success ***
 [HOST] [IPU2  ]     72.082779 s:  SYSTEM: VPS Init Done !!!
 [HOST] [IPU2  ]     72.083633 s:  UTILS: DMA: HWI Create for INT25 !!!
 [HOST] [IPU2  ]     72.083877 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
 [HOST] [IPU2  ]     72.083968 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260728 B (254 KB)
 [HOST] [IPU2  ]     72.084121 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
 [HOST] [IPU2  ]     72.084273 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 262144000 B (250 MB), Free size = 262144000 B (250 MB)
 [HOST] [IPU2  ]     72.084517 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
 [HOST] [IPU2  ]     72.084670 s:  SYSTEM: Initializing Links !!!
 [HOST] [IPU2  ]     72.233697 s:  SYSTEM: Initializing Links ... DONE !!!
 [HOST] [IPU2  ]     72.234368 s:  CHAINS: Application Started !!!
 [HOST] [IPU2  ]     72.243183 s:  BOARD: Board Init in progress !!!
 [HOST] [IPU2  ]     72.243640 s:  BOARD: Board Init Done !!!
 [HOST] [IPU2  ]     72.250594 s:
 [HOST] [HOST  ]    143.704508 s:
 [HOST] [HOST  ]
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  Vision SDK Usecases
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  1: Single Camera Usecases
 [HOST] [HOST  ]  2: Multi-Camera LVDS Usecases
 [HOST] [HOST  ]  3: Open-Compute Usecases
 [HOST] [HOST  ]
 [HOST] [HOST  ]  p: CPU Status
 [HOST] [HOST  ]  i: Show IP Addr (IPU + NDK + AVB)
 [HOST] [HOST  ]
 [HOST] [HOST  ]  s: System Settings
 [HOST] [HOST  ]
 [HOST] [HOST  ]  x: Exit
 [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
 [HOST] [HOST  ]
 [HOST] [HOST  ]  Enter Choice:
 [HOST] [HOST  ]
3
 [HOST] [HOST  ]    147.803117 s:
 [HOST] [HOST  ]
 [HOST] [HOST  ]  OpenCompute Usecases
 [HOST] [HOST  ]  ----------------------------
 [HOST] [HOST  ]  2: OpenCV Usecases
 [HOST] [HOST  ]  3: OpenCL Usecases
 [HOST] [HOST  ]
 [HOST] [HOST  ]  x: Exit
 [HOST] [HOST  ]
 [HOST] [HOST  ]  Enter Choice:
 [HOST] [HOST  ]
 [HOST] [HOST  ]    147.803178 s:
 [HOST] [HOST  ]    147.803178 s:  Unsupported option '
 [HOST] [HOST  ] '. Please try again
 [HOST] [HOST  ]    147.803178 s:
 [HOST] [HOST  ]
 [HOST] [HOST  ]  OpenCompute Usecases
 [HOST] [HOST  ]  ----------------------------
 [HOST] [HOST  ]  2: OpenCV Usecases
 [HOST] [HOST  ]  3: OpenCL Usecases
 [HOST] [HOST  ]
 [HOST] [HOST  ]  x: Exit
 [HOST] [HOST  ]
 [HOST] [HOST  ]  Enter Choice:
 [HOST] [HOST  ]
3
 [HOST] [HOST  ]    153.651375 s:
 [HOST] [HOST  ]    153.651375 s:
 [HOST] [HOST  ]
 [HOST] [HOST  ]  OpenCL Usecases
 [HOST] [HOST  ]  ----------------------------
 [HOST] [HOST  ]  1: 1CH VIP capture + OpenCL Copy (A15->DSP) + SGX Copy + DISPLAY
 [HOST] [HOST  ]
 [HOST] [HOST  ]  x: Exit
 [HOST] [HOST  ]
 [HOST] [HOST  ]  Enter Choice:
 [HOST] [HOST  ]
1
 [HOST] [HOST  ]    159.932105 s:
 [HOST] [IPU2  ]    159.932257 s:  CHAINS: Sensor create in progress
 [HOST] [IPU2  ]    159.932776 s:  VIDEO_SENSOR: INST0 : I2C1 : I2C Addr = 0x30
 [HOST] [IPU2  ]    160.026932 s:  VIDEO_SENSOR: VIP 0: DRV ID 1203 (I2C ADDR 0x30): a635:0000:7fa2
 [HOST] [IPU2  ]    160.027237 s:  CHAINS: Sensor create ... DONE !!!
 [HOST] [IPU2  ]    160.042213 s:  CAPTURE: Create in progress !!!
 [HOST] [IPU2  ]    160.042579 s:  CAPTURE: VIP1 Slice0 PortA capture mode is [ 8-bit] !!!
 ASSERT (chains_vipSingleCamOpenCLFrameCopySgxDisplay_priv.c|chains_vipSingleCamOpenCLFrameCopySgxDisplay_Create|165)
 [HOST] [HOST  ]    160.158726 s:  IPC_IN_0   : Create in progress !!!
 [HOST] [HOST  ]    160.159092 s:  IPC_IN_0   : Create Done !!!
 [HOST] [HOST  ]    160.159153 s:  ALG: ERROR: No alg create function specified  (algId = 6) !!!
 [HOST] [IPU2  ]    160.157658 s:  CAPTURE: Create Done !!!
 [HOST] [IPU2  ]    160.158146 s:  IPC_OUT_0   : Create in progress !!!
 [HOST] [IPU2  ]    160.158482 s:  IPC_OUT_0   : Create Done !!! Is there a problem with my build environment or other reasons? I have been plagued by this problem for a long time.

Responses:
Hi Xie Baojian, As per step-9, I can see you didn't run these commands make linux and make linux_install Could you please confirm ? Regards Surya

Hi Surya, Sorry, I forgot to write, i ran make linux and make linux_install. 9. make clean ; make liunx_clean; make linux; make linux_install; make -s -j dpend ; make -s -j opencx; Regards, Xie Baojian

Is it tda2xx_evm can not support openclframecopy usecase ?

Hi Xie Baojian, Yes tda2xx-evm supports openclframecopy usecase We are trying to reproduce the issue in our end We will revert back you soon Regards Surya

Hi Surya, I am very much looking forward to your response. Below I will list my steps in detail in order to give you a better positioning problem. Follow the steps below to build the vision_sdk environment to run the opencl example: 1、 Install A15 Compiler: $> cd $INSTALL_DIR/ti_components/os_tools/linux/linaro $> tar –xvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz Install 64-bit packages: $>sudo apt-get install ia32-libs lib32stdc++6 lib32z1-dev lib32z1 lib32ncurses5 lib32bz2-1.0 2、 Clone Linux kernel, cmem,uboot, sgx driver and target file system 2.1. Install software packages:run hlos/scripts/linux/setup-linux-build-env.sh 2.2. Softwore Install: $> bash $> ./PROCESSOR_SDK_VISION_XX_XX_XX_XX_setuplinux.bin export INSTALL_DIR=/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00 2.3. Edit gitconfig,create git-proxy.sh. 2.4. run script: ./hlos/scripts/linux/setup_linux.sh. 2.5. Clone kernel. 2.6. Clone cmem. 2.7. Clone u-boot. 2.8. Clone sgx driver. 2.9. Download and untar file system.add permissions for $INSTALL_DIR/ti_components/os_tools/linux/targetfs:chmod 777 ../targetfs. 2.10. Install Opencl supported package. Clone dsptop and Clone gdbc6x. 2.11. untar opencl_fs_patches.tar.gz in $INSTALL_DIR/ti_components/os_tools/linux/targetfs . 3、 Compile and Build 3.1. Select make config in Rules.make:MAKECONFIG=tda2xx_evm_linux_opencx. 3.2. set system path: PATH="/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.1.0/bin:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/clocl:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs/usr/share/ti/opencl/bin/x86:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games". KERNEL_INSTALL_DIR="/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/kernel" 3.3. Cd /vision_sdk/build. 3.4. run: rm -rf ../binaries/. 3.5. run: make clean. 3.6. run: make linux_clean. 3.7. run: make linux. 3.8. run: make linux_install. 3.9. run: make –s –j depend. 3.10. run: make –s –j opencx. 3.11. use uenv_sd.txt as boot's uenv.txt. 4、 There is no error in the above steps.cd to the path :/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs and run :cp -Rf * /media/hancan/rootfs. 5、 Insert SD card into board.Log in used root and run :source ./opencl_env.sh. 6、 run :./load_ocl_kos.sh. 7、 run :source ./vision_sdk_load.sh. 8、 run :./apps.out. Regards, Xie Baojian