我正在尝试交叉编译tim-vx-imx。目标机器是nxp的imx8plus。我已设法从预构建的 SDK aarch64-poky-linux-gcc 获取 ovxlib 驱动程序(CLC、Gal、VSC、ArchModelSw、NNarchPerf、OpenVx 和 OpenVXU)。运行 tim-vx-imx 提供的unit_test时,出现此错误
错误:
[ 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.
问题在于缺少对 GPU/NPU 的内核支持。要修复它,您需要重新编译内核。