I am tring to cross-compile tim-vx-imx. target machine is imx8plus from nxp. I have managed to obtain the ovxlib drivers (CLC, Gal, VSC, ArchModelSw, NNarchPerf, OpenVx and OpenVXU) from a prebuilt SDK aarch64-poky-linux-gcc. When running the unit_test provided by tim-vx-imx, I get this error
Error:
[ 1] Failed to open device: No such file or directory, Try again... [ 2] Failed to open device: No such file or directory, Try again... [ 3] Failed to open device: No such file or directory, Try again... [ 4] Failed to open device: No such file or directory, Try again... [ 5] OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
The problem was with missing kernel support for GPU/NPU. To fix it you need to re-compile the kernel.