で出てきた Intel Movidiusの PCIe ドライバも公開されています。
以下引用するが、Ubuntu 16.04 LTS (Linux Kernel v4.15)でのみビルドテストを行ったと。
NOTE: These drivers have only been tested on Ubuntu 16.04 LTS and only build when using Linux kernels v4.15 or above. For host applications to communicate with the Myriad X PCIe endpoint, the host requires a Linux PCIe based driver. Under the host/ folder, two Linux kernel drivers exist: - The Myriad X Vision Processor (MXVP) driver exposes the interprocessor communication protocol between the host and Myriad X and well as helper functions to aid in the creation/sending of commands and accesses to PCIe MMIO regions. This driver is not a standalone driver and is intended to be built into other drivers. - The Myriad X Test Framework (MXTF) driver shows example usages of the MXVP driver's functionality. Users execute basic functionality tests from the command line and see the results displayed in dmesg.
Myaid X Vision Processor ということは、NCS 2の方ですね。。。
引用します。 Overview ======== This is the PCIe Serial driver for Linux hosts. This driver implements the protocol needed to communicate with Myriad X devices using the PCIe Serial driver as well. The PCIe Serial driver is the one used in the XLink stack when using PCIe as the the communication channel. In this case, this driver must be loaded before starting any XLink host application.
MovidiusのXLink用のPCIe Serialドライバ ですね。。。
引用します。 Overview ======== This is the PCIe Boot driver for Linux hosts. This driver allows the host platform to communicate with the Myriad X device using the protocol designed to transfer Myriad X application binaries over PCIe before booting.
このPCIe ドライバと OpenVINOの中のMovidiusのコード、なんか、微妙に違うような気がします。