Altera_Forum
Honored Contributor
9 years agoTrouble loading recompiled aclsoc-drv.ko
I have na Altera Cyclone V dev board and I've used Yocto to build a new SD card image that includes some python functionality. Now I am trying to get OpenCL on the board as well.
I've downloaded the opencl_arm32_rte and recompiled the driver against the kernel from the altera-opensource/linux-socfpga github that was used in the Yocto build. However, whenever I try to load the aclsoc_drv.ko with insmod I get a vermagic error. If I change the suffix used in the Yocto build (-altera) to match that of the linux-socfpga kernel against which I compiled the driver, then insmod hangs, I can't even send ctrl+c interrupt. Any idea why this hangs? or any advice on how to get OpenCL installed?