I would like to use the Metis M.2 in an embedded system running Open Embedded with a 4.19 kernel. (It doesn’t have the “modern” /dev/dma_heap/ interface, it uses /dev/ion). I have the driver installed in the host, and when I use the SDK in a Ubuntu 22.04 docker container I get this error:
[libaxldev_linux.c:394] No dmabuf driver found
[ERROR][axeShareMemAllocMap]: Fail to alloc dmabuf
[ERROR][axeMemAllocShared]: Share memory allocate mao failed: 0x70010001.
terminate called after throwing an instance of 'std::runtime_error'
what(): axr_load_model_instance failed : Failed to create executor for model: kernel_function_batched
Aborted
Can the driver/library be compiled to use ION instead of dmabuf?

