Forum Discussion
- ZZhou16 years ago
New Contributor
Hi,
I found the issue was caused by missing C++ and some other libraries in buildroot-linux. After I enabled them, I can ran aocl diagnose. But it didn't detect any device. One thing is I didn't copy aclsoc_drv.ko file to device linux because I can't built it yet. Here is my source init_opencl.sh output:
# source ./init_opencl.sh
# env
USER=root
SHLVL=1
LD_LIBRARY_PATH=/root/aocl-pro-rte/host/arm32/lib:/root/aocl-pro-rte/board/a10soc/arm32/lib:
HOME=/root
PAGER=/bin/more
PS1=#
LOGNAME=root
TERM=vt100
AOCL_BOARD_PACKAGE_ROOT=/root/aocl-pro-rte/board/a10soc
PATH=/root/aocl-pro-rte/bin:/bin:/sbin:/usr/bin:/usr/sbin
SHELL=/bin/sh
INTELFPGAOCLSDKROOT=/root/aocl-pro-rte
PWD=/root
EDITOR=/bin/vi
# aocl diagnose
--------------------------------------------------------------------
Warning:
No devices attached for package:
/root/aocl-pro-rte/board/a10soc
--------------------------------------------------------------------
Call "aocl diagnose <device-names>" to run diagnose for specified devices
Call "aocl diagnose all" to run diagnose for all devices
# aocl diagnose all
I will try to build the kernel driver and try it again. Does the driver install /dev/acl or who install that?
Thanks.
Michael