PetaLinux 2019.2 ultra96v2_min2 /dev/ttyPS0
ultra96v2_min2 login: root
root@ultra96v2_min2:~# insmod /lib/modules/4.19.0-xilinx-v2019.2/extra/zocl.ko
[ 39.736119] zocl: loading out-of-tree module taints kernel.
[ 39.745419] [drm] Probing for xlnx,zocl
[ 39.749374] [drm] FPGA programming device pcap founded.
[ 39.754594] [drm] PR Isolation addr 0x0
[ 39.755457] [drm] Initialized zocl 2018.2.1 20180313 for a0000000.zyxclmm_drm on minor 1
root@ultra96v2_min2:~# cd /run/media/mmcblk0p1/
root@ultra96v2_min2:/run/media/mmcblk0p1# export XILINX_XRT=/usr
root@ultra96v2_min2:/run/media/mmcblk0p1# ls
BOOT.BIN bl31.elf laplacian_filter1 square.xclbin system.dtb zynqmp_fsbl.elf
README.txt image.ub pmufw.elf square_u96v2.exe u-boot.elf
root@ultra96v2_min2:/run/media/mmcblk0p1# ./square_u96v2.exe square.xclbin
Using FPGA binary file specfied through the command line: square.xclbin
[ 73.290186] [drm] Pid 2179 opened device
[ 73.294141] [drm] Pid 2179 closed device
[ 73.309073] [drm] Pid 2179 opened device
Found Platform
Platform Name: Xilinx
Loading: 'square.xclbin'
[ 73.596375] [drm] Finding IP_LAYOUT section header
[ 73.596389] [drm] Section IP_LAYOUT details:
[ 73.601246] [drm] offset = 0x54fcf8
[ 73.605513] [drm] size = 0x58
[ 73.609174] [drm] Finding DEBUG_IP_LAYOUT section header
[ 73.612303] [drm] AXLF section DEBUG_IP_LAYOUT header not found
[ 73.617611] [drm] Finding CONNECTIVITY section header
[ 73.623523] [drm] Section CONNECTIVITY details:
[ 73.628567] [drm] offset = 0x54fd50
[ 73.633088] [drm] size = 0x1c
[ 73.636749] [drm] Finding MEM_TOPOLOGY section header
[ 73.639879] [drm] Section MEM_TOPOLOGY details:
[ 73.644921] [drm] offset = 0x54fc00
[ 73.649441] [drm] size = 0xf8
[ 73.654808] [drm] No ERT scheduler on MPSoC, using KDS
[ 73.663522] [drm] Fail to install CU 0 interrupt handler: -22. Fall back to polling mode.
[ 73.671693] [drm] scheduler config ert(0)
[ 73.671701] [drm] cus(1)
[ 73.675707] [drm] slots(16)
[ 73.678410] [drm] num_cu_masks(1)
[ 73.681377] [drm] cu_shift(16)
[ 73.684856] [drm] cu_base(0xa0000000)
TEST PASSED
[ 73.688070] [drm] polling(1)
[ 73.698695] [drm] zocl_free_userptr_bo: obj 0x00000000c9f7c20e
[ 73.702853] [drm] zocl_free_userptr_bo: obj 0x00000000e1416682
[ 73.712823] [drm] Pid 2179 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 |