root@ultra96v2_min:/sys/devices/platform/amba/a0000000.zyxclmm_drm# insmod /lib/modules/4.19.0-xilinx-v2019.2/extra/zocl.ko
[ 261.956918] zocl: loading out-of-tree module taints kernel.
[ 261.966193] [drm] Probing for xlnx,zocl
[ 261.970113] [drm] FPGA programming device pcap founded.
[ 261.975331] [drm] PR Isolation addr 0x0
[ 261.977830] [drm] Initialized zocl 2018.2.1 20180313 for a0000000.zyxclmm_drm on minor 1
root@ultra96v2_min:/sys/devices/platform/amba/a0000000.zyxclmm_drm# ls
connectivity driver_override kds_custat memstat of_node uevent
debug_ip_layout drm kds_numcus memstat_raw power xclbinid
driver ip_layout mem_topology modalias subsystem
なので、成功した。Device[0]: program successful!
TEST PASSED
root@ultra96v2_min:/run/media/mmcblk0p1# ./init.sh
[ 508.084360] [drm] Pid 2202 opened device
[ 508.088315] [drm] Pid 2202 closed device
[ 508.103272] [drm] Pid 2202 opened device
Found Platform
Platform Name: Xilinx
INFO: Reading ./build_dir.hw.ultra96v2_min/vadd.xclbin
Loading: './build_dir.hw.ultra96v2_min/vadd.xclbin'
Trying to program device[0]: edge
[ 508.425398] [drm] Finding IP_LAYOUT section header
[ 508.425410] [drm] Section IP_LAYOUT details:
[ 508.430222] [drm] offset = 0x54fcf8
[ 508.434485] [drm] size = 0x58
[ 508.438146] [drm] Finding DEBUG_IP_LAYOUT section header
[ 508.441275] [drm] AXLF section DEBUG_IP_LAYOUT header not found
[ 508.446582] [drm] Finding CONNECTIVITY section header
[ 508.452495] [drm] Section CONNECTIVITY details:
[ 508.457539] [drm] offset = 0x54fd50
[ 508.462060] [drm] size = 0x28
[ 508.465713] [drm] Finding MEM_TOPOLOGY section header
[ 508.468850] [drm] Section MEM_TOPOLOGY details:
[ 508.473891] [drm] offset = 0x54fc00
[ 508.478414] [drm] size = 0xf8
[ 508.483568] [drm] No ERT scheduler on MPSoC, using KDS
[ 508.492196] [drm] Fail to install CU 0 interrupt handler: -22. Fall back to polling mode.
[ 508.500373] [drm] scheduler config ert(0)
[ 508.500376] [drm] cus(1)
[ 508.504376] [drm] slots(16)
[ 508.507076] [drm] num_cu_masks(1)
[ 508.510038] [drm] cu_shift(16)
[ 508.513510] [drm] cu_base(0xa0000000)
Device[0]: program successful!
TEST PASSED
[ 508.516728] [drm] polling(1)
[ 508.533040] [drm] zocl_free_userptr_bo: obj 0x00000000477b200d
[ 508.536152] [drm] zocl_free_userptr_bo: obj 0x00000000e86ec7cd
[ 508.542003] [drm] zocl_free_userptr_bo: obj 0x0000000073e8a3a0
[ 508.604948] [drm] Pid 2202 closed device
日 | 月 | 火 | 水 | 木 | 金 | 土 |
---|---|---|---|---|---|---|
- | - | - | - | - | 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 |